What is a primary key? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What is a primary key?

6th Feb 2017, 1:32 PM
Vaaru
Vaaru - avatar
2 Respuestas
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