What is a primary key? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What is a primary key?

6th Feb 2017, 1:32 PM
Vaaru
Vaaru - avatar
2 Antworten
0
a primary key is a unique identifier, for each data set in your table. I can't be null and it's much easier to work with your data if you can identify each single row.
6th Feb 2017, 11:51 PM
Fizzy
0
A primary key is a field in a table which uniquely identifies each row/record in a database table. Primary keys must contain unique values. A primary key column cannot have NULL values. A table can have only one primary key, which may consist of single or multiple fields.
9th Feb 2017, 9:39 AM
Akwin Lopez
Akwin Lopez - avatar