QUERY PLAN
Sort (cost=80.77..80.82 rows=22 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=18.24..80.28 rows=22 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..61.98 rows=22 width=12)
Filter: (project_id = ANY ('{4179,4174,4173,4079,4170,4175,4155,4172,4171,4151,4169,4168,4144,4167,4161,4166,1018,1111,2504,1791}'::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)