I have 5 tables:
- users
- bands_users
- bands
- bands_gigs
- gigs
A user can have many bands, a band can have many users
A gig can have many bands, a band can have many gigs
Given the user id 1, I would like to return all the gigs with their associated band.
Any help would be appreciated.
something like this?