输入banner图图片脚本导航/分类

简单分页查询SQL语句

例子 select top(5) * from city where cityID not in (select top((2-1)*5) cityID from city order by cityID desc) order by cityID desc // 每页查询5条 在城市列表 条件是 id不在 (当前页-1)*每页条数 内的 按照id 逆序排列

简单分页查询SQL语句

标签: