SQL如下:
select t.描述,row_number() over (order by t.描述 desc) 序号 from
(select
concat(
"、指标名称:",INDEX_NAME,"。",
"责任部门:",RESPONSIBLE_DEPARTMENT,"。",
"责任人:",USER_NAME,"。",
"指标异常说明:",INDEX_DESCRIBE,"。",
"跟进措施:",IMPROVEMENT_MEASURES,"。"
) as 描述
from apd_index_abnormal_explain
)t