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