I have a database that deals with students. So I have table Students and Classes. Now every Student can go to as many classes as s/he wants; how would I model this in a MySQL database schema?
Students table:
student_id
student_name
student_age
...
Classes table:
class_id
class_name
class_profesor
...
Basically I don't know how to design a table where one student could register him- or herself for as many classes as s/he wants?
Should I make another table for this?
Is this a one-to-many relation?