I have a field COLORS (varchar(50)) in a my table SHIRTS that contains a comma delimited string such as 1,2,5,12,15,. Each number repr
COLORS (varchar(50))
SHIRTS
1,2,5,12,15,
Take a look at the FIND_IN_SET function for MySQL.
SELECT * FROM shirts WHERE FIND_IN_SET('1',colors) > 0