Question: Question Part ( 5 0 points ) ( 2 4 points ) Consider the following relations, where the primary keys are underlined. Employee ( eid
Question Part points
points Consider the following relations, where the primary keys are underlined.
Employee eid ename, age, supeid
WorkOn eid pid, date
Project pid pname, budget, lid
Locationlid streetname, city, state, zipcode
Employee.supeid refers to Employee.eid, WorkOn.eid refers to Employee.eid, WorkOn.pid refers to
Project.pid, and Project.lid refers to Location.lid.
Let E be Employee, let W be WorkOn, let P be Project, and let L be Location.
Write the relational algebra for the following queries.
points List the names of employees who worked on the 'Database' project.
points List the names of employees who worked on the project located in the city of 'Boca'.
points List the names of employees who worked on the 'Database' project, but never worked
on the 'Data Mning' project.
points List the names of employees who never worked on the project located in the city of
'Boca'.
points List the names of employees who worked on the same project as their supervisor.
points List the names of employees who worked on the same project on different dates
points List the names of employees who worked on all the project located in the city of 'Boca'.
pointsDo not use the aggregation function List the names of the oldest employees.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
