View the step-by-step solution to:

Consider the following relations, where the primary keys are underlined.

  1. Consider the following relations, where the primary keys are underlined.

Employee (eid, ename, salary, age)

Work_On (eid, pid, date)

Project (pid, pname, location)


Write the relational algebra for the following queries. 


1) (2 points) Find the names of employees who have worked on a project located in "Boca Raton'.

 

2) (2 points) Find the names of employees who have worked on two different projects on the same

date.

 

3) (2 points) Find the names of projects which have been worked by both 'John' and 'Susan'.

 

4) (2 points) Find the names of projects which have been worked by either 'John' or 'Susan', but

not both.

 

5) (2 points) Fine the youngest employees.

Top Answer

As a simple guide we understand that the... View the full answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online