Created
January 27, 2021 00:00
-
-
Save wvpv/b75f9fb3943b6739fa6005e6e8bf62e5 to your computer and use it in GitHub Desktop.
Summary of subscriber statuses by business unit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
s.businessUnitMID | |
, s.businessUnitName | |
, s.status | |
, count(*) count | |
from subscribers_all s | |
group by | |
s.businessUnitMID | |
, s.businessUnitName | |
, s.status | |
/* name: subscribers_all_summary */ | |
/* target: subscribers_all_summary */ | |
/* action: overwrite */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment