QUERY PLAN
HashAggregate (cost=206.83..207.14 rows=31 width=4)
Group Key: s.created_by
-> Hash Join (cost=152.50..203.32 rows=1407 width=4)
Hash Cond: (ccr.approve_id = s.id)
-> Seq Scan on tbl_approve_verify_rels ccr (cost=0.00..47.11 rows=1407 width=4)
Filter: (user_id = 1001)
-> Hash (cost=125.00..125.00 rows=2200 width=8)
-> Seq Scan on tbl_approves s (cost=0.00..125.00 rows=2200 width=8)