0% found this document useful (0 votes)
1 views2 pages

GE3DBMS Test

Uploaded by

mohit1022005
Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
1 views2 pages

GE3DBMS Test

Uploaded by

mohit1022005
Copyright
© © All Rights Reserved
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

KIRORI MAL COLLEGE

UNIVERSITY OF DELHI

Unique paper Code: 2344002001


Name of the Paper: Database Management Systems
Type of Paper: Generic
Semester: III Date of Exam: 21 October 2024
Time: 1 hour Max. Marks 24

Q1 Consider a relation R(A,B,C,D,E,F) with the following set of functional


dependencies, F = {AB->C, DC->AE, E->F}. Find any two keys for the given
relation? Is this relation in 2NF? If not, state the reason and decompose this
relation until each of the decomposed relations are in 2NF. (6 marks)

Q2 Find minimum number of tables required to represent the given ER diagram in


relational model - (4 marks)

Q3 What is meant by the Entity Relationship (ER)model? Explain the terms Entity,
Entity Type, and Entity set in DBMS (Database Management System) with the help
of examples. (4 marks)

Q4 a. An Employee table has the following two attributes Emp_Id and Emp_Name.
Write an SQL statement to insert a new attribute Emp_Address to the Employee
table. (2 marks)

b. Write an SQL statement to grant global privileges to a user named joe. (2 marks)

c. Consider the following Company Database schema: (6 marks)


Empno Ename Address Salary EmailID Dno

Write SQL statements to perform the following operations:

a. Add a column EmailID in the Employee table.


b. Update the data type of salary from int to decimal. Also, define 10000 as the
default value.
c. Add a check constraint for the salary column enforcing salary not above 80000.
d. Drop the column Address from Employee.

You might also like