Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Instead of SUM() I require MULTIPLY
I just came up with a function I would like, but don't think exists.
TABLE TEST (X NUMBER)
select sum(x) from test;
will return 8...
what I need is
select multiply(x) from test;
will return 16, because 2*2*4 is 16.
Anyone ever seen a SQL aggregate function like this? I don't think it exists but I hold out hope.
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Dec 09 2005 - 16:13:24 CST
![]() |
![]() |