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.
- What are the code of all courses? (0.25 mark)
Answer:
- What are the id of students registered in IT403? (0.25 mark)
Answer:
- What are the names of students registered in IT403? (0.5 mark)
Answer:
- 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
Get step-by-step solutions from verified subject matter experts
