The document provides instructions to design a database called STUDENT containing 4 tables to store personal, class, exam, and marks details of students. It then lists 17 queries to perform on the tables including retrieving data, finding details of specific students, joining tables, aggregating data, updating records, deleting rows, and altering and dropping tables.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
38 views1 page
ASSignmnet PDF
The document provides instructions to design a database called STUDENT containing 4 tables to store personal, class, exam, and marks details of students. It then lists 17 queries to perform on the tables including retrieving data, finding details of specific students, joining tables, aggregating data, updating records, deleting rows, and altering and dropping tables.
1) Retrive everything from the table Personal_Details.
2) Find the personal details of the student with age=21. 3) Find the class details of the student having roll_no=5. 4) Calculate the total no. Of class from class_start_date for all names in the table Class_Details. 5) Find the address of the student having roll_no=3. 6) Select and Sort by semester in the table Class_Details. 7) Perform outer join on Class_Details and Exam_Details. 8) Perform inner join on Class_Details and Exam_Details. 9) Perform natural join on Class_Details and Exam_Details. 10) Find the student roll_no with maximum age. 11) Find the average age of the student of the same class. 12) Find the summation of the marks obtained by a student in different subjects in the same examination. 13) Update the name of the student with roll_no=8. 14) Delete all personal details of the student getting least marks in a particular semester final exam. 15) Alter the table name of “Personal_Details” by “P_Details. 16) Drop the table Exam_Details. 17) Drop the database “STUDENT.