Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the following queries in relational algebra: a. Find the names of all employees whose salary is higher than 500K; b. Find the names of
Write the following queries in relational algebra: a. Find the names of all employees whose salary is higher than 500K; b. Find the names of all employees who work more than 15 hours on project X (Pname); c. Find the ids of those who work on a project located in Brooklyn but never in a project located in Long Island; d. Return the names of those who have the lowest salary among all employees whose age is between 35 and 40 ; e. Find the names of employees whose salary is higher than that of his/her supervisor; f. Find the names of all employees who have a dependent with the same name as themselves; g. Find the names and SSNs of employees who worked on EVERY project located in Brooklyn; h. Find the names of those who worked on exactly three projects
Step 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