Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to update field in one table from another table if exists

I'm new to QlikView and I'm asked to duplicate an Oralce SQL script into QlikView.  The Oracle SQL loads a table with Insert and Select and then Updates 1 field in this table from another table if it finds a match.  Using the example tables below, Table 1 is loaded; it has a Location field.  Table 2 is loaded; it also has a Location field.  Then the UPDATE statement is used to change the location in Table 1 if a match is found in Table 2.  How can I accomplish this in QlikView beyond the simple LOAD and SQL SELECT to load the 2 tables?

Example:

Table 1
KeyLocation
A1F
B2G
C5B
F9X

Table 2
KeyLocation
A9ABC
GJ4

The resulting Table 1 would be:

Table 1
KeyLocation
A9ABC
B2G
C5B
F9X


Thanks for considering my question.

0 Replies