• Keine Ergebnisse gefunden

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

N/A
N/A
Protected

Academic year: 2021

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

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 1

Exercise Sheet 5: Relational Model (until Thursday 22.11.2012)

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 (Informatikzentrum 2nd floor). Please do not forget to write your

“Matrikelnummer” 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 both the exercise points and the exam!

Exercise 5.1 (5 points)

a. Name and explain the three structural constraints that need to be maintained within a database. Use your own words. (3 points)

b. Briefly explain what is meant by the first normal form (2 points)

Exercise 5.2 (9 points)

Translate the following conceptual schemata into relational schemata. Please write down all additional constraints that are not represented in your relational model.

a.

A

C

B

R (0,*)

(0,*)

(0,*) c1

c2

a1 a2 b1 b2

(2)

b.

A R B

b1 b2

a1 a2

r1

(1,1) (1,*)

c.

A B

b1 b2

a1 a2

(0,*) R

Referenzen

ÄHNLICHE DOKUMENTE

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

Find at least 3 independent, non-trivial functional dependencies that do not conflict with the given data (3 points).. Can you be sure, if the functional dependencies found in

Is the data contained in the view created in exercise 11.1a physically stored or calculated at query time.. How can you influence, if the data is stored

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

Please note: To pass the “RDB 1 Modul” you need the exercise points and the exam.. Please use your own words for

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