| Aggregate (cost=13.40..13.41 rows=1 width=48) |
| -> HashAggregate (cost=12.55..12.73 rows=18 width=140) |
| Group Key: r.id, r.title, r.status, r.leave_type, r.leave_start, r.leave_start_type, r.leave_end, r.leave_end_type, 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.spent_day, r.cancel_description, r.leave_start_time, r.leave_end_time, r.leave_mode, r.spent_hour |
| -> HashAggregate (cost=11.29..11.47 rows=18 width=140) |
| Group Key: r.id |
| -> Hash Right Join (cost=9.76..11.24 rows=19 width=140) |
| Hash Cond: (crvr.punch_leave_id = r.id) |
| -> Seq Scan on tbl_punch_leave_cancel_verify_rels crvr (cost=0.00..1.32 rows=32 width=4) |
| -> Hash (cost=9.52..9.52 rows=19 width=140) |
| -> Hash Right Join (cost=5.31..9.52 rows=19 width=140) |
| Hash Cond: (rvr.punch_leave_id = r.id) |
| -> Seq Scan on tbl_punch_leave_verify_rels rvr (cost=0.00..3.74 rows=174 width=4) |
| -> Hash (cost=5.09..5.09 rows=18 width=140) |
| -> Seq Scan on tbl_punch_leaves r (cost=0.00..5.09 rows=18 width=140) |
| Filter: (created_by = 1000) |