QUERY PLAN
Sort (cost=64.65..64.69 rows=17 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=9.24..64.30 rows=17 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..55.02 rows=17 width=12)
Filter: (project_id = ANY ('{4139,4059,3956,3849,3919,3882,3917,3883,3898,3745,3538,3301,3105,3049,2831,2851}'::integer[]))
-> Hash (cost=7.44..7.44 rows=144 width=13)
-> Seq Scan on tbl_users u (cost=0.00..7.44 rows=144 width=13)