Netezza Row_Number Analytic Function

The Netezza row_number analytic function is used to assign unique values to each row. The row_number analytic functions can assign unique values in the entire table or within each group. You have to specify a sort criteria to assign unique values. This analytic function is used to rank the data.