Re: Couple of small questions
| From: | jeremy brand | Date: | Mon, 20 Nov 2000 10:22:14 +0000 |
| Subject: | Re: Couple of small questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26234@lists.php.net to get a copy of this message | ||
>
> Ok what I mean by this, say I have 3 records in my table like so:
>
> Record 1 - Gram = 10
> Record 2 - Gram = 10
> Record 3 - Gram = 5
Yes, then like Lawrence mentioned,
select sum(Gram) from tablename;
:)
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
I am pleased to see that we have differences. May we together become
greater than the sum of both of us.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4