QUERY PLAN
Sort (cost=77.13..77.18 rows=20 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=18.24..76.70 rows=20 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..58.41 rows=20 width=12)
Filter: (project_id = ANY ('{1929,1925,1791,1018,1111,1460,1240,986,983,887,884,883,778,764,861,88,4179,4175}'::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)