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