Unit 2
Unit 2
2.1 Components of ERD model 2.2 Case Studies on ER model 2.3 Terms -
Relation, Tuple, Attribute, Mapping Cardinality 2.4 Keys - Super Key ,
Candidate Key, Primary Key, Foreign Key 2.5 Conversion of ER Diagram to
Relational Model 2.6 Conversion of relational schema to 3NF 2.7 Case
Studies on Relational Model
o Types:
o Types:
o Types:
1. University System:
2. E-commerce System:
2.3 Terms
2.4 Keys
1. Super Key: Any set of attributes that can uniquely identify a tuple.
2. Relationships:
o 1:1: Add the primary key of one entity as a foreign key to the
other.
o 1:N: Add the primary key of the "one" side as a foreign key to
the "many" side.
3. Attributes:
2. Hospital System: