Download answer_key/kpis/billed_amount.sql from misatadata/pepperwind: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/billed_amount.sql
- Command line
-
hf download hf://datasets/misatadata/pepperwind/answer_key/kpis/billed_amount.sql
-
curl -L -o billed_amount.sql https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/billed_amount.sql
364 Bytes
| -- Amount invoiced, by currency | |
| -- Totals of invoices not voided, by the month made, in each currency's major units. | |
| SELECT strftime(created, '%Y-%m') AS month, upper(currency) AS grp, sum((total) / 100.0) AS value FROM billing.invoice WHERE created >= TIMESTAMP '2023-10-01' AND created < TIMESTAMP '2026-10-01' AND (status <> 'void') GROUP BY 1, 2 ORDER BY 1, 2 | |