In those 2 tables
Table A [id, items]
[1, "a,b,c"]
Table B [id , contents]
["a", apple]
["b", banana]
I want to get result as [apple, banana] at once like query
select contents from B where B.id in ("a","b","c")
or like
select contents from B where B.id in (select A.items from A where id = 1)