QUERY PLAN
Group (cost=13.43..13.50 rows=1 width=40)
Group Key: u.id, srsb.id
-> Sort (cost=13.43..13.44 rows=1 width=186)
Sort Key: srsb.id
-> Nested Loop Left Join (cost=0.00..13.42 rows=1 width=186)
-> Nested Loop Left Join (cost=0.00..12.40 rows=1 width=22)
Join Filter: (u.id = aa.user_id)
-> Seq Scan on tbl_users u (cost=0.00..7.74 rows=1 width=22)
Filter: (id = 1001)
-> Seq Scan on tbl_auth_assignments aa (cost=0.00..4.62 rows=3 width=4)
Filter: (user_id = 1001)
-> Seq Scan on tbl_sales_rep_score_bases srsb (cost=0.00..1.01 rows=1 width=164)