Created
March 19, 2018 09:37
-
-
Save barsbek/d3f849493cd31d4ef469fa34b56da541 to your computer and use it in GitHub Desktop.
postgresql: add column with "id" from 1 with step 1
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
select * from some_table with ordinality as t(some_column, n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment