#1120

Highest-revenue city

Finance wants the flagship city. Find the city with the highest total fare from completed trips; on a tie, take the alphabetically earlier city. Return city and revenue, a single row.

Várt kimeneti minta

Így néz ki egy helyes válasz — a sorszáma a sajátja, nem kell egyeznie a sématáblákkal.

cityrevenue
Moscow1200

A lekérdezésed eredménye itt jelenik meg