sql255

row_number() over(order by first_name asc)

给数据按照姓名排序,并返回一个排名字段。

二刷。