SQL Plugin - Last Input Value Tracking

Assuming you're talking about the jdbc input plugin, did you look at the sql_last_start parameter that's described in the documentation?