Business iQ (Analytics)

cancel
Showing results for 
Search instead for 
Did you mean: 

ADQL for doing UNION query

Creator

ADQL for doing UNION query

I need to compute the number of distinct users across both mobile and web application. 

 

For web alone I get the number using this query -

SELECT distinctcount(userdata.userId) FROM browser_records

 

And for mobile using this - 

SELECT distinctcount(userdata.userId) FROM mobile_session_records

 

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.

 

Thanks

ADQL for doing UNION query
1 REPLY 1
Highlighted

Re: ADQL for doing UNION query

Appdynamics does not have union where as ther competitors like Newrelic does provide...I was loking the same but no luck

Tags (1)