Aggregate (cost=8.12..8.13 rows=1 width=48) |
-> HashAggregate (cost=7.60..7.71 rows=11 width=132) |
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 |
-> HashAggregate (cost=6.94..7.05 rows=11 width=132) |
Group Key: r.id |
-> Hash Left Join (cost=4.58..6.91 rows=12 width=132) |
Hash Cond: (r.id = crvr.punch_leave_id) |
-> Hash Right Join (cost=3.31..5.57 rows=12 width=132) |
Hash Cond: (rvr.punch_leave_id = r.id) |
-> Seq Scan on tbl_punch_leave_verify_rels rvr (cost=0.00..1.99 rows=99 width=4) |
-> Hash (cost=3.17..3.17 rows=11 width=132) |
-> Seq Scan on tbl_punch_leaves r (cost=0.00..3.17 rows=11 width=132) |
Filter: (created_by = 1000) |
-> Hash (cost=1.12..1.12 rows=12 width=4) |
-> Seq Scan on tbl_punch_leave_cancel_verify_rels crvr (cost=0.00..1.12 rows=12 width=4) |