Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

joining of table

I need to join one of my table with my master table ,

and den drop that table,how to proceed with it where exactly i shud write in script to join the table.

4 Replies
prma7799
Master III
Master III

load *

MasterTable;

join (MasterTable)

load x,y

from abc;

satheshreddy
Creator III
Creator III

Hi DG,

just load first master table and load which one you need to join that table and in between tables you have to use join key word.

which table you want to drop?

Regards

Sathish

beckerv
Contributor II
Contributor II

Hi dynamic girl,

I assume that you want to keep all data of the master table and only join corresponding data from mytable?

Try this:

Master_table:

LOAD *

From xy;

mytable:

LEFT JOIN (Master_table)                                          (otherwise use RIGHT/INNER/OUTER JOIN)

LOAD *

FROM ab;

DROP TABLE mytable; --> not necessary as mytable no longer exists after the join

You can join mytable from anywhere in the script - as long as the master table has already been loaded - and you have to define the table to join with in brackets  --> LEFT JOIN (Master_table)

Best regards,

Viktoria

vinieme12
Champion III
Champion III

Hi dynamic_girl

You have been very active on the community but I find it hard to believe there is not one thread that you have received an answer to!

Can you take some time to mark correct / useful response's to your posts for the benefit of other people who may have a similar query?

Read the below thread please.

Qlik Community Tip: Marking Replies as Correct or Helpful

unclosedThreads.PNG

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.