Difficulty: Beginner
What is a Composite Primary Key?
A primary key that consists of two or more columns to uniquely identify a row (e.g., `order_id` and `product_id` in an `order_items` table).
Primary Key, Composite Key
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.