Hi! Trying to add foreign key to tables, but it doesn't work. The SQL question I used is :
ALTER TABLE Klasse
ADD FOREIGN KEY klassekode
REFERENCES Student(klassekode) Get this error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'REFERENCES Student(klassekode)' at line 3 Attachment: my sql file exportet from phpmyadmin