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…
10Consider 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
Consider an online Bookstore, from which customers can buy books. Each customer can place multiple orders. Each order has one or more books. The Bookstore…TU Board 208210Define Normalization. Explain 1NF, 2NF and 3NF with a suitable example.TU Board 208210Differentiate between traditional file processing system and database approach.TU Board 20825Explain the concepts of schema, instance, and data independence.TU Board 20825Define relational constraints. Explain domain, entity integrity, and referential integrity with examples.TU Board 20825Explain the basic operations of relational algebra: UNION, INTERSECTION, DIFFERENCE, and CARTESIAN PRODUCT with suitable examples.TU Board 20825