| Aggregate (cost=141.40..141.41 rows=1 width=32) |
| -> Hash Join (cost=68.65..141.35 rows=20 width=6) |
| Hash Cond: (t.sales_contract_id = t_1.id) |
| -> Seq Scan on tbl_erp_collect_tickets t (cost=0.00..67.09 rows=2133 width=10) |
| Filter: ((created_at < '2025-12-23 10:37:28+08'::timestamp with time zone) AND (status = 2)) |
| -> Hash (cost=68.46..68.46 rows=15 width=4) |
| -> Seq Scan on tbl_sales_contracts t_1 (cost=0.00..68.46 rows=15 width=4) |
| Filter: (build_by_project AND (NOT need_analysis) AND (created_at < '2025-12-23 10:37:28+08'::timestamp with time zone)) |