SQL查询语句:
select *
from (select rownum no, wf.*
from wfuser wf
left join NsClient nc on nc.cltno = wf.cltno
where wf.sid not in (0, 1, 2, 3, 10, 20, 30)
and wf.state = 1
and wf.action in (20, 28)
and rownum <= 20
order by wf.uno)
where no > 0