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 ('{4024,4005,4149,4136,4133,4184,4182,4165,4163,4147,4134,4131,4125,4109,4088,4083,3976,3778,4183,4181,4146,3957,3854,3796,4177,4174,4173,4162,4148,4143,4097,4082,4060,4034,4002,3981,4172,4171,4170,4169}'::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)