Single Choice
Easy
QWhich DDL statement is used to add a primary key constraint to a table in MySQL?
ID: #15453
DDL - Data Definition Language
100 views
Question Info
#15453Q ID
EasyDifficulty
DDL - Data Definition LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The PRIMARY KEY statement in MySQL is used to add a primary key constraint to a table. It specifies one or more columns that uniquely identify each record in the table.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic