Skip to content

Glossary: Python Beyond the Basics

primary key

Also written: PRIMARY KEY, id INTEGER PRIMARY KEY

A column that gives every row a unique value; `id INTEGER PRIMARY KEY` is filled in automatically with a new number for each row.

Where the book teaches it

Related terms

SQL (Structured Query Language)