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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!