Sort (cost=275.81..275.82 rows=5 width=48) |
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 |
-> Hash Join (cost=267.92..275.75 rows=5 width=48) |
Hash Cond: (tbl_users.id = tbl_cases.created_by) |
-> Seq Scan on tbl_users (cost=0.00..7.76 rows=25 width=44) |
Filter: (user_status = ANY ('{1,2}'::type_global_user_status[])) |
-> Hash (cost=267.59..267.59 rows=26 width=4) |
-> HashAggregate (cost=267.07..267.33 rows=26 width=4) |
Group Key: tbl_cases.created_by |
-> Seq Scan on tbl_cases (cost=0.00..247.26 rows=7926 width=4) |