...
Question 9541 – SQL
February 12, 2024
Computer-Graphics
February 13, 2024
Question 9541 – SQL
February 12, 2024
Computer-Graphics
February 13, 2024

Database-Management-System

Question 9

Consider the following relational schema:

 COURSES (cno, cname)
 STUDENTS (rollno, sname, age, year)
 REGISTERED FOR (cno, rollno) 

<p align="Justify" the="" underlined="" attributes="" indicate="" primary="" keys="" for="" relations.="" ‘year’="" attribute="" students="" relation="" indicates="" year="" in="" which="" student="" is="" currently="" studying="" (first="" year,="" second="" etc.)=""
(a) Write a relational algebra query to
Print the roll number of students who have registered for cno 322.
(b) Write a SQL query to
Print the age and year of the youngest student in each year.

A
Theory Explanation.
Correct Answer: A

Leave a Reply

Your email address will not be published. Required fields are marked *