QUERY PLAN
Sort (cost=71.07..71.13 rows=21 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=9.17..70.61 rows=21 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..61.39 rows=21 width=12)
Filter: (project_id = ANY ('{3515,3514,3513,3503,3467,3424,3441,3372,3371,3216,3300,3281,3251,3276,3274,3263,3246,3225,3209,3208}'::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)