Exploring a BigQuery Public Dataset
Task 1. Query a public dataset
Load the USA Names dataset
[Big Query] > [ADD DATA] > [Public Datasets]
Query the USA Names dataset
[query editor]
SELECTname, gender,SUM(number) AS totalFROM`bigquery-public-data.usa_names.usa_1910_2013`GROUP BYname, genderORDER BYtotal DESCLIMIT10
Task 2. Create a custom table
Task 3. Create a dataset
Task 4. Load the data into a new table
Task 5. Query the table
[Compose new query]
SELECTname, countFROM`babynames.names_2014`WHEREgender = 'M'ORDER BY count DESC LIMIT 5