generate_series(5,1,-2) : generate_series « Postgre SQL « PostgreSQL






generate_series(5,1,-2)

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

postgres=#

           
       








Related examples in the same category

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