CSC265 Database Management System

Database Management SystemTU Board 2082

Consider the following relational schema: Student( SID , SName, Dept, Year) Course( CID , CName, Credit) Enroll( SID , CID, Grade) Specify the following queries in both SQL and Relational Algebra on…

10

Consider the following relational schema:

Student(, SName, Dept, Year)

Course(, CName, Credit)

Enroll(, CID, Grade)

Specify the following queries in both SQL and Relational Algebra on this database schema:

  • a) List names of students from the "CSIT" department whose name starts from A.
  • b) Display student names and course names they have enrolled in.
  • c) Count total students enrolled in each course.
  • d) Update grade 'B' to 'A' for all students in "DBMS".
  • e) Delete records of students whose Year is 2024.
A worked answer is on its wayMeanwhile, read the Database Management System notes for this topic.

Discussion

Loading…

More Database Management System questions

All Database Management System old questions