I have a table like this:
UID(int) NUMBERS(blob) ---------------------- 1 1,13,15,20 2 3,10,15,20 3 3,15
And I would l
Not the most pretty solution, but it works:
select UID from YOUR_TABLE where find_in_set('3', cast(NUMBERS as char)) > 0 and find_in_set('15', cast(NUMBERS as char)) > 0
Note that it's string comparison, so you may need to cast your input parameters to char as well.