row_number() over(partition by column1 order by column2 desc) rn 用法it
这里的column2是必须的,特殊状况下可使用rowid,提升效率io