| Sort (cost=9.42..9.44 rows=9 width=20) |
| Sort Key: tbl_departments."order" |
| -> Hash Join (cost=8.06..9.28 rows=9 width=20) |
| Hash Cond: (tbl_departments.id = tbl_users.department_id) |
| -> Seq Scan on tbl_departments (cost=0.00..1.09 rows=9 width=16) |
| -> Hash (cost=7.95..7.95 rows=9 width=4) |
| -> HashAggregate (cost=7.86..7.95 rows=9 width=4) |
| Group Key: tbl_users.department_id |
| -> Seq Scan on tbl_users (cost=0.00..7.80 rows=24 width=4) |
| Filter: (user_status = '1'::type_global_user_status) |