generate_series demo : generate_series « Postgre SQL « PostgreSQL






generate_series demo


postgres=#
postgres=# select * from generate_series(2,4);
 generate_series
-----------------
               2
               3
               4
(3 rows)

postgres=#
           
       








Related examples in the same category

1.generate_series(5,1,-2)
2.generate_series(4,3)
3.generate_series(0,14,7)