HashAggregate (cost=378.74..379.10 rows=24 width=214) |
Group Key: ci.id |
-> Hash Right Join (cost=130.97..377.24 rows=120 width=160) |
Hash Cond: (c.client_industry = ci.id) |
-> Hash Join (cost=129.43..375.33 rows=120 width=14) |
Hash Cond: (p.client_id = c.id) |
-> Seq Scan on tbl_projects p (cost=0.00..245.59 rows=120 width=14) |
Filter: ((bargain_date >= '2025-01-01'::date) AND (bargain_date <= '2025-12-31'::date) AND (bargain_date >= '2025-01-01'::date) AND (bargain_date < '2026-01-01 00:00:00'::timestamp without time zone) AND (created_by = ANY ('{1001,1004,1005,1013,5087,5295,5300,5311,5329,5332,5420,5448,5449}'::integer[]))) |
-> Hash (cost=105.30..105.30 rows=1930 width=8) |
-> Seq Scan on tbl_clients c (cost=0.00..105.30 rows=1930 width=8) |
-> Hash (cost=1.24..1.24 rows=24 width=150) |
-> Seq Scan on tbl_client_industries ci (cost=0.00..1.24 rows=24 width=150) |