drop forign key query in mysql code example Example: mysql drop key ALTER TABLE tbl_quiz_attempt_master DROP INDEX `PRIMARY`;