add benchmark queries

This commit is contained in:
taozizhuo
2022-12-05 14:28:29 -08:00
parent 9c2bac3ec1
commit 6adb7900cb
28 changed files with 122 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
select
stocksymbol,
coalesce(avg(price) over
(partition by stocksymbol order by time rows between 4 preceding AND CURRENT row), price) as rollingAvg
from trade10m;