Answer the question
In order to leave comments, you need to log in
How to insert a row only if there is none?
Let's say we have a table:
col1 | col2 | col 3
--------------------
v031 | v034 | v999
v031 | v385 | v555
Answer the question
In order to leave comments, you need to log in
You can use the not exists construct in an insert query
https://dev.mysql.com/doc/refman/5.7/en/exists-and...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question