-5
I am trying to make a query in the Mysql database with the following syntax
SELECT id, codigo, faca, descricao, vendedor, imagem
FROM produtos
WHERE sit = 1
AND descricao = ESTE
Even that part works perfectly : SELECT id, codigo, faca, descricao, vendedor, imagem FROM produtos WHERE sit = 1
But the query presents the following error when I put the last part of the code : #1054 - Coluna 'ESTE' desconhecida em 'where clause'
THIS not apparently should come between simple quotes, like this
and descricao = 'ESTE'
, is like this?– Ricardo Pontual