On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Primary keys - the basics
1. Primary keys - Introduction
Single-column primary keys
Multicolumn primary keys
Auto-increment columns and sequences
Revision

Instruction

Hello again! We've got another big part ahead of us, so let's get down to work.

In this part, you are going to learn about primary keys. What are they? Let's find out!

Exercise

Take a closer look at the example code with our table movie. Can you see anything new? When you do, press the Run and check code button to create the table.

Stuck? Here's a hint!

Simply press the Run and check code button!