QUERY PLAN
Group (cost=13.47..13.54 rows=1 width=40)
Group Key: u.id, srsb.id
-> Sort (cost=13.47..13.47 rows=1 width=186)
Sort Key: srsb.id
-> Nested Loop Left Join (cost=0.00..13.46 rows=1 width=186)
-> Nested Loop Left Join (cost=0.00..12.44 rows=1 width=22)
Join Filter: (u.id = aa.user_id)
-> Seq Scan on tbl_users u (cost=0.00..7.76 rows=1 width=22)
Filter: (id = 1004)
-> Seq Scan on tbl_auth_assignments aa (cost=0.00..4.64 rows=3 width=4)
Filter: (user_id = 1004)
-> Seq Scan on tbl_sales_rep_score_bases srsb (cost=0.00..1.01 rows=1 width=164)