Assignment #4
Assignment #4
Q 0. Retrieve the birth date and address of the employee(s) whose name is:
‘John B. Smith’.
Select Bdate, address from Employee where Fname = 'John' AND Minit = 'B'
AND Lname = 'Smith';
Q 1. Retrieve the birth date and address of the employee(s) who work for the:
‘Research’ department.
Q 4. Make a list of all project numbers for projects that involve an employee whose last
name is ‘Smith’ either as a worker or as a manager of the department that controls
the project.
Q 7. Show the resulting salaries if every employee working on the ‘ProductX’ project is
given a 10 percent raise.
Q11. Find the sum of the salaries of all employees, the maximum salaries, the minimum
salaries and the average salaries.
Q14. For each project on which more than two employees work, retrieve the project
number, the project name, and the number of employees who work on the project.