select GROUP_CONCAT(distinct ramo.ramo) from ramo inner join ramo_anuncio on ramo_anuncio.id_ramo = ramo.id inner join anuncio on ramo_anuncio.id_anuncio = anuncio.id where anuncio.id in () [nativecode=1064 ** 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 ')' at line 1]SQL :: KEYWORDS