<?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 Re: For Executing Complex SELECT Statement with WHERE and GROUP BY Clause - Direct SQL or Talend is best in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248399#M33266</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQI2AAO"&gt;@KathikVenky&lt;/A&gt;&amp;nbsp;, You can directly use that query in tDBInput and o that the query burden will be on DB side and you can tune that query y adding hints.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 11:48:19 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-09-17T11:48:19Z</dc:date>
    <item>
      <title>For Executing Complex SELECT Statement with WHERE and GROUP BY Clause - Direct SQL or Talend is best</title>
      <link>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248398#M33265</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am quite new to talend and exploring it functionality.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Recently I came across a complex SQL Select statement something like this,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;SELECT COLUMN1, CLOUMN2, CLOUMN3, COUNT(ID) AS EMP_COUNT, AVG(DATEDIFF(YEAR,DOB,GETDATE())) AS AVG_AGE 
FROM TABLE 1
WHERE DOJ &amp;lt;= GETDATE()
AND ISNULL(SEPARATIONDATE, DATE(ADD,D,1,GETDATE()) &amp;gt; GETDATE()
GROUP BY 
COLUMN1, CLOUMN2, CLOUMN3&lt;/PRE&gt; 
&lt;P&gt;When I am trying to replicate this select statement using talend components, tDBInput, tCombinedSQLFilter, tCombinedSQLAggregate, tCombinedSQLOutput, tDBCommit,tDBInput, tLogRow. (PFA Screen Shot for reference)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I feel its quite complicated than writing a SQL statement. So could you please suggest me best approach how we can do this kind of transformations using talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248398#M33265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: For Executing Complex SELECT Statement with WHERE and GROUP BY Clause - Direct SQL or Talend is best</title>
      <link>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248399#M33266</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQI2AAO"&gt;@KathikVenky&lt;/A&gt;&amp;nbsp;, You can directly use that query in tDBInput and o that the query burden will be on DB side and you can tune that query y adding hints.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 11:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248399#M33266</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-09-17T11:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: For Executing Complex SELECT Statement with WHERE and GROUP BY Clause - Direct SQL or Talend is best</title>
      <link>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248400#M33267</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp; Thank you mano.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 06:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248400#M33267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-18T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: For Executing Complex SELECT Statement with WHERE and GROUP BY Clause - Direct SQL or Talend is best</title>
      <link>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248401#M33268</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQI2AAO"&gt;@KathikVenky&lt;/A&gt;&amp;nbsp;,please accept the solution.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 06:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/For-Executing-Complex-SELECT-Statement-with-WHERE-and-GROUP-BY/m-p/2248401#M33268</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-09-18T06:54:20Z</dc:date>
    </item>
  </channel>
</rss>

