我的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,英语也不好,希望各位高手指点哈,到底是哪里出错呢?
解决方案 »
- 如何查询一年,一月,一周 不存在的表记录
- 求 "Server shutdown in progress"的异常产生原因
- 弱弱的的问:大家为什么选择mysql?
- 新安装MySQL 5.0.37里边无法录入中文,数字与英文字母都正确,这个到底怎么弄呀?
- mysql 的怪问题
- 有读过postgresql源代码的高手吗?
- JOB 批量从一个表导入到另一个表
- commit ,unlock table慢
- 如何在linux下配置mysql-jdbc,以及在那里下载?
- 怎么在没有上网的情况下,在RedHatLinux7.1中安装PHP+MySQL+AP....,以学习并达到好的效果?
- 1 row in set, 1 warning 是什么意思 ?
- 恢复mysql下data目录中的数据库
mysql不支持TOP
--降序
select * from tabA order by info_id desc limit 10;