Refer the following case studies and solve
the Assignment given at the end of slide.
(Slide No 21 and 22)
1
Case Studies on Data Base
Design
2
Case Study - 1
Problem specification
Step 1 : Discover entities and assign attributes
3
List the possible Objects / Nouns from given case study
4
Case study 1
5
Case study 1
Step 2- Develop a simplified E-R Diagram
6
Case study 1
Step 3- Transform the E-R diagram into an R-M Diagram
7
8
9
10
Case Study 2
Step 2- Develop a simplified E-R Diagram
11
Case study 2
Step 3- Transform the E-R diagram into an R-M Diagram
12
Case Study 3 – Relational Data Base
Design in Banking Sector
13
14
Banking sector-Transform the E-R diagram into an R-M Diagram
15
Case study 4- Data Base Design in
Library
16
Case study 4
Business Requirement
“Have a database about the books the reading group
reads
Allow comments from the members about the books
Display this information in a web page”
17
Case study 4
Business Requirement
18
Case study 4
Functional Requirement
• Search for Books by either title ,author or genre
• Display information about the books +all comments
• Allow only valid group members to add new comments
• Allow only administrators to add to the database
19
Case study 4
Library -Logical data base design
1
M
M
M
20
Assignment
21
Assignment-Questions
Identify the following from the case:
1. Entities
2. Attributes
3. Relationships
4. Primary and foreign Keys
5. Design the database (Relational model / Logical model)
22