Choose a Primary Key

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy

You're designing a users table and a colleague suggests using the email address as the primary key. Explain what a primary key is for, the difference between natural and surrogate keys, and what you'd choose here.

Talk this problem through with an AI coach

Sign in with Google to start a free voice session — no credit card needed.

Start free →