select no=(select count(t.di_id) from dwe_info t where t.di_id<=o.di_id ),*
 from dwe_info  o

相关文章: