Created
July 31, 2019 23:34
-
-
Save benhannel/c44e663ebb098dd08c2951b9fc2f6faf to your computer and use it in GitHub Desktop.
Extracting fields from JSON with Postgres
This file contains 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 | |
division_info->>'division_id' AS id, | |
division_info->>'division_name' AS name, | |
division_info->>'division_lead' AS lead | |
FROM | |
company_divisions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment