SQL Language (MOSC)

MOSC Banner

query to place subtotal over detail data

edited Oct 1, 2012 4:00PM in SQL Language (MOSC) 6 commentsAnswered
Good evening. I have a requirements to output into a text file but the subtotal is placed on top of the detail data.
 I already tried using union but it still didn't work.
 Is it possible to do it in a query.?

example output.

10 15  50
3   5    25
2   5    20
5   5    5




Rey

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center