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 >= 700000 AND VLR_VENDA <= 99999999 ) ) AND ( DORMITORIO=2 ) AND ( SUITE=3 ) AND ( VAGAS=1%2C2 ) AND AREA_PRIVATIVA>0 AND ( ( AREA_PRIVATIVA>=60 and AREA_PRIVATIVA<=120 ) )
Error:
Unknown column '2C2' in 'where clause'