CS Electrical And Electronics
@cselectricalandelectronics

You want to remove a PRIMARY KEY you added to a column in an existing table. Which two SQL statements would you use to do this?

All QuestionsCategory: DatabaseYou want to remove a PRIMARY KEY you added to a column in an existing table. Which two SQL statements would you use to do this?
Anonymous asked 3 years ago

Options:

  1. ALTER TABLE and DROP PRIMARY KEY
  2. ALTER TABLE and DROP CONSTRAINT
  3. INSERT TABLE and DROP CONSTRAINT
  4. INSERT TABLE and DROP PRIMARY KEY

1 Answers
Anonymous answered 3 years ago
  1. ALTER TABLE and DROP CONSTRAINT