Index Ai Academy
Glossary · Phase 7 · Software engineering

Composite key

Also written: composite keys, composite primary key

A primary key made of two or more columns together, like (member_id, trip_id).

Try it now

Ask of each column: is it a fact about the member, about the trip, or about this person on this trip?

Learn it properly

Designing a database · From one big table to related tables: keys, constraints, many-to-many and a loader that is safe to rerun. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write