SELECT COUNT(s_dayreport.*) FROM s_dayreport INNER JOIN s_subuser ON s_dayreport.userId = s_subuser.userId WHERE s_subuser.mgrId = 63错误信息:
Query : select count(s_dayreport.*) from s_dayreport inner join s_subuser on s_dayreport.userId = s_subuser.userId where s_subuser.mgrId...
Error Code : 1064
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 '*) from s_dayreport inner join s_subuser on s_dayreport.userId = s_subuser.userI' at line 1
Execution Time : 00:00:00:000
Transfer Time  : 00:00:00:000
Total Time     : 00:00:00:000
我的目标就是返回满足后面条件的s_dayreport里的数据的数量。谢谢!