mysql - distinct value combinations in sql -


i have columns this:

value1____value2   value3____value4   value2____value1   value5____value6 

is there way eliminate combination on 3rd line, since it's same { value1, value2 }?

what approach?

alter table the_table add constraint my_check unique (least(column1, column2), greatest(column1, column2)) 

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -