MySQL与Access之语法区别


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

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3