mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
4 lines
155 B
MySQL
4 lines
155 B
MySQL
|
WITH 'number: 1' as year SELECT extract(year, '\\d+');
|
||
|
WITH 'number: 2' as mm SELECT extract(mm, '\\d+');
|
||
|
WITH 'number: 3' as s SELECT extract(s, '\\d+');
|