QUERY PLAN
Sort (cost=11.83..11.84 rows=5 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 Right Join (cost=3.12..11.77 rows=5 width=39)
Hash Cond: (u.id = c.user_id)
-> Seq Scan on tbl_users u (cost=0.00..7.39 rows=139 width=35)
-> Hash (cost=3.05..3.05 rows=5 width=8)
-> Seq Scan on tbl_task_group_head_of_relationships c (cost=0.00..3.05 rows=5 width=8)
Filter: (task_group_id = ANY ('{200,195,194,192}'::integer[]))