QUERY PLAN
Sort (cost=62.56..62.59 rows=10 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=18.24..62.40 rows=10 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..44.13 rows=10 width=12)
Filter: (project_id = ANY ('{3854,4133,4165,4109,4132,3695,3977,3559,3124,3132}'::integer[]))
-> Hash (cost=16.44..16.44 rows=144 width=13)
-> Seq Scan on tbl_users u (cost=0.00..16.44 rows=144 width=13)