So I have column ‘CLM’ in the table where one record has follow value: ‘4,6,1’.
I do follow select:
SELECT * FROM table WHERE 6 IN (CLM)
got nothing then.
I do follow select:
SELECT * FROM table WHERE 4 IN (CLM)
got record described behind.
Cannot understand why first query works wrong?
You have to use find_in_set function even though it would be better you normalize your table as already suggested.