|
Download tasks/readable/018/task_readable.md from megagonlabs/arcs: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/datasets/megagonlabs/arcs/resolve/main/tasks/readable/018/task_readable.md
- Command line
-
hf download hf://datasets/megagonlabs/arcs/tasks/readable/018/task_readable.md
-
curl -L -o task_readable.md https://huggingface.co/datasets/megagonlabs/arcs/resolve/main/tasks/readable/018/task_readable.md
455 Bytes
Task: 018
Database: retails
Question
Count the number of customers that have used air shipping.
Gold Query
SELECT COUNT(DISTINCT c.c_custkey)
FROM customer c
JOIN orders o ON c.c_custkey = o.o_custkey
JOIN lineitem l ON o.o_orderkey = l.l_orderkey
WHERE l.l_shipmode IN ('AIR', 'REG AIR');
Execution Result:
| COUNT(DISTINCT c.c_custkey) |
|---|
| 92006 |
1 rows