Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I don't want to display duplicate data, what should I do?
While loading itself you can use the distinct for the field(Primary key field) and load
I did but the data is still showing duplicate.
If u can give the proper requirement and scenario then solution can be figured out.
@Paknanarn23 perhaps something like this.
TmpData:
LOAD Hash128("KCE DATE", KCEPART, WorkOrderNo, "WorkOrderNo(Inner)", ProductionNo) as Hash,
*
FROM SourceTable;
Data:
LOAD *
Where DuplicatesNo = 0;
LOAD Hash,
Count(Hash)-1 as DuplicatesNo
Resident TmpData
Group By Hash;
Left Join(Data)
LOAD *
Resident TmpData;
DROP Fields Hash, DuplicatesNo From Data;
DROP Table TmpData;