#307

Top Travellers by Distance

For each user return their name and total distance travelled across all rides. Sort by travelled_distance descending.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

nametravelled_distance
Bob370
Alice300
Dave300

Your query result will appear here