I would like to schedule appointments with my application. I want to capture the participants.
There are three tables: student, event and student_event.
My wish:
I create an event and assign the participating students in one step.
If i know the id from the event table, this code works: