QUERY PLAN
Group (cost=13.85..13.94 rows=1 width=40)
Group Key: u.id, esb.id
-> Sort (cost=13.85..13.86 rows=1 width=218)
Sort Key: esb.id
-> Nested Loop Left Join (cost=0.14..13.84 rows=1 width=218)
-> Nested Loop Left Join (cost=0.14..12.82 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 = 5064)
-> Seq Scan on tbl_auth_assignments aa (cost=0.00..4.65 rows=1 width=4)
Filter: (user_id = 5064)
-> Seq Scan on tbl_engineer_score_bases esb (cost=0.00..1.01 rows=1 width=196)