I have the following command in postgresql:
INSERT INTO word_relations(word1_id, word2_id, score) VALUES($1, $2, $3)
ON CONFLICT (word1_id, word2_id) DO UPDATE SET score = score + $3`)
I get the following error:
column reference "score" is ambiguous
I thought it was odd as I am only using one table. Any ideas?