Professional Documents
Culture Documents
Assignment 2 BSE-IV-A&B
You have to design a database system for any organization. Start with the process
of mini-world analysis of your chosen system. Identify important entities and
business rules. Prepare ER diagram. Then convert it to relational model. In the next
step apply necessary normalization on these relations, and finally prepare
normalized database design
LIBRARY MANAGEMENT SYSTEM
SCHEMAS
Staff Members:
MName Staff_Id
Books:
Publisher:
Readers:
Category
Price
Member
MName Title
ISBN
Staff Members
s 1 Maintains
N Book
M N N
Staff_Id
Publishes
RName Keeps
Track of 1
PName
Phone#
Publisher
N
Address Readers P_Id
Year of
1 Borrowed/ Publication
User_Id
Return
Date
Return Date
RELATIONAL MODEL:
Category
Price
Member
MName Title
ISBN
Staff Members
s 1 Maintains
N Book
Staff_Id
Staff Members entity has one to many relationship with Book entity. 1
Staff Member can maintain many books. ISBN and Staff_Id are the primary keys.
Book:
Staff Members
s Many Staff Members can keep track of many Readers
M Lookup Table:
Staff_Id
Readers Track:
Keeps
RName Staff_Id User_Id
Track of
Phone# N
Address Readers
User_Id
Category
Price
Member
In Publisher Entity and Book Entity there is
Title
ISBN
1 to many relationship. 1 Publisher can publish many
PName
Publisher
P_Id
Year of
Publication
Category
Price
Member
RName
Phone# Title
ISBN
Borrowed/
Readers
1 N Book
Return
Date
Address User_Id
In Reader entity and Books Entity there is a 1 to many relationship. 1 Reader can
borrow many books.
Book:
NORMALIZATION:
Book:
2NF:
Functional Dependencies:
3NF:
Transitive Dependencies:
ISBN Title
Title Category
BCNF:
4NF:
Readers Track:
Staff_Id User_Id
No Normalization.
Book:
ISBN P_Id Title Category Price
2NF:
Functional Dependencies:
3NF:
Transitive Dependencies:
ISBN Title
Title Category
BCNF:
4NF:
Book:
2NF:
Functional Dependencies:
3NF:
Transitive Dependencies:
ISBN Title
Title Category
BCNF:
4NF: