I have a simple query like:
SELECT name FROM people;
The people table does not a have unique id column. I want to add to the query r
people
The row_number window function should fit the bill:
row_number
SELECT ROW_NUMBER() OVER (ORDER BY 1), * FROM people