Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Use of tMap with a "not in" SQL clause

Hi
Can you advise on how the following sql can be performed in tMap
select FieldA from TableB where FieldA not in (select FieldA from TableB)
At the moment I have a tSybaseInput for TableA and a tFileInputDelimited for TableB.
Cheers
Labels (2)
2 Replies
amaumont
Contributor III
Contributor III

Where is your TableA in your query ?
if TableA is such as :
select FieldA from TableA where FieldA not in (select FieldA from TableB)
Use a tMap and set your TableA as main table of the tMap (the first), and set your TableB as lookup (the second).
Then set check INNER JOIN on lookup and check filter INNER JOIN in your output.
Then connect your TableA.FieldA to your TableB.FieldA.
To see more about the tMap, read the documentation.
It should work like that.
Anonymous
Not applicable
Author

Cheers Sorted.