ERRO NA CONSULTA SQL

Unknown column 'portfolio' in 'where clause' - Consulta: SELECT * FROM tbportfolio WHERE ativo="s" AND portfolio/images/logo.png=portfolio/images/logo.png ORDER BY ordem ASC,id DESC;