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

What is primary key?

29th Aug 2016, 5:46 PM
Rabiul
4 Answers
+ 1
Primary key is nothing but Unique means no duplication should be Example I'd like 1,2,3 are unique no same I'd should be their
2nd Sep 2016, 2:44 AM
SRIKANTH
+ 1
Its a columns that contains a unique value for each row, so you can identify the row on querys. For example: if you are making a "persons" table, the passport number would be a good primary key, cause each row (person) will have an unique value, and therefore, its easy to identify this person whenever you need so
6th Sep 2016, 12:54 AM
Renan Ben Moshe
Renan Ben Moshe - avatar
0
something Unique
6th Sep 2016, 12:48 PM
Kelvin cipta fathurrachman putra
Kelvin cipta fathurrachman putra - avatar
0
unique identification given to each records of the database table
6th Sep 2016, 5:42 PM
Arthi
Arthi - avatar