| HashAggregate (cost=1988.63..2000.20 rows=661 width=48) |
| Group Key: to_char(start_at, 'YYYY-MM'::text) |
| -> Seq Scan on tbl_work_logs (cost=0.00..1981.99 rows=664 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)) |