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!

Console

Code editor

Result

TableConsole