QUERY PLAN
Sort (cost=18.21..18.25 rows=19 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.24..17.80 rows=19 width=39)
Hash Cond: (c.user_id = u.id)
-> Seq Scan on tbl_task_group_head_of_relationships c (cost=0.00..8.51 rows=19 width=8)
Filter: (task_group_id = ANY ('{71,54,53,52,50,49,48,47,45,44,42,41,40,38,35,33,30,22,19}'::integer[]))
-> Hash (cost=7.44..7.44 rows=144 width=35)
-> Seq Scan on tbl_users u (cost=0.00..7.44 rows=144 width=35)