<?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: compare and migrate two postgresql tables of two different DB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241501#M28633</link>
    <description>Hi Sabrina, thank you for help !&amp;nbsp; 
&lt;BR /&gt;I tried your example but that wasn't the expected result , there where only 3 rows are migrated, I simplified the problem but actually this is the real situation :&amp;nbsp; 
&lt;BR /&gt;the table T3('groups_users') &amp;nbsp;contains the ids of the groups and the users wich is a many2many relation between 2 tables 'groups' and 'users', The table users is the same in the 2 DB this is not the case for the table 'groups'&amp;nbsp; 
&lt;BR /&gt;in the table groups we have the columns 'id', 'name' &amp;nbsp;and 'category_id', there are some similar names but for different &amp;nbsp;'category_id' like this example : 
&lt;BR /&gt;id | &amp;nbsp; name &amp;nbsp; &amp;nbsp;| category_id&amp;nbsp; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;1 &amp;nbsp;| &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;6&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;2 &amp;nbsp;| &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;224&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;3 &amp;nbsp;| B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 56&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;the column category_id &amp;nbsp;contains the ids of another table 'model_category' in this table we find many columns too like id, name .. (same names in the 2 DB)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;what I aim do is to&amp;nbsp;&lt;/FONT&gt;find the id of the group in the other DB to 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;migrate the table&amp;nbsp;&lt;/FONT&gt;T3('groups_users')&amp;nbsp; &amp;nbsp;: 
&lt;BR /&gt;we have the same names of the 'model_category' in the 2DB &amp;nbsp;but with different id same case tof the table 'groups ' so&amp;nbsp; 
&lt;BR /&gt;if &amp;nbsp;DB1.model_category.name = DB2.model_category.name then : 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if DB1.group.name= DB2.group.name (for the same category_model)&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;then migrate T3 
&lt;BR /&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;PS: T3 doesn't contain a primary key, I defined it 
&lt;BR /&gt;This screenshots contain the test that I did. Please take a look on that and help me to resolve it. 
&lt;BR /&gt;Best regards,&amp;nbsp; 
&lt;BR /&gt;Amna&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/1.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/1.png" /&gt;&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/2.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/2.png" /&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/3.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/3.png" /&gt; &lt;/A&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/4.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/4.png" /&gt;&lt;/A&gt;</description>
    <pubDate>Thu, 01 Jan 2015 18:08:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-01T18:08:36Z</dc:date>
    <item>
      <title>compare and migrate two postgresql tables of two different DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241499#M28631</link>
      <description>Hi all,&amp;nbsp;
&lt;BR /&gt;I'm new in Talend and I want to compare 2 columns in 2 different databases then migrate 2 tables. This is an example of what I aim do:
&lt;BR /&gt;- In 
&lt;B&gt;&lt;FONT color="#ff3333"&gt;BD1&lt;/FONT&gt; &lt;/B&gt;I have table
&lt;FONT color="#ff3333"&gt; &lt;B&gt;T1&lt;/B&gt;&lt;/FONT&gt; wich contains many columns like : id | name
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff3333"&gt;1&lt;/FONT&gt; | &amp;nbsp;
&lt;FONT color="#336699"&gt;A&lt;/FONT&gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff3333"&gt;2&lt;/FONT&gt; | &amp;nbsp;
&lt;FONT color="#336699"&gt;B&lt;/FONT&gt;
&lt;BR /&gt;And&amp;nbsp;
&lt;B&gt;&lt;FONT color="#ff3333"&gt;T2&amp;nbsp;&lt;/FONT&gt;&lt;/B&gt;wich contains &amp;nbsp;only 2 columns the ids of 
&lt;B&gt;&lt;FONT color="#ff3333"&gt;T1&lt;/FONT&gt;&lt;/B&gt; and the ids of another table like this : &amp;nbsp; &amp;nbsp; id1 | id2
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff3333"&gt;1&lt;/FONT&gt; &amp;nbsp; | &amp;nbsp;11
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff3333"&gt;2&lt;/FONT&gt; &amp;nbsp; | &amp;nbsp;12
&lt;BR /&gt;- In
&lt;B&gt;&lt;FONT color="#336633"&gt; DB2&lt;/FONT&gt;&lt;/B&gt; I have a table 
&lt;FONT color="#336633"&gt;&lt;B&gt;T3&lt;/B&gt;&lt;/FONT&gt; wich is similar to 
&lt;B&gt;&lt;FONT color="#ff3333"&gt;T1&lt;/FONT&gt;&lt;/B&gt;&amp;nbsp; with the same names but with different ids : &amp;nbsp;id | name
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;FONT color="#336633"&gt;20&lt;/FONT&gt; | &amp;nbsp;
&lt;FONT color="#336699"&gt;A&lt;/FONT&gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;FONT color="#336633"&gt;21&lt;/FONT&gt; | &amp;nbsp;
&lt;FONT color="#3366cc"&gt;B&lt;/FONT&gt;
&lt;BR /&gt;and&amp;nbsp;
&lt;FONT color="#336633"&gt;&lt;B&gt;T4&lt;/B&gt;&lt;/FONT&gt; similar to 
&lt;B&gt;&lt;FONT color="#ff3333"&gt;T2&lt;/FONT&gt;&lt;/B&gt; but empty .
&lt;BR /&gt;1. Frist I have to compare the column name of 
&lt;B&gt;&lt;FONT color="#ff3333"&gt;T1&lt;/FONT&gt;&lt;/B&gt; and 
&lt;B&gt;&lt;FONT color="#336633"&gt;T3&lt;/FONT&gt;&lt;/B&gt; (if T1.name = T2.name) &amp;nbsp;then&amp;nbsp;
&lt;BR /&gt;2. migrate 
&lt;B&gt;&lt;FONT color="#336633"&gt;T4&lt;/FONT&gt;&lt;/B&gt; wich must be like this : id1 | id2
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#336633"&gt;20 &lt;/FONT&gt;| &amp;nbsp;11
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#336633"&gt;21&lt;/FONT&gt; | &amp;nbsp;12
&lt;BR /&gt;Is there a way in Talend Open Studio &amp;nbsp;to do that ! Help me please.
&lt;BR /&gt;Thank you,
&lt;BR /&gt;Emna</description>
      <pubDate>Tue, 30 Dec 2014 21:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241499#M28631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-30T21:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: compare and migrate two postgresql tables of two different DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241500#M28632</link>
      <description>Hi, 
