Unknown column 'apartamentos' in 'where clause': SELECT * FROM propiedades WHERE id = apartamentos-don-miguel ORDER BY alta DESC