QUERY PLAN
HashAggregate (cost=262.08..262.39 rows=31 width=4)
Group Key: s.created_by
-> Hash Join (cost=190.70..257.41 rows=1869 width=4)
Hash Cond: (ccr.approve_id = s.id)
-> Seq Scan on tbl_approve_verify_rels ccr (cost=0.00..61.79 rows=1869 width=4)
Filter: (user_id = 1001)
-> Hash (cost=156.98..156.98 rows=2698 width=8)
-> Seq Scan on tbl_approves s (cost=0.00..156.98 rows=2698 width=8)