HiI have a query that look like this..SELECT UserID, Quantity, Price, NodeIDFROM dbo.tbl_ShoppingCartWHERE (UserID = N'903-3016-157')
This give me ...UserID Quantity Price NodeID903-3016-157 200 1.00 428903-3016-157 30 14.00 431903-3016-157 200 1.00 432903-3016-157 100 33.00 442903-3016-157 200 19.00 310
Can someone show me how I can sum each subtotal (Quantity * Price) and also count the number of NodeID so that I would get a result like this...SumTotal Qty7920 5