Criar um data warehouse com o BigQuery: laboratório com desafio avaliações

53533 avaliações

Falentin Tri Y. · Revisado há over 2 years

Marko G. · Revisado há over 2 years

Choragani U. · Revisado há over 2 years

Parth b. · Revisado há over 2 years

Muhammad Z. · Revisado há over 2 years

Parth b. · Revisado há over 2 years

Tushar N. · Revisado há over 2 years

Amit M. · Revisado há over 2 years

hanin a. · Revisado há over 2 years

Novi Dwi Mega A. · Revisado há over 2 years

Ashmit Z. · Revisado há over 2 years

Muhammad Muqoffin N. · Revisado há over 2 years

skibidi ohio sigma rizzler

Rafi F. · Revisado há over 2 years

Syarifah Geubrina A. · Revisado há over 2 years

Camila L. · Revisado há over 2 years

Afriza C. · Revisado há over 2 years

Ilham A. · Revisado há over 2 years

Claudio M. · Revisado há over 2 years

good

Ritu D. · Revisado há over 2 years

Mohamed S. · Revisado há over 2 years

Mohamed S. · Revisado há over 2 years

BORADE MAHESHWARI S. · Revisado há over 2 years

Camila L. · Revisado há over 2 years

Task 2 Populate the mobility record data ALTER TABLE covid.oxford_policy_tracker ADD COLUMN population INT64, ADD COLUMN country_area FLOAT64, ADD COLUMN mobility STRUCT< avg_retail FLOAT64, avg_grocery FLOAT64, avg_parks FLOAT64, avg_transit FLOAT64, avg_workplace FLOAT64, avg_residential FLOAT64 > UPDATE `covid.oxford_policy_tracker` t0 SET t0.mobility.avg_retail = t1.avg_retail, t0.mobility.avg_grocery = t1.avg_grocery, t0.mobility.avg_parks = t1.avg_parks, t0.mobility.avg_transit = t1.avg_transit, t0.mobility.avg_workplace = t1.avg_workplace, t0.mobility.avg_residential = t1.avg_residential FROM ( SELECT country_region, date, AVG(retail_and_recreation_percent_change_from_baseline) as avg_retail, AVG(grocery_and_pharmacy_percent_change_from_baseline) as avg_grocery, AVG(parks_percent_change_from_baseline) as avg_parks, AVG(transit_stations_percent_change_from_baseline) as avg_transit, AVG(workplaces_percent_change_from_baseline) as avg_workplace, AVG(residential_percent_change_from_baseline) as avg_residential FROM `bigquery-public-data.covid19_google_mobility.mobility_report` GROUP BY country_region, date ) AS t1 WHERE CONCAT(t0.country_name, t0.date) = CONCAT(t1.country_region, t1.date) //Please ensure you've correctly & accurately populated the mobility column. Task 3 Query missing data in population & country_area columns SELECT DISTINCT country_name FROM `covid.oxford_policy_tracker` WHERE population is NULL UNION ALL SELECT DISTINCT country_name FROM `covid.oxford_policy_tracker` WHERE country_area IS NULL ORDER BY country_name ASC //Please run query against your table to return all countries missing population AND/OR country_area order by name. Task 4 Create a new table for country population data

John T. · Revisado há over 2 years

Shubham K. · Revisado há over 2 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.