报错: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 'order(user_id,product_id,count,money,status)
values(1,1,1,1,0)' at line 1
原因:
如图所示的sql语句中包含sql的关键字,count是函数中被使用的关键字,order是排序时order by中的关键字。执行此语句时会报语法错误,因此需要用反单引号引起来(波浪号下面那个符号)
加上反单引号后执行成功