You are on page 1of 1

1. show the department names,locations,names,job titles,and salaries of employees who work in location 1800.

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.

You might also like