i have table with two column
ID and groups.
ID: (1) (2) (3)
Groups: (2,12,21) (11,1,31) (43,44,144)
i want to find id with group 1, if i use "Like" , i am receiving every ID with number 1 in groups: 12,21,11,1,31,144.
answer will be (1) (2) (3)
i want just second ID with group number 1
ID (2)
maybe there is some Substring function, and i'm able to separate this values by ","
sorry for bad English