在JSP中使用:select top 3 * from JT 查询报错. 在JSP中使用ACCESS,Mysql(未测试)数据库查询, 运用 top 功能会出错
select top 3 * from JT where JID in(select top 3 JID from JT order by JID desc) order by JID DESC
真麻烦啊
在JSP使用ACCESS及Mysql数据库时,采用TOP语法进行数据检索会出现错误。该文章探讨了具体的SQL语句并讨论了解决方案。
在JSP中使用:select top 3 * from JT 查询报错. 在JSP中使用ACCESS,Mysql(未测试)数据库查询, 运用 top 功能会出错
select top 3 * from JT where JID in(select top 3 JID from JT order by JID desc) order by JID DESC
真麻烦啊
1627
3053

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