QUERY PLAN
Aggregate (cost=8.92..8.93 rows=1 width=8)
-> Sort (cost=8.47..8.55 rows=30 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.74 rows=30 width=791)
Filter: (user_status = ANY ('{1,2}'::type_global_user_status[]))