You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where status = 0 and (juankuanren like '%%') and intime>='1627747200' and intim' at line 1
select count(*) as total from ***_zz_support where status = 0 where status = 0 and (juankuanren like '%%') and intime>='1627747200' and intime<='1630425599'