select b.blyjzj||'''' from (
select row_number() over(partition by sqid order by blsj nulls last) as nm,t.*
from xzxk_gzlkz_blyjb t
where t.hjdyid = 'jfqr'
and blyj = '本環節超過5個工作日,系統自動暫停' ) b where b.nm<>1;
select b.blyjzj||'''' from (
select row_number() over(partition by sqid order by blsj nulls last) as nm,t.*
from xzxk_gzlkz_blyjb t
where t.hjdyid = 'jfqr'
and blyj = '本環節超過5個工作日,系統自動暫停' ) b where b.nm<>1;