What is primary key? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is primary key?

11th Apr 2017, 5:01 AM
shail patel
shail patel - avatar
4 Answers
+ 12
Maybe it helps you to read the section about primary keys in the course again. Basic Concepts > Introduction to Databases, lesson 3.
11th Apr 2017, 5:07 AM
Tashi N
Tashi N - avatar
+ 3
Primary key is a unique identifier, such as a driver license number. Must cotains unique values, and cannot be null. Each table can have only one primary key, which may be using single or multiple fields
11th Apr 2017, 8:40 PM
Kamil
Kamil - avatar
0
Primary key is a fuction that sets key to each table where it acts like the main character.
11th Apr 2017, 12:18 PM
Dave
Dave - avatar
- 1
Primary key is basically the key used to uniquely identify the tuples in a database, it cannot contain any NULL values
11th Apr 2017, 6:01 AM
Deddy Tandean