1.

Which clause is used to remove a foreign key constraint?(a) REMOVE(b) DELETE(c) DROP(d) EXCLUDEThis question was posed to me at a job interview.This question is from Foreign Keys and Referential Integrity in portion Using SQL to Manage Data of MySQL

Answer» CORRECT answer is (c) DROP

Best EXPLANATION: In MYSQL foreign KEY definition syntax, there are various components. A foreign key links one table to another table in the table. To remove a foreign key constraint, the ‘DROP’ CLAUSE is used.


Discussion

No Comment Found

Related InterviewSolutions