y QUIERO BORRAR LA MAS ANTIGUA. Para lo que hago:
Código:
esto, me dice "You can´t specify target table 'ultimahora' for update in FROM clause".delete from ultimahora where codUltimaHora = ( select codUltimaHora from ultimahora where datediff(curdate(),f_publicado) from ultimahora);
que os parece?