Primary Key


What is a Primary Key?

->The Primary key constraints uniquely identify each record in a database.

->It contains a unique value.

->A Primary key column cannot be a NULL value.

Syntax

create table table_name(Id int identifier Primary Key, Name varchar(200), Roll_number int)