5.2. Data Modeling Part 4.2 - Practical
5.2. Data Modeling Part 4.2 - Practical
2
Data Modeling Part 4.2- practical
▪ Assignments within each topic are divided into Exercises (Exercise 1,2,3
etc.) and Solutions (Solution 1,2,3 etc.).
Note
▪ Notes and remarks are given in callouts like this
2
3
Exercise 1
1. Match the type of Unique identifier to the entity.
a. Simple UID
b. Composite UID
c. Composite UID comprising an attribute and a relationship
d. Primary Key & Secondary Key
4
Solution Exercise 1
1. Match the type of Unique identifier to the entity.
a. Simple UID
b. Composite UID
c. Composite UID comprising an attribute and a relationship
d. Primary Key & Secondary Key
Solution: d, c, b, a
5
Exercise 1
2. Describe how you would identify the entities listed below, making up any
attributes and relationships you consider appropriate. For example, for the
Student entity you may say that the UID is comprised of the first name, last
name, and address. Or you might suggest that the Student entity contains an
artificial UID called student number.
a. A city
b. A contact person for a customer
c. A train
d. A road
e. A financial transaction (for example: transfer funds)
f. An award (for example: movies)
g. A painting
QUESTIONS?
6
References
1. Oracle Academy courseware (Database Foundations and Database
Design and Programming with SQL), 2015.
2. Burleson, K. D., Physical Database Design Using Oracle (Foundations of
Database Design), 1st Edition, Auerebach Publications, 2006, p. 247.
7
IMPORTANT NOTICE!
Ova prezentacija je nekomercijalna.
Slajdovi mogu da sadrže materijale preuzete sa Interneta, stručne i naučne
građe, koji su zaštićeni Zakonom o autorskim i srodnim pravima. Ova
prezentacija se može koristiti samo privremeno tokom usmenog izlaganja
nastavnika u cilju informisanja i upućivanja studenata na dalji stručni,
istraživački i naučni rad i u druge svrhe se ne sme koristiti –
Član 44 - Dozvoljeno je bez dozvole autora i bez plaćanja autorske naknade za nekomercijalne svrhe nastave:
(1) javno izvođenje ili predstavljanje objavljenih dela u obliku neposrednog poučavanja na nastavi;
- ZAKON O AUTORSKOM I SRODNIM PRAVIMA ("Sl. glasnik RS", br. 104/2009 i 99/2011)
.................................................................................................................................................................................
Ivana Štrumberger
[email protected]
8
Topic 05.2
Data Modeling Part 4.2- practical