QUERY PLAN
Aggregate (cost=1.48..1.49 rows=1 width=32)
-> Seq Scan on tbl_erp_inventory_starts t (cost=0.00..1.40 rows=32 width=5)
Filter: (created_at <= '2026-06-30 23:59:59+08'::timestamp with time zone)