What is a primary key?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What is a primary key?

Key points

  • Primary keys uniquely identify rows
  • They prevent duplicate records
  • Essential for data integrity
  • Can be a single column or a combination of columns

Ready to go further?

Related questions