title: How to update data from same data every night?
body: <p>I Have my table like this:</p>
  
  <p><a href="https://i.stack.imgur.com/R0rvw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R0rvw.png" alt="enter image description here"></a></p>
  
  <p>What i want  is how can i update amount from each ID everynight. For example Today date is 8 - 5 - 18 and if goes to 9 - 5 - 18 , i want like to update wallet date to be 9 - 5 - 18  date and amount should be previous date amount. Thanks.</p>
  
  <pre><code>ID      Amount      Wallet Date 
  1        1000      8 - 5 - 18
  </code></pre>
  
  <p>After Next Date </p>
  
  <pre><code>ID   Amount  Wallet Date
  1    1000    9 - 5 - 18
  </code></pre>