here are two declaration in sql
create table bookAdoption ( courseId int, sem int, isbn int, PRIMARY KEY(courseId, sem, isbn), FOREIGN KEY(courseId) REFERENCES course(courseId), FOREIGN KEY(sem) REFERENCES enroll(sem) ); and the other one
CREATE TABLE bookAdoption ( courseId INT REFERENCES course(courseId) , sem INT REFERENCES enroll(sem), isbn INT REFERENCES text1(isbn), PRIMARY KEY(courseId, sem, isbn) ); what is the between using only references keyword
and using both references and foreign keyword both together 
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INTREFERENCES course(courseId) , sem INT REFERENCES enroll(sem), isbn ' at line 3