mysql query to set col primary key code example Example: remove primary key from a table alter table Player DROP PRIMARY KEY;