可以配合quarterOfYear函数实现
res = select mean(price) from t1 group by quarterOfYear(date)
https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/q/quarterOfYear.html
可以配合quarterOfYear函数实现
res = select mean(price) from t1 group by quarterOfYear(date)
https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/q/quarterOfYear.html