Question: Consider the following schema: Student(id, name) Registration(id, code) Course(code, instructor) Write the following queries in the Relational Algebra. What are the code of all courses?

Consider the following schema:

Student(id, name)

Registration(id, code)

Course(code, instructor)

Write the following queries in the Relational Algebra.

  1. What are the code of all courses? (0.25 mark)

Answer:

  1. What are the id of students registered in IT403? (0.25 mark)

Answer:

  1. What are the names of students registered in IT403? (0.5 mark)

Answer:

  1. What are the names of students registered in both IT403 and IT404? (1 mark)

Answer:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!