QUERY PLAN
Sort (cost=19.15..19.18 rows=11 width=44)
Sort Key: u.pinyin1 NULLS FIRST, u.namecut1 NULLS FIRST, u.pinyin2 NULLS FIRST, u.namecut2 NULLS FIRST, u.pinyin3 NULLS FIRST, u.namecut3 NULLS FIRST, u.pinyin4 NULLS FIRST, u.namecut4 NULLS FIRST
-> Group (cost=18.90..18.96 rows=11 width=44)
Group Key: u.id
-> Sort (cost=18.90..18.93 rows=11 width=44)
Sort Key: u.id
-> Hash Right Join (cost=9.17..18.71 rows=11 width=44)
Hash Cond: (turs.user_id = u.id)
Filter: ((turs.task_group_id = 189) OR (u.id = ANY ('{1011,1001}'::integer[])))
-> Seq Scan on tbl_task_group_user_relationships turs (cost=0.00..8.13 rows=513 width=8)
-> Hash (cost=7.41..7.41 rows=141 width=44)
-> Seq Scan on tbl_users u (cost=0.00..7.41 rows=141 width=44)