<?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: An issue with joining tabels. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455773#M170151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some one please provide me the syntax for inner join in the below scenario? There are tables from two different databases. I only want to get the release_number from t_release table for the specified title_id in the first table and I am not sure where to add the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPISODES:&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;SELECT title_id,title_name,amt, episode_no from t_itle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELEASENUMBER:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;SELECT titile_id,release_number rom t_release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store EPISODES &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\episodes.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store RELEASENUMBER:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\release.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2012 14:47:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-26T14:47:44Z</dc:date>
    <item>
      <title>An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455767#M170145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For one of the Episodes of Sienfield&lt;/P&gt;&lt;P&gt;First table has this info&lt;/P&gt;&lt;P&gt;Title Name, Episode Number, Title ID, Actor Info, Amt. owed to Distributor, Length of the Show etc.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second table has the following info&lt;/P&gt;&lt;P&gt;Title ID, Release Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to join these tables to get the Release Number from the second table. &lt;/P&gt;&lt;P&gt;Why is it listing all the rows from the second table even though the join automatically happens on the TItle ID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 data&lt;/P&gt;&lt;P&gt;Sienfield 1, 1 100,xxxx,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 2, 2 100,tyty,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 3, 3 100,hggh,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 4, 4 100,xxxxx,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 5, 5 100,xxxx,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 6, 6 100,xxxx,1000, 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100, 1999&lt;/P&gt;&lt;P&gt;101, 2000&lt;/P&gt;&lt;P&gt;102,2012&lt;/P&gt;&lt;P&gt;103,2003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I join on TItle ID, I am expecting the release year to come as 1999. But it is displaying all the release years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I am coding this. I thought the join would happen autoamatically on the titleid and 1 row will be returned for the releaseyear of title 100. Can some one help me what the problem is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title: &lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"TITLE_ID"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;titleid,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; titlename,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;amt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT "titleid","titlename",amt&lt;BR /&gt;FROM&amp;nbsp; "T_TITLE_info"; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;releaseyear:&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"RELEASE_YEAR"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;releaseyear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"TITLE_ID"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;titleid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT "RELEASE_YEAR",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TITLE_ID"&lt;BR /&gt;&lt;BR /&gt;FROM&amp;nbsp; "T_TITLE"; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 20:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455767#M170145</guid>
      <dc:creator />
      <dc:date>2012-10-25T20:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455768#M170146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Use &lt;STRONG&gt;left join. For example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TitleName, EpisodeNumber, TitleID, ActorInfo, Amt.owedtoDistributor, Length&lt;/P&gt;&lt;P&gt;Sienfield 1, 1, 100,xxxx,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 2, 2, 100,tyty,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 3, 3, 100,hggh,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 4, 4, 100,xxxxx,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 5, 5, 100,xxxx,1000, 30&lt;/P&gt;&lt;P&gt;Sienfield 6, 6, 100,xxxx,1000, 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Left join&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TitleID,Year&lt;/P&gt;&lt;P&gt;100, 1999&lt;/P&gt;&lt;P&gt;101, 2000&lt;/P&gt;&lt;P&gt;102,2012&lt;/P&gt;&lt;P&gt;103,2003&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this Year gives 1999 alone..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;R.MayilVahanan&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 21:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455768#M170146</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-25T21:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455769#M170147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean you don't want to load the Non existing Title ID's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;title:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;"TITLE_ID"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;titleid,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; titlename,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;amt&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT "titleid","titlename",amt&lt;BR /&gt;FROM&amp;nbsp; "T_TITLE_info";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;releaseyear:&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;"RELEASE_YEAR"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;releaseyear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;"TITLE_ID"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;titleid Where Exists(titleid,TITLE_ID)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; color: #0000ff;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT "RELEASE_YEAR",&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "TITLE_ID"&lt;BR /&gt;&lt;BR /&gt;FROM&amp;nbsp; "T_TITLE";&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 22:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455769#M170147</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-10-25T22:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455770#M170148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The join does not "automatically happen" as you say. &lt;/P&gt;&lt;P&gt;Your tables are being joined by the field Title ID, not by inner join but by outer join, so QV is displaying all the release years, even not related to any record in the model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to make an INNER join, you need to do it explicitly into your script.&lt;/P&gt;&lt;P&gt;Let be EPISODES the name of the first table you load, then you need to state INNER JOIN (EPISODES) before the load of the related release years in your script: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPISODES:&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;.......;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (EPISODES)&lt;/P&gt;&lt;P&gt;LOAD .......&lt;/P&gt;&lt;P&gt;.........;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Greetings, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J.L.Dengra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 07:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455770#M170148</guid>
      <dc:creator>jldengra</dc:creator>
      <dc:date>2012-10-26T07:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455771#M170149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dengra, Thanks for your response.&lt;/P&gt;&lt;P&gt;I have my code in qvw as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPISODES:&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;SELECT title_id,title_name,amt, episode_no from t_itle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELEASENUMBER:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;SELECT titile_id,release_number rom t_release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store EPISODES &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\episodes.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store RELEASENUMBER:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\release.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I am confused as to where I can add the join. When I add it before the load under ReleaseNumber, I am getting an error. Can you please guide me through that? Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 13:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455771#M170149</guid>
      <dc:creator />
      <dc:date>2012-10-26T13:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455772#M170150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPISODES:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SELECT title_id,title_name,amt, episode_no from t_itle&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join(EPISODES)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // else &lt;STRONG&gt;Left Join()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SELECT titile_id,release_number from t_release;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store EPISODES &lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\episodes.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store RELEASENUMBER:&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\release.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope that helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 14:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455772#M170150</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-26T14:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455773#M170151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some one please provide me the syntax for inner join in the below scenario? There are tables from two different databases. I only want to get the release_number from t_release table for the specified title_id in the first table and I am not sure where to add the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPISODES:&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;SELECT title_id,title_name,amt, episode_no from t_itle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELEASENUMBER:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;SELECT titile_id,release_number rom t_release&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store EPISODES &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\episodes.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store RELEASENUMBER:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVDGenerator\release.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 14:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455773#M170151</guid>
      <dc:creator />
      <dc:date>2012-10-26T14:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455774#M170152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should only model a table: EPISODES, with its QVD, but not for RELEASENUMBER.&lt;/P&gt;&lt;P&gt;If you still need to keep a separate table for RELEASENUMBER, it is possible, but you would need to rename the fields to avoid a synthetic key error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the resulting code modifying the sample from &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/mayilvahanan" id="jive-887784643988450034220"&gt;Mayil Vahanan Ramasamy&lt;/A&gt; , assuming that you need to store only the related releases, otherwise you should not include the last inner join:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EPISODES:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;TitleName, EpisodeNumber, TitleID, ActorInfo, Amt.owedtoDistributor, Length&lt;BR /&gt;Sienfield 1, 1, 100,xxxx,1000, 30&lt;BR /&gt;Sienfield 2, 2, 100,tyty,1000, 30&lt;BR /&gt;Sienfield 3, 3, 100,hggh,1000, 30&lt;BR /&gt;Sienfield 4, 4, 100,xxxxx,1000, 30&lt;BR /&gt;Sienfield 5, 5, 100,xxxx,1000, 30&lt;BR /&gt;Sienfield 6, 6, 100,xxxx,1000, 30 &lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELEASES:&lt;BR /&gt;LOAD TitleID as TitleID_releases, Year as Year_releases Inline&lt;BR /&gt;[&lt;BR /&gt;TitleID, Year&lt;BR /&gt;100, 1999&lt;BR /&gt;101, 2000&lt;BR /&gt;102,2012&lt;BR /&gt;103,2003&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (EPISODES)&lt;BR /&gt;LOAD DISTINCT TitleID_releases as TitleID&lt;BR /&gt;RESIDENT RELEASES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Only if releases need to be limited to related to episodes&lt;BR /&gt;INNER JOIN (RELEASES)&lt;BR /&gt;LOAD DISTINCT TitleID as TitleID_releases&lt;BR /&gt;RESIDENT EPISODES;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 15:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455774#M170152</guid>
      <dc:creator>jldengra</dc:creator>
      <dc:date>2012-10-26T15:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455775#M170153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should the inner join go under Episodes or ReleaseNumber tag?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 16:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455775#M170153</guid>
      <dc:creator />
      <dc:date>2012-10-26T16:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: An issue with joining tabels.</title>
      <link>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455776#M170154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the attached file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 19:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-issue-with-joining-tabels/m-p/455776#M170154</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-26T19:55:01Z</dc:date>
    </item>
  </channel>
</rss>

