QUERY PLAN
HashAggregate (cost=1987.10..1995.21 rows=463 width=48)
Group Key: to_char(start_at, 'YYYY-MM'::text)
-> Seq Scan on tbl_work_logs (cost=0.00..1982.45 rows=465 width=52)
Filter: ((NOT is_draft) AND ((location_in_id IS NOT NULL) OR (location_out_id IS NOT NULL)) AND (start_at >= '2025-01-01 00:00:00+08'::timestamp with time zone) AND (start_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (scenario_id = 1))