QUERY PLAN
Sort (cost=51.94..51.97 rows=10 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=9.13..51.78 rows=10 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..42.62 rows=10 width=12)
Filter: (project_id = ANY ('{2939,3576,3503,3644,3568,3599,3767,1791,3723,3744}'::integer[]))
-> Hash (cost=7.39..7.39 rows=139 width=13)
-> Seq Scan on tbl_users u (cost=0.00..7.39 rows=139 width=13)