S
shank
In the following query, I get a SumOfWeight value that is correct for each
record.
How can I get a value like Sum(SumOfWeight)?
I want the TOTAL weight of all products in the recordset.
thanks!
SELECT Cart.OrderNo, Cart.SoftHard, Sum(Cart.Qty) AS SumOfQty,
Cart.Description, Sum(Cart.Weight) AS SumOfWeight
FROM Cart
GROUP BY Cart.OrderNo, Cart.SoftHard, Cart.Description;
record.
How can I get a value like Sum(SumOfWeight)?
I want the TOTAL weight of all products in the recordset.
thanks!
SELECT Cart.OrderNo, Cart.SoftHard, Sum(Cart.Qty) AS SumOfQty,
Cart.Description, Sum(Cart.Weight) AS SumOfWeight
FROM Cart
GROUP BY Cart.OrderNo, Cart.SoftHard, Cart.Description;