Error inserting foreign key PhpMyAdmin [duplicate]

0

I have 2 tables: Students and Subjects, each student will have their certain materials, I try to add a foreign key ( FK ) in the tables, but gives this error:

  

Note: Both are in the Engine InnoDB

    
asked by anonymous 15.08.2018 / 05:54

0 answers