Explain it in 60 seconds
Composite keys
Data Engineering · Data Modeling · Beginner
What is a composite key and when do you use one?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- A composite key uses multiple columns together to uniquely identify a row.
- Example: order_id plus line_number.
- Common in junction tables and source systems.
- Can be replaced by a single surrogate key in the warehouse.
- Uniqueness should still be tested on the combination.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.