Professional Documents
Culture Documents
Omar Khanfar11
Omar Khanfar11
Dept table
2. LIST THE EMPLOYEE DEPTNAME AND LOCATION OF ALL THE EMPLOYEES WHO ARE
Analyst or REPORTING TO 'Jihad' use your Name .
5. DISPLAY ENAME DNAME OF ALL THE EMPLOYEES WHOSE NAME STARTS WITH S
6. LIST THE DEPARTMENT NAMES , enames and Hiredates for EMPLOYEES that ARE
HIRED BETWEEN 1ST OF JAN 2003 AND 31ST DEC 2003 WITH SALARY MORE THAN
3500.
1. Display the deptno which is having the maximum salary and maximum salary more than 1500
earned by the employee and job description not as a clerk and sort by descending order
2. List the number of employee in each department, except 30, sorted high to low. Only include
department with 3 or more employee.
GROUP BY DEPTNO 10 5
HAVING COUNT(*) >= 3
ORDER BY EMPLOYEE_COUNT DESC;
4. Display the number of employees who has annual salary more than 25000 in each department.
5. Display the max salary for each of the job excluding all the employee whose having commission.