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 ('{3957,4005,3976,4002,3972,4034,4037,4026,4007,3986,4041,4031,4030,4029,4020,4017,4001,3997,3996,3994}'::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)