一个单元格内顺次查询了几行数据,如何在一个单元格内给每行数据添加序号索引
序号-https://help.fanruan.com/finereport/doc-view-342.html
——————————
SELECT ROW_NUMBER() OVER(PARTITION BY '' ORDER BY XXXX DESC/ASC) [序号] FROM 表