m***@googlemail.com
2007-02-16 08:58:15 UTC
hi
i have a table like this:
product id | product name | product price
the product name and product price fields both contain duplicate
values
for example:
1 | socks | 23
3 | shoes | 18
2 | socks | 24
what i need to do is work out the total of the price field for each
value of the name field.
so a list can be displayed like:
socks | 47
shoes | 18
can anyone help with this?
thanks
marc
i have a table like this:
product id | product name | product price
the product name and product price fields both contain duplicate
values
for example:
1 | socks | 23
3 | shoes | 18
2 | socks | 24
what i need to do is work out the total of the price field for each
value of the name field.
so a list can be displayed like:
socks | 47
shoes | 18
can anyone help with this?
thanks
marc