DBMS Lab
DBMS Lab
DBMS Lab
RollNo____________________ Name________________________Section:______________
INSTRUCTIONS
Internet connectivity and electricity backup is responsibility of student himself.
The paper time will be from 11:00 AM to 01:00 PM.
All questions are compulsory.
Write query in your IDE (query pane) and paste the same into a Word/ Pdf file along-with appropriate query number as
mentioned in the paper.
Mention your name, roll no. and section on each page.
You have to submit the paper on the following link
https://www.dropbox.com/request/JqSZMo6e93Fm6Dpox67V
Group submission is not allowed. Each student has to submit paper individually.
The file name (single Pdf file or zip file) must contain your complete roll number, name, Subject name (DBS-LAB) (e.g.
000-BSCS-18,Your Name,A,DBS-LAB)
All questions are based on HR Schema available in Oracle by default and has been provided and implemented in MS-SQL
Server.
11. Modify the existing HR schema, where we store the certification of the employees he/she has done. The attribute of
the certification would be Certification ID, Certification Title, Start Date and Completion Date. An employee can
complete many certificate and a certificate can be completed by many employees. (10)
a. Carefully analyze the requirements and create relational model of this scenario. (4)
b. Create tables without any constraint. (2)
c. Add constraint of unique key and not null on columns “certification title”,” start date” and “completion date”
(this would be done after creating tables). (2)
d. Implement/add proper primary keys and foreign keys. All constrains should be properly named. (2)