Sort (cost=57.51..57.54 rows=9 width=156) |
Sort Key: tbl_departments."order" |
-> Hash Join (cost=56.16..57.37 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=56.05..56.05 rows=9 width=4) |
-> HashAggregate (cost=55.96..56.05 rows=9 width=4) |
Group Key: tbl_users.department_id |
-> Seq Scan on tbl_users (cost=47.63..55.75 rows=83 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..47.61 rows=8 width=4) |
Filter: (approve_id = 2117) |