select GROUP_CONCAT(distinct anuncio.busca) from anuncio inner join ramo_anuncio on ramo_anuncio.id_anuncio = anuncio.id inner join ramo on ramo_anuncio.id_ramo = ramo.id where ramo.id = order by anuncio.visitas desc limit 0,10 [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 'order by anuncio.visitas desc limit 0,10' at line 1]SQL :: KEYWORDS