Review the following ER-Diagram. Write the missing part of the SQL statement to define a foreign key that links the course table with the department table.
Course Table
PK CourseID
CourseName
FK DepartmentID
Department Table
PK DepartmentID
DepartmentName
HeadOfDepartment
CREATE TABLE Course (
CourseID int NOT NULL,
CourseName VARCHAR(50),
DepartmentID int,
PRIMARY KEY (CourseID),
FOREIGN KEY (DepartmentID) REFERENCES Department(DepartmentID)
);