I am trying to do this:
SELECT DISTINCT COMBINED.[Class], COMBINED.[Class Scheme], COUNT(*)
FROM COMBINED
WHERE (((cost])="0"));
but it does not work.
I would like to groupy by the first two columns and count them but it does not work and I am having trouble. Please any help would be great!!!
I am trying to do exactly this in Access. This is the example I am trying to follow:
SELECT species, sex, COUNT(*) FROM Bird GROUP BY species, sex;
+---------+------+----------+
| species | sex | COUNT(*) |
+---------+------+----------+
| Bus | m | 2 |
| Car | f | 1 |
+---------+------+----------+
2 rows in set (0.02 sec)