QUERY PLAN
GroupAggregate (cost=1984.10..1986.56 rows=82 width=48)
Group Key: (to_char(start_at, 'YYYY-MM'::text))
-> Sort (cost=1984.10..1984.31 rows=82 width=52)
Sort Key: (to_char(start_at, 'YYYY-MM'::text))
-> Seq Scan on tbl_work_logs (cost=0.00..1981.50 rows=82 width=52)
Filter: ((NOT is_draft) AND ((location_in_id IS NOT NULL) OR (location_out_id IS NOT NULL)) AND (start_at >= '2026-01-01 00:00:00+08'::timestamp with time zone) AND (start_at <= '2026-12-31 23:59:59+08'::timestamp with time zone) AND (scenario_id = 1))