QUERY PLAN
HashAggregate (cost=14.90..15.05 rows=15 width=4)
Group Key: s.created_by
-> Hash Join (cost=4.26..14.86 rows=15 width=4)
Hash Cond: (s.id = ccr.punch_leave_id)
-> Seq Scan on tbl_punch_leaves s (cost=0.00..9.63 rows=163 width=8)
-> Hash (cost=4.08..4.08 rows=15 width=4)
-> Seq Scan on tbl_punch_leave_verify_rels ccr (cost=0.00..4.08 rows=15 width=4)
Filter: (user_id = 1000)