2016-09-17 37 views

回答

0

您可以用having子句中使用组

select dno,count(*) as theCount 
from employee 
where gender='f' 
group by dno 
having theCount=1