◀ Back to Playground HomeFind the locations that have the longest tripsselect PULocationID, sum(trip_distance) AS totalDistance, avg(trip_distance) AS avgDistance from nyctaxis GROUP BY PULocationID ORDER BY totalDistance DESC