mysql command to remove primary key code example Example: mysql remove foreign key constraint ALTER TABLE jobs DROP FOREIGN KEY constraint_name