Download presentation
Presentation is loading. Please wait.
Published byYuliana Gunardi Modified over 6 years ago
1
Converting from Relational Model to Data Model
Yong Choi School of Business CSUB
2
Reverse Engineering Procedure
A table turns into an entity. Each column in the table turns into an attribute. A PK of the table turns into an identifier of the entity . In general, the ERD (data model) does not include FK information. Restaurant database: next slide
3
Data Model
4
Reverse Engineering: composite attribute
Customer Customer_ID Customer_Name Customer_Address
5
Reverse Engineering: multi-valued attribute
Employee Employee SSN Name E101 Johnson E102 Smith E103 Conley E104 Roberts Phone SSN Phone# E101 312 … E102 708 … E104 603 … SSN Name Phone # 24
6
Reverse Engineering 1
7
Reverse Engineering 1 Nurse: Care Center Nurse_ID, Name, Date_of_Birth
Center_Name, Location, Date_Assigned
8
Reverse Engineering 1
9
Reverse Engineering Student Enroll Class STU_NUM STU_LNAME CLASS CODE
ENROLL_GRADE Class CLASS CODE CRS_CODE CLASS_SECTION CLASS_TIME CLASS_ROOM PROF_NUM
10
Reverse Engineering CLASS STUDENT Class_ Student
11
Reverse Engineering Employee Emp_ID Emp_name Dependent Dep_SS_No
Lname Fname DOB Gender
12
Reverse Engineering
13
Reverse Engineering Employee Emp_ID Emp_Name Emp_Address Manager_ID
14
Reverse Engineering
15
Reverse Engineering
16
Reverse Engineering
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.