Created
February 24, 2019 09:34
-
-
Save kovid-rathee/e46d1d0ba236c34d39cfb030e6f0a1d7 to your computer and use it in GitHub Desktop.
Unnest array in PostgreSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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