I want to select rows from a table if a column contains a certain number e.g 981. The data in these columns is either 0, null or in the format below:
1007,1035,1189,908,977,974,979,973,982,981,1007
How do I phrase this in a query?
Obvious this query below isn’t sufficient but I need something similar
SELECT * FROM `table` WHERE `column`='981'
Thanks
If you have regular expressions it may work: