我的数据库是mysql 4.1.7版本
运行SQL出现下面的错误
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 ') then shopid else ' ' end)AS D,shopname,shopadmin,mode,producselect count(*) as total from temp where a.shopid=shopid and productname
[TEP STOP]
运行SQL出现下面的错误
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 ') then shopid else ' ' end)AS D,shopname,shopadmin,mode,producselect count(*) as total from temp where a.shopid=shopid and productname
[TEP STOP]
解决方案 »
- mysql插入图片数据
- 请帮我看下这个SQL语句问题出在哪,应该怎么改?
- 请问各位老大:在MS SQL Server中能正确运行的Update语句,到My SQL中后要作何修改?
- 两个表的连接查询。大虾们帮忙!
- 我的mysql+phpmyadmin是怎么回事呢?
- 请问怎样将SQLSERVER里的数据库导了到MYSQL当中去
- mysql-5.6.10-win32 安装后没有设置界面
- sql查询问题,求高手帮忙
- jsp和mysql做了一个论坛,为什么下一次评论,上一次的评论也会又一次的被加到数据库
- mysql中的存储过程能返回数组么?
- 为什么我找不到command编辑区,请玩过MySql Administrator的哥们们请教一下
- 是否可以关闭binlog
[TEP STOP] temp.productname或者a.productname不知道你用哪个,你试试