devi avere una delle versioni di mysql che supporti le subquery.codice:SELECT * FROM (select MIN(prezzo) as id1 from tabella group by data) as tab1 left join tabella as tab2 ON tab1.id1 = tab2.prezzo
devi avere una delle versioni di mysql che supporti le subquery.codice:SELECT * FROM (select MIN(prezzo) as id1 from tabella group by data) as tab1 left join tabella as tab2 ON tab1.id1 = tab2.prezzo
Il silenzio è spesso la cosa migliore. Pensa ... è gratis.