Index Scan using tbl_projects_pkey on tbl_projects p (cost=0.28..47.78 rows=1 width=435) |
Index Cond: (id = 1791) |
SubPlan 1 |
-> Aggregate (cost=39.45..39.46 rows=1 width=32) |
-> Seq Scan on tbl_invoices i (cost=0.00..39.45 rows=1 width=6) |
Filter: (project_id = p.id) |