Driver share of city revenue
Revenue-distribution analytics. For each driver, compute their share of their city's revenue from completed trips, as a percentage with two decimals. Ignore trips with no driver. Return driver_id and pct, ordered by driver.
Sampla aschuir a bhfuiltear ag súil leis
Seo é an chuma a bheadh ar fhreagra ceart — tá a líon rónna féin aige, ní gá dó na táblaí scéime a mheaitseáil.
| pct | driver_id |
|---|---|
| 66.67 | 1 |
| 33.33 | 2 |
| 100 | 3 |
Logáil isteach chun stair na n-aighneachtaí a fheiceáil
Logáil isteachLogáil isteach chun an Meantóir IS a úsáid
Logáil isteach