Intro To BigQuery Solutions
Intro To BigQuery Solutions
These are the solutions to the Intro to BigQuery activity. You can refer to this document if you
are troubleshooting your own queries. You can also copy and paste these solutions to test them
in your own BigQuery console.
SELECT
start_station_name
FROM
`bigquery-public-data.london_bicycles.cycle_hire`
WHERE
start_station_id = 111;
2. Return all of the rental_ids, station IDs, and station names that bike_id 1710 started
from.
SELECT
rental_id,
start_station_id,
start_station_name
FROM
`bigquery-public-data.london_bicycles.cycle_hire`
WHERE
bike_id = 1710;
SELECT
bike_model
FROM
`bigquery-public-data.london_bicycles.cycle_hire`
WHERE
bike_id = 58782;