SQL-查询排名

 

select row_number() over(order by amount) as rank,* from dbo.t_group

 

你可能感兴趣的:(SQL-查询排名)