CS3481 Set 1
CS3481 Set 1
Fourth Semester
(Regulations 2021)
1. a) Create an employee database table, add constraints (primary key, unique, check, Not null),
insert rows, update and delete rows using SQL DDL and DML commands.
b) Write a PL SQL programs to hike the employee salary, those who are all working under the
production department by using where clause.
2. a) Create a set of tables for student database, add foreign key constraints and incorporate
referential integrity.
b) Write PL SQL Triggers for insertion, deletion operations in a student database table.
3. a) Write a query to display all books details related to ‘Database Management Systems’ by
using where clause.
b) Write a PL SQL Trigger program to update books details in library management system
after purchasing books.
Page 1 of 3
5 a) Create a student table, subject_ mark table, result table using DDL, DML commands and
also compute the minimum, maximum, total, average marks in the above database.
b) Write a user defined function to update and release the student’s result with percentage.
6 a) Create railway reservation database using DDL, DML commands and also display the
train information using sub queries.
b) Write PL SQL Triggers to display available seats after a successful reservation and also
display the available seats before reservation.
7 a) Create an airline reservation database using DDL and DML commands and display the
results after applying join operation to combine business class and economic class passenger.
b) Write a procedure to avail reduction of flight fare while reserving tickets.
8 a) Create a database for toy manufacturing company and display the products based on
the cost using having clause.
b) Write a procedure to insert and update the records in the above database.
9 a) Create and insert records in student table and course table and also display the records using
different types of join operation.
b) Write a procedure to display month’s name while passing the month as number parameter.
(Example: if pass parameter as 1 it should display as January.)
10 a) Write a DCL command to allow the user to create, insert, update and delete operation
and also disallow the particular user to perform delete operation.
b) Create XML database to conduct online quiz and declare the quiz results.
11 a) Write and execute complex transaction in a larger database and also realize TCL commands.
b) Create Document, column and graph based data using NOSQL database tools.
Page 2 of 3
14 Develop an application for small finance corporation.
INTERNAL EXAMINER
Page 3 of 3