Chapter 15.01_Cardinality
Chapter 15.01_Cardinality
Cardinality
Objectives
Cardinality
n : m
1 1
C C
CN
3 Cardinality | 2.15.01 March-2005 © 2005 IBM Corporation
IBM Global Services
Course Enrolment
STUDENT_ID
?
Faculty Course
T005
(Country Codes)
T005T
(Country descriptions)
(T002)
(Language Codes)
Professor
Course
Demonstration
Creation of few custom tables and establishing foreign key relationship between
them with Cardinality specified.
Practice
Creation of few custom tables and establishing foreign key relationship between
them with Cardinality specified.
Summary
When creating foreign key relationships, you should always specify the cardinality
of that relationship.
In addition to specifying the cardinality of a foreign key relationship, you should
also specify the foreign key field type. The foreign key field type indicates
whether the foreign key fields belong to the primary key (or a candidate key) of
the foreign key table.
Questions
What is Cardinality ?
What are the different Foreign key field types ?