| Aggregate (cost=279.14..279.15 rows=1 width=8) |
| -> Nested Loop (cost=271.10..279.14 rows=1 width=0) |
| -> Group (cost=270.81..270.82 rows=1 width=4) |
| Group Key: r.id |
| -> Sort (cost=270.81..270.82 rows=1 width=4) |
| Sort Key: r.id |
| -> Seq Scan on tbl_reimbursements r (cost=0.00..270.81 rows=1 width=4) |
| Filter: ((status = 0) AND (created_by = 1001)) |
| -> Index Only Scan using tbl_reimbursements_pkey on tbl_reimbursements (cost=0.29..8.30 rows=1 width=4) |
| Index Cond: (id = r.id) |