Successful revenue by method (ClickHouse)
Successful revenue by method (ClickHouse)
In payments, for each method compute revenue — the sum of amount over rows with status = 'success' only (failed/refunded are excluded). Use sumIf. Order by method. Columns: method, revenue.
A ordem das linhas importa
Entre para ver seu histórico de envios
EntrarEntre para usar o AI Mentor
EntrarFocus radio
Paused · SomaFM · Fluid