Professional Documents
Culture Documents
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 2
ENTITIES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 3
ENTITIES
Two entities
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 4
ENTITIES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 5
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 6
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 7
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 8
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 9
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 10
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 11
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 12
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 13
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 14
RELATIONSHIPS
A 1:M Relationship
A M:N Relationship
A 1:1 Relationship
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 15
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 16
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 17
RELATIONSHIPS
Relationship attributes
• In some cases M:N relationships can actually have attributes of their own
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 18
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 19
RELATIONSHIPS
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 20
ER diagram example: ZAGI Retail Company Sales Department Database
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 21
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 22
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 23
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 24
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 25
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 26
ATTRIBUTES
Jukić, Vrbsky, Nestorov – Database Systems Copyright (c) 2014 Pearson Education, Inc. Chapter 2 – Slide 27