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,
All the answers are not really correct, try this:
select * from shirts where 1 IN (colors);