I have a query that results in something like:
field 1 field 2
red blue
green black
blue red
orange black
What I want to do is make it so I only show distinct rows; however I want the distinction/uniqueness based on what's in field 1 and 2.
In other words, I would like the instance of red,blue(field1 ,field2) and blue,red to be detected as repeated values and thus only display one of those 2 rows.
resulting in:
field 1 field 2
red blue
green black
orange black
Does anyone know how to do this? I thought it would be trivial but I've spent a few hours and havn't been able to figure it out =/
Thanks.
field 1 field 2
red blue
green black
blue red
orange black
What I want to do is make it so I only show distinct rows; however I want the distinction/uniqueness based on what's in field 1 and 2.
In other words, I would like the instance of red,blue(field1 ,field2) and blue,red to be detected as repeated values and thus only display one of those 2 rows.
resulting in:
field 1 field 2
red blue
green black
orange black
Does anyone know how to do this? I thought it would be trivial but I've spent a few hours and havn't been able to figure it out =/
Thanks.
Comment