A beginners\' question about foreign key in MySQL.
In w3school it says,
A FOREIGN KEY in one table points to a PRIMARY KEY in another table.<
Maintaining referential integrity and indexing.