A FOREIGN KEY in MySQL creates a link between two tables by one specific column of both tables. The specified column in one table must be a PRIMARY KEY and referred by the column of another table known as FOREIGN KEY, Like Parent and Child Relationship.
Note:- InnoDB Engine is supported