QUERY PLAN
HashAggregate (cost=6.74..7.43 rows=69 width=4)
Group Key: user_id
-> Seq Scan on tbl_user_role_change_logs (cost=0.00..6.54 rows=80 width=4)
Filter: ((user_id IS NOT NULL) AND ((role_name)::text = 'AccountManager'::text))