Computer Science, asked by shruti631, 1 year ago

How can I define a column of a MySQL table PRIMARY KEY without using the PRIMARY KEY keyword?

Answers

Answered by omegads04
1

MySQL Primary Key. A primary key must contain unique values. If the primary key consists of multiple columns, the combination of values in these columns must be unique. A primary key column cannot contain NULL values. It means that you have to declare the primary key column with the NOT NULL attribute.

Similar questions