求解决:将sqlserver中的SQL语句改为mysql中的SQL语句!!
Stringsql="selecttop"+pageSize+"*fromnews"+"whereidnotin(selecttop"+(pageNo-1)*pageSi...
String sql = " select top " +pageSize+ " * from news " + "where id not in (select top " +(pageNo - 1)*pageSize+" id from news" + " order by id desc)order by id desc";
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询