QUERY PLAN
Sort (cost=117.16..117.27 rows=42 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=18.24..116.03 rows=42 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..97.68 rows=42 width=12)
Filter: (project_id = ANY ('{4184,4182,4185,4183,4181,4174,4173,4172,4171,4170,4169,4168,4167,4166,4144,4161,4164,4151,4157,4155,4152,4150,4142,4158,4127,4098,4111,4096,4086,4063,4057,4052,3991,4079,4078,4014,3950,3927,3949,3751}'::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)