An index or rank which indicates a row's position in a data-set.
When referring to multiple rows of information, generally drawn from a database, the row-number refers to the ordinal position at which a specific row of information exists within a given data-set.
Returns the sequential number of a row within a partition of a result set, starting at 1 for the first row in each partition.
Row number function implementations exist in multiple SQL variants, such as Oracle, TSQL and MySQL.
ROW_NUMBER is an analytic function. It assigns a unique number to each row to which it is applied (either each row in the partition or each row returned by the query), in the ordered sequence of rows specified in the order_by_clause, beginning with 1.