rownumber() over(partition by col1 order by col2)

NoSuchKey