Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions

Question

1 What are the three key facets of HRP?

Answered: 1 week ago