Compare commits
2 Commits
v202603092
...
v202603100
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
927f77ae5e | ||
|
|
adf6f0c1ef |
@@ -218,10 +218,10 @@ country_market AS (
|
||||
country_supply AS (
|
||||
SELECT
|
||||
country_code,
|
||||
SUM(city_padel_venue_count) AS country_venues,
|
||||
SUM(padel_venue_count) AS country_venues,
|
||||
SUM(population) AS country_pop,
|
||||
CASE WHEN SUM(population) > 0
|
||||
THEN SUM(city_padel_venue_count) * 100000.0 / SUM(population)
|
||||
THEN SUM(padel_venue_count) * 100000.0 / SUM(population)
|
||||
ELSE 0
|
||||
END AS venues_per_100k
|
||||
FROM foundation.dim_cities
|
||||
|
||||
Reference in New Issue
Block a user