KnowledgeBoat Logo
|

Computer Science

Fill in the blank :

…………… command is used to remove primary key from a table in SQL.

  1. update
  2. remove
  3. alter
  4. drop

DDL & DML

1 Like

Answer

alter

Reason — To remove a primary key constraint from a table the ALTER command is used. The DROP clause of ALTER TABLE command is used with syntax ALTER TABLE <TABLENAME> DROP PRIMARY KEY ;.

Answered By

2 Likes


Related Questions