QUERY PLAN
HashAggregate (cost=279.03..279.33 rows=30 width=4)
Group Key: s.created_by
-> Hash Join (cost=227.53..275.69 rows=1337 width=4)
Hash Cond: (ccr.approve_id = s.id)
-> Seq Scan on tbl_approve_verify_rels ccr (cost=0.00..44.64 rows=1337 width=4)
Filter: (user_id = 1001)
-> Hash (cost=201.68..201.68 rows=2068 width=8)
-> Seq Scan on tbl_approves s (cost=0.00..201.68 rows=2068 width=8)