Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Pico
Partner - Contributor III
Partner - Contributor III

merging two tables with same columns and with info overlapping

Hi all,

I have two tables with the same columns (refName, refMail, refNum, Furnisher, ...) and many overlapping rows. (the tables are from different years, and many rows are identical in all years)

How can I concatenate the two tables without duplicating the identical rows?

The ideal situation is not to load the identical rows, that are 80% of the second table...

Thank you

P

 

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer

You may just use: load distinct * from ...; whereby if the tables are from different years could a entire record be duplicated?

- Marcus

View solution in original post

2 Replies
marcus_sommer

You may just use: load distinct * from ...; whereby if the tables are from different years could a entire record be duplicated?

- Marcus

Pico
Partner - Contributor III
Partner - Contributor III
Author

wow, is just that simple 🙂 nice!


There is no field "year" in the table, simply the seller is the same from year to year, with the same mail, name, cell number, etc..