row_number() over(partition by A order by B desc)