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