<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Transformation Stroing 2 SQL query result set and using that in different SQL query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Transformation-Stroing-2-SQL-query-result-set-and-using-that-in/m-p/2297240#M69831</link>
    <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;I have 2 different SQL queries in which the 1st query result (HireDate) will be used in 2nd query to get the MaximumDate and the results from the 1st and 2nd query will be used in the 3rd SQL query to filter the data.&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;1st Query: HIRE_DATE = (SELECT NVL(RECENT_HIRE_DATE, SYSDATE - 1) FROM EMPLOYEES WHERE DEP_ID = 'D000001';&lt;/P&gt;&lt;P&gt;2nd Query: MAXIMUM_DATE = SELECT TRUNC(HIRE_DATE + 1) FROM DUAL.&lt;/P&gt;&lt;P&gt;3rd Query: SELECT * FROM EMPLOYEES&lt;/P&gt;&lt;P&gt;WHERE HDATE &amp;gt;= HIRE_DATE AND HDATE &amp;lt; MAXIMUM_DATE;&lt;/P&gt;&lt;P&gt;So my question is how to pass the Query1 result into Query2 and finally Query1 &amp;amp; Query2 results into Query3? Please could anyone help me on designing the job!&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Krishu&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 07:48:09 GMT</pubDate>
    <dc:creator>krishu</dc:creator>
    <dc:date>2020-10-05T07:48:09Z</dc:date>
    <item>
      <title>Transformation Stroing 2 SQL query result set and using that in different SQL query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transformation-Stroing-2-SQL-query-result-set-and-using-that-in/m-p/2297240#M69831</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;I have 2 different SQL queries in which the 1st query result (HireDate) will be used in 2nd query to get the MaximumDate and the results from the 1st and 2nd query will be used in the 3rd SQL query to filter the data.&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;1st Query: HIRE_DATE = (SELECT NVL(RECENT_HIRE_DATE, SYSDATE - 1) FROM EMPLOYEES WHERE DEP_ID = 'D000001';&lt;/P&gt;&lt;P&gt;2nd Query: MAXIMUM_DATE = SELECT TRUNC(HIRE_DATE + 1) FROM DUAL.&lt;/P&gt;&lt;P&gt;3rd Query: SELECT * FROM EMPLOYEES&lt;/P&gt;&lt;P&gt;WHERE HDATE &amp;gt;= HIRE_DATE AND HDATE &amp;lt; MAXIMUM_DATE;&lt;/P&gt;&lt;P&gt;So my question is how to pass the Query1 result into Query2 and finally Query1 &amp;amp; Query2 results into Query3? Please could anyone help me on designing the job!&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Krishu&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 07:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transformation-Stroing-2-SQL-query-result-set-and-using-that-in/m-p/2297240#M69831</guid>
      <dc:creator>krishu</dc:creator>
      <dc:date>2020-10-05T07:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transformation Stroing 2 SQL query result set and using that in different SQL query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Transformation-Stroing-2-SQL-query-result-set-and-using-that-in/m-p/2297241#M69832</link>
      <description>&lt;P&gt;@sai kris​&amp;nbsp;, this is one-way you need to load the results into context and you need to use those. Check the below link to set context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;otherway you can try to use tflowtoiterate component to do the way aslo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/reader/U5lNkhUnaW6RdpL8qxP61w/d0QVvShdlGcIqowdsla3lw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 08:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Transformation-Stroing-2-SQL-query-result-set-and-using-that-in/m-p/2297241#M69832</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-10-05T08:45:32Z</dc:date>
    </item>
  </channel>
</rss>

