select * from t where deptId exists(1,6); 为什么会报错呢,不能这样使用吗?
select * from t where deptId in(1,6);
还可以用联合查询 union all或者union