1: 2: 3: 4: 5: 6: 7:
select col1, col2, col3, col4, dense_rank() over (order by col1, col2, col3, col4) as rank-data from schema1.mytable with ur;