Reference no: EM133089340
Question 1: Specify the following queries on the database schema shown in attached Figure using the relational algebra discussed in class. This is not asking you to write SQL queries.
1. Retrieve the names of employees who work on the ‘Newbenefits' project.
2. Find the names of employees that works for ‘Administration' department
3. Retrieve the names of department managers who do not work on any project. (You may assume if Hours in works_on is always positive. An employee does not work on any project if his/her ssn is not in works_on)
4. Find the names and addresses of employees who work on at least one project located in Stafford.
5. List the last names of female employees who have no dependents.
6. Find the average salary of all female employees who works for ‘Administration' department
7. For each department, list the department name and the total number of project controlled by the department.
8. Retrieve the names of employees who work on every project controlled by department 5
9. For each employee, retrieve employee's name, and the total hours working in projects
Attachment:- database schema.rar