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