| Aggregate (cost=17.86..17.87 rows=1 width=48) |
| -> HashAggregate (cost=17.06..17.23 rows=17 width=145) |
| 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=15.87..16.04 rows=17 width=145) |
| Group Key: r.id |
| -> Hash Left Join (cost=11.63..15.82 rows=17 width=145) |
| Hash Cond: (r.id = crvr.punch_leave_id) |
| -> Hash Right Join (cost=10.25..14.36 rows=17 width=145) |
| Hash Cond: (rvr.punch_leave_id = r.id) |
| -> Seq Scan on tbl_punch_leave_verify_rels rvr (cost=0.00..3.66 rows=166 width=4) |
| -> Hash (cost=10.04..10.04 rows=17 width=145) |
| -> Seq Scan on tbl_punch_leaves r (cost=0.00..10.04 rows=17 width=145) |
| Filter: (created_by = 1000) |
| -> Hash (cost=1.17..1.17 rows=17 width=4) |
| -> Seq Scan on tbl_punch_leave_cancel_verify_rels crvr (cost=0.00..1.17 rows=17 width=4) |