I can’t seem to wrap my head around this; all resources I read show this should be ok:
'SELECT e.ID, e.EVENT_NAME, e.EVENT_DATE, v.VENUE_NAME, l.LOCATION, GROUP_CONCAT(ms.MUSIC_STYLE_NAME) as `Styles`'.
'FROM events AS e'.
'INNER JOIN venues as v ON e.VENUE_LOCATION = v.ID'.
'INNER JOIN locations AS l ON e.VENUE_LOCATION = l.ID'.
'INNER JOIN event_music_styles AS ems ON e.ID = ems.EVENT_ID'.
'INNER JOIN music_styles AS ms ON ms.ID = ems.MUSIC_STYLE_ID'.
'GROUP BY e.ID';
However…
Invalid query: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near ‘BY e.ID’ at line 1
It seems that you miss spaces. Try