Hi. I have a field in my (mysql) table that is called 'cat'. This field contains a comma separated list of numbers, like this: '1, 15, 21' or '13, 15' or '82' etc. I need to create an sql that brings back all the records that contain the number 15 in the 'cat' field.
I tried something like this:
SELECT
*
FROM
myTable
WHERE
'15' IN cat
ORDER BY
id
But it didn't work.. Does anyone know how to do this?