不能同时与多个字段联合使用,只能是针对一个字段可能出现多种值的情况才行。 要想用多个字段的话呢,那需要用连接符and进行连接了。
ORACLE 可以
你用exists吧。语法如下:select * from emp where exists(select 1 from dept where emp.deptno=dept.deptnoand dept.deptno ...)