Errore in questa query:SELECT immobili.tipologia AS tipo_immobile, immobili.*, immobili.id AS id_immobile FROM immobili, comuni WHERE tipologia = 17 AND (comuni.id = immobili.comune) GROUP BY codice ORDER BY com_nome, prezzo