0% found this document useful (0 votes)
24 views

Lab Assignment DBMS For Practical

This document contains multiple choice questions divided into different sets (SET-A through SET-S) related to SQL, PL/SQL, database design and implementation including creating tables, adding constraints, writing triggers, designing ER diagrams, writing stored procedures and functions, using views and performing various SQL queries.

Uploaded by

Aryan Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Lab Assignment DBMS For Practical

This document contains multiple choice questions divided into different sets (SET-A through SET-S) related to SQL, PL/SQL, database design and implementation including creating tables, adding constraints, writing triggers, designing ER diagrams, writing stored procedures and functions, using views and performing various SQL queries.

Uploaded by

Aryan Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

SET-A

Q1. Create Table with primary key and foreign key constraints.

a. Alter table with add n modify b. Drop table

OR

Q2. Write a PL/SQL block to implement all types of cursor.

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

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-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.

a. Alter table with add n modify b. Drop table


SET-S
Q1. 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

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

You might also like