QUERY PLAN
HashAggregate (cost=204.93..205.23 rows=30 width=4)
Group Key: s.created_by
-> Hash Join (cost=150.60..201.42 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=123.60..123.60 rows=2160 width=8)
-> Seq Scan on tbl_approves s (cost=0.00..123.60 rows=2160 width=8)