Download answer_key/kpis/b2b_accounts_created.sql from misatadata/pepperwind: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/b2b_accounts_created.sql
- Command line
-
hf download hf://datasets/misatadata/pepperwind/answer_key/kpis/b2b_accounts_created.sql
-
curl -L -o b2b_accounts_created.sql https://huggingface.co/datasets/misatadata/pepperwind/resolve/main/answer_key/kpis/b2b_accounts_created.sql
327 Bytes
| -- Wholesale accounts created, by segment | |
| -- CRM accounts not deleted by the month created. | |
| SELECT strftime(CreatedDate, '%Y-%m') AS month, Segment__c AS grp, count(*) AS value FROM crm.account WHERE CreatedDate >= TIMESTAMP '2023-10-01' AND CreatedDate < TIMESTAMP '2026-10-01' AND (NOT IsDeleted) GROUP BY 1, 2 ORDER BY 1, 2 | |