Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Using the following schema, write the following queries in relational algebra (20 points): Emp(eid, ename, salary) E Works(eid, did, pct_time) W Dept(did, dname, budget,

image text in transcribed

2. Using the following schema, write the following queries in relational algebra (20 points): Emp(eid, ename, salary) E Works(eid, did, pct_time) W Dept(did, dname, budget, manager eid) D 1. List the employee names of employees who did not work in the 'R&D' department 2. List the employee names of employee who have worked in all departments 3. List the names of managers who manage a department with a budget over $1,000,000 4. List the names of managers who managed more than one department

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

Real Time Database And Information Systems Research Advances

Authors: Azer Bestavros ,Victor Fay-Wolfe

1st Edition

1461377803, 978-1461377801

More Books

Students also viewed these Databases questions

Question

gpt 9 9 .

Answered: 1 week ago