Question: Expert Q&A Done Consider the following database schema and specify the following queries or views in SOL EMPLOYEE (SSN, name, salary. DNo). DEPARTMENT (DNo. DeptName,
Expert Q&A Done Consider the following database schema and specify the following queries or views in SOL EMPLOYEE (SSN, name, salary. DNo). DEPARTMENT (DNo. DeptName, MgrSSN) PROJECT (PNo, location ProjName). HOURLOG (SSN PNo, hours) (a) Find the sum of salaries of all employee, the maximum salary, the minimum salary, and the average salary. (b) Find the total number of employees in the Research' department.. (c) Find the SSN and name of the employee who works on more than two projects. (d) For each project, retrieve the PNo, ProjName, and the number of employees from department number 2 , DN0-2) who work on the project. (e) Create a view DEPT INFO that has the department name, the number of employees, and the total salary of the total salary of the employees of the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
