Arkturus292
New member
- Local time
- Yesterday, 18:02
- Joined
- Jul 7, 2010
- Messages
- 2
Hey everyone,
Alright so here is what I have :
Table : Order
Customer___________Item 1_______ Item 2
Johnny_______________ steak__________ fries
Jimmy _______________hamburger
Arnold________________ rice___________ steak
I need to be able to count the number of record for each item. Any idea on how to do it? I have utterly failed on all my attemps.
The result expected for the example given would be:
Steak = 2
fries = 1
hamburger = 1
rice = 1
So far I've been able to make 2 querys (one for each item) that successfully tells me the amount of each item. Thought I could then just make a third query that would sum the two count...but somehow it doesn't work....
Thanks for the help,
now if you'll excuse me...all that just made me really hungry
Akturus292