Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove duplicates

How can I remove duplicates values in my database?

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

That probably depends on what you mean by duplicate values and by removing them.  One simple approach for some cases would be this:

SELECT DISTINCT FIELD1, FIELD2, FIELD3, etc.
FROM your database;

View solution in original post

3 Replies
johnw
Champion III
Champion III

That probably depends on what you mean by duplicate values and by removing them.  One simple approach for some cases would be this:

SELECT DISTINCT FIELD1, FIELD2, FIELD3, etc.
FROM your database;

Not applicable
Author

Hello John, in this example below how can i use this comand select distinct for field Key_Master?

I already tried to do where exists (Key_Master) but with no success.

Intermodal2:

LOAD

  Key_Master,

  VOYAGE_DESC_2,

  VVL_D2,

  BOOK_ID,

  BL_Number_BDS,

resident Intermodal;

drop table Intermodal;

Rgds,

klausskalts
Partner - Creator
Partner - Creator

Intermodal2:

LOAD distinct

  Key_Master,

  VOYAGE_DESC_2,

  VVL_D2,

  BOOK_ID,

  BL_Number_BDS,

resident Intermodal;

drop table Intermodal;