Question · SQL and MySQL course · Module 1: Introduction to databases
Role of the primary key
What is the purpose of the primary key (PRIMARY KEY), most often the id column?
Answer options
- To uniquely identify every row in a table
- To encrypt the user's password
- To change the color of the table
- To connect to the internet
Show the answer
Correct answer:
- To uniquely identify every row in a table