Prova cosi ( non testato )
oppure cosi ( con mysql 4.1 )codice:SELECT A.*, MAX( timestamp ) FROM `tabella` A GROUP BY A.* LIMIT 1
codice:SELECT * FROM `tabella` A where timestamp = (select MAX( timestamp ) from `tabella` )
Prova cosi ( non testato )
oppure cosi ( con mysql 4.1 )codice:SELECT A.*, MAX( timestamp ) FROM `tabella` A GROUP BY A.* LIMIT 1
codice:SELECT * FROM `tabella` A where timestamp = (select MAX( timestamp ) from `tabella` )
Ridatemi i miei 1000 posts persi !!!!
Non serve a nulla ottimizzare qualcosa che non funziona.
Cerco il manuale dell'Olivetti LOGOS 80B - www.emmella.fr