db2 "rownum" lu_tan · 2014-07-22 09:12 · 数据库 · 数据库 · Markdown select id from( select ROW_NUMBER() OVER() AS a,id from tab ) where a > 0 and a<50