Skip to content

Instantly share code, notes, and snippets.

@kovid-rathee
Created February 24, 2019 09:34
Show Gist options
  • Save kovid-rathee/e46d1d0ba236c34d39cfb030e6f0a1d7 to your computer and use it in GitHub Desktop.
Save kovid-rathee/e46d1d0ba236c34d39cfb030e6f0a1d7 to your computer and use it in GitHub Desktop.
Unnest array in PostgreSQL
select name,
unnest(schedule),
unnest(pay_by_quarter)
from sal_emp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment