MySQL与Access之语法区别

来源: 作者: 2007-11-20 出处:pcdog.com

.net  access  mysql  

select id,name from tbl_student where score>59 order by name limit 25

上面这条SQL指令可以在MySQL上执行,但是在Access上运行会返回语法错误。
在Access中,这条指令应该写成

select  top 25 from tbl_student where score>59 order by name
http://blog.csdn.net/vanter/archive/2007/01/25/1493319.aspx


更多内容请看PCdog.com--MySQL数据备份专题
上一篇:MS SQL Server和Access分别取得随机记录(随机抽题)之完美篇
下一篇:Access中的模糊查询