Question: Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra. The homework assignment must be
Specify the following queries on the database schema shown in the following figure, using the operations of the relational algebra. The homework assignment must be typed and submitted in a PDF format to Canvas EMPLOYEE DEPARTMENT DEPT LOCATIONS WORKS ON DEPENDENT DEPENDENT NAME SEX | BOATE RELATIONSHP (1) List the departments (department name, department number) that have a location in 'Seattle (2) List the names of employees (lname, fname) who have a dependent with the same first name as themselves. (Dependent name is the first name of the dependent) (3) Retrieve the names of employees (lname, fname) in department 8 who work more than 10 hours per week on the 'RD' project. ("RD" is the project name.) (4) Find the names of employees (Iname, fname) who are directly supervised by 'Mary Huber
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
