A primary key in SQL is a unique identifier for each record in a table. Think back to our example earlier which specified customer_ID. It helps to quickly find a specific record when querying your database.