should be it
This commit is contained in:
16
external/duckdb/benchmark/realnest/hep/queries/q01.sql
vendored
Normal file
16
external/duckdb/benchmark/realnest/hep/queries/q01.sql
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
SELECT
|
||||
FLOOR((
|
||||
CASE
|
||||
WHEN MET.pt < 0 THEN -1
|
||||
WHEN MET.pt > 2000 THEN 2001
|
||||
ELSE MET.pt
|
||||
END) / 20) * 20 + 10 AS x,
|
||||
COUNT(*) AS y
|
||||
FROM hep_singleMu
|
||||
GROUP BY FLOOR((
|
||||
CASE
|
||||
WHEN MET.pt < 0 THEN -1
|
||||
WHEN MET.pt > 2000 THEN 2001
|
||||
ELSE MET.pt
|
||||
END) / 20) * 20 + 10
|
||||
ORDER BY x;
|
||||
Reference in New Issue
Block a user