select t.rowid,
t.vchno,
ROW_NUMBER() OVER(ORDER BY to_number(t.vchno) ASC) AS XUHAO
from t_glvoucherfm t
where t.hsagency = ‘308’
and t.term = ‘12’
order by to_number(t.vchno);
row_number() over(order by ...)
最新推荐文章于 2024-10-25 15:27:57 发布
