0% found this document useful (0 votes)
134 views

5.2. Data Modeling Part 4.2 - Practical

This document provides an overview of notation used in database modeling presentations and exercises on identifying entities. It includes boxes to define important terms and code. The exercises ask to match unique identifier types to entities and describe how various entities could be identified, including attributes and relationships. Solutions are provided. References are given at the end.

Uploaded by

BOCIL GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views

5.2. Data Modeling Part 4.2 - Practical

This document provides an overview of notation used in database modeling presentations and exercises on identifying entities. It includes boxes to define important terms and code. The exercises ask to match unique identifier types to entities and describe how various entities could be identified, including attributes and relationships. Solutions are provided. References are given at the end.

Uploaded by

BOCIL GAMING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Topic 05.

2
Data Modeling Part 4.2- practical

Ivana Štrumberger, MSc


[email protected]
Faculty of Technical Sciences, Singidunum University
Database Systems
2019/20
Notation used in presentations

▪ Each assignment follows topics from lecture presentations.

▪ Assignments within each topic are divided into Exercises (Exercise 1,2,3
etc.) and Solutions (Solution 1,2,3 etc.).

▪ Important terms are given in this type of textbox.

▪ SQL code is given in this type of textbox.

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

Thank you for attention!


Ivana Štrumberger, MSc
[email protected]
Faculty of Technical Sciences, Singidunum University
Database Systems
2019/20

You might also like