一、如何理解group by 后 带 rollup 子句所产生的效果 group by 后 带 rollup 子句的功能可以理解为:先按一定的规则产生多种分组,然后按各种分组统计数据(至于统计出的数据是求和还是最大值还是平均值等这就取决于SELECT后的聚合函数)。因此要搞懂group by 后 带 rollup 子句的用法主要是搞懂它是如何按一定的规则产生多种分组的。另group by 后 带 rollup 子句所返回的结果集,可以理解为各个分组所产生的结果集的并集且没有去掉重复数据。下面举
The complete online groupware Share projects, calendars, files and e-mail online with co-workers and clients. Easy to use and fully customizable, Group-Office groupware takes online collaboration to the next level.