COMUNICADOS

ÚLTIMAS NOTICIAS

No se ha podido realizar la consulta: 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 B.contenido_id ORDER BY B.created DESC LIMIT 5' at line 12
Última consulta: SELECT A.*, B.*, C.*, E.* FROM tbl_contenidos_es AS A INNER JOIN tbl_contenidos AS B ON A.contenido_id = B.contenido_id INNER JOIN tbl_posiciones AS C ON B.posicion_id = C.posicion_id LEFT JOIN tbl_fotos_ambitos AS D ON B.contenido_id = D.ambito_id LEFT JOIN tbl_fotos AS E ON D.foto_id = E.foto_id WHERE C.posicion = 'noticias-noticia' AND B.contenido_activo = 1 AND B.contenido_id != GROUP BY B.contenido_id ORDER BY B.created DESC LIMIT 5