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