摘要: select row_number() over(partition by CODE order by SEQUENCE) as RowIndex from Table 注:根据表的CODE 字段分组,组内根据SEQUENCE字段排序,生成序号 RowIndex 阅读全文
posted @ 2018-07-17 17:09 流年sugar 阅读(1586) 评论(0) 推荐(0) 编辑