Hello,
I have an input query (InputQuery1) of one of my tables -
SELECT * FROM "database"."hsi"."keygroupdata105" where kg203 is not null
InputQuery1 returns 100k rows of data with a unique field of itemnum.
I would like to use this subset of data to import data from another table which has 100 million+ rows.
SELECT * FROM "database"."hsi"."itemdata"
I only want to bring in the data from itemdata where it matches from the first query. I get this with a join but it still queries the full dataset before the join.
How do I limit the amount of data in my initial request from "itemdata" to only be that which matches data from my first?
I think I need an inner join of my first dataset vs second dataset but I do not see a way to explicitly say DO NOT give me any non-matching data.
But that still fills the first table before the join. I need to somehow tell the input data to take the results from my first query and then look for the rest of the data.
Trying Dynamic input tool to the right of my output from the first table using itemnum as the first for read list of data sources.
I get the following error -
Error: Dynamic Input (8): Error opening "SELECT * FROM "91761173"": No Columns Returned.
Thank you,
ArmyGroo
Try this:
Input Data Tool for “keygroupdata105”:
Input Data Tool for “itemdata”:
Join Tool:
I hope this helps!
User | Count |
---|---|
109 | |
89 | |
77 | |
54 | |
40 |