QUERY PLAN
Group (cost=15.13..15.15 rows=2 width=4)
Group Key: user_id
-> Sort (cost=15.13..15.14 rows=2 width=4)
Sort Key: user_id
-> Seq Scan on tbl_user_role_change_logs (cost=0.00..15.12 rows=2 width=4)
Filter: ((user_id IS NOT NULL) AND ((role_name)::text = 'AccountManager'::text))