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