Unknown column 'hotel' in 'where clause': SELECT * FROM propiedades WHERE id = hotel-panorama ORDER BY alta DESC