首页 > TAG信息列表 > xydm
postgresql 合并函数 string_agg
SELECT a.id,a.name as "companyName",a.xydm,a.fddbr,string_agg(case when d.zzlx = 1 then '路基路面'when d.zzlx = 2 then '桥梁'when d.zzlx = 3 then '隧道'when d.zzlx = 4 then '交通安全设施' end ||case when d.zzdj = 1 then