select (row_number() over()) as id from generate_series(1,100)
select (row_number() over(order by test_id)) as id from test order by test_id