I have two tables named student_table(student_id,student_name),teacher_table(teacher_id,teacher_name). Now I want to create a relational table named teacher_student_table which column will be (id,student_id,teacher_id). In student_table field named student_id is auto increment and in teacher_table field named teacher_id is auto increment.
And in teacher_student_table field named id is also auto_increment.Now how I can make this type of relational table? need help. I don't know how to create this in sql(wamp localhost)