mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-06 00:20:51 +00:00
5 lines
326 B
MySQL
5 lines
326 B
MySQL
![]() |
SELECT substring('abc', number - 5) FROM system.numbers LIMIT 10;
|
||
|
SELECT substring(materialize('abc'), number - 5) FROM system.numbers LIMIT 10;
|
||
|
SELECT substring(toFixedString('abc', 3), number - 5) FROM system.numbers LIMIT 10;
|
||
|
SELECT substring(materialize(toFixedString('abc', 3)), number - 5) FROM system.numbers LIMIT 10;
|