Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (65.51 KB, 3 trang )
Chapter 3 - Relational Model
Tutorial
1. What kind of data model is the relational model ?
2. (a) Explain the following terms in the context of the relational data model.
Relation
Attribute
Domain
Tuple
Degree
Cardinality
(b) Use the Suppliers-Parts database to provide examples of each (see
Appendix 1 of this tutorial).
3. (a) Explain the following terms in the context of the relational data model.
Candidate Key
Primary Key
Foreign Key
(b) Use the Suppliers-Parts database to provide examples of each.
4. (a) What is the purpose of nulls and what do they represent ?
(b) Is a component of a primary key allowed to accept nulls, why ?
(c) What is the term for this constraint ?
(d) Use the Suppliers-Parts database to discuss why it is desirable to enforce
this constraint.
5. (a) Describe the constraint called referential integrity.
(b) What is the purpose of this constraint ?
(c) Use the Suppliers-Parts database to discuss why it is desirable to enforce
referential integrity.
6. Examine your “course timetable” and try to answer the following questions:
(a) Have all data in the timetable interpretations ?
(b) Are the data and their interpretations kept together ?
(c) Is there any data model behind the data? If so what kind of data model is it
and why ?