Skip to content
Theory · Keys and relationships · lesson 2 of 10

Primary key

In the previous lesson the order stored not the guest's name but their number. Why a number? A name would seem clearer.

In this lesson

  • What a primary key is
  • The database guards the key
  • Common mistake
  • Key points