Question: Using the following relational schema for a COMPANY example, write down the relational algebra expressions for each of the following queries 1. Return the name

Using the following relational schema for a COMPANY example, write down the relational algebra expressions for each of the following queries

Using the following relational schema for a COMPANY example, write down the

1. Return the name of the projects that are in 'Houston'

2. Return the name of the departments that has a project in 'Houston'

3. The SSN of the employees who (a) do not have any dependents but (b) supervise an employee that works on a project in 'Houston'

EMPLOYEE Fname Minit Lname Ssn Bdate Address Sex Salary Super_ssn Dno DEPARTMENT Dname Dnumber Mgr_ssn Mgr_start_date DEPT_LOCATIONS Dnumber Dlocation PROJECT Pname Pnumber Plocation Dnum WORKS ON Essn Pno Hours DEPENDENT Essn Dependent_name Sex Bdate Relationship

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!