I have an array: ARRAY['one','mon','uuuu','wed','thu','fri','qwer'] and query:
select * from table t where t.name like ARRAY[i]
how could I iterate query with ARRAY values and save results into some output?
I mean to get results of:
select * from table t where t.name like 'one'
select * from table t where t.name like 'mon'
select * from table t where t.name like 'uuuu'
...
select * from table t where t.name like 'qwer'
and save them for example into the output