分页用到的子查询sql语句

说明(2017-8-31 23:30:22):

1. 分页用到的子查询sql语句

select * from(select *,ROW_NUMBER() over(order by id)as num from userInfo)as t where t.num>10 and t.num<20;

2. 记住的意思就是背过^_^

3. 还有一个top语句,有空查一查

原文地址:https://www.cnblogs.com/Jacklovely/p/7461113.html