求出员工性别为1并且数量大于2的部门名称
1 回答
慕婉清6462132
TA贡献1804条经验 获得超2个赞
select * from departments where ID in(
SELECT departmentid
FROM employees where sex=1 group by departmentid having COUNT(*)>1)
添加回答
举报
0/150
提交
取消