I am selecting from a subquery that contains two row_number functions (I only use one of them though) that contain a Partition and Order By by columns in the table. The row_numb