select resid, delay, discard
  from (select a.resid,
               sum(decode(a.ditemid, 'aaa', a.value, '')) ||
               sum(decode(a.ditemid, 'B_WebDNSDW', a.value, '')) delay,
               sum(decode(a.ditemid, 'B_WebTCPDelayW', a.value, null)) ||
               sum(decode(a.ditemid, 'bbb', a.value, '')) discard
          from (select resid, ditemid, value
                  from rmcinfo t
                 where ditemid IN ('B_WebDNSDW', 'B_WebTCPDW')
                   and resid = 'APP02op7') a
         group by a.resid)

相关文章:

  • 2021-06-28
  • 2021-09-18
  • 2021-10-04
  • 2021-05-25
  • 2022-12-23
  • 2021-12-22
  • 2021-07-06
  • 2022-12-23
猜你喜欢
  • 2021-05-19
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2022-12-23
相关资源
相似解决方案