Home » MYSQL » Mysql Foreign Keys » Question
  1. Which clause names the parent table and the index columns in the table?
    1. ON DELETE
    2. FOREIGN KEY
    3. REFERENCES
    4. CONSTRAINT
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.