Ch.4 Part 2 Flashcards

You may prefer our related Brainscape-certified 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly