例如: select base_id, translate (ltrim (text1, '/'), '*/', '*,') xmmc,translate (ltrim (text2, '/'), '*/', '*,') xmid FROM (SELECT ROW_NUMBER () OVER (PARTITION BY base_id ORDER BY base_id, lvl DESC) rn, base_id, text1,text2 FROM ( SELECT base_id, LEVE…