<?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: Problem Inner and Outer join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580331#M598334</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You do not have any primary key field between these two tables that's why it is throwing wrong output.&lt;BR /&gt;You should have a common field to connect two tables.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;IN_TAB:&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SELECT&lt;BR /&gt;Transaction_Type,&lt;BR /&gt;Transaction_Version,&lt;BR /&gt;Company,&lt;BR /&gt;Unit,&lt;/P&gt;&lt;P&gt;Date&lt;BR /&gt;FROM&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;MYODBC&lt;/EM&gt;&lt;BR /&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;&lt;BR /&gt;INNER JOIN&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;BR /&gt;Fiscal_Year,&lt;BR /&gt;Journal_Description,&lt;BR /&gt;Reference_Field1,&lt;BR /&gt;Reference_Field2,&lt;BR /&gt;FII9CD AS Reference_Field4&lt;BR /&gt;FROM&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;MYODBC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;SPAN&gt;Sultan&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2019 10:49:09 GMT</pubDate>
    <dc:creator>sultanam</dc:creator>
    <dc:date>2019-05-15T10:49:09Z</dc:date>
    <item>
      <title>Problem Inner and Outer join</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580305#M598333</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I meet an issue with the inner and outer join.&lt;/P&gt;&lt;P&gt;Indeed, I find the same result ans I don't understand why?&lt;/P&gt;&lt;P&gt;Below my script:&lt;/P&gt;&lt;P&gt;IN_TAB:&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt; SELECT&lt;BR /&gt;Transaction_Type,&lt;BR /&gt;Transaction_Version,&lt;BR /&gt;Company,&lt;BR /&gt;Unit,&lt;/P&gt;&lt;P&gt;Date&lt;BR /&gt;FROM &lt;EM&gt;MYODBC&lt;/EM&gt;&lt;BR /&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;INNER JOIN&lt;BR /&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;BR /&gt;Fiscal_Year,&lt;BR /&gt;Journal_Description,&lt;BR /&gt;Reference_Field1,&lt;BR /&gt;Reference_Field2,&lt;BR /&gt;FII9CD AS Reference_Field4&lt;BR /&gt;FROM &lt;EM&gt;MYODBC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;&lt;BR /&gt;OUT_TAB:&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt; SELECT&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt; SELECT&lt;BR /&gt;Transaction_Type,&lt;BR /&gt;Transaction_Version,&lt;BR /&gt;Company,&lt;BR /&gt;Unit,&lt;/P&gt;&lt;P&gt;Date&lt;BR /&gt;FROM &lt;EM&gt;MYODBC&lt;/EM&gt;&lt;BR /&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;OUTER JOIN&lt;BR /&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;BR /&gt;Fiscal_Year,&lt;BR /&gt;Journal_Description,&lt;BR /&gt;Reference_Field1,&lt;BR /&gt;Reference_Field2,&lt;BR /&gt;FII9CD AS Reference_Field4&lt;BR /&gt;FROM &lt;EM&gt;MYODBC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;STRONG&gt;Please could you help me to identify what&amp;nbsp; is wrong in my script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580305#M598333</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2024-11-16T20:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Inner and Outer join</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580331#M598334</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You do not have any primary key field between these two tables that's why it is throwing wrong output.&lt;BR /&gt;You should have a common field to connect two tables.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;IN_TAB:&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SELECT&lt;BR /&gt;Transaction_Type,&lt;BR /&gt;Transaction_Version,&lt;BR /&gt;Company,&lt;BR /&gt;Unit,&lt;/P&gt;&lt;P&gt;Date&lt;BR /&gt;FROM&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;MYODBC&lt;/EM&gt;&lt;BR /&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;&lt;BR /&gt;INNER JOIN&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;BR /&gt;Fiscal_Year,&lt;BR /&gt;Journal_Description,&lt;BR /&gt;Reference_Field1,&lt;BR /&gt;Reference_Field2,&lt;BR /&gt;FII9CD AS Reference_Field4&lt;BR /&gt;FROM&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;MYODBC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WHERE Date&amp;gt;= '20190101';&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;SPAN&gt;Sultan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 10:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580331#M598334</guid>
      <dc:creator>sultanam</dc:creator>
      <dc:date>2019-05-15T10:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Inner and Outer join</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580353#M598335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/26495"&gt;@sultanam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I have the field Company as key in the two tables (and also as Key I have the field Date).&lt;/P&gt;&lt;P&gt;I add the field Company in my second table and I run again my script. But the result is still not correct.&lt;/P&gt;&lt;P&gt;Do you think that my problem is due to the type of my data source because I use an ODBC connection ?&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 11:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580353#M598335</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-05-15T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Inner and Outer join</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580645#M598336</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am not able to see you mentioned Company field present in your second table ( After inner join).&lt;BR /&gt;&lt;BR /&gt;Could you please write you two tables here with inner join only.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 18:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580645#M598336</guid>
      <dc:creator>sultanam</dc:creator>
      <dc:date>2019-05-15T18:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Inner and Outer join</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580873#M598337</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/26495"&gt;@sultanam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;Below, I wrote my script with the inner join:&lt;/P&gt;&lt;P&gt;IN_TAB:&lt;BR /&gt;&lt;STRONG&gt;SQL&lt;/STRONG&gt;&amp;nbsp;SELECT&lt;BR /&gt;Transaction_Type,&lt;BR /&gt;Transaction_Version,&lt;BR /&gt;Company,&lt;BR /&gt;Unit,&lt;/P&gt;&lt;P&gt;Date&lt;BR /&gt;FROM&amp;nbsp;&lt;EM&gt;MYODBC&lt;/EM&gt;&lt;BR /&gt;WHERE Date&amp;gt;= '20190101';&lt;/P&gt;&lt;P&gt;INNER JOIN&lt;BR /&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;BR /&gt;Fiscal_Year,&lt;BR /&gt;Journal_Description,&lt;/P&gt;&lt;P&gt;Company,&lt;/P&gt;&lt;P&gt;Date,&lt;BR /&gt;Reference_Field1,&lt;BR /&gt;Reference_Field2,&lt;BR /&gt;Reference_Field4&lt;BR /&gt;FROM&amp;nbsp;&lt;EM&gt;MYODBC&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WHERE Date&amp;gt;= '20190101';&lt;/P&gt;&lt;P&gt;Event, if I have clearly a common key between my two tables, my inner join does not work. I can confirm it when I try the script with the outer join. I find the same result as the script with the inner join.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Please could you help me to resolve this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 08:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1580873#M598337</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-05-16T08:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Inner and Outer join</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1581006#M598338</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Could you please attach sample data, it will be easy for me to answer.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Inner-and-Outer-join/m-p/1581006#M598338</guid>
      <dc:creator>sultanam</dc:creator>
      <dc:date>2019-05-16T11:34:32Z</dc:date>
    </item>
  </channel>
</rss>

