You are on page 1of 1

SANDIP POLYTECHNIC

SESSIONAL TEST – II
Academic Year 2022-23
Subject: Relational DBMS
Question Bank
1. List DCL commands.
2. Define Normalization and list its types.
3. Write syntax for creating synonyms with example.
4. Write and explain syntax for creating view with example.
5. Explain PL/SQL block structure with the help of diagram.
6. State and explain 2NF with example.
7. Explain any four aggregate functions with example.
8. Explain exception handling in PL/SQL with example.
9. Explain states of transaction with the help of diagram.
10. Explain cursor with example.
11. Create simple and composite index. Write command to drop above index.
12. Write a PL/SQL program to calculate factorial of a given number.
13. Write SQL command for following
i) Create user
ii) Grant privileges to user.
iii) Remove privileges from user.
14. Explain set operators with example.
15. Describe commit and rollback with syntax and example.
16. Explain joins in SQL with examples.
17. Explain function in PL/SQL with example.
18. Explain transaction ACID properties.
19. Write a PL/SQL program which accept the customer ID from the user if user enters an
invalid ID then the exception invalid_id is raised using exception handling.
20. Explain conditional control in PL/SQL with example.
21. Consider the schema Customer (Cust-id, Cust_name, Cust_addr, Cust_city)

i) Create a view on Customer (Cust_id, Cust_name) where Cust_city is ‘Pune’

ii) Create a sequence on Cust_id

22. What is clauses? Explain the types of clauses.

You might also like