Array ( [0] => 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 'GROUP BY a.id LIMIT 1' at line 5 )
Array ( [0] => SELECT a.id FROM s_delivery_area a JOIN s_delivery2country a2c ON (a.id = a2c.area_id) WHERE a2c.country_id = GROUP BY a.id LIMIT 1 )