<?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 SQL sentence problems... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280627#M1202843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a mistake explaining that there's no FROM linked with the previous LOAD.&lt;/P&gt;&lt;P&gt;Anyway, it works and I've loaded all the info I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Oct 2010 19:35:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-05T19:35:30Z</dc:date>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280621#M1202837</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;it seems that theres a problem with the following SQL sentence:&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM table1, table2;&lt;/P&gt;&lt;P&gt;WHERE table1.id = 3 AND table1.name = table2.id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1.name and table2.id contains "name". It's just a diferent field name with same info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested it in my SQL frontend tool and it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas....???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 17:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280621#M1202837</guid>
      <dc:creator />
      <dc:date>2010-10-04T17:05:46Z</dc:date>
    </item>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280622#M1202838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You will have to specify all the feild names instead of '*' (in the load script also).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 17:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280622#M1202838</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-04T17:11:58Z</dc:date>
    </item>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280623#M1202839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;That usually happens to me in one of the following:&lt;/P&gt;&lt;P&gt;1.- There are duplcate names of fields in the query, when they come from different tables, and not using a LOAD statement.&lt;/P&gt;&lt;P&gt;2.- The ODBC / OLEDB driver doesn't understand a comma or some other character in the FROM clause.&lt;/P&gt;&lt;P&gt;I have worked that around renaming fields with a LOAD stantement or using an INNER JOIN clause instead of a FROM / WHERE table.field = table2.field2.&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 17:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280623#M1202839</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-04T17:18:18Z</dc:date>
    </item>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280624#M1202840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it is just a mistyping, but please check it - there must not be ';' before 'WHERE'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 18:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280624#M1202840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-04T18:58:08Z</dc:date>
    </item>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280625#M1202841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ops.... mistyping!&lt;/P&gt;&lt;P&gt;There's no ";" after the from line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both tables have fields with same names (but different data!) and linked fields are designed with different names (table1.id is linked with table2.name but there's also a table2.id field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel (or anybody), could you give me an example in order to solve it? (I'm a database newbie....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for alll the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 20:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280625#M1202841</guid>
      <dc:creator />
      <dc:date>2010-10-04T20:15:35Z</dc:date>
    </item>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280626#M1202842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Data:LOAD Field1, Field1_2, Field2;SQL SELECT t1.Field1, t2.Field1 AS Field1t2, t2.Field2 FROM table1 t1INNER JOIN table2 t2 on t1.name = t2.idWHERE t1.id = 3;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 21:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280626#M1202842</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-04T21:47:53Z</dc:date>
    </item>
    <item>
      <title>SQL sentence problems...</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280627#M1202843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a mistake explaining that there's no FROM linked with the previous LOAD.&lt;/P&gt;&lt;P&gt;Anyway, it works and I've loaded all the info I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 19:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-sentence-problems/m-p/280627#M1202843</guid>
      <dc:creator />
      <dc:date>2010-10-05T19:35:30Z</dc:date>
    </item>
  </channel>
</rss>

