SQL=select n.noticia_cp, ni.referencia, ni.breve, ni.texto from noticias AS n, noticias_trad AS ni WHERE ni.noticia_ce=n.noticia_cp AND ni.idioma_ce=1 ORDER BY fecha DESC limit 0,-1 ERROR: 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 '-1' at line 1