Professional Documents
Culture Documents
HW 2
HW 2
Select dname,
2. show the names and location for all department and the number of employess working in each department.make sure that department without employess are included as well. Select d.dname, d.deptno, d.loc, e.ename, e.deptno From dept d, emp e Where e.deptno(+)= d.deptno;
3. which jobs are found in department 10 and 20? Select e.job, e.deptno, d.dname, d.deptno From dept d, emp e
4. which jobs are found in the administration and executive department,and how many employess do these jobs?show the job with the highest frequenct first.