Ch.4 Part 2 Flashcards
1
Q
What are the relational database design rules?
A
Entity integrity: Primary key cannot be null(empty)
Referential integrity: If a foreign key is null, it must have a value corresponds to the primary key or another table
2
Q
Relational data tables
A
For data to relate from one table to another table, the data tables must have a specific structure using primary keys which uniquely identifies information for that table
3
Q
Example of primary keys in relational data tables
A
Primary key for sales table is sales table invoice number and primary key for customer table is customer number