首页 > TAG信息列表 > 或取

pgsql或取最新的一条数据

SELECT company.id,company.zz,snap.xydm,snap."companyName", p.xm fr from (   SELECT a.id,string_agg(   case   when d.zzlx = 1 then '路基路面'   when d.zzlx = 2 then '桥梁'   when d.zzlx = 3 then '隧道'   w