below query need change to get the active and inactive users in that particular applicationSELECT ep.endpointname,Date_format(a.created_on, '%Y.%m') AS Month,Count(DISTINCT ua.userkey) AS user_countFROM user_accounts uaJOIN accounts aON ua.accountkey...