计算机一级辅导:MySQL与Access之语法区别
发布时间:2010/3/17 17:21:24 来源:城市学习网 编辑:moon
select id,name from tbl_student where score59 order by name limit 25 上面这条SQL指令可以在MySQL上执行,但是在Access上运行会返回语法错误。在Access中,这条指令应该写成selecttop 25 from tbl_s ...
select id,name from tbl_student where score59 order by name limit 25
上面这条SQL指令可以在MySQL上执行,但是在Access上运行会返回语法错误。
在Access中,这条指令应该写成
select top 25 from tbl_student where score59 order by name