Question: The names of those departments where there are more than 100 employees have to be displayed. Given two relations, employees and departments, what query should be used?
Employee
---------
Empno
Employeename
Salary
Deptno
Department
---------
Deptno
Departname
ASelect departname from department where deptno in (select deptno from employee group by deptno having count(*) > 100);
BSelect departname from department where deptno in (select count(*) from employee group by deptno where count(*) > 100);
CSelect departname from department where count(deptno) > 100;
DSelect departname from department where deptno in (select count(*) from employee where count(*) > 100);
Note: Not available