第一种方法
Select (Select Count(FA) From TableName Where FA <= A.FA) As 行号 , * From TableName A

第二种方法
select identity(int,1,1) as iid,* into #t from  table
select * from #t
drop table #t

相关文章:

  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-02-11
  • 2021-11-23
  • 2021-10-29
猜你喜欢
  • 2022-03-03
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
相关资源
相似解决方案