select count(*) from best_t as a1vs_date = '2024-10-22' where a1.sub_cate ='37'
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '= '2024-10-22' where a1.sub_cate ='37'' at line 1