Lectuer-2 Database Design and Applications: BITS Pilani
Lectuer-2 Database Design and Applications: BITS Pilani
First Semester
2020-21
Contents
3. ER Notations
4. Class Hierarchies
Relationships
Attributes
• Composite
• Single valued
• Multi-valued
• Derived
Binary Relationship
Ternary Relationship
One to Many
Many to Many
1. Employee
2. Department
3. Project
4. Dependent
N 1
M N
1 1
1 N
1 N
Supervisee Supervisor
1. Department
2. Course
3. Professor
4. Student
1 N
Department Offers Course
1 N
1 N
Teaches Enroll
has heads
1 M
N M
Professor Student