I have this table, in it get the description in also group all the same description together. But I also have a QTY Column, which I would like to add. But the problem is, when I put Qty in the query below, it group how many times the same information is in the description column. But i wont it to add everything that have the same description Qty.
Example
description Qty
Broken 1
Broken 1
Latch Bracket 1
Latch Bracket 3
So the result should be
Broken 2
Latch Bracket 4
Example
description Qty
Broken 1
Broken 1
Latch Bracket 1
Latch Bracket 3
So the result should be
Broken 2
Latch Bracket 4
undefined Code:
SELECT Top 10 [description] FROM Scrap_Report where Date >= '20130201' Date <= '20130212' GROUP BY [description]