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