You are on page 1of 3

Question Bank

DBMS (21CS53)

1. Apply Cursor technique for Employee Database with Syntax


2. Discuss various types of set theory operations with example
3. Explain various datatypes in SQL with Example
4. Apply Embedded & dynamic SQL in education database
5. Explain the concept of Conceptual design to logical design with an example
6. Explain with example in SQL
• DROP Command
• DELETE Command
• UPDATE Command
7. Consider the following table
Sailors(sid,sname,rating,age)
Boats(bid,bname,color)
Reserves(sid,bid,date)
Write the following Queries in SQL
a)find the name of the sailor who have reserved boat 104
b)find the name of the sailor who have reserved red or a green boat
c)find the name of the sailor who have reserved atleast 1 boat
d)find the name of the sailor with age over 20 who have not reserved a red boat

8. Explain various aggregate & grouping functions in relational algebra?


9. Apply relational model concept representation in Company Database with example
10. Explain different types of Keys (Min 6)
11. Explain JDBC Architecture
12. Apply SQL commands to establish the connection of JDBC Driver Management
13. Discuss insertion, deletion & modification anomalies
14. Apply assertion & action triggers in company Database SQL
15. Discuss the entity integrity and referential integrity constraints and its importance
16. Consider the following movie database :
• Movie(Title,Dorector_name,Movie_year,Rating,Director_id)
• Actors(Actor_id,actor_age)
• Acts(Actor_id,Title)
• Directors(Director_id, Dage)
Write the following query in SQL
• Find movies made by Rajmouli after 2010
• Find all actors & directors
• Find all the actor who have acted in a movie before 2000 and also in a movie after
2015
17. Explain the concept of Conceptual design to logical design with an example with
all the necessary steps.
18. Apply relational model concept representation in company database with example
19. Apply set theory operations in database with example
20. Discuss insertion, deletion & modification Constraints
21. Consider the following table
• Sailors(sid,sname,rating,age)
• Boats(bid,bname,color)
• Reserves(sid,bid,date)
Write the following Queries in SQL
• 1.Find the color of the boat reserved by Rahul
• 2.Find the name of the sailors who have reserved both red & green boat
• 3.Find all sid of the sailors who have rating of 10 or having reserved boat 104
• 4.Find the colour of boat reserved by lubber
22. Consider the two tables, show the results of the following :

T1 T2
A B C P Q R
10 a 5 10 a 5
15 b 8 25 b 3
25 a 6 10 c 5
23. Explain the concept of Conceptual design to logical design with an example
i) Explain the following with examples: Primary key ii) Foreign key iii) Super key
iv) Candidate key, v) Key constraint
24. What is Integrity constraint? Explain the importance of it. How it is implemented in SQL?
25. Apply Embedded & dynamic SQL in education database
26. Explain various aggregate & grouping functions in relational algebra?
27. Explain the different Relational Model constraints.
28. Describe the steps of an algorithm for ER to Rational mapping with example.
29. Explain the following with examples: i) Schema Change statements in SQL ii) Views in
SQL
30. Apply assertion and triggers in Company Database SQL
31. What is Integrity constraint? Explain the importance of it. How it is implemented in SQL?
32. Given the following schema:

You might also like