Say I wanted to know the number of orders I have outstanding today, I could write a query:
SELECT
Format(OrderDate, 'yyyy\-mm') AS Period,
COUNT(*) AS Outstanding
FROM orders
WHERE DateCompleted IS NULL
AND DateDeleted IS NOT NULL
GROUP BY
Format(OrderDate, 'yyyy\-mm')
;
But say I...