Solved by Expert Tutors
Solved by Expert Tutors

a. Convert the following statements into relational algebra. (5 marks)

Select first_name, last_name, date_of_birth from employees

Where hire_date BETWEEN '01-MAY-2017' AND '01-SEPTEMBER-2018'


Select first_name, last_name, date_of_birth from managers

Where hire_date BETWEEN '01-AUGUST-2018' AND '01-NOVEMBER-2018';

b. Convert the following relational algebra operations to SQL statement. (5 marks)

π first_name, last_name (σcourse_name = 'Mathematics' AND mentor_id IN (101, 102, 108, 107,

103)(Student ⋈ Module) )

Step-by-step answer

The student who asked this found it Helpful

Fusceacinia pulvi




ia pulvinar



fficitur laoreet. Nam risus ante, dapibus a molestie consequ gue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, con

Subscribe 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.

  • -

    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
Let our 24/7 Computer Science tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes