<?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 Simple Inner Join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199657#M58494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter...&lt;/P&gt;&lt;P&gt;What about "SQL SELECT" ?&lt;/P&gt;&lt;P&gt;I always use LOAD and SQL SELECT together....&lt;/P&gt;&lt;P&gt;LOAD ....,&lt;BR /&gt;.....,&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM .....&lt;/P&gt;&lt;P&gt;and also, instead of using RESIDENT.&lt;/P&gt;&lt;P&gt;I did someting like...&lt;/P&gt;&lt;P&gt;LOAD ctry_code, ctry_desc, zone_code, zone_desc;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;from country inner join zone on country.ctry_code = zone.ctry_code;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jan 2010 15:19:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-04T15:19:14Z</dc:date>
    <item>
      <title>Simple Inner Join</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199655#M58492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Says i have the following 2 tables, to describe which zone a country belongs to...&lt;/P&gt;&lt;P&gt;Country&lt;BR /&gt;Ctry_Code, Ctry_Desc&lt;/P&gt;&lt;P&gt;Zone&lt;BR /&gt;Zone_Code, Zone_Desc, Ctry_Code&lt;/P&gt;&lt;P&gt;How can i write a simple inner join to for this 2 tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 14:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199655#M58492</guid>
      <dc:creator />
      <dc:date>2010-01-04T14:43:16Z</dc:date>
    </item>
    <item>
      <title>Simple Inner Join</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199656#M58493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV links the tables automatically by associating the same fieldnames, thus you only need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Country: LOAD * FROM YourCountry; Zone: LOAD * RESIDENT YourZone;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you are really up to an inner join, you need to specify this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Country: LOAD * FROM YourCountry; INNER JOIN (Country) LOAD * RESIDENT YourZone;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The (Country) is not really necessary, but I prefer to make a proper reference.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 15:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199656#M58493</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-01-04T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Simple Inner Join</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199657#M58494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter...&lt;/P&gt;&lt;P&gt;What about "SQL SELECT" ?&lt;/P&gt;&lt;P&gt;I always use LOAD and SQL SELECT together....&lt;/P&gt;&lt;P&gt;LOAD ....,&lt;BR /&gt;.....,&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM .....&lt;/P&gt;&lt;P&gt;and also, instead of using RESIDENT.&lt;/P&gt;&lt;P&gt;I did someting like...&lt;/P&gt;&lt;P&gt;LOAD ctry_code, ctry_desc, zone_code, zone_desc;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;from country inner join zone on country.ctry_code = zone.ctry_code;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 15:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199657#M58494</guid>
      <dc:creator />
      <dc:date>2010-01-04T15:19:14Z</dc:date>
    </item>
    <item>
      <title>Simple Inner Join</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199658#M58495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are just indicators, what kind of file it is. When you load straight from SQL-database, the syntax will be LOAD * SQL SELECT ...., if the table is already loaded in memory: LOAD ... RESIDENT ..., if from internal table: LOAD ... INLINE, if from qvd etc.&lt;/P&gt;&lt;P&gt;When the tables are in the same database, you may create your JOINS directly in SQL. This is mainly a question of the load on the production-server and your philosophy on datawarehouse (we try to download each table from SQL separately and then make most of the JOINs in the applications).&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 16:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Inner-Join/m-p/199658#M58495</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-01-04T16:43:30Z</dc:date>
    </item>
  </channel>
</rss>

