oracle10g默认的group by 采用hash排序,使用以下语句修改为10G以前的方式
alter system set "_gby_hash_aggregation_enabled"=false;