consider a table "mytable" which has composite unique key of multiple columns (id1,id2,changeversion)
mytable
id1 id2 changeversion cha