mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
8 lines
155 B
MySQL
8 lines
155 B
MySQL
|
SELECT
|
||
|
number / 8 AS width,
|
||
|
bar(width, 0, 3, 3) AS b,
|
||
|
bar(width - 0.001, 0, 3, 3) AS `b_minus`,
|
||
|
hex(b),
|
||
|
hex(b_minus)
|
||
|
FROM numbers(20);
|