QUERY PLAN
Sort (cost=8.18..8.18 rows=1 width=265)
Sort Key: pinyin1 NULLS FIRST, namecut1 NULLS FIRST, pinyin2 NULLS FIRST, namecut2 NULLS FIRST, pinyin3 NULLS FIRST, namecut3 NULLS FIRST, pinyin4 NULLS FIRST, namecut4 NULLS FIRST
-> Index Scan using tbl_users_pkey on tbl_users (cost=0.14..8.17 rows=1 width=265)
Index Cond: (id = 5295)
Filter: ((user_status = '1'::type_global_user_status) AND (department_id = 1))