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 ' base) text FROM ( SELECT g.id , MAX(IF(languagecode = '', text,NULL)) a' at line 1Fehler mit Abfrage:
SELECT COALESCE(, base) text FROM ( SELECT g.id , MAX(IF(languagecode = '', text,NULL)) as , MAX(IF(languagecode = 'en', text, NULL)) as base FROM globaltexts_languages gl INNER JOIN globaltexts g ON g.id = gl.id WHERE g.identifier = 'nocountries' GROUP BY id )subq LIMIT 1