|
-
Jan 7th, 2005, 02:43 AM
#1
Thread Starter
Member
[Resolved] "Quantity" Count Help in SQL Expression
I'm developing an inventory application. There is a column "Product Name" and a column "Quantity". I wish to group the same product name together to produce a quantity.
What I mean is:
Product_Name
Coke
Coke
Coke
Total of coke is: 3
So I have these expression currently : SELECT Product_Name, SUM ('Inventory'.i duno how 2 continue) FROM 'Inventory' GROUP BY Product_Name
What i wish to do is the statement will group similar product_name's names together and count how many records are repetitve by the similar names.
Thanks in advance.
Last edited by Warren Ang; Jan 9th, 2005 at 09:38 PM.
Reason: Resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|