Originariamente inviato da Nosfe
L'errore che mi dà è il seguente:

#1064 - You have an error in your SQL syntax near 'ORDER BY ora LIMIT 2 ' at line 1

La query era questa:

codice:
DELETE FROM tabella ORDER BY ora LIMIT 2
Correzzione, la query provata è:

codice:
DELETE FROM tabella ORDER BY ora ASC LIMIT 2
Ma per scrupolo le ho provate cmq entrambe