Aggregate (cost=655.03..655.04 rows=1 width=64) |
-> Hash Join (cost=429.45..655.02 rows=1 width=4) |
Hash Cond: (cr.case_id = c.id) |
-> Seq Scan on tbl_callback_records cr (cost=0.00..224.08 rows=567 width=8) |
Filter: ((callback_date >= '2025-01-01'::date) AND (callback_date < '2026-01-01 00:00:00'::timestamp without time zone) AND ((satisfaction_score <> 0) OR (skill_score <> 0))) |
-> Hash (cost=429.38..429.38 rows=6 width=4) |
-> Subquery Scan on c (cost=429.29..429.38 rows=6 width=4) |
-> Group (cost=429.29..429.32 rows=6 width=285) |
Group Key: c_1.id |
-> Sort (cost=429.29..429.30 rows=6 width=4) |
Sort Key: c_1.id |
-> Hash Right Join (cost=306.78..429.21 rows=6 width=4) |
Hash Cond: (cs.case_id = c_1.id) |
-> Seq Scan on tbl_case_services cs (cost=0.00..104.66 rows=6766 width=4) |
-> Hash (cost=306.71..306.71 rows=6 width=4) |
-> Seq Scan on tbl_cases c_1 (cost=0.00..306.71 rows=6 width=4) |
Filter: ((last_engineer = 1001) AND (case_type = 1) AND (case_status = 5)) |