How to merge insert and update in mysql like merge into queries in oracle? as if i am going to insert a row in database and it is already exist then it will update the existing row.
Asked
Active
Viewed 38 times
1 Answers
0
You can use REPLACE
. See the documentation: https://dev.mysql.com/doc/refman/5.7/en/replace.html. If you need help with a specific query, please edit it into your question.

Lauri Laanti
- 948
- 7
- 11