ciao a tutti... come mai ottengo questo errore?
codice:
Errore
query SQL: Documentazione
SELECT DATEDIFF( mi, GETDATE( ) , LAST_SCALO ) AS DIFFERENZA
FROM STANZE_PRIVATE
LIMIT 0 , 30
Messaggio di MySQL: Documentazione
#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 ' LAST_SCALO ) as DIFFERENZA FROM STANZE_PRIVATE
LIMIT 0, 30' at line 1
non capisco proprio... la sintassi l'ho copiata dal manuale...
LAST_SCALO è di tipo datetime