7 questionsOrganizing data to reduce duplication.
Example
Separate customer table.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling
Unique identifier for each record.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling
Column linking to another table's primary key.
Example
Order customer_id.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling
Rules for normalization levels.
Example
Third normal form.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling
Combining tables for faster reads.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling
Key made of multiple columns.
Example
Order and product ID.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling
Prevents inconsistency.
Example
Conflicting addresses.
Real-world example
Normalizing tables reduced duplicate data and update errors.
Likely follow-ups
- What is normalization
- What is primary key
- What is foreign key
Data Modeling Basics Entity Relationships Dimensional Modeling