SQL Assignment 4
SQL Assignment 4
User Assignment – 2
Ans:
10. Find the employee whose is getting maximum salary in the finance
department.
12. Display all the details of the employee who is getting less salary than
the maximum salary of IT department employees.
Ans:
SELECT * FROM employee WHERE Salary < ( SELECT max(Salary)
FROM employee where department = 'IT' );