Databases

Surrogate key

An id the system generates for each row when no column works as a primary key.

Example

The system numbers 1, 2, 3...: each row has a unique id even with 2 'Johns'.

Lessons that use it

More databases terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.