MySQL Forums
Forum List  »  General

Re: SUM function
Posted by: Caroline Danko
Date: February 10, 2005 11:30AM

Hi Nick!

I am using the SUM function because I need to the total of this query:

format(((customers.subunit - SUM(Invest_History.redemption_unit) + SUM(Invest_History.addition_unit)) * nav.navperunit) ,3) AS TotalPerf

This query is working just fine, and gives me the total for each customer, but now I need the total amount of all those totals....

Maybe you know a different way of doing this without the SUM function?

Thanks!!!!!

Caroline.

Options: ReplyQuote


Subject
Written By
Posted
February 08, 2005 02:11PM
February 08, 2005 04:13PM
February 09, 2005 02:31PM
February 10, 2005 10:04AM
Re: SUM function
February 10, 2005 11:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.