mini lab : BigQuery : 5 Problems

...

0 5 225
5 REPLIES 5

@kdambiec Yes facing same problem! have you reported?

Just now checked lab and all tasks are working fine. I am able complete lab

Used the following query but task 2 doesn't work, task 3 is checked though..

CREATE OR REPLACE TABLE \`${PROJECT_ID}.${DATASET_NAME}.${MALE_TABLE_NAME}\` AS
SELECT *
FROM \`${PROJECT_ID}.${DATASET_NAME}.${TABLE_NAME}\`
WHERE Gender = 'Male'

Well, apparently it only need CustomerID, Gender but didn't indicate as required in the instruction...

This works
bq query --use_legacy_sql=false 'CREATE OR REPLACE TABLE customer_details.male_customers AS SELECT CustomerID, Gender FROM customer_details.customers WHERE Gender = "Male"'

Top Labels in this Space