Hi All,
What I want to do is make a sum out of the results of 2 sums:-
my select looks like this:-
Select sum(fld1 * fld2) as res1, sum(fld3 * fld4 / 100) as res2
what I now want to do is another sum which is res1 - res2. What is the best way of doing this?
Many thanks
Sam
What I want to do is make a sum out of the results of 2 sums:-
my select looks like this:-
Select sum(fld1 * fld2) as res1, sum(fld3 * fld4 / 100) as res2
what I now want to do is another sum which is res1 - res2. What is the best way of doing this?
Many thanks
Sam