Count Items in Access 2003
Posted
by
Anna
on Super User
See other posts from Super User
or by Anna
Published on 2012-06-25T02:26:36Z
Indexed on
2012/06/25
3:18 UTC
Read the original article
Hit count: 549
microsoft-access
|access-2003
I have a table which contains a column with different items which i would like to count by there type. For example the table looks like the following:
Id Type
1 Table
2 Table
3 TV
4 TV
5 Table
6 TV
7 TV
The result should looks like:
Type NumOfItems
Table 3
TV 4
I use the following code which doesn't work for my Access 2003:
SELECT Table1.Type, Count(Table1.Type) AS NumOfItems FROM Table1
© Super User or respective owner