Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help getting rid of unwanted group by

t_norwilloJul 27 2009 — edited Jul 30 2009
I'm working on Discoverer Desktop 10.1.2.1 with Oracle Database 10.2.0.4.0.

If I'm creating a summary type report and include items

item_number
onhand - sum
cost - detail

I'll get sql (Vew/Sql Inspector) like the following:

select item_number, cost, sum(onhand)
from <whatever>
group by item_number, cost

Now, I save my report and realize that I wanted to include cost - sum rather than cost - detail. So I remove cost - detail as a selected item and replace it with cost - sum. Now I check my sql (Vew/Sql Inspector) and it's still grouping by item_number, cost.

select item_number, cost, sum(onhand), sum(cost)
from <whatever>
group by item_number, cost

Any ideas what might be causing this behaviour?

-Tracy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2009
Added on Jul 27 2009
7 comments
2,020 views