Re: Help... update with sum()

From: sgb <sgb_at_sgb.com>
Date: Wed, 07 Aug 2002 17:08:22 GMT
Message-ID: <ivk2lucc3vjb89hvo1niu25ebrd47s2abr_at_4ax.com>


Thank you Jusung and Rauf.
I have cured the problem by creating another table as suggested. I was also missing the neccessary GROUP BY to use the sum() function.

>Any assistance with this problem would be really appreciated.
>Supposing I have a table like this: (Three columns: name, amount,
>total. I shall use commas to separate the fields)
>
>NAME, AMOUNT, TOTAL
>joe, 100,
>joe, 500,
>mary, 200,
>mary, 300,
>jane, 100,
Received on Wed Aug 07 2002 - 19:08:22 CEST

Original text of this message