Question: Problem 2. A university database contains the following relations: STUDENTS (Sno: integer, Sname: string, Sdept: string, Age: integer) COURSES (Cno: integer, Cname: string) ENROLLMENT (Sno:

Problem 2. A university database contains the following relations: STUDENTS (Sno: integer, Sname: string, Sdept: string, Age: integer) COURSES (Cno: integer, Cname: string) ENROLLMENT (Sno: integer, Cno:integer, Grade: integer) Write the following queries in relational algebra: (1) Find the Sno and course grades for students who take OS or DBMS. (2) Find the Sno of students whose courses include all courses taken by the student with Sno = 10. (3) Find the Sname and Sdept for all the students who do not enroll in the course with Cno = 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
