Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 RelationshipStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started