QUERY PLAN
Aggregate (cost=13.50..13.51 rows=1 width=32)
-> Seq Scan on tbl_erp_cost_tickets t (cost=0.00..13.50 rows=1 width=32)
Filter: ((status = ANY ('{2,5}'::integer[])) AND (created_at >= '2025-08-01 00:00:00+08'::timestamp with time zone) AND (created_at <= '2025-08-31 23:59:59+08'::timestamp with time zone))