#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.

Oodatava väljundi näidis

Nii näeb õige vastus välja — selle ridade arv on omaette ega pea ühtima skeemi tabelitega.

rider_id
1
3

Sinu päringu tulemus ilmub siia