Guidelines DBMS - 250425 - 141508
Guidelines DBMS - 250425 - 141508
24
References
1. Elmasri, R., Navathe, B. S. Fundamentals of Database Systems, 7th Edition, Pearson
Education, 2015.
2. Krogh, J. W. MySQL Connector/Python Revealed: SQL and NoSQL Data Storage Using
MySQL for Python Programmers, Apress, 2018.
3. Murach J. Murach's MySQL, 3rd edition, Pearson, 2019.
Additional References
(i) Ramakrishnan, R., Gehrke J. Database Management Systems, 3rd Edition, McGraw-
Hill, 2014.
(ii) Silberschatz, A., Korth, H. F., Sudarshan S. Database System Concepts, 7th Edition,
McGraw Hill, 2019.
(iii) Connolly, T. M., Begg, C. E. Database Systems: A Practical Approach to Design,
Implementation, and Management, 6th edition, Pearson, 2019.
Suggested Practical List
I. Create and use the following student-society database schema for a college to
answer the given (sample) queries using the standalone SQL editor.
17.
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%
21. Add the enrollment fees paid
22. -01- the current date and
-01-
23. Create a view to keep track of society names with the total number of students enrolled in
it.
24. Find student names enrolled in all the societies.
25. Count the number of societies with more than 5 students enrolled in it
26.
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.
enrolled in the society.
30. Display the following information:
Society name Mentor name Total Capacity Total Enrolled Unfilled Seats
II. Do the following database administration commands:
Create user, create role, grant privileges to a role, revoke privileges from a role, create index
(Prof. Hema Banati) (Prof. Neeraj Kumar Sharma) (Dr. Deepali Bajaj)