select
OrderNo, Tender, TenderSequence,
row_number() over (partition by OrderNo order by OrderNo asc ) rownumber,
TenderSequence + row_number() over (partition by OrderNo order by OrderNo asc ) TS_RowNum_ADD
from
TENDERINFO
是虚构错误函数,erfi(docs)。你想要erfinv: