Is this syntax correct in creating a Foreign Key?
create table department ( departmentID int not null auto_increment primary key, name varchar(30) ) type
FOREIGN KEY (departmentID) REFERENCES department(departmentID)
Thanks.!