Trying with this query
select *
from mytable
JOIN STRING_SPLIT('109,110,111,114',',')
ON value = (select col1 from mytable WHERE id = 52);
I am getting empty results, why it is not matching? The col1 has the values as comma separated stored.
Trying with this query
select *
from mytable
JOIN STRING_SPLIT('109,110,111,114',',')
ON value = (select col1 from mytable WHERE id = 52);
I am getting empty results, why it is not matching? The col1 has the values as comma separated stored.
Just use an
onclause, no subquery: