| Sort (cost=20.84..20.87 rows=9 width=156) |
| Sort Key: tbl_departments."order" |
| -> Hash Join (cost=19.49..20.70 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=19.38..19.38 rows=9 width=4) |
| -> HashAggregate (cost=19.29..19.38 rows=9 width=4) |
| Group Key: tbl_users.department_id |
| -> Seq Scan on tbl_users (cost=1.92..19.07 rows=84 width=4) |
| Filter: ((user_status = '1'::type_global_user_status) OR (hashed SubPlan 1)) |
| SubPlan 1 |
| -> Seq Scan on tbl_punch_away_carbon_copy_rels (cost=0.00..1.91 rows=1 width=4) |
| Filter: (punch_away_id = 244) |