我的sql语句是:select top 10 * from tabA order by info_id;然后就
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 '10 * from tabA order by info_id' at line 1刚刚接触MySql,英语也不好,希望各位高手指点哈,到底是哪里出错呢?
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 '10 * from tabA order by info_id' at line 1刚刚接触MySql,英语也不好,希望各位高手指点哈,到底是哪里出错呢?
解决方案 »
- 有高人用xampp吗?我的root密码忘记了。全部分给你
- 关于DATE 类型的查询
- mysql 运行问题,请高人解答,my.INI采用默认配置
- The used SELECT statements have a different number of columns
- mysql 能否在int(10)类型中取得前八位建立索引?
- root 用户 不让我加 触发器???
- “数据库工程师评选”答题总结!原来题目不太难!
- 问问:怎样查看MySql的当前用户名为什么啊?
- 把mysql的data目录下的数据库文件拷贝到另一台机器的mysql的data目录下,为什么myisam的表可以用,innoDB却出错?
- 请问mysql怎么导出表结构
- 1 row in set, 1 warning 是什么意思 ?
- 恢复mysql下data目录中的数据库
mysql不支持TOP
--降序
select * from tabA order by info_id desc limit 10;