QUERY PLAN
Sort (cost=22.36..22.37 rows=2 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Right Join (cost=14.17..22.35 rows=2 width=21)
Hash Cond: (u.id = tbl_project_architects.engineer_id)
-> Seq Scan on tbl_users u (cost=0.00..7.44 rows=144 width=13)
-> Hash (cost=14.15..14.15 rows=2 width=12)
-> Bitmap Heap Scan on tbl_project_architects (cost=8.57..14.15 rows=2 width=12)
Recheck Cond: (project_id = ANY ('{263,262}'::integer[]))
-> Bitmap Index Scan on tbl_project_architects_project_engineer_idx (cost=0.00..8.57 rows=2 width=0)
Index Cond: (project_id = ANY ('{263,262}'::integer[]))