sql开窗函数 row_number () over(order by id )

select  *  from (select  row_number() over (order by ypbsm)as num , * from  ypbzb ) as a  where num>=1 and num<=10

 

posted @ 2015-11-06 18:57  刀小爱  阅读(636)  评论(0编辑  收藏  举报