• Keine Ergebnisse gefunden

Relational Databases 1 Exercise Sheet 5: Relational Model (until Thursday 01.12.2011)

N/A
N/A
Protected

Academic year: 2021

Aktie "Relational Databases 1 Exercise Sheet 5: Relational Model (until Thursday 01.12.2011)"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 1

Exercise Sheet 5: Relational Model (until Thursday 01.12.2011)

Please note that you need 50% of all exercise points to receive the “Studienleistung”. Exercises have to be turned in until Thursday of each respective week and must be completed in teams of two students each. You may hand in your solutions either on paper before the lecture or into the mailbox at the IFIS floor (Mühlenpfordtstraße 23, 2nd floor). Please do not forget your “Matrikel- nummer” and your tutorial group number on your solutions. Your solutions may be in German or English. Please note: To pass the “RDB 1 Modul” you need the exercise points and the exam! Please always use your own words for all questions.

Exercise 5.1 (4 points)

a) Name and explain the three different types of structural constraints mentioned in the lec- ture. (3 points)

b) Briefly explain what is meant by the first normal form. (1 point)

Exercise 5.2 (7 points)

Translate the following ER-Schemata to relational schemata. Please write down all additional con- straints that are not represented in your relational model.

a)

(3 points)

b)

(2 points)

(2)

c)

(2 points)

Exercise 5.3 (10 points)

Translate the following ER-Schema to relational schemata. Please write down all additional con- straints that are not represented in your relational model.

Referenzen

ÄHNLICHE DOKUMENTE

Exercises have to be turned in until Thursday before the lecture either in the lecture hall or into our mailbox (Informatikzentrum 2 nd floor). Please do not forget

c) Give an extensional or an intensional set specifications of the following tasks: (3 points) i. All integers between -5 and 5. The aliases of the Fantastic Four. All natural

Please note: To pass the “RDB 1 Modul” you need both the exercise points and the exam. Exercise 1.1 – HMS

Exercises have to be turned in until Thursday of each respective week and must be completed in teams of two students each.. You may hand in your solutions either on paper before

actor(person → Person, movie → Movie, role) director(person → Person, movie → Movie) hasGenre(movie → Movie, genre → Genre) connection(from → Movie, to → Movie, type)..

Based on this relation schema, please provide statements returning following results in relational algebra, tuple relational calculus and domain relational calculus:.

actor(person → Person, movie → Movie, role) director(person → Person, movie → Movie) hasGenre(movie → Movie, genre → Genre) connection(from → Movie, to → Movie,

Based on the given conceptual schema, please provide SQL statements to create the according tables described in the schema.. The created tables should regard as much