Created
December 13, 2022 13:07
-
-
Save jaypsan/ac11b71c56ab867d19d88be49ad530a9 to your computer and use it in GitHub Desktop.
SQLServer: add row number as a column during select
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROW_NUMBER() OVER (ORDER BY table.column) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment