title: Difference between non-repeatable read vs dirty read
body: <p>From <a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/transactions.html" rel="nofollow noreferrer">this</a> oracle java tutorial:</p>
  <blockquote>
  <p>A non-repeatable read occurs when transaction A retrieves a row,
  transaction B subsequently updates the row, and transaction A later
  retrieves the same row again. Transaction A retrieves the same row
  twice but sees different data.</p>
  </blockquote>
  <p>What's the difference between a dirty read and the non-repeatable read? Is it not the same thing? reading the wrong result due to others' updating?</p>
  <p>Thanks in advance.</p>