Question: you with Textield given below (a) Consider the following table: EMPLOYEE (empid, ename, salary, joiningdate, designation, deptid), DEPT(deptid, dname) PROJECT(pid, pname, p_details, deptid) Write SQL

you with Textield given below (a) Consider the following table: EMPLOYEE (empid, ename, salary, joiningdate, designation, deptid), DEPT(deptid, dname) PROJECT(pid, pname, p_details, deptid) Write SQL queries for the following: (i) To display top two salaries. (ii) To display the name of the employees who are getting highest salaries in their departments, (iii) To display those employees who have their joining dates on Sunday (iv) To display the name of those employees who are getting more salary then the average salary of PHYSICS department. (v) To display the Department name where maximum number of employees are working
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
