QUERY PLAN
Group (cost=13.87..13.94 rows=1 width=40)
Group Key: u.id, srsb.id
-> Sort (cost=13.87..13.87 rows=1 width=186)
Sort Key: srsb.id
-> Nested Loop Left Join (cost=0.14..13.86 rows=1 width=186)
-> Nested Loop Left Join (cost=0.14..12.84 rows=1 width=22)
Join Filter: (u.id = aa.user_id)
-> Index Scan using tbl_users_pkey on tbl_users u (cost=0.14..8.16 rows=1 width=22)
Index Cond: (id = 1001)
-> Seq Scan on tbl_auth_assignments aa (cost=0.00..4.65 rows=2 width=4)
Filter: (user_id = 1001)
-> Seq Scan on tbl_sales_rep_score_bases srsb (cost=0.00..1.01 rows=1 width=164)