0% found this document useful (0 votes)
2 views

DBMS Lab Assignment-6

The document outlines an assignment for a B.Tech DBMS Lab, consisting of three main tasks related to database design. It requires students to analyze functional dependencies, identify keys, and write SQL statements for Employee Project Assignments, Student Course Enrollments, and a Library Management System. The assignment emphasizes creating a logically consistent relational schema while avoiding data redundancy.

Uploaded by

Aryan Maurya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

DBMS Lab Assignment-6

The document outlines an assignment for a B.Tech DBMS Lab, consisting of three main tasks related to database design. It requires students to analyze functional dependencies, identify keys, and write SQL statements for Employee Project Assignments, Student Course Enrollments, and a Library Management System. The assignment emphasizes creating a logically consistent relational schema while avoiding data redundancy.

Uploaded by

Aryan Maurya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Computer Science and Engineering Department

Motillal Nehru National Institute of Technology Allahabad


B.Tech V Semester
DBMS Lab (CSN15401)
Assignment-6

1. Consider a Employee Project Assignments in a company:

a) List all functional dependencies satisfied by the above instance of a relation.


b) Determine all the super key(s), candidate key(s) and primary key in the relation.
c) Write SQL statements to create the corresponding relation with suitable primary key.

2. Consider Student Course Enrollments in a university:

a) List all functional dependencies satisfied by the above instance of a relation.


b) Determine all the super key(s), candidate key(s) and primary key in the relation.
c) Write SQL statements to create the corresponding relation with suitable primary key.

3. You are provided with the following information about a Library Management System (LMS):
• LMS consists of books and each book has a unique ISBN, a title, an author, and a publisher.
Multiple copies of the same book are available in the library.
• LMS has library members and each library member has a unique MemberID, a name, and a
contact number.
• Members can borrow multiple books, and each borrowed book is recorded with the date of
borrowing and the return date.
a) Based on the given information, identify and list all possible functional dependencies.
b) Write SQL statements to design a relational schema for the Library Management System.
c) Clearly define the attributes for each relation and indicate primary and foreign key(s) where
applicable.
Note: Ensure that your relational schema is logically consistent and avoids data redundancy
based on the functional dependencies.

You might also like