阅读背景:

获取查询结果总摘要行的最佳方法

来源:互联网 

I'm executing a query that gets a couple thousands rows as result, and the customer needs a row showing the sum totals of certain numeric columns. I've achieved this by using group by grouping sets, but this function supports up to 32 columns that are not in aggregate functions. My problem is that I have nearly 45 columns that I have to return, being only 10 that I leave out of the group by because of aggregate functions.I'm executing a query that gets a couple thousa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: