QUERY PLAN
Sort (cost=70.44..70.50 rows=21 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=9.17..69.98 rows=21 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..60.76 rows=21 width=12)
Filter: (project_id = ANY ('{3927,3751,3899,3890,3886,3872,3857,3855,3816,3813,3786,3767,3764,3760,3752,3744,3723,3714,3679,3653}'::integer[]))
-> Hash (cost=7.41..7.41 rows=141 width=13)
-> Seq Scan on tbl_users u (cost=0.00..7.41 rows=141 width=13)