Suppose I have a table keywords(keyid, keyword)
, with keyid
being the primary key
and keyword
being varchar
and unique
.
How can I insert non-existing values and ignore the values that already exist in the table without getting an error?
For example I insert a, b, c, d
. Then I insert c, d, e, f
. It should ignore c and d, and insert e and f.