<?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 Select and Left Join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277400#M1204342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your actual script, or at least this section of it? And just in case you were confused by it, my code DOES have syntax errors, in that the '...' should be replaced with the rest of the fields you are selecting, and not copied directly into your code. It also confuses me that you had the table name and then a dot before the field name, so perhaps that's not correct, but I was just copying what you had in that case.&lt;/P&gt;&lt;P&gt;Edit: OK, from the complete error, unless you mean for the '...' to indicate that there are lines of error that you cut out, it looks like you didn't add the other fields from your table. You need to load the fields that you want, and not have '...' directly in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 21:45:42 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-09-16T21:45:42Z</dc:date>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277396#M1204338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi people:&lt;/P&gt;&lt;P&gt;I confused and need work in Qlik one sentece from MSSQL, with the same result.&lt;/P&gt;&lt;P&gt;The sentece is in MSSQL&lt;/P&gt;&lt;P&gt;select * from tableheader left join tableitems&lt;BR /&gt;on tableheader.tableheader_module = tableitems.tableitems_module&lt;BR /&gt;and tableheader.tableheader_code = tableitems.tableitems_code&lt;BR /&gt;and tableheader.tableheader_number = tableitems.tableitems_number&lt;/P&gt;&lt;P&gt;I try this but the only same field with the same name is user in both tables,&lt;BR /&gt;but is not primary key and when in the script send this sentece, and see&lt;BR /&gt;viewer of tables (ctrl+T) the unique link is between the field "USER"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CONNECT TO xxxxxx&lt;BR /&gt;SELECT * FROM tableheader ;&lt;BR /&gt;SELECT * FROM tableitems&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can use JOIN in Qlik&lt;/P&gt;&lt;P&gt;Thanks for all, regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277396#M1204338</guid>
      <dc:creator />
      <dc:date>2010-09-16T21:02:45Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277397#M1204339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this, I suspect. But if this is all you're doing, I see no reason to join in QlikView instead of in SQL. I'm also not sure where the USER field comes into the picture. But if you have a USER field on both tables named exactly the same, and you don't want to join on it, you'll need to rename one of them.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt; tableheader.tableheader_module as module&lt;BR /&gt;,tableheader.tableheader_code as code&lt;BR /&gt;,tableheader.tableheader_number as number&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT * FROM tableheader&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN (MyTable)&lt;BR /&gt;LOAD&lt;BR /&gt; tableitems.tableitems_module as module&lt;BR /&gt;,tableitems.tableitems_code as code&lt;BR /&gt;,tableitems.tableitems_number as number&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT * FROM tabletimes&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277397#M1204339</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T21:14:07Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277398#M1204340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;Thanks for u response, i test but i recieved this error&lt;/P&gt;&lt;P&gt;Syntax error, missing/misplaced FROM:&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277398#M1204340</guid>
      <dc:creator />
      <dc:date>2010-09-16T21:39:51Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277399#M1204341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry the complete error is&lt;/P&gt;&lt;P&gt;Syntax error, missing/misplaced FROM:&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt; tableheader.tableheader_module as module&lt;BR /&gt;,tableheader.tableheader_code as code&lt;BR /&gt;,tableheader.tableheader_number as number&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt; tableitems.tableitems_module as module&lt;BR /&gt;,tableitems.tableitems_code as code&lt;BR /&gt;,tableitems.tableitems_number as number&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277399#M1204341</guid>
      <dc:creator />
      <dc:date>2010-09-16T21:42:57Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277400#M1204342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your actual script, or at least this section of it? And just in case you were confused by it, my code DOES have syntax errors, in that the '...' should be replaced with the rest of the fields you are selecting, and not copied directly into your code. It also confuses me that you had the table name and then a dot before the field name, so perhaps that's not correct, but I was just copying what you had in that case.&lt;/P&gt;&lt;P&gt;Edit: OK, from the complete error, unless you mean for the '...' to indicate that there are lines of error that you cut out, it looks like you didn't add the other fields from your table. You need to load the fields that you want, and not have '...' directly in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277400#M1204342</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T21:45:42Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277401#M1204343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=MSDASQL.1;Persist Security Info=False;&lt;BR /&gt;Extended Properties="Description=SQL3;&lt;BR /&gt;DRIVER=SQL Server;SERVER=SQL3;UID=;&lt;BR /&gt;APP=QlikView;WSID=SQL5;DATABASE=Emp;&lt;BR /&gt;Trusted_Connection=Yes";Initial Catalog=Emp];&lt;/P&gt;&lt;P&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt; tableheader.tableheader_module as module&lt;BR /&gt;,tableheader.tableheader_code as code&lt;BR /&gt;,tableheader.tableheader_number as number&lt;BR /&gt;from tableheader&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT * FROM tableheader&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN (MyTable)&lt;BR /&gt;LOAD&lt;BR /&gt; tableitems.tableitems_module as module&lt;BR /&gt;,tableitems.tableitems_code as code&lt;BR /&gt;,tableitems.tableitems_number as number&lt;BR /&gt;from tableitems&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT * FROM tableitems&lt;BR /&gt;;&lt;BR /&gt;----------------------&lt;BR /&gt;The error&lt;/P&gt;&lt;P&gt;Cannot open file 'C:\Program Files\QlikView\Ejemplos\Documents\tableheader'&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt; tableheader.tableheader_module as module&lt;BR /&gt;,tableheader.tableheader_code as code&lt;BR /&gt;,tableheader.tableheader_number as number&lt;BR /&gt;from tableheader&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 22:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277401#M1204343</guid>
      <dc:creator />
      <dc:date>2010-09-16T22:03:03Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277402#M1204344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CONNECT TO [Provider=MSDASQL.1;Persist Security Info=False;&lt;BR /&gt;Extended Properties="Description=SQL3;&lt;BR /&gt;DRIVER=SQL Server;SERVER=SQL3;UID=;&lt;BR /&gt;APP=QlikView;WSID=SQL5;DATABASE=Emp;&lt;BR /&gt;Trusted_Connection=Yes";Initial Catalog=Emp];&lt;/P&gt;&lt;P&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt; tableheader.tableheader_module as module&lt;BR /&gt;,tableheader.tableheader_code as code&lt;BR /&gt;,tableheader.tableheader_number as number&lt;BR /&gt;&lt;STRONG&gt;REMOVE THIS LINE AND LIST THE OTHER FIELDS YOU NEED HERE&lt;BR /&gt;//from tableheader REMOVE THIS LINE TOO&lt;BR /&gt;&lt;/STRONG&gt;;&lt;BR /&gt;SQL SELECT * FROM tableheader&lt;BR /&gt;;&lt;BR /&gt;LEFT JOIN (MyTable)&lt;BR /&gt;LOAD&lt;BR /&gt; tableitems.tableitems_module as module&lt;BR /&gt;,tableitems.tableitems_code as code&lt;BR /&gt;,tableitems.tableitems_number as number&lt;BR /&gt;&lt;STRONG&gt;REMOVE THIS LINE AND LIST THE OTHER FIELDS YOU NEED HERE&lt;BR /&gt;//from tableitems REMOVE THIS LINE TOO&lt;BR /&gt;&lt;/STRONG&gt;;&lt;BR /&gt;SQL SELECT * FROM tableitems&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 22:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277402#M1204344</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T22:15:40Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277403#M1204345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the result:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;tableheader.tableheader_module&amp;gt;&lt;BR /&gt;SQL SELECT * FROM tableheader&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table not found&lt;BR /&gt;LEFT JOIN (MyTable)&lt;BR /&gt;LOAD&lt;BR /&gt; tableitems.tableitems_module as module&lt;BR /&gt;,tableitems.tableitems_code as code&lt;BR /&gt;,tableitems.tableitems_number as number&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;In the "Scrip Execution Progress"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MyTable &amp;lt;&amp;lt; tableitems 711,256 lines fetched&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks, regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 22:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277403#M1204345</guid>
      <dc:creator />
      <dc:date>2010-09-16T22:44:52Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277404#M1204346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, so replace the wrong field name with the RIGHT field name. Then the first table can load, which should resolve the second error as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 23:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277404#M1204346</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-16T23:02:15Z</dc:date>
    </item>
    <item>
      <title>Select and Left Join</title>
      <link>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277405#M1204347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John:&lt;/P&gt;&lt;P&gt;1- Thanks for all&lt;/P&gt;&lt;P&gt;2- At last, this work for my&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;BR /&gt; tableheader.tableheader_module as module&lt;BR /&gt;,tableheader.tableheader_code as code&lt;BR /&gt;,tableheader.tableheader_number as number&lt;BR /&gt;,* from tableheader&lt;BR /&gt;;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; tableitems.tableitems_module as module&lt;BR /&gt;,tableitems.tableitems_code as code&lt;BR /&gt;,tableitems.tableitems_number as number&lt;BR /&gt;, * from tableitems&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;César&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 16:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-and-Left-Join/m-p/277405#M1204347</guid>
      <dc:creator />
      <dc:date>2010-09-17T16:19:14Z</dc:date>
    </item>
  </channel>
</rss>

