The issue you are experiencing is caused by your query (the synchronization works).
If you update your query with a condition – let’s say WHERE MyTable2.Time <= ?, and assign the Placeholder to EndTime, you will see the appropriate value.
What you see is that the value object shows the end time of the data you are requesting in your dataset. As you do not use a time limit, you always retrieve all data. Just a suggestion here –add two placeholders to your query and make sure you retrieve only the data you need.
Thanks Andreas, It worked!