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>='1548950400' and intim' at line 1
select count(*) as total from ***_zz_support where status = 0 where status = 0 and (juankuanren like '%%') and intime>='1548950400' and intime<='1551369599'