MySQL Error Code 1215: “Cannot add foreign key constraint” – Phpmyadmin
I keep getting this error when attempting to create a table with SQL. I have these two tables: I'm using PHPMyAdmin and it won't allow me to use M_id as a foreign key which references Employee Table primary key E_id.…