QUERY PLAN
Aggregate (cost=8.71..8.72 rows=1 width=8)
-> Sort (cost=8.35..8.41 rows=24 width=791)
Sort Key: tbl_users.pinyin1 NULLS FIRST, tbl_users.namecut1 NULLS FIRST, tbl_users.pinyin2 NULLS FIRST, tbl_users.namecut2 NULLS FIRST, tbl_users.pinyin3 NULLS FIRST, tbl_users.namecut3 NULLS FIRST, tbl_users.pinyin4 NULLS FIRST, tbl_users.namecut4 NULLS FIRST
-> Seq Scan on tbl_users (cost=0.00..7.80 rows=24 width=791)
Filter: (user_status = ANY ('{1,2}'::type_global_user_status[]))