I have a table where each cell in columns has an array list.
COL1 COL2
row1: ('hi','hello') ('hi','hello')
row2: ('hihi','below') ('pi','by')
I am trying to use an in operator on such data but my query is not returning anything.
Query: select * from table where col1 in ('hi')
Also, if I have another table (table2) that looks like this:
col3
____
'hi'
'bye'
'guy'
and I want to use the same concept where I'll be checking if 'hi','bye','guy'
from col3
exists in col1
row1
My Query: select * from table2 where col3 in (select col1 from table1);