I want to use many to many relationship. how can do student with subjects and subject with students in sql.
the student table have
student_IDno | full name | address |
and the subject table have
subject_IDno| title | description | time |
i want to assign the student id number to subject table so that the subject table can have students
can i do the same thing in subject table? assign the subject id number to the student table so it can have a subjects too ?
and if i search the subject code number students will appeared, vice versa with student if i search students code subjects will appeared also.
what would be the best way to do it ? i hope i did good of explaining my problem thanks guys.