|
Download tasks/readable/003/task_readable.md from megagonlabs/arcs: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/datasets/megagonlabs/arcs/resolve/main/tasks/readable/003/task_readable.md
- Command line
-
hf download hf://datasets/megagonlabs/arcs/tasks/readable/003/task_readable.md
-
curl -L -o task_readable.md https://huggingface.co/datasets/megagonlabs/arcs/resolve/main/tasks/readable/003/task_readable.md
612 Bytes
Task: 003
Database: retails
Question
Which supplier has the largest inventory value?
Gold Query
SELECT
s.s_suppkey,
s.s_name,
SUM(ps.ps_supplycost * ps.ps_availqty) as inventory_value_supply_cost
FROM supplier s
JOIN partsupp ps ON s.s_suppkey = ps.ps_suppkey
GROUP BY s.s_suppkey, s.s_name
ORDER BY inventory_value_supply_cost DESC
LIMIT 1;
Execution Result:
| s_suppkey | s_name | inventory_value_supply_cost |
|---|---|---|
| 5704 | Supplier#000005704 | 2.8119636e+08 |
1 rows