I'm needing to create a query that update if the some know value
exists or create a register if not.
I tried some variations like this below, but I can't put it to work.
How can I do this?
Attemp:
UPDATE OR INSERT
mytable
SET
attribute1 = 'value1',
attribute2 = 'value2',
attribute3 = 'some known value'
WHERE
attribute3 = 'some known value'