QUERY PLAN
Sort (cost=18.53..18.55 rows=10 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.31..18.36 rows=10 width=44)
Group Key: u.id
-> Sort (cost=18.31..18.34 rows=10 width=44)
Sort Key: u.id
-> Hash Right Join (cost=9.13..18.15 rows=10 width=44)
Hash Cond: (turs.user_id = u.id)
Filter: ((turs.task_group_id = 187) OR (u.id = ANY ('{1011,1001}'::integer[])))
-> Seq Scan on tbl_task_group_user_relationships turs (cost=0.00..7.73 rows=473 width=8)
-> Hash (cost=7.39..7.39 rows=139 width=44)
-> Seq Scan on tbl_users u (cost=0.00..7.39 rows=139 width=44)