There is an error on the SQL command.

SQL:
select sql_cache COUNT(CODIGO) as n FROM fbz_imoveis imo WHERE VER_WEB='Sim' AND (STATUS = 'VENDA' OR STATUS = 'ALUGUEL' OR STATUS = 'VENDA E ALUGUEL') AND ( ( VLR_VENDA >= 100000 AND VLR_VENDA <= 300000 ) ) AND ( DORMITORIO=2%2C1 ) AND ( SUITE=1 )

Error:
Unknown column '2C1' in 'where clause'