Hi!
My table consists of
id int (prim key,auto_inc);
value1 int;
value2 int;
I know insert a row, let's say
value 1 = 3;
value 2 = 5;
id is auto incremented!
then, another row
value1=5;
value2=7;
I know want to avoid that a set of data exists twice in the table
so, if I'd insert again 3,5 mysql shouldn't create a new dataset, but overeide the existing.
I know there is a REPLACE, but it doesn't help. Id I turn value1 UNIQUE, I couldn't insert a set like 3,6 or so
thanks!