Lab Assignment DBMS For Practical
Lab Assignment DBMS For Practical
Q1. Create Table with primary key and foreign key constraints.
OR
SET-B
Q1. Write and execute suitable database triggers .Consider row level and statement level triggers
OR
Q2. Design any database with at least 3 entities and relationships between them. Draw suitable
ER/EER diagram for Hospital Management System.
SET-C
Q1. Design and implement a database (for assignment no 1) using DDL statements and apply
normalization on them
OR
Q2. Design any database with at least 3 entities and relationships between them. Draw suitable
ER/EER diagram for Bank Management system
SET-D
Q1 Perform following SQL queries on the database created in assignment 1.
a) Implementation of relational operators in SQL
b) Arithmetic operations and built in functions
c) Processing Date and Time functions
OR
Q2. Write a PL/SQL block to implement all types of cursor.
SET-E
Q1. Write and execute suitable database triggers .Consider row level and statement level triggers
OR
SET-P
Q1. Write and execute PL/SQL stored procedure and function to perform a suitable task on the
database. Demonstrate its use.
OR
Q2. Design any database with at least 3 entities and relationships between them. Draw suitable
ER/EER diagram for University system
SET-Q
Q1. Execute DDL/DML statements which demonstrate the use of views. Update the base table using its
corresponding view. Also consider restrictions on updatable views and perform view creation from
multiple tables
OR
Q2. Perform following SQL queries on the database created in assignment 1.
a) Boolean operators and pattern matching
b) Complex queries and set operators
c) Group functions
SET-R
Q1. Write and execute PL/SQL stored procedure and function to perform a suitable task on the
database. Demonstrate its use
OR
Q2. Create Table with primary key and foreign key constraints.
OR
Q2. . Execute DDL/DML statements which demonstrate the use of views. Update the base table
using its corresponding view. Also consider restrictions on updatable views and perform view
creation from multiple tables