QUERY PLAN
Sort (cost=53.70..53.72 rows=10 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=9.24..53.53 rows=10 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..44.27 rows=10 width=12)
Filter: (project_id = ANY ('{1018,4126,2290,4024,4185,4184,4182,4183,4181,4174}'::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)