| Aggregate (cost=25.05..25.06 rows=1 width=48) |
| -> Unique (cost=24.96..25.01 rows=1 width=95) |
| -> Sort (cost=24.96..24.97 rows=1 width=95) |
| Sort Key: r.id, r.day_at, r.title, r.status, r.repair_type, r.repair_time, r.next_verify_user, r.verify_at, r.next_cancel_verify_user, r.cancel_at, r.description, r.refuse_description, r.is_resubmited, r.created_by, r.created_at, r.updated_at, r.cancel_description |
| -> Group (cost=24.94..24.95 rows=1 width=95) |
| Group Key: r.id |
| -> Sort (cost=24.94..24.95 rows=1 width=95) |
| Sort Key: r.id |
| -> Nested Loop Left Join (cost=15.90..24.93 rows=1 width=95) |
| Join Filter: (crvr.punch_repair_id = r.id) |
| -> Hash Right Join (cost=15.90..23.84 rows=1 width=95) |
| Hash Cond: (rvr.punch_repair_id = r.id) |
| -> Seq Scan on tbl_punch_repair_verify_rels rvr (cost=0.00..6.59 rows=359 width=4) |
| -> Hash (cost=15.88..15.88 rows=1 width=95) |
| -> Nested Loop (cost=0.15..15.88 rows=1 width=95) |
| -> Seq Scan on tbl_punch_repair_carbon_copy_rels rccr (cost=0.00..7.67 rows=1 width=4) |
| Filter: (user_id = 1000) |
| -> Index Scan using tbl_punch_repairs_pkey on tbl_punch_repairs r (cost=0.15..8.17 rows=1 width=95) |
| Index Cond: (id = rccr.punch_repair_id) |
| -> Seq Scan on tbl_punch_repair_cancel_verify_rels crvr (cost=0.00..1.04 rows=4 width=4) |