Lab 7
Write a query in SQL to list the employees who are senior to Greenberg (
LASTNAME
)
Explanation:
"senior" = employed before
Write a query in SQL to list the employees whose salary is same as the salary of FRANK or SANDRINE. List the result in descending order of salary.
Write a query in SQL to list the employees whose salary is more than the total remuneration of the SALESMAN.
Write a query in SQL to find the total salary given to the MANAGER
Write a query in SQL to list the employees in department 90 whose salary is more than the average salary of employees in department 100
Write a query in SQL to list the details of the departments where the maximum number of employees are working.
Write a query in SQL to list the name of the employees who are getting the highest salary of each department.
Write a query in SQL to list the employees whose salary is less than the salary of his manager but more than the salary of any other manager.
Write a query in SQL to find out the least 5 earners of the company.
Write a query in SQL to list the employees who joined in the company on the same date.
Solutions...
Home