Unknown column 'can' in 'where clause': SELECT * FROM propiedades WHERE id = can-auli-boutique-hotel ORDER BY alta DESC