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
上面这条SQL指令可以在MySQL上执行,但是在Access上运行会返回语法错误。
在Access中,这条指令应该写成
select top 25 from tbl_student where score>59 order by name
本文对比了MySQL与Access两种数据库环境下执行相同SQL查询语句的不同之处,并提供了在Access环境中正确的SQL语句写法。
492

被折叠的 条评论
为什么被折叠?



