DBMS Practical File
DBMS Practical File
UNIVERSITY OF DELHI
DSC: COMPUTER SCIENCE
DATABASE MANAGEMENT SYSTEM
PAPER CODE: 2342573501
PRACTICAL FILE
TEACHER’S NAME: Ms. AROKIA RAMYA
SOCIETY
ENROLLMENT
Ques 1. Retrieve names of student enrolled in any society
Que 5. Retrieve students' names whose Roll No either starts with 'X' or 'Z' and ends with '9
6. Find society details with more than N TotalSeats where N is to be input by the user
8. Find society names in which more than five students have enrolled
9. find the name of the youngest student in the 'Coding club' society
10. Find the name of the most popular society (on the basis of enrolled students)
11. Find the name of two least popular societies (on the basis of enrolled students)
12. Find the students names who are not enrolled in any society.
16. Find names of student who are enrolled in any of the 3 societies 'debating', 'dance', 'sashakt'
17. Find society name such that its mentor has a name with Singh in it
18. Find the society names in which the number of enrolled students is only 10% of its capacity.
19. Display the vacant seats for each society.
20. Increment Total Seats of each society by 10% write for all these questions
21. Add the enrollment fees paid ('yes'/'no') field in the enrollment table
22. Update date of enrollment of SocId S1 to '2018-01-15', S2 to the current date and S3 to '2028-01-02;
23. Create a view to keep track of society names with the total number of students enrolled in it.
25. Count the number of societies with more than 3 students enrolled in it
26. Add column mobile number in student table with default value ‘9999999999;
27. Find the total number of students whose age is > 20 years.
28. Find names of students who were born in 2001 and are enrolled in at least one society.
29. Count all societies whose name starts with ‘S’ and ends with ‘T’ and atleast 5 students are enrolled in the
society.
30. Display the following information: Society name, Mentor name, Total Capacity, Total Enrolled, Unfilled Seats