| Limit (cost=28.14..28.14 rows=1 width=28) |
| -> Sort (cost=28.14..28.14 rows=1 width=28) |
| Sort Key: id DESC |
| -> Seq Scan on tbl_client_am_change_logs (cost=0.00..28.12 rows=1 width=28) |
| Filter: ((sales_rep IS NULL) AND (end_at IS NULL) AND (client_id = 1)) |