AQuery/benchmark/quries/Clickhouse/q9

3 lines
87 B

SELECT stocksymbol, MAX(price) - MIN(price)
FROM benchmark.trade1m
GROUP BY stocksymbol