Eine Einführung in

SQL

CREATE TABLE problems: Foreign key references.

MySQL
A foreign key should refer to a candidate key in some table. This is usually the primary key but may be a field (or list of fields) specified as UNIQUE.
Execute tidy up code silently


Specific to MySQL
It's an old tart - it will let you reference any old rubbish.