I have a query that selects counts group by department.
select department, count(*) group by department
This returns two columns data result. I wonder if select cout, count by today and count by this month same query.
Department Total Today ThisMonth
AAA 40 8 23
BBB 20 6 11