Advertisements
Advertisements
Question
______ command is used to remove the primary key from a table in SQL.
Options
update
remove
alter
drop
MCQ
Fill in the Blanks
Advertisements
Solution
Alter command is used to remove the primary key from a table in SQL.
Explanation:
The alter table command is used to remove the primary key from a table in SQL.
Syntax to remove the primary key:
ALTER TABLE table_name DROP PRIMARY KEY;
So, the correct answer is Alter.
shaalaa.com
SQL for Data Definition
Is there an error in this question or solution?
