Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ALL,
I need to compare two columns in a table,
I want the result should be like this
any help would be appreciated.
Thank you!
Hi @sjar1290
If it understand the request you will need something like this.
Temp:
LOAD
Field1,
Field2,
IF(Field1 = Field2,1,0) as Flag
From ...
Noconcatenate
Final:
Load
Field1
Resident Temp
Where Flag =0;
Concatenate
Field2
Where Flag =1;
Drop Table Temp;