Vedi se così va.![]()
codice:select tab2.* from (select concat(id,max(punteggio)) as maggiore from tabella group by mail) as tab1 left join tabella as tab2 on tab1.maggiore = concat(tab2.id,tab2.punteggio)
Vedi se così va.![]()
codice:select tab2.* from (select concat(id,max(punteggio)) as maggiore from tabella group by mail) as tab1 left join tabella as tab2 on tab1.maggiore = concat(tab2.id,tab2.punteggio)