Question
Comma Separated columns - Search
Hi fellow,
I need to query my db with a comma separated list but the results are not correct...What is the reason?
My typical db problem_code column has valuas as :
Problem_code
--------------------
1
2,3
5,6,7,8
5
----------
And the list values I am sending as ("1","3")...etc
SELECT * from table
where
problem_code in ('2','1')problem_code in ('2','1')
Thank you in advance..
