Computer Science, asked by Koohu67, 1 year ago

Display additional column with sequential numbers in sql server

Answers

Answered by muvvadhanush007
0
Using ROW_NUMBER() (documentation)

SELECT ROW_NUMBER() OVER (ORDER BY EmpID ASC) AS No, EmpID, EmpName, Salary FROM Employee
Similar questions