I would like to get a row count but I want to only count the distinct items in that row. For instance:
Fruit
-------
apples
apples
oranges
grapes
oranges
oranges
If I do a 'select distinct fruit from supermarket', I will of course return
Fruit
-----
apples
grapes
oranges
I would like to do a 'select count distinct fruit' and have an outcome of '3' to represent that I have 3 distinct fruits. How do I perform this query in ACCESS when ACCESS does not support 'select count distinct'? Your help is appreciated.
Fruit
-------
apples
apples
oranges
grapes
oranges
oranges
If I do a 'select distinct fruit from supermarket', I will of course return
Fruit
-----
apples
grapes
oranges
I would like to do a 'select count distinct fruit' and have an outcome of '3' to represent that I have 3 distinct fruits. How do I perform this query in ACCESS when ACCESS does not support 'select count distinct'? Your help is appreciated.