Challenge: Explore City Distances and Locations
Свайпніть щоб показати меню
Use the geography_examples table to answer the following questions about city coordinates and distances.
- Create a geography point for each row using the
latitudeandlongitudecolumns; - Calculate the distance (in kilometres) from London to every other city in the dataset;
- Identify cities that are within 1000 kilometres of London.
Your query should return these columns:
For step 1:
id;city;latitude;longitude;geography_point.
For step 2:
city;distance_from_london_km.
For step 3:
city;distance_from_london_km.
(Only include cities less than 1000 km away).
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 8
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Секція 3. Розділ 8