update tbl t set t.numfield = (select count(*) from t where ordfield <= t.ordfield)
Posted via ActualForum NNTP Server 1.3