There is m to n relationship between Courses and Students.
To map a m to n relationship you need a third table.
courses_students
----------------
id_student
id_course
courses
----------------
id_course
// other fields
students
----------------
id_student
// other fields