摘要: 1. 最佳选择:利用分析函数 row_number() over ( partition by col1 order by col2 ) 比如想取出100-150条记录,按照tname排序 select tname,tabtype from ( select tname,tabtype,row_number() over ( order by tname ) rn from tab ) wh... 阅读全文
posted @ 2008-07-22 09:53 小马的酒吧 阅读(2052) 评论(0) 推荐(0) 编辑