Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Using the following schema, write the following queries in relational algebra :

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

Database Programming Languages 12th International Symposium Dbpl 2009 Lyon France August 2009 Proceedings Lncs 5708

Authors: Philippa Gardner ,Floris Geerts

2009th Edition

3642037925, 978-3642037924

More Books

Students also viewed these Databases questions

Question

What is the ASCII code for the character ' 2 ' ?

Answered: 1 week ago

Question

4. Are there any disadvantages?

Answered: 1 week ago

Question

3. What are the main benefits of using more information technology?

Answered: 1 week ago

Question

start to review and develop your employability skills

Answered: 1 week ago