MySQL Foreign Key Tutorial

Here’s a quick tutorial on creating foreign keys with MySQL.

NOTES

A foreign column MUST have the same type as the foreign key. Null status and unsigned matter.