Part 1 : Basics
What is a Database?
→ Define what a database is and why it is used.
What is DBMS?
→ Explain the purpose of a Database Management System.
What are the advantages of using DBMS over a file system?
→ Example: data consistency, integrity, security, etc.
What is a primary key?
→ Define and explain with an example.
What is a foreign key?
→ Explain how it helps maintain relationships between tables.
What are the different types of database models?
→ Examples: Hierarchical, Network, Relational, Object-Oriented.
What is normalization?
→ Explain the process and purpose of reducing redundancy.
What are the different types of SQL commands?
→ Examples: DDL, DML, DCL, TCL.
What is a join in SQL? Name its types.
→ INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN.
What is the difference between DBMS and RDBMS?
→ Example: RDBMS supports relations and constraints; DBMS may not.
Part 2 : Advanced :
Student (RollNo, Name, Father_ Name, Branch)
Book (ISBN, Title, Author, Publisher)
Issue (RollNo, ISBN, Date-of –Issue)
Write the following queries in SQL and relational algebra:
List roll number and name of all students of the branch ‘CSE’.
II. Find the name of student who has issued a book published by ‘ABC’ publisher.
III. List title of all books and their authors issued to a student ‘RAM’.
IV. List title of all books issued on or before December 1, 2020.
V. List all books published by publisher ‘ABC’