1.

Can a primary key be dropped in MySQL? If yes, how?

Answer»

Yes, the primary key can be DROPPED in MYSQL with the use of the “ALTER TABLE” statement.

Syntax:

ALTER TABLE table_name DROP PRIMARY KEY



Discussion

No Comment Found