I am having two table
Table 1 having a field
id | book_ids |
---|---|
1 | 1,2,3 |
Table 2 have all the book Ids
select *
from table 2
where book_id in (select book_ids from table 1 where id=1) ;
this statement not returning all the book ids from table 2 having id 1,2,3
Can anyone help