QUERY PLAN
Sort (cost=68.30..68.35 rows=19 width=21)
Sort Key: tbl_project_architects.contribution DESC, tbl_project_architects.engineer_id
-> Hash Left Join (cost=9.24..67.89 rows=19 width=21)
Hash Cond: (tbl_project_architects.engineer_id = u.id)
-> Seq Scan on tbl_project_architects (cost=0.00..58.61 rows=19 width=12)
Filter: (project_id = ANY ('{4184,4182,4174,4173,4170,4167,4166,4144,4152,4150,3991,4014,3703,3679,3623,3265,2939,1018}'::integer[]))
-> Hash (cost=7.44..7.44 rows=144 width=13)
-> Seq Scan on tbl_users u (cost=0.00..7.44 rows=144 width=13)