Index Ai Academy
Glossary · Phase 7 · Software engineering

Surrogate key

Also written: surrogate keys

A key with no meaning outside the database, usually an auto-numbered id, used to link rows while the real-world identifier stays a UNIQUE column.

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