select * from emp where deptno =(select deptno from (select count(e.empno)as counts,e.deptno from emp e group by deptno) a where a.counts=(select MAX(counts) from a) );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)