Skip to content

Instantly share code, notes, and snippets.

@ichux
Last active May 3, 2022 04:56
Show Gist options
  • Save ichux/0ed884300f22c333c9de799497debf2d to your computer and use it in GitHub Desktop.
Save ichux/0ed884300f22c333c9de799497debf2d to your computer and use it in GitHub Desktop.
Postgres generate_series usage
SELECT step.n
FROM generate_series(1, 5) AS step (n),
generate_series(1, 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment