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:
- If the Primary key vin is the same and the price is different. - or -
- If there is no vin then just create a new row
Example of before and after two example updates:
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.
