Created
May 17, 2017 14:16
-
-
Save ionatan-israel/3949fda375f6918610104783db9614dd to your computer and use it in GitHub Desktop.
Select in array field of 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 * | |
FROM public.cities, | |
unnest(zip_codes) zip | |
WHERE lower(zip) LIKE '08411%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment