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 -> two total from a Select

two total from a Select

From: valigula <valigula_at_gmail.com>
Date: 21 May 2007 02:28:13 -0700
Message-ID: <1179739693.787511.268800@36g2000prm.googlegroups.com>


I need to calculate two differents totals from a table . One is filtering by the year to know how many from this year and the other is a total without that filter.
i am using oracle 9i. At the moment i am trying to use the rollup function.
Is it more apropiate to use a subquery???

thanks

A Received on Mon May 21 2007 - 04:28:13 CDT

Original text of this message

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