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 -> Re: row multilication

Re: row multilication

From: Paul Walker <walkerp1_at_yahoo.com>
Date: 24 May 2001 17:17:11 -0700
Message-ID: <9cef9a4a.0105241617.5a117135@posting.google.com>

"Norazman" <norazman_at_ti.com> wrote in message news:<9ehvt4$o84
> Anybody know how to get a multiply of return row from a query.
> Example:
> Age:
> ----
> 1
> 2
> 3
> 4
> ----
> 24 - result of multilying 1x2x3x4
>
> Thanks

I'm sure it's not the most efficient way, but you could do a:

select avg(age)*count(rowid) Product from user;

Whatever, eh?

Paul Received on Thu May 24 2001 - 19:17:11 CDT

Original text of this message

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