1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
|
select find_in_set('1', '1,2,3,4,5,6,7,8,9');
select find_in_set('5', '1,2,3,4,5,6,7,8,9');
select find_in_set(1, '1,2,3,4,5,6,7,8,9');
select find_in_set(5, '1,2,3,4,5,6,7,8,9');
select find_in_set('test2', 'test1,test2,test3,test4');
select find_in_set('test4', 'test1,test2,test3,test4');
select find_in_set('test5', 'test1,test2,test3,test4');
select find_in_set('test4', '');
select find_in_set('test2,test3', 'test1,test2,test3,test4');
select find_in_set(null, 'test1,test2,test3,test4');
select find_in_set('test', null);
|