We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
VIT BHOPAL UNIVERSITY
SCHOOL OF COMPUTING SCIENCE ENGINEERING
LAB MANUAL
Course Name : DBMS
Course Code : CSE3001 Name of Faculty Member : DR. RAVI VERMA Session : 2020-21 Suggested list of experiments: - Lab Assignments: • Delete duplicate row from the table. • Display the alternate row from table. • Delete alternate row from table. • Update multiple rows in using single update statement. • Find the third highest paid and third lowest paid salary. • Display the 3rd, 4th, 9th rows from table. • Display the ename, which is start with j, k, l or m. • Show all employees who were hired the first half of the month. • Display the three record in the first row and two records in the second row and one record in the third row in a single sql statements. • Write a sql statements for rollback commit and save points. • Write a pl/sql for select, insert, update and delete statements. • Write a pl/sql block to delete a record. If delete operation is successful return 1 else return 0. • Display name, hire date of all employees using cursors. • Display details of first 5 highly paid employees using cursors. • Write a database trigger which fires if you try to insert, update, or delete after 7’o’ clock. • Write a data base trigger, which acts just like primary key and does not allow duplicate values. • Create a data base trigger, which performs the action of the on delete cascade. • Write a data base trigger, which should not delete from emp table if the day is Sunday. • In this subject the students are supposed to prepare a small database application in complete semester like financial accounting system, Railway reservation system, institute timetable management system. Student record system, library management system, hospital management system etc. in RDBMS as follows: