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