<?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: ADQL for doing UNION query in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/ADQL-for-doing-UNION-query/m-p/718037#M787</link>
    <description>&lt;P&gt;Appdynamics does not have union where as ther competitors like Newrelic does provide...I was loking the same but no luck&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2019 13:50:12 GMT</pubDate>
    <dc:creator>Umervali_Niyama</dc:creator>
    <dc:date>2019-06-24T13:50:12Z</dc:date>
    <item>
      <title>ADQL for doing UNION query</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/ADQL-for-doing-UNION-query/m-p/718036#M786</link>
      <description>&lt;P&gt;I need to compute the number of distinct users across both mobile and web application.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;For web alone I get the number using this query -&lt;/P&gt;
&lt;P&gt;SELECT distinctcount(userdata.userId) FROM browser_records&lt;/P&gt;

&lt;P&gt;And for mobile using this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT distinctcount(userdata.userId) FROM mobile_session_records&lt;/P&gt;

&lt;P&gt;What I am looking for is a way to compute the distinctcount across these two combined because some users get counted twice if I simply add the output of these two queries. How can I do this in ADQL? In SQL this can be solved using a UNION.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 21:45:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/ADQL-for-doing-UNION-query/m-p/718036#M786</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-04-24T21:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: ADQL for doing UNION query</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/ADQL-for-doing-UNION-query/m-p/718037#M787</link>
      <description>&lt;P&gt;Appdynamics does not have union where as ther competitors like Newrelic does provide...I was loking the same but no luck&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 13:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/ADQL-for-doing-UNION-query/m-p/718037#M787</guid>
      <dc:creator>Umervali_Niyama</dc:creator>
      <dc:date>2019-06-24T13:50:12Z</dc:date>
    </item>
  </channel>
</rss>

