I have a database table,in one Column I have data Like:
id tags
1 1.2,2.2,22.2
2 20.1,30.1,45.2,46.0,55.3
3 1.3,6.1,7.2,9.4,10.2
I want to search ids having num 1 in tag's Column
Just another using INSTR when wildcard is on both sides in a LIKE search!
SELECT id
FROM tableA
WHERE INSTR(tags,'1') > 0 ;