Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End mySQL: Query two tables for multiple results from array in first table? Re: mySQL: Query two tables for multiple results from array in first table?

#128435
CrocoDillon
Participant

I’m not an expert on database design but like @traq said for many-to-many relationships you’ll need a 3rd (association) table like (simplified):

CREATE TABLE event_options (
id INT,
event_id INT,
option_id INT
)

…with constraints and indices.