If student has to complete certain course(subject) before he can start with another you can use one of the following cardrelationships:
Then just specify the two courses: