check the manual that corresponds to your MySQL server version for the right syntax to use near '*'错

check the manual that corresponds to your MySQL server version for the right syntax to use near ''错误
1、错误肯定是出现在 "
" 的附近,或者可以认为""好的表达是错误的 ,我的错误是加了表名 求数量的时候没有注意到写成 表名.count(), 正确的方法是把表名去掉
2、在网上找了雷同的错误,可以检查是不是sql中出现了 关键字

猜你喜欢

转载自blog.csdn.net/myname07/article/details/93716459