Download answer_key/kpis/club_gift_subscriptions.sql from misatadata/pepperwind: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/club_gift_subscriptions.sql
- Command line
-
hf download hf://datasets/misatadata/pepperwind/answer_key/kpis/club_gift_subscriptions.sql
-
curl -L -o club_gift_subscriptions.sql https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/club_gift_subscriptions.sql
294 Bytes
| -- Club gift subscriptions started | |
| -- Gift subscriptions by the month they started. | |
| SELECT strftime(start_date, '%Y-%m') AS month, count(*) AS value FROM billing.subscription WHERE start_date >= TIMESTAMP '2023-10-01' AND start_date < TIMESTAMP '2026-10-01' AND (is_gift) GROUP BY 1 ORDER BY 1 | |