Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started