<?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 Translate SQL Query to be replicated on QVDS in Qlik Cloud Application in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Translate-SQL-Query-to-be-replicated-on-QVDS-in-Qlik-Cloud/m-p/1935029#M77028</link>
    <description>&lt;P&gt;I originally created a query that is getting data through a NAT connection with an internal data base source. However, we made a move to use the Qlik Data Transfer Tool to load data into our qlik cloud environment instead. Using the Qlik Data Transfer Tool I have imported all the tables that are need to replicate the original query that created the data view. Here is the query, however, I am unsure how to translate it into a format that uses the QVDs within the environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MinReceivedLocTable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sql select LOCATIONS.LOC_ID ,TO_char(min(trunc(REQUISITIONS.RECEIVED_DATE)), 'MM/dd/yyyy') as RECEIVED_DATE_MIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM ACUTIS.REQUISITIONS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INNER JOIN ACUTIS.REQ_PANELS ON REQUISITIONS.ACC_ID = REQ_PANELS.ACC_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INNER JOIN ACUTIS.LOCATIONS ON REQUISITIONS.LOC_ID = LOCATIONS.LOC_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where trunc(REQUISITIONS.RECEIVED_DATE) is not null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and REQUISITIONS.Del_flag = 'F'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;group by LOCATIONS.LOC_ID;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have the Requisitions and locations tables within the same space as the application in QVD format. How do I go about replicated this SQL query to return the same data table from the QVDs.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 16:57:30 GMT</pubDate>
    <dc:creator>Marcushenriquesk</dc:creator>
    <dc:date>2022-05-24T16:57:30Z</dc:date>
    <item>
      <title>Translate SQL Query to be replicated on QVDS in Qlik Cloud Application</title>
      <link>https://community.qlik.com/t5/App-Development/Translate-SQL-Query-to-be-replicated-on-QVDS-in-Qlik-Cloud/m-p/1935029#M77028</link>
      <description>&lt;P&gt;I originally created a query that is getting data through a NAT connection with an internal data base source. However, we made a move to use the Qlik Data Transfer Tool to load data into our qlik cloud environment instead. Using the Qlik Data Transfer Tool I have imported all the tables that are need to replicate the original query that created the data view. Here is the query, however, I am unsure how to translate it into a format that uses the QVDs within the environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MinReceivedLocTable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sql select LOCATIONS.LOC_ID ,TO_char(min(trunc(REQUISITIONS.RECEIVED_DATE)), 'MM/dd/yyyy') as RECEIVED_DATE_MIN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM ACUTIS.REQUISITIONS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INNER JOIN ACUTIS.REQ_PANELS ON REQUISITIONS.ACC_ID = REQ_PANELS.ACC_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INNER JOIN ACUTIS.LOCATIONS ON REQUISITIONS.LOC_ID = LOCATIONS.LOC_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where trunc(REQUISITIONS.RECEIVED_DATE) is not null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and REQUISITIONS.Del_flag = 'F'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;group by LOCATIONS.LOC_ID;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have the Requisitions and locations tables within the same space as the application in QVD format. How do I go about replicated this SQL query to return the same data table from the QVDs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 16:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Translate-SQL-Query-to-be-replicated-on-QVDS-in-Qlik-Cloud/m-p/1935029#M77028</guid>
      <dc:creator>Marcushenriquesk</dc:creator>
      <dc:date>2022-05-24T16:57:30Z</dc:date>
    </item>
  </channel>
</rss>

