select a.*,b.Organization_Name,c.User_Name sgry,c.renNum,d.User_Name fzr,e.pic_url from dbo.TB_ZYM_LOG a left join dbo.Base_Organization b on a.sgdw_id=b.Organization_ID left join ( select log_id,COUNT(USER_NAME) renNum,User_Name= stuff( ( SELECT…
LISTAGG Syntax 语法 listagg_overflow_clause::= Purpose For a specified measure, LISTAGG orders data within each group specified in the ORDER BY clause and then concatenates the values of the measure column. 对于指定的度量, LISTAGG对ORDER BY 子句中指定的每个组中的数据排序,…