row_number()得到中间的信息

select* from
(select *,row_number() over(order by code) as rownumber
from table)
as temp
where rownumber between 10 and 20

posted @ 2012-05-14 16:42  yqie  阅读(100)  评论(0编辑  收藏  举报