<?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: Incorrect syntax near keyword 'INNER' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484140#M1126148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your inner join should come just after "From Incidents".&amp;nbsp; You are also missing a comma in the "Select".&amp;nbsp; Maybe something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;SQL SELECT &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company_Id, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Last_Updated,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company.Country, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company.Company_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;FROM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Incidents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;INNER JOIN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company ON Incidents.Company_Id=Company.Company_Id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Create_Date &amp;gt;= '2012-01-01' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;ORDER BY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Last_Updated ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 21:18:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-08T21:18:35Z</dc:date>
    <item>
      <title>Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484138#M1126146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to join two tables, an incident table and and a company table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incident: &lt;/P&gt;&lt;P&gt;SQL SELECT&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company_Id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last_Updated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company.Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company.Company_Name&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incidents&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create_Date &amp;gt;= '2012-01-01' &lt;/P&gt;&lt;P&gt;ORDER BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last_Updated &lt;/P&gt;&lt;P&gt;INNER JOIN &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company ON Incidents.Company_Id=Company.Company_Id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why I get the syntax error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 20:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484138#M1126146</guid>
      <dc:creator />
      <dc:date>2014-01-08T20:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484139#M1126147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Mark,&lt;/P&gt;&lt;P&gt;My quick suggestion would be to preload the two tables separately and inner join them in Qlikview rather than using SQL script.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 21:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484139#M1126147</guid>
      <dc:creator />
      <dc:date>2014-01-08T21:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484140#M1126148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your inner join should come just after "From Incidents".&amp;nbsp; You are also missing a comma in the "Select".&amp;nbsp; Maybe something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;SQL SELECT &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company_Id, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Last_Updated,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company.Country, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company.Company_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;FROM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Incidents&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;INNER JOIN &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Company ON Incidents.Company_Id=Company.Company_Id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Create_Date &amp;gt;= '2012-01-01' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;ORDER BY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;Last_Updated ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 21:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484140#M1126148</guid>
      <dc:creator />
      <dc:date>2014-01-08T21:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484141#M1126149</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: white;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;SQL SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Company_Id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Last_Updated,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Company.Country,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Company.Company_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Incidents&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;INNER JOIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Company ON Incidents.Company_Id=Company.Company_Id&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Incidents&lt;/SPAN&gt;.Create_Date &amp;gt;= '2012-01-01'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;ORDER BY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Incidents&lt;/SPAN&gt;.Last_Updated ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;But my suggestion is, if you reload each and every, its gives load to db to fetch the data. Its takes more time. So store the values in qvd. And then use join for faster and avoid load to db.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 22:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484141#M1126149</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-01-08T22:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484142#M1126150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're trying to join at the database level so the sql syntax should be as Mayil and and mhmalpass suggest; in sql you can also use implicit join notation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: white;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;SQL SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif;"&gt;&amp;nbsp; Incidents&lt;/SPAN&gt;.Company_Id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; Incidents&lt;/SPAN&gt;.Last_Updated, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&amp;nbsp; Company.Country,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt; Company.Company_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&amp;nbsp; Incidents, &lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif;"&gt;Company&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif; font-weight: inherit;"&gt;&amp;nbsp; Incidents.Company_Id=Company.Company_Id &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif; font-weight: inherit;"&gt;&amp;nbsp; and &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Incidents&lt;/SPAN&gt;.Create_Date &amp;gt;= '2012-01-01'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;ORDER BY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; Incidents&lt;/SPAN&gt;.Last_Updated ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;About joining at the database level or Qlikview level, it depends on many things; for example, if you have a lot of data (2 big tables to join) and a small result set (few record) after the join, I prefer load the db and transfer few data from db to qlik; but this is a subject that deserves a more thorough discussion, the example was just to give you an idea&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN" style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 23:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484142#M1126150</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-08T23:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484143#M1126151</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;This is the syntax of the select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT Select_List&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM Table_List&lt;/P&gt;&lt;P&gt;&amp;nbsp; [WITH (BUFFERING = lExpr)]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [WHERE Conditions]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [GROUP BY Column_List]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [UNION Clause]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [HAVING Conditions]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [ORDER BY Column_List]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [INTO Clause | TO Clause ] &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Additional_Display_Options]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Inner join part should come before WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 02:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484143#M1126151</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-01-09T02:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484144#M1126152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The missing comma was a just a typo when entering this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had also tried the JOIN statement after the FROM but it stills gives the same error...in fact it doesn't matter where I put it it still gives the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 10:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484144#M1126152</guid>
      <dc:creator />
      <dc:date>2014-01-09T10:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484145#M1126153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What SQL dialect / DBMS are you using? Does this work when you are using the SQL from the DBMS console?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 10:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484145#M1126153</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-09T10:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484146#M1126154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;The QlikView Help list this syntax like this...so I had the JOIN at the end rather than after the FROM &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;select&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;all&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;distinctrow&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;top &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;n &lt;BR /&gt;[&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;percent&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;] ] &lt;BR /&gt;*fieldlist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;from &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;tablelist&lt;BR /&gt;[&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;where &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;criterion ]&lt;BR /&gt;[&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;group by &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldlist [&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;having &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;criterion ] ]&lt;BR /&gt;[&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;order by &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldlist [&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;asc&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;desc&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;] ]&lt;BR /&gt;[ (&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;inner&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;left&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;right&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;full&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;)&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;join&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;tablename &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;on &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldref = fieldref ]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 11:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484146#M1126154</guid>
      <dc:creator />
      <dc:date>2014-01-09T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484147#M1126155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This query will be part of an incremental load strategy so I will be storing the data in qvd files now that I have the query working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 12:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484147#M1126155</guid>
      <dc:creator />
      <dc:date>2014-01-09T12:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect syntax near keyword 'INNER'</title>
      <link>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484148#M1126156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Help also states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"However, the extent to which the &lt;SPAN class="Bold"&gt;SELECT&lt;/SPAN&gt; statements are accepted depends largely on the ODBC driver or OLE DB provider used."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 12:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incorrect-syntax-near-keyword-INNER/m-p/484148#M1126156</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-09T12:42:20Z</dc:date>
    </item>
  </channel>
</rss>

