Created
March 18, 2016 18:12
-
-
Save randyzwitch/5ed2f4fc8574b91efd29 to your computer and use it in GitHub Desktop.
Check counts of Adobe lookup tables
This file contains hidden or 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 | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from browser | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from browser_type | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from color_depth | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from connection_type | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from country | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from javascript_version | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from languages | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from operating_systems | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from plugins | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from referrer_type | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from resolution | |
group by "V1" | |
order by "V1"; | |
select | |
"V1", | |
sum(1) as records, | |
count(distinct "V2") as distinct_keys | |
from search_engines | |
group by "V1" | |
order by "V1"; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment