InterviewSolution
Saved Bookmarks
| 1. |
Which clause names the parent table and the index columns in the table?(a) REFERENCES(b) ON DELETE(c) CONSTRAINT(d) FOREIGN KEYThe question was posed to me in homework.I'm obligated to ask this question of Foreign Keys and Referential Integrity topic in portion Using SQL to Manage Data of MySQL |
|
Answer» RIGHT option is (a) REFERENCES The EXPLANATION: In MySQL foreign key DEFINITION syntax, there are various components, namely, FOREIGN KEY, CONSTRAINT, REFERENCES and ON DELETE. The REFERENCES clause names the PARENT table and the INDEX columns in the table. |
|