<?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: Join by SQL Statement in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350954#M117709</link>
    <description>Hello...
&lt;BR /&gt;I have put a query in tMySqlInput component and direct this component to tMap.
&lt;BR /&gt;but in tMap, the result from my query is not there but the standard columns from the table.
&lt;BR /&gt;My table has Year, Week, Month, Start Date, End Date columns
&lt;BR /&gt;and my query returns the concated value of YearWeek-Start DateEnd Date as period.
&lt;BR /&gt;However, in tMap, I'm only seeing the columns but not my returned value.
&lt;BR /&gt;I've tried with tMySqlRow too.
&lt;BR /&gt;I need this period variable to validate the data from another table which I need to join.
&lt;BR /&gt;Any Suggestion????
&lt;BR /&gt;Thank you.
&lt;BR /&gt;Kyaw Lwin Phyo</description>
    <pubDate>Tue, 20 Sep 2011 09:14:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-09-20T09:14:12Z</dc:date>
    <item>
      <title>Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350949#M117704</link>
      <description>Hi,
&lt;BR /&gt;I want to join 2 tables and filter the data according to some rules.
&lt;BR /&gt;I already have the sql statement for this operation from my colleague.
&lt;BR /&gt;So, is there anyway I can directly use this sql statement to join and filter the data from these 2 tables?
&lt;BR /&gt;or do I have to use tMap to put in the conditions?
&lt;BR /&gt;Please reply ASAP..
&lt;BR /&gt;Thank You.
&lt;BR /&gt;Kyaw Lwin Phyo</description>
      <pubDate>Sat, 16 Nov 2024 12:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350949#M117704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350950#M117705</link>
      <description>Hi
&lt;BR /&gt;You can use txxxRow such as tMysqlRow the execute the sql statement if the sql statement have already achieved the request join two table and filter data. Or use a tMap to do the join and add filter condition to filter the data.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 19 Sep 2011 04:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350950#M117705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-19T04:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350951#M117706</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thanks for the fast response... 
&lt;BR /&gt;What kinda txxxRow should I use? 
&lt;BR /&gt;My input is from oracle and output is to MySQL. 
&lt;BR /&gt;Thanks again... 
&lt;BR /&gt;Kyaw Lwin Phyo</description>
      <pubDate>Mon, 19 Sep 2011 04:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350951#M117706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-19T04:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350952#M117707</link>
      <description>Hi
&lt;BR /&gt;Please use tMap component and create the general job if the input and output tables are in different database type. 
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 19 Sep 2011 04:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350952#M117707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-19T04:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350953#M117708</link>
      <description>You can put any select statement you want in your input component (join, group by, where, order by, nested) as long as the schema you define is consistent with the result of the query.</description>
      <pubDate>Mon, 19 Sep 2011 12:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350953#M117708</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-09-19T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350954#M117709</link>
      <description>Hello...
&lt;BR /&gt;I have put a query in tMySqlInput component and direct this component to tMap.
&lt;BR /&gt;but in tMap, the result from my query is not there but the standard columns from the table.
&lt;BR /&gt;My table has Year, Week, Month, Start Date, End Date columns
&lt;BR /&gt;and my query returns the concated value of YearWeek-Start DateEnd Date as period.
&lt;BR /&gt;However, in tMap, I'm only seeing the columns but not my returned value.
&lt;BR /&gt;I've tried with tMySqlRow too.
&lt;BR /&gt;I need this period variable to validate the data from another table which I need to join.
&lt;BR /&gt;Any Suggestion????
&lt;BR /&gt;Thank you.
&lt;BR /&gt;Kyaw Lwin Phyo</description>
      <pubDate>Tue, 20 Sep 2011 09:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350954#M117709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-20T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350955#M117710</link>
      <description>Hi
&lt;BR /&gt;Please upload some screenshots of job or show us an example to explain your request, so that we could help you further.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 20 Sep 2011 09:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350955#M117710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-20T09:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350956#M117711</link>
      <description>Put up a screenshot of your job and the tMySqlInput settings, particularly the query and schema</description>
      <pubDate>Tue, 20 Sep 2011 09:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350956#M117711</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-09-20T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350957#M117712</link>
      <description>Did you do a guess schema for your query?</description>
      <pubDate>Tue, 20 Sep 2011 09:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350957#M117712</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-09-20T09:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350958#M117713</link>
      <description>I have uploaded the screenshots 
&lt;BR /&gt;First one is how I'm trying to do. 
&lt;BR /&gt;I have one table that has data and another weeks table which has the dates 
&lt;BR /&gt;I have to filter the data from first table with the dates from weeks table. 
&lt;BR /&gt;Second one is my query. 
&lt;BR /&gt;In fact the full query is like 
&lt;BR /&gt;getting the period value below to check the local_date of the table. 
&lt;BR /&gt;"SELECT concat(w.year, w.week, date_format(w.`Start Date`, '%d-%b-%Y'), date_format(w.`End Date`, '%d-%b-%Y')) period 
&lt;BR /&gt; FROM calendar.weeks w 
&lt;BR /&gt; WHERE date_sub(curdate(), interval 7 day) &amp;gt;= w.`Start Date` 
&lt;BR /&gt; AND date_sub(curdate(), interval 7 day) &amp;lt;= w.`End Date`; =&amp;gt; period = 20113604-Sep-201110-Sep-2011" 
&lt;BR /&gt;Third one is how I'm getting in tMap. 
&lt;BR /&gt;Thank You..... 
&lt;BR /&gt;(if images are not available please also tell me how to upload images.. 
&lt;BR /&gt;I've tried from the link 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCsvfCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/how-to-upload-an-image/td-p/60550&lt;/A&gt;)</description>
      <pubDate>Tue, 20 Sep 2011 10:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350958#M117713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-20T10:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350959#M117714</link>
      <description>As you say, your SQL is returning a single column only (the concated value of YearWeek-Start DateEnd Date) but the schema for the component has the standard columns from the table. Change the schema to match the results of the query. That is why there is a warning icon against the component.</description>
      <pubDate>Wed, 21 Sep 2011 13:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350959#M117714</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-09-21T13:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350960#M117715</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi,&lt;BR /&gt;I want to join 2 tables and filter the data according to some rules.&lt;BR /&gt;I already have the sql statement for this operation from my colleague.&lt;BR /&gt;So, is there anyway I can directly use this sql statement to join and filter the data from these 2 tables?&lt;BR /&gt;or do I have to use tMap to put in the conditions?&lt;BR /&gt;Please reply ASAP..&lt;BR /&gt;Thank You.&lt;BR /&gt;Kyaw Lwin Phyo&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;SQL application is also prone to corruption like an other application. It may get corrupted or damaged due to various reasons. SQL become damaged due to virus attck, power failure or due to improper shut down. When SQL database become corrupted it becomes impossible for SQL user to make join statement. It needs 
&lt;A href="http://www.mysqlrepair.org" target="_blank" rel="nofollow noopener noreferrer"&gt;My SQL repair&lt;/A&gt;</description>
      <pubDate>Thu, 09 Feb 2012 10:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350960#M117715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-09T10:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join by SQL Statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350961#M117716</link>
      <description>You need to edit the schema from your query to reflect what is being returned. It looks as though you just have a default table schema defined.</description>
      <pubDate>Thu, 09 Feb 2012 11:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-by-SQL-Statement/m-p/2350961#M117716</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-02-09T11:01:04Z</dc:date>
    </item>
  </channel>
</rss>