&lt;BR /&gt;If I understand your requirment very well,&amp;nbsp; you can use 
&lt;A href="https://help.talend.com/search/all?query=tMap&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tMap&lt;/A&gt; to achieve your goal. 
&lt;BR /&gt;To make it clear, I have designed a demo job. Hope it will be helpful for you. 
&lt;BR /&gt;Please see my screenshots 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7eo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136139i2BE6438E45390797/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7eo.png" alt="0683p000009M7eo.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCCk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138471i7D55DA52E6341E07/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCCk.png" alt="0683p000009MCCk.png" /&gt;&lt;/span&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/55433/3.png_20141231-0454.png" /&gt;</description>
      <pubDate>Wed, 31 Dec 2014 03:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241500#M28632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-31T03:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: compare and migrate two postgresql tables of two different DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241501#M28633</link>
      <description>Hi Sabrina, thank you for help !&amp;nbsp; 
&lt;BR /&gt;I tried your example but that wasn't the expected result , there where only 3 rows are migrated, I simplified the problem but actually this is the real situation :&amp;nbsp; 
&lt;BR /&gt;the table T3('groups_users') &amp;nbsp;contains the ids of the groups and the users wich is a many2many relation between 2 tables 'groups' and 'users', The table users is the same in the 2 DB this is not the case for the table 'groups'&amp;nbsp; 
&lt;BR /&gt;in the table groups we have the columns 'id', 'name' &amp;nbsp;and 'category_id', there are some similar names but for different &amp;nbsp;'category_id' like this example : 
&lt;BR /&gt;id | &amp;nbsp; name &amp;nbsp; &amp;nbsp;| category_id&amp;nbsp; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;1 &amp;nbsp;| &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;6&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;2 &amp;nbsp;| &amp;nbsp;A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;224&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;3 &amp;nbsp;| B &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 56&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;the column category_id &amp;nbsp;contains the ids of another table 'model_category' in this table we find many columns too like id, name .. (same names in the 2 DB)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;what I aim do is to&amp;nbsp;&lt;/FONT&gt;find the id of the group in the other DB to 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;migrate the table&amp;nbsp;&lt;/FONT&gt;T3('groups_users')&amp;nbsp; &amp;nbsp;: 
&lt;BR /&gt;we have the same names of the 'model_category' in the 2DB &amp;nbsp;but with different id same case tof the table 'groups ' so&amp;nbsp; 
&lt;BR /&gt;if &amp;nbsp;DB1.model_category.name = DB2.model_category.name then : 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if DB1.group.name= DB2.group.name (for the same category_model)&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;then migrate T3 
&lt;BR /&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
&lt;BR /&gt;PS: T3 doesn't contain a primary key, I defined it 
&lt;BR /&gt;This screenshots contain the test that I did. Please take a look on that and help me to resolve it. 
&lt;BR /&gt;Best regards,&amp;nbsp; 
&lt;BR /&gt;Amna&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/1.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/1.png" /&gt;&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/2.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/2.png" /&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/3.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/3.png" /&gt; &lt;/A&gt;&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/243476/4.png" target="_blank"&gt;&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/243476/4.png" /&gt;&lt;/A&gt;</description>
      <pubDate>Thu, 01 Jan 2015 18:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/compare-and-migrate-two-postgresql-tables-of-two-different-DB/m-p/2241501#M28633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-01T18:08:36Z</dc:date>
    </item>
  </channel>
</rss>

