Sort (cost=46.08..46.11 rows=9 width=156) |
Sort Key: tbl_departments."order" |
-> Hash Join (cost=44.73..45.94 rows=9 width=156) |
Hash Cond: (tbl_departments.id = tbl_users.department_id) |
-> Seq Scan on tbl_departments (cost=0.00..1.09 rows=9 width=152) |
-> Hash (cost=44.62..44.62 rows=9 width=4) |
-> HashAggregate (cost=44.53..44.62 rows=9 width=4) |
Group Key: tbl_users.department_id |
-> Seq Scan on tbl_users (cost=36.23..44.32 rows=84 width=4) |
Filter: ((user_status = '1'::type_global_user_status) OR (hashed SubPlan 1)) |
SubPlan 1 |
-> Seq Scan on tbl_approve_verify_rels (cost=0.00..36.21 rows=7 width=4) |
Filter: (approve_id = 1746) |