SELECT station_2.station_id FROM station_2, channel, common_values AS category_tbl, common_values AS country_tbl, common_values AS language_tbl WHERE station_2.station_id = channel.station_id AND station_2.active = 1 AND (station_2.name LIKE '%The 1920's Radio Network%' OR station_2.description LIKE '%The 1920's Radio Network%' OR country_tbl.value LIKE '%The 1920's Radio Network%' OR language_tbl.value LIKE '%The 1920's Radio Network%' OR category_tbl.value LIKE '%The 1920's Radio Network%') AND station_2.country LIKE '%%' AND station_2.category LIKE '%%' AND station_2.region LIKE '%%' AND channel.media_type LIKE '%%' AND channel.media_stream_rate LIKE '%%' AND category_tbl.name=station_2.category AND language_tbl.name=station_2.region AND country_tbl.name=station_2.country GROUP BY station_2.station_id
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 's Radio Network%' OR station_2.description LIKE '%The 1920's Radio Network%' OR ' at line 15