Second trip pricier than the first
Marketing checks whether spending grows. Find riders whose second trip by time was more expensive than their first. Return rider_id ascending.
Przykładowy oczekiwany wynik
Tak wygląda poprawna odpowiedź — liczba jej wierszy jest swoista i nie musi odpowiadać tabelom ze schematu.
| rider_id |
|---|
| 1 |
| 3 |
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj się