Hi all,
I need SQL code for a query I need to do in Access. I have a table with multiple fields but I only need 2 fields for the query. 1 is a date field. let's call that one DateField. the other is a field that contains text, let's call lit TextField. I need a query that returns the following:
- The COUNT of DateField (i.e. how many there are regardless of what the value is)
- The COUNT of TextField WHERE its value = "ThisText"
- The COUNT of TextField WHERE its value = "ThatText"
- Results GROUP BY Year
- the same query again (will be a separate Q) but with results GROUP BY Month
Many thanks in advance for all your wonderful help.