Answered step by step
Verified Expert Solution
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,
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
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