| Nested Loop (cost=11.90..57.49 rows=1 width=74) |
| -> Nested Loop Left Join (cost=11.62..57.03 rows=1 width=65) |
| -> Hash Join (cost=7.31..41.97 rows=1 width=61) |
| Hash Cond: (car.client_id = c.id) |
| -> Seq Scan on tbl_client_address_rels car (cost=0.00..29.73 rows=1873 width=8) |
| -> Hash (cost=7.30..7.30 rows=1 width=57) |
| -> Index Scan using tbl_clients_sales_rep_idx on tbl_clients c (cost=0.28..7.30 rows=1 width=57) |
| Index Cond: (sales_rep = 1013) |
| Filter: (NOT deleted) |
| -> Bitmap Heap Scan on tbl_projects p (cost=4.30..15.04 rows=2 width=8) |
| Recheck Cond: (client_id = c.id) |
| Filter: (project_status = 3) |
| -> Bitmap Index Scan on tbl_projects_client_id_idx (cost=0.00..4.30 rows=3 width=0) |
| Index Cond: (client_id = c.id) |
| -> Index Scan using tbl_addresses_pkey on tbl_addresses ad (cost=0.28..0.46 rows=1 width=20) |
| Index Cond: (id = car.address_id) |
| Filter: ((geolocation IS NOT NULL) AND (geolocation <> '(0,0)'::point)) |