QUERY PLAN
Sort (cost=13.51..13.54 rows=10 width=43)
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.17..13.35 rows=10 width=43)
Hash Cond: (c.user_id = u.id)
-> Seq Scan on tbl_task_group_head_of_relationships c (cost=0.00..4.15 rows=10 width=12)
Filter: (task_group_id = ANY ('{192,141,188,189,178,187}'::integer[]))
-> Hash (cost=7.41..7.41 rows=141 width=35)
-> Seq Scan on tbl_users u (cost=0.00..7.41 rows=141 width=35)