Professional Documents
Culture Documents
Document: E1034Test.fm
05/03/2003
2. The restriction on the domain for the employment date can be implemented with a check con-
straint.
3. The restriction on the domain for the date of birth must be implemented with a check constraint
when the aim is that for every employee the date of birth must be known.
5. The primary key column must contain unique values and can contain null values.
6. The foreign key column must contain unique values and can contain null values.
2.
3.
4.
Foreign Primary
PK
Key Key
person person
ID phone number name
number number
1 1 016/549216 1 Wouters Peter
2 1 0498/526984 2 Peeters Jan
3 2 0488/965235 3 Janssens Wouter
4 3 03/5214963
5 3 0478/625398
6 4 016/359621
6.
Foreign Primary
PK
Key Key
person person
ID phone number name
number number
1 1 016/549216 1 Wouters Peter
5 3 0478/625398 2 Peeters Jan
3 2 0488/965235 3 Janssens Wouter
4 3 03/5214963
2 1 0498/526984
7.
Foreign Primary
PK
Key Key
person person
ID phone number name
number number
1 1 016/549216 1 Wouters Peter
2 1 0498/526984 2 Peeters Jan
3 2 0488/965235 3 Janssens Wouter
4 3 03/5214963
5 3 0478/625398
6 NULL 016/359621
Primary Key
person number name
1 Wouters Peter
2 Peeters Jan
NULL Janssens Wouter
Primary Key
person number name language
1 Wouters Peter N
2 Peeters Jan N
3 Janssens Wouter F
Foreign Primary
PK
Key Key
person person
ID phone number name
number number
1 1 016/549216 1 Wouters Peter
2 1 0498/526984 2 Peeters Jan
3 2 0488/965235 3 Janssens Wouter
4 3 03/5214963
5 3 0478/625398
2. true
3. false
4. true
5. false
6. false
7. false
8. true
9. true
10. true
2. not usable
3. not usable
4. usable
5. not usable
6. usable
7. usable
8. not usable
9. usable
10. usable
If you have more than 7 correct answers on both questions, it is not useful anymore to follow this
course. You can immediately register for other database courses (SQL fundamentals, DB2 concepts,
...).
In the other cases, you have already some background knowledge on relational databases, but you
will certainly still learn a lot in the RDBMS concepts course.