prova così: codice: SELECT id_hotel, MIN(prezzo) AS prezzo FROM hotel GROUP BY id_hotel ORDER BY prezzo ASC
SELECT id_hotel, MIN(prezzo) AS prezzo FROM hotel GROUP BY id_hotel ORDER BY prezzo ASC
Regole del Forum