1,2,3,4 string in database, help select

wxdqz

New Member
I have a string in a database like this

1,5,7,11,12,54

also the string can be just

11 and 1

I can do it like

SELECT * FROM db WHERE field LIKE '%1%'

But then I get fields with 12 and so in them, but I want fields that just have "1"

How can I select it?
 
Back
Top