I have column array[] named tags.
i have here f.e.:
{{dogs, cats, phones, bottles}}
{{pistols,politican,juices}}
{{dogs,pistols}}
etc..
I want to find in all of them f.e. word "dogs" and select only entries with "dogs". I tried to use:
SELECT * FROM question WHERE tags[0] = ANY(ARRAY['dogs']);