Question: For the relational database instance, shown in the figure above, write relational algebra expressions for the following data retrieval requirements. Please type your answer .

For the relational database instance, shown in the figure above, write relational algebra expressions for the following data retrieval requirements. Please type your answer.
1. List all male employees, who do NOT work in department number 5 but have salary higher than $35,000
2. List name, birth date and relationship for all dependents of employee John B. Smith.
3. List name for all projects, which is NOT managed by department number 5 but is located in Houston. Use the DIFFERENCE operation for this data retrieval requirement.
4. List name for all departments located in Houston. Use the NATURAL JOIN operation for this data retrieval requirement.
5. List SSN for all employees, who works on project ProductX.
CHAPTER 6/THE RELATIONAL DATA MODEL ANDRELATIONAL ALGEBRA 146 EMPLOYEE FNAME MINIT LNAME SEN BOATE ADDRESS SEx SALARY SUPERSSN DNO 333445555 DEPT LOCATIONS PNUMEER DogATION DEPARTMENT DNAME ONMMEER MORSSN NORSTARTDATE WORKS ON ESSN HOURS PNAME TENIMMBER PLOCATION ONUM PROTECT DEPENDENT ESSN DEPENDENT NAME SEX BDATE RELATIONSHIP Figure 6.6 A relational database instance (state) of the ooMPANY schema
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
