Skip to content

GENERATE_SERIES

  • start: First value of the series.
  • stop: Last value of the series (inclusive).
  • step: Optional increment between values, defaults to 1.
SELECT * FROM generate_series(1, 10, 2);