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.
1. What is the name of the station whose start_station_id is 111?
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;
3. What is the bike_model of bike_id 58782?
SELECT
bike_model
FROM
`bigquery-public-data.london_bicycles.cycle_hire`
WHERE
bike_id = 58782;