#1117

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.

Esempio di output atteso

Ecco come appare una risposta corretta — il suo numero di righe è a sé stante, non deve corrispondere alle tabelle dello schema.

rider_id
1
3

Il risultato della tua query apparirà qui