I am using on duplicate key. I want to know how I would just add one to a value from database if the key is duplicated? so like key was 1…it would update quantity to equal 2. any help?
I am using on duplicate key. I want to know how I would just add one to a value from database if the key is duplicated? so like key was 1…it would update quantity to equal 2. any help?