Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.25 KB

data-distribution.md

File metadata and controls

58 lines (41 loc) · 1.25 KB

Data distribution

This script is in:

competitions by country/region

select competition_country, count(distinct season_name) seasons
from matches m
group by competition_country
order by seasons DESC;

alt text

competitions count by country/region

select competition_country, count(distinct competition_name) competitions
from matches m
group by competition_country
order by competitions DESC;

alt text

seasons by country/region

select distinct competition_country, season_name
from matches m
order by competition_country;

alt text

seasons2 by country/region

select distinct competition_country, season_name
from matches m
order by season_name;

alt text

recent season by country/region

select competition_country, competition_name, season_name, count(*) matches
group by competition_country, competition_name, season_name
order by season_name DESC;

alt text