QUERY PLAN
HashAggregate (cost=288.26..288.58 rows=32 width=4)
Group Key: s.created_by
-> Hash Join (cost=216.88..283.59 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=183.06..183.06 rows=2706 width=8)
-> Seq Scan on tbl_approves s (cost=0.00..183.06 rows=2706 width=8)