41 lines
2.9 KiB
Plaintext
41 lines
2.9 KiB
Plaintext
select POSITION('北' IN '北京涛思');
|
|
select POSITION('涛思' IN '北京涛思');
|
|
select POSITION('a' IN 'abcd');
|
|
select POSITION('e' IN 'abcd');
|
|
select POSITION('好,' IN 'hello,world.你好,世界。');
|
|
select POSITION(',你' IN 'hello,world.你好,世界。');
|
|
select POSITION('world' IN 'hello,world.你好,世界。');
|
|
select POSITION('aaa' IN 'aaaaaaaaa');
|
|
select POSITION(CONCAT('a','b','c') IN CONCAT('abc','def','ghi'));
|
|
select POSITION(CONCAT('a','b','d') IN CONCAT('abc','def','ghi'));
|
|
select POSITION(nch2 IN nch1) from ts_4893.meters where POSITION(nch2 IN nch1) != 0 order by ts limit 5;
|
|
select POSITION(nch2 IN nch1) from ts_4893.meters order by ts limit 5;
|
|
select POSITION(var2 IN var1) from ts_4893.meters where POSITION(var2 IN var1) != 0 order by ts limit 5;
|
|
select POSITION(var2 IN var1) from ts_4893.meters order by ts limit 5;
|
|
select POSITION(var2 IN nch1) from ts_4893.meters where POSITION(var2 IN nch1) != 0 order by ts limit 5;
|
|
select POSITION(var2 IN nch1) from ts_4893.meters order by ts limit 5;
|
|
select POSITION(nch2 IN var1) from ts_4893.meters where POSITION(nch2 IN var1) != 0 order by ts limit 5;
|
|
select POSITION(nch2 IN var1) from ts_4893.meters order by ts limit 5;
|
|
select POSITION('a' IN nch1) from ts_4893.meters where POSITION('a' IN nch1) != 0 order by ts limit 5;
|
|
select POSITION('a' IN var1) from ts_4893.meters where POSITION('a' IN var1) != 0 order by ts limit 5;
|
|
select POSITION('一' IN nch1) from ts_4893.meters where POSITION('一' IN nch1) != 0 order by ts limit 5;
|
|
select POSITION('一' IN var1) from ts_4893.meters where POSITION('一' IN var1) != 0 order by ts limit 5;
|
|
select POSITION(nch2 IN 'abcdefghijklmn') from ts_4893.meters where POSITION(nch2 IN 'abcdefghijklmn') != 0 order by ts limit 5;
|
|
select POSITION(var2 IN 'abcdefghijklmn') from ts_4893.meters where POSITION(var2 IN 'abcdefghijklmn') != 0 order by ts limit 5;
|
|
select POSITION(nch2 IN '一二三四五六七八九十') from ts_4893.meters where POSITION(nch2 IN '一二三四五六七八九十') != 0 order by ts limit 5;
|
|
select POSITION(var2 IN '一二三四五六七八九十') from ts_4893.meters where POSITION(var2 IN '一二三四五六七八九十') != 0 order by ts limit 5;
|
|
select ABS(POSITION('aaa' IN 'aaaaaaaaa'));
|
|
select POW(POSITION('aaa' IN 'aaaaaaaaa'), 2);
|
|
select position('t' in 'taos');
|
|
select position('ustc' in 'taos');
|
|
select position('' in '');
|
|
select position('' in 'taos');
|
|
select position(nch2 in nch1) from ts_4893.d0 order by ts limit 10;
|
|
select position(nch2 in nch1) from ts_4893.meters order by ts limit 10;
|
|
select position(nch2 in var1) from ts_4893.d0 order by ts limit 10;
|
|
select position(nch2 in var1) from ts_4893.meters order by ts limit 10;
|
|
select position(var2 in nch1) from ts_4893.d0 order by ts limit 10;
|
|
select position(var2 in nch1) from ts_4893.meters order by ts limit 10;
|
|
select position(var2 in var1) from ts_4893.d0 order by ts limit 10;
|
|
select position(var2 in var1) from ts_4893.meters order by ts limit 10;
|