Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> compress group-by

compress group-by

From: hastenthunder <hastenthunder_at_hotmail.com>
Date: Mon, 12 Jul 2004 11:22:50 -0400
Message-ID: <_%xIc.605$Ny6.1628@mencken.net.nih.gov>


Hi SQL Masters,

Is there a way to compress multiple rows returned from group-by query into a single row? (such as compress results before 1990) The result should look something like:

                                Result
----------------------------------------
Before 1990            89766
1991                         1000
1992                         2000
1993                         2200

...

Thanks a lot

HastenThunder Received on Mon Jul 12 2004 - 10:22:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US