<?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. :how to create a SQL Statement with two subquery level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195839#M713046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;T3:&lt;BR /&gt;LOAD B;&lt;BR /&gt;SQL SELECT B FROM T3;&lt;BR /&gt;T2:&lt;BR /&gt;LEFT KEEP (T3)&lt;BR /&gt;LOAD A, B;&lt;BR /&gt;SQL SELECT A, B FROM T2;&lt;BR /&gt;T1:&lt;BR /&gt;LEFT KEEP (T2)&lt;BR /&gt;LOAD A, C;&lt;BR /&gt;SQL SELECT A, C FROM T1;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE T2, T3;&lt;BR /&gt;DROP FIELD A;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jul 2010 14:07:31 GMT</pubDate>
    <dc:creator>martin59</dc:creator>
    <dc:date>2010-07-27T14:07:31Z</dc:date>
    <item>
      <title>how to create a SQL Statement with two subquery level</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195838#M713045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm using the QVOlapConnetor and the QVSapQueryConnector and I would like the create a SQL statement with two level of subqueries.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Select C&lt;/P&gt;&lt;P&gt;From T1&lt;/P&gt;&lt;P&gt;where A IN (&lt;/P&gt;&lt;P&gt;Select A From T2 where B IN (&lt;/P&gt;&lt;P&gt;Select B From T3&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;It seems to work fine just for one level subselect.&lt;/P&gt;&lt;P&gt;Any Suggestion?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 12:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195838#M713045</guid>
      <dc:creator />
      <dc:date>2010-07-27T12:07:22Z</dc:date>
    </item>
    <item>
      <title>Re. :how to create a SQL Statement with two subquery level</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195839#M713046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;T3:&lt;BR /&gt;LOAD B;&lt;BR /&gt;SQL SELECT B FROM T3;&lt;BR /&gt;T2:&lt;BR /&gt;LEFT KEEP (T3)&lt;BR /&gt;LOAD A, B;&lt;BR /&gt;SQL SELECT A, B FROM T2;&lt;BR /&gt;T1:&lt;BR /&gt;LEFT KEEP (T2)&lt;BR /&gt;LOAD A, C;&lt;BR /&gt;SQL SELECT A, C FROM T1;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE T2, T3;&lt;BR /&gt;DROP FIELD A;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 14:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195839#M713046</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-07-27T14:07:31Z</dc:date>
    </item>
    <item>
      <title>Re. :how to create a SQL Statement with two subquery level</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195840#M713047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Martin, but the problem is that I need to limit the dataset at SAP Side because the dataset is very huge and then I can't load the data in QV and after perform a left keep so my question is about how to send a SQL Statement to SAP but I don't know the right syntax to apply (is not SQL standard nor SQL Oracle)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 17:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-a-SQL-Statement-with-two-subquery-level/m-p/195840#M713047</guid>
      <dc:creator />
      <dc:date>2010-07-27T17:18:59Z</dc:date>
    </item>
  </channel>
</rss>

