Download answer_key/kpis/d2c_aov.sql from misatadata/pepperwind: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/d2c_aov.sql
- Command line
-
hf download hf://datasets/misatadata/pepperwind/answer_key/kpis/d2c_aov.sql
-
curl -L -o d2c_aov.sql https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/d2c_aov.sql
394 Bytes
| -- Storefront average order value, by currency | |
| -- Mean order total of storefront orders not cancelled, by the month placed. | |
| SELECT strftime(placed_at, '%Y-%m') AS month, currency AS grp, avg(total) AS value FROM commerce.order WHERE placed_at >= TIMESTAMP '2023-10-01' AND placed_at < TIMESTAMP '2026-10-01' AND ((b2b_account_id IS NULL) AND (cancelled_at IS NULL)) GROUP BY 1, 2 ORDER BY 1, 2 | |