title: Update mysql row if value different or create new row not added yet
body: <p>For some reason this is not coming to me, and I do not see this specific question answered where there are two conditions.  I want to update my_table for the following two conditions:</p>
  
  <ol>
  <li>If the Primary key vin is the same and the price is different. - or - </li>
  <li>If there is no vin then just create a new row</li>
  </ol>
  
  <p>Example of before and after two example updates:</p>
  
  <p><a href="https://i.stack.imgur.com/NXyi4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NXyi4.png" alt="enter image description here"></a></p>
  
  <p>In this exable vin 12345 exist so just the price is update as it's different, in the other example vin 55555 wasn't in the table so it's created.</p>