- Problem 2 A University Database Contains The Following Relations Students Sno Integer Sname String Sdept String 1 (24.45 KiB) Viewed 51 times
Problem 2. A university database contains the following relations: STUDENTS (Sno: integer, Sname: string, Sdept: string,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem 2. A university database contains the following relations: STUDENTS (Sno: integer, Sname: string, Sdept: string,
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.