Error Number: 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 '10' at line 5
SELECT t.id_tema, tema, id_noticia as id, fecha, titulo FROM noticia_tema t LEFT JOIN noticia n ON t.id_tema = n.id_tema WHERE NOT isnull( id_noticia ) GROUP BY t.id_tema ORDER BY fecha desc, destacada desc Limit ,10