SQL Row numbers without partitions


Example

Include a row number according to the order specified.

SELECT
  ROW_NUMBER() OVER(ORDER BY Fname ASC) AS RowNumber,
  Fname,
  LName
FROM Employees