| Sort (cost=214.41..214.41 rows=1 width=468) |
| Sort Key: r.created_at DESC |
| -> Nested Loop (cost=0.29..214.40 rows=1 width=468) |
| -> Nested Loop (cost=0.00..197.75 rows=2 width=472) |
| Join Filter: (r.created_at > t.created_at) |
| -> Seq Scan on tbl_term_taxonomies t (cost=0.00..7.84 rows=1 width=12) |
| Filter: (id = 319) |
| -> Seq Scan on tbl_approves r (cost=0.00..189.82 rows=7 width=468) |
| Filter: (created_by = 1001) |
| -> Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships dt1 (cost=0.29..8.31 rows=1 width=8) |
| Index Cond: ((object_id = r.id) AND (term_id = 17)) |
| Filter: (taxonomy_id = 319) |