View Full Version : counting query


pepsi
04-23-2009, 02:17 AM
Is there a query or something similar i could do to count how many of one number i have in my columns. For example

Column 1 Product ID

1
2
2
1
3
3
1
2
2
2
3
3


Etc where it will count how many 3's and how many 2's how any 1's etc

how would i go about this?

DCrake
04-23-2009, 02:25 AM
Use a select query and group by Product ID use the Sigma icon on the task bar (Σ) Then in the next column enter Cnt:1 and change the group by to Count.

David

pepsi
04-23-2009, 03:50 AM
Thanks it worked :)