<?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: sql sub-query in Qlik - urgent in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132169#M893260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview can load data using SQL, please read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQL.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQL.htm"&gt;SQL ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2016 08:30:35 GMT</pubDate>
    <dc:creator>jpenuliar</dc:creator>
    <dc:date>2016-08-05T08:30:35Z</dc:date>
    <item>
      <title>sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132164#M893255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Someone please help me. How can I create a load statement for the following SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt; LocationId&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt;MainVesselId &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt; [dbo]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;[tbl_Data_VesselActivity] &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;where&lt;/SPAN&gt; SlNo &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;in&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: fuchsia;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;SlNo&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt; [dbo]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;[tbl_Data_VesselActivity] &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;group&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;by&lt;/SPAN&gt; MainVesselId&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;Please help. It's urgent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;Thank You,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: gray;"&gt;Rahul &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132164#M893255</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132165#M893256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load Max(SlNo) as SlNo&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Consolas; font-size: 12.6667px;"&gt; [dbo]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Consolas; font-size: 12.6667px;"&gt;[tbl_Data_VesselActivity] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;group&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Consolas; font-size: 12.6667px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Consolas; font-size: 12.6667px;"&gt; MainVesselId&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 12.6667px; font-family: Consolas;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 12.6667px; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 12.6667px; font-family: Consolas;"&gt;NoConcatenate&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.5pt; font-style: inherit; font-family: Consolas; font-weight: inherit;"&gt;Table2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 12.6667px; font-family: Consolas;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;Load&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 9.5pt; font-style: inherit; font-family: Consolas; font-weight: inherit;"&gt;LocationId&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 9.5pt; font-style: inherit; font-family: Consolas; font-weight: inherit;"&gt;MainVesselId &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 9.5pt; font-style: inherit; font-family: Consolas; font-weight: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt; [dbo]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;[tbl_Data_VesselActivity]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 9.5pt; font-style: inherit; font-family: Consolas; font-weight: inherit;"&gt;Where Exists (SlNo);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132165#M893256</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-08-04T15:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132166#M893257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this? Change accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD*;&lt;/P&gt;&lt;P&gt;SQL SELECT&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LocationId&lt;/P&gt;&lt;P&gt; ,MainVesselId,&lt;/P&gt;&lt;P&gt; slno&lt;/P&gt;&lt;P&gt;FROM [dbo].[tbl_Data_VesselActivity] &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(Table1)&lt;/P&gt;&lt;P&gt;LOAD Max(Slno) AS Slno&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group by MainVesselID;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132166#M893257</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-04T15:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132167#M893258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mr. Nagaraju.&lt;/P&gt;&lt;P&gt;But, this is not working.&lt;/P&gt;&lt;P&gt;Please loo into it and suggest appropriate solution ASAP.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 07:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132167#M893258</guid>
      <dc:creator />
      <dc:date>2016-08-05T07:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132168#M893259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;But, this is not working since it says for the second script that the SlNo does not exists. &lt;/P&gt;&lt;P&gt;Please suggest an appropriate solution ASAP.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 07:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132168#M893259</guid>
      <dc:creator />
      <dc:date>2016-08-05T07:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132169#M893260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview can load data using SQL, please read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQL.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/ScriptRegularStatements/SQL.htm"&gt;SQL ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 08:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132169#M893260</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2016-08-05T08:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132170#M893261</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;Firtsly you need to connect to SQL Database and will create the connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT32 TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=SA;Initial Catalog=BI_Qlikview;Data Source=1.x.x.xx;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=USER-PC;Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is LOXXXXXXXXXQJOFDaeWaNOFbMQTZYN);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this you can load the tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *; (optional)&lt;/P&gt;&lt;P&gt;SQL &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: #3d3d3d;"&gt; LocationId&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt;MainVesselId &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt; [dbo]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;[tbl_Data_VesselActivity] &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;where&lt;/SPAN&gt; SlNo &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: fuchsia;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;(&lt;/SPAN&gt;SlNo&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt; [dbo]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;[tbl_Data_VesselActivity] &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;group&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;by&lt;/SPAN&gt; MainVesselId&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 08:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132170#M893261</guid>
      <dc:creator>sorrakis01</dc:creator>
      <dc:date>2016-08-05T08:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132171#M893262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Max(SlNo) as SlNo_Max&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas;"&gt; [dbo]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas;"&gt;[tbl_Data_VesselActivity]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;group&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas;"&gt; MainVesselId&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas; color: #808080;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas; color: #808080;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: Consolas; color: #808080;"&gt;NoConcatenate&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas; color: blue;"&gt;Table2:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: blue; font-size: 9.5pt; font-style: inherit; font-family: Consolas; font-weight: inherit;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;SlNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;LocationId&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;MainVesselId&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: blue;"&gt;FROM&lt;/SPAN&gt; [dbo]&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12.6667px; font-family: inherit; color: gray;"&gt;.&lt;/SPAN&gt;[tbl_Data_VesselActivity]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;Where Exists (SlNo_Max,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SlNo&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;- Boo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9.5pt; font-family: Consolas;"&gt;Please mark correct if you find them.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 08:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132171#M893262</guid>
      <dc:creator>boopeshj</dc:creator>
      <dc:date>2016-08-05T08:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132172#M893263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same solution I have found 15 minutes back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How ever thanks so much for taking pain and giving me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have highly obliged. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 08:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132172#M893263</guid>
      <dc:creator />
      <dc:date>2016-08-05T08:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132173#M893264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 09:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1132173#M893264</guid>
      <dc:creator>sorrakis01</dc:creator>
      <dc:date>2016-08-05T09:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: sql sub-query in Qlik - urgent</title>
      <link>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1894236#M1217435</link>
      <description>&lt;P&gt;What do we do in case where in query is coming from different schema other than main select statement?&lt;/P&gt;
&lt;P&gt;I tried S&lt;SPAN&gt;QL&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;select&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;LocationId,MainVesselId&amp;nbsp;FROM&amp;nbsp;[dbo].[tbl_Data_VesselActivity]&amp;nbsp;where&amp;nbsp;SlNo&amp;nbsp;in(selectmax(SlNo)&amp;nbsp;FROM&amp;nbsp;[dbo].[tbl_Data_VesselActivity]&amp;nbsp;group&amp;nbsp;by&amp;nbsp;MainVesselId).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;statement but it gives error ' Table or view does not exist'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 11:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-sub-query-in-Qlik-urgent/m-p/1894236#M1217435</guid>
      <dc:creator>rupalimane1390</dc:creator>
      <dc:date>2022-02-17T11:02:20Z</dc:date>
    </item>
  </channel>
</rss>

