| Aggregate (cost=1491.34..1491.35 rows=1 width=32) |
| -> Nested Loop (cost=8.13..1491.34 rows=1 width=5) |
| -> Hash Join (cost=7.85..1484.02 rows=7 width=9) |
| Hash Cond: (dt1.taxonomy_id = tt.id) |
| -> Seq Scan on tbl_term_taxonomy_relationships dt1 (cost=0.00..1470.28 rows=2211 width=13) |
| Filter: ((term_id = 18) AND (object_type = 11)) |
| -> Hash (cost=7.84..7.84 rows=1 width=4) |
| -> Seq Scan on tbl_term_taxonomies tt (cost=0.00..7.84 rows=1 width=4) |
| Filter: ((serial_no)::text = '221106'::text) |
| -> Index Scan using tbl_erp_cash_cost_tickets_pkey on tbl_erp_cash_cost_tickets t (cost=0.29..1.05 rows=1 width=4) |
| Index Cond: (id = dt1.object_id) |
| Filter: ((bank_settle_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) AND (status = 2)) |