<?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: Inner join multiple tables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251201#M35230</link>
    <description>Hi Kzone,&lt;BR /&gt;I understand that we get 6 rows as a result. But I am trying optimize the result wherein we get the result as 3 rows which I showed in my above my post. Do we have any components or any other way to achieve after the completion of join.&lt;BR /&gt;Thanks,&lt;BR /&gt;Sravan</description>
    <pubDate>Thu, 02 Apr 2015 10:20:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-02T10:20:01Z</dc:date>
    <item>
      <title>Inner join multiple tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251199#M35228</link>
      <description>Hi 
&lt;BR /&gt;I am facing a challenge while joining (Inner) more than 2 tables. 
&lt;BR /&gt;I have 3 tables as below: 
&lt;BR /&gt; 
&lt;B&gt;&lt;U&gt;1. Employee Details&lt;/U&gt;&lt;/B&gt; 
&lt;BR /&gt;________________________________ 
&lt;BR /&gt;|ID |Name |Mobile | 
&lt;BR /&gt;________________________________ 
&lt;BR /&gt;|101 |John &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |1234567890 | 
&lt;BR /&gt;________________________________ 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;B&gt;&lt;U&gt;2. Dependant Details:&lt;/U&gt;&lt;/B&gt; 
&lt;BR /&gt;________________________________ 
&lt;BR /&gt;|ID |Dependant Name |Age | 
&lt;BR /&gt;________________________________ 
&lt;BR /&gt;|101 |Chris &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|21 | 
&lt;BR /&gt;|101 |Mark &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|24 | 
&lt;BR /&gt;________________________________ 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;B&gt;&lt;U&gt;Email address Details:&lt;/U&gt;&lt;/B&gt; 
&lt;BR /&gt;________________________________________ 
&lt;BR /&gt;|ID |Email Type |Email &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;| 
&lt;BR /&gt;________________________________________ 
&lt;BR /&gt;|101 |Primary &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|aaa@Talend.com | 
&lt;BR /&gt;|101 |Secondary &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|bbb@Talend.com &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|101 |Other |ccc@Talend.com &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;________________________________________ 
&lt;BR /&gt; 
&lt;BR /&gt;I need result/output table as below after joining all the above 3 tables: 
&lt;BR /&gt;________________________________________________________________________________________ 
&lt;BR /&gt;|ID |Name |Mobile |Dependant Name |Age |Email Type |Email &amp;nbsp; &amp;nbsp;&amp;nbsp;| 
&lt;BR /&gt;________________________________________________________________________________________ 
&lt;BR /&gt;|101 |John &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|1234567890 |Chris &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |21 |Primary &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|aaa@Talend.com &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|101 |John &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|1234567890 |Mark &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|24 |Secondary &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|bbb@Talend.com &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|101 |John &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|1234567890 |Mark &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;|24 |Other |ccc@Talend.com &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;________________________________________________________________________________________ 
&lt;BR /&gt; 
&lt;BR /&gt;I tried to join 3 tables using 
&lt;B&gt;tMap &lt;/B&gt;component. First table as mail table and other 2 tables as lookup tables. And I used Inner Join for this. But I am getting 6 records instead of 3 records. record count should be the maximum record count of all 3 tables i.e., 3 (record count in Email). We are not sure in which table we get maximum number of records. 
&lt;BR /&gt;Please help me to achieve the above. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Sravan</description>
      <pubDate>Wed, 01 Apr 2015 15:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251199#M35228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T15:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join multiple tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251200#M35229</link>
      <description>hi, 
&lt;BR /&gt;I guess that you're using "id" to join table, but as "dependent details" as 2 rows 're matching "101", and you've got 3 input rows looking for match id = 101 =&amp;gt; 6 row as result. 
&lt;BR /&gt;Which is the rule that tell us how to get "mark" with Secondary, Chris with Primary &amp;amp; Mark (again) with Other. 
&lt;BR /&gt;Miss something in your workflow 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 01 Apr 2015 16:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251200#M35229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-01T16:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join multiple tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251201#M35230</link>
      <description>Hi Kzone,&lt;BR /&gt;I understand that we get 6 rows as a result. But I am trying optimize the result wherein we get the result as 3 rows which I showed in my above my post. Do we have any components or any other way to achieve after the completion of join.&lt;BR /&gt;Thanks,&lt;BR /&gt;Sravan</description>
      <pubDate>Thu, 02 Apr 2015 10:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251201#M35230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-02T10:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join multiple tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251202#M35231</link>
      <description>You can use the tAggregate components to remove duplicates for you. 
&lt;BR /&gt;I am curious, are all of the tables in the same database? If so, why not join in SQL in one of the t{DB}Input components? You can distinct the query (if you can't find more elegant SQL logic to remove the duplicates) and there is little point filtering data like this in Talend when your DB will be quicker. 
&lt;BR /&gt;A rule of thumb that I use is that if the data needs to be filtered and is coming from one database, filter as much as you can before it gets to Talend. Java is relatively slow at data manipulation and filtering by comparison to a DBMS, so you may as well use the tools available to you rather than shoe-horning everything through Talend.</description>
      <pubDate>Thu, 02 Apr 2015 13:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-multiple-tables/m-p/2251202#M35231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-02T13:40:42Z</dc:date>
    </item>
  </channel>
</rss>

