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