Aggregate (cost=255.19..255.20 rows=1 width=8) |
-> Nested Loop (cost=247.15..255.18 rows=1 width=0) |
-> Group (cost=246.86..246.87 rows=1 width=4) |
Group Key: r.id |
-> Sort (cost=246.86..246.87 rows=1 width=4) |
Sort Key: r.id |
-> Seq Scan on tbl_reimbursements r (cost=0.00..246.85 rows=1 width=4) |
Filter: ((status = 0) AND (created_by = 1000)) |
-> Index Only Scan using tbl_reimbursements_pkey on tbl_reimbursements (cost=0.28..8.30 rows=1 width=4) |
Index Cond: (id = r.id) |