La versione di MySQL è la 1.4, e mi sa che la query non và:

codice:
Errore

query SQL: Documentazione

SELECT max( datetimeip )
FROM log
WHERE datetimeip <> (
SELECT max( datetimeip )
FROM log )

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 '(datetimeip)
from log
where datetimeip <> (select max (dateti