Select by value in list in mySQL
I've got an older table where some IDs are stored in a varchar as comma separated list. name street some_ids Pete Teststr 3,4,7,2 Tom Teststr 1,4,7,3 Inga Teststr 3,7,2,5 I.e. need to find the entries containing 2 in column "some_ids"…