这个mysql查询有什么问题
请告诉我问题出在哪里没有空间容纳这个mysql查询有什么问题,mysql,Mysql,请告诉我问题出在哪里没有空间容纳计数(*) 没有空间容纳count(*) 问题在于计数后的空间。不要在这里使用空格。查看此MySQL错误:问题在于计数后的空间。不要在这里使用空格。看到这个MySQL错误: select count (*) from sales_order where date_format (created_at,'%Y-%m-%d') >= '2009-11-02' and date_format(created_at,'%Y-%m-%d') <= '2010
计数(*)
没有空间容纳
count(*)
问题在于计数后的空间。不要在这里使用空格。查看此MySQL错误:问题在于计数后的空间。不要在这里使用空格。看到这个MySQL错误:
select count (*) from sales_order where date_format
(created_at,'%Y-%m-%d') >=
'2009-11-02' and date_format(created_at,'%Y-%m-%d')
<= '2010-12-08' and customer_id in
(14,1113,1115,1117,1132,1312,1345);
ERROR 1064 (42000): 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 sales_order where
date_format(created_at,'%Y-%m-%d') >= '2009-11-02' and' at line 1
count(*)