ClickHouse/tests/queries/0_stateless/02504_bar_fractions.sql

8 lines
155 B
MySQL
Raw Normal View History

2022-12-20 01:17:02 +00:00
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);