select * from tabella group by autore,canzone
edit. Per visualizzare quelle con id più basso prova così
Sostituisci solo a tabella il nome della tua.codice:select tab2.* from ( select min(id) as id from tabella group by autore,canzone) as tab1 left join tabella as tab2 on tab1.id = tab2.id order by tab2.id![]()

Rispondi quotando