QUERY PLAN
Sort (cost=14.60..14.66 rows=21 width=39)
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
-> Hash Left Join (cost=9.13..14.14 rows=21 width=39)
Hash Cond: (c.user_id = u.id)
-> Seq Scan on tbl_task_group_head_of_relationships c (cost=0.00..4.96 rows=21 width=8)
Filter: (task_group_id = ANY ('{192,191,190,189,188,187,178,141,140,106}'::integer[]))
-> Hash (cost=7.39..7.39 rows=139 width=35)
-> Seq Scan on tbl_users u (cost=0.00..7.39 rows=139 width=35)