Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Rman
Contributor
Contributor

Join et where

Bonjour a tous

J ai deux tables A et B. Je souhaite charger uniquement la table B mais avec une cause where sur champ de la table A. En sql je pourrais le faire en une ligne mais la je ne vois pas comment faire autrement que

1/ charger la table A

2/ Joindre la table B

3/ refaire un load de la table concaténer avec une clause where

 

Merci

Rman

Labels (1)
1 Reply
mansoorsheraz
Creator
Creator

Hi,
You can make use of where exists:

Table1:
Load Id as TABLE_1_ID
from .....

Table2:
Load Id,
Field1,
Field2,
Field3
from...
where exists ("TABLE_1_ID", "Id")

Hope this helps.