For example, the customer number is a foreign key in the
sales table that relates to the customer number that is a
primary key in the customer table.
Nonkey attributes are items in a table that are neither a primary
key nor a foreign key. As previously described as the fourth
basic requirement for a relational database; all nonkey
attributes in a table should describe a characteristic about the
object identified by the primary key.
Two Approaches to Database Design
One approach is called normalization, which starts with the
assumption that everything is initially stored in one large
table.
Another alternative way to design well-structured relational
databases involves semantic data modeling. Under this approach,
the database designer uses knowledge about how business processes
typically work and about the information needs associated with
transaction processing to draw a graphical picture of what should
be included in the database. The resulting figure can then be
directly used to create a set of relational tables that are in
third normal form (3NF). Refer to the Website for the third
normal form.
Multiple Choice 9
Which of the following is not a basic requirement of a relational
database?
a. Every column in a row must be single valued.
b. Primary keys cannot be null.