Finding the previous value in a table
<p>I have table <code>queue</code> with values. </p>

<pre><code>id name
1  apple
2  mango
3  banana  -- (I assumed this name, don't remember it exactly)
</code></pre>

<p>But I accidentally changed it to be</p>

<pre><code>id name
1  apple
2  mango
3  John
</code></pre>

<p>So I reverted it back to</p>

<pre><code>id name
1  apple
2  mango
3  banana
</code></pre>

<p>But now came to know that name is not banana for <code>id=3</code>. How can I know what used to be there before I changed it?</p>