Hi,
I have a query that finds any duplicates caused by spacing.
This is my query
Select a.column1, b column1
from table1 as a, table1 as b
where replace (a.column1,' ','') = replace (b.column1,' ','')
and a.column1 <> b.column1
this is my result
column1 column1_1
A+ A +
A + A+
B+ B +
B + B+
C+ C +
C + C+
Now I need to compare row 1 of column1 with row 2 of column1_1 to eliminate the duplication
Any idea or advice?
I have a query that finds any duplicates caused by spacing.
This is my query
Select a.column1, b column1
from table1 as a, table1 as b
where replace (a.column1,' ','') = replace (b.column1,' ','')
and a.column1 <> b.column1
this is my result
column1 column1_1
A+ A +
A + A+
B+ B +
B + B+
C+ C +
C + C+
Now I need to compare row 1 of column1 with row 2 of column1_1 to eliminate the duplication
Any idea or advice?