QUERY PLAN
Sort (cost=27.89..27.92 rows=12 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=18.24..27.67 rows=12 width=43)
Hash Cond: (c.user_id = u.id)
-> Seq Scan on tbl_task_group_head_of_relationships c (cost=0.00..9.40 rows=12 width=12)
Filter: (task_group_id = ANY ('{191,3,23,37,4,105,86,140}'::integer[]))
-> Hash (cost=16.44..16.44 rows=144 width=35)
-> Seq Scan on tbl_users u (cost=0.00..16.44 rows=144 width=35)