Ad3381 Set3
Ad3381 Set3
Third Semester
(Regulations 2021)
2. Consider following databases and draw ER diagram and convert entities and relationships
to relation table for a given scenario.
3. Draw an ER diagram of Library management system and convert into relational model
using any tool(Ex. ERDplus)
b. Add a new column PINCODE with not null constraints to the existing table DEPT
c. All constraints and views that reference the column are dropped automatically, along with
the column.
Page 1 of 4
5. Create a table EMPLOYEE with following schema:
d. Delete table
b. Add constraints to check, while entering the empno value (i.e) empno > 100.
Page 2 of 4
9. Calculate the net salary and year salary if da is 30% of basic, hra is 10% of basic and pf is
7% if basic salary is less than 8000, pf is 10% if basic sal between 8000 to160000,using
Stored Procedures/function.
10. Develop the following Library Management System applications using back end(e.g Oracle)
and front end (e.g MySQL, Visual Basic) Tool.
11. a.Write a PL / SQL program to check whether the given number is prime or not
b. Write a PL/SQL program to accept a string and remove the vowels from the string.
12. a. Write a PL/SQL program to create a trigger before the user changes the value of the
salary of the employee.
b. Write a PL/SQL program to create a trigger before the user inserts the data into the table.
Write SQL queries to (a). Retrieve details of all books in the library – id, title, name of
publisher, authors, number of copies in each branch, etc. (b). Get the particulars of
borrowers who have borrowed more than 3 books, but from Jan 2017 to Jun 2017 (c).
Delete a book in BOOK table. Update the contents of other tables to reflect this data
manipulation operation. (d). Partition the BOOK table based on year of publication.
Demonstrate its working with a simple query. (e). Create a view of all books and its number
of copies that are currently available in the Library
15. Develop the following Banking System applications using back end(e.g Oracle) and front
end (e.g MySQL, Visual Basic) Tool.
17. Design database schema for College Management application and apply normalization
18. Create an ER model for Mark management and perform EER to ODB mapping
Page 3 of 4
19. Develop an Inventory management system and express the relationship between entities
using Normalization.
20. Draw ER diagram of Publishing house management system and convert into relational
model using any tool.
Page 4 of 4