QUERY PLAN
Sort (cost=42.45..43.00 rows=222 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=18.24..33.80 rows=222 width=39)
Hash Cond: (c.user_id = u.id)
-> Seq Scan on tbl_task_group_head_of_relationships c (cost=0.00..14.95 rows=222 width=8)
Filter: (task_group_id = ANY ('{203,139,106,96,94,90,89,88,87,85,84,83,80,79,78,76,75,74,73,72}'::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)