ciao, secondo voi cosa c'è che non va?
mysql> SELECT fm.codicecalciatore
-> FROM fantamercato as fm
-> WHERE fm.dataoperazione = (select max(dataoperazione) from fantamercato where fm.codicecalciatore = codicecalciatore);
ERROR 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 'select max(dataoperazione) from fantamercato where fm.codicecal
(versione MySQL 4.0.21)
grazie a tutti.