mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
24 lines
833 B
MySQL
24 lines
833 B
MySQL
|
SELECT ngrams('Test', 1);
|
||
|
SELECT ngrams('Test', 2);
|
||
|
SELECT ngrams('Test', 3);
|
||
|
SELECT ngrams('Test', 3);
|
||
|
SELECT ngrams('Test', 5);
|
||
|
|
||
|
SELECT ngrams(materialize('Test'), 1);
|
||
|
SELECT ngrams(materialize('Test'), 2);
|
||
|
SELECT ngrams(materialize('Test'), 3);
|
||
|
SELECT ngrams(materialize('Test'), 3);
|
||
|
SELECT ngrams(materialize('Test'), 5);
|
||
|
|
||
|
SELECT ngrams(toFixedString('Test', 4), 1);
|
||
|
SELECT ngrams(toFixedString('Test', 4), 2);
|
||
|
SELECT ngrams(toFixedString('Test', 4), 3);
|
||
|
SELECT ngrams(toFixedString('Test', 4), 3);
|
||
|
SELECT ngrams(toFixedString('Test', 4), 5);
|
||
|
|
||
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 1);
|
||
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 2);
|
||
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 3);
|
||
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 3);
|
||
|
SELECT ngrams(materialize(toFixedString('Test', 4)), 5);
|