MySQL Foreign Key Tutorial


Posted by Andrew McCombe on Sat Jul 9, 2016

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.