Download sql.json from anilajax/text2sql_extended_dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.32 kB
-
https://huggingface.co/datasets/anilajax/text2sql_extended_dataset/resolve/main/sql.json
- Command line
-
hf download hf://datasets/anilajax/text2sql_extended_dataset/sql.json
-
curl -L -o sql.json https://huggingface.co/datasets/anilajax/text2sql_extended_dataset/resolve/main/sql.json
2.32 kB
| [ | |
| { | |
| "question": "LK:what is the status of my last order?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT status from orders where customer_id=<> order by id desc limit 1" | |
| }, | |
| { | |
| "question": "LK:where is my last order?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT status from orders where customer_id=1 order by id desc limit 1" | |
| }, | |
| { | |
| "question": "LK:what about my last order?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT status from orders where customer_id=1 order by id desc limit 1" | |
| }, | |
| { | |
| "question": "LK:when i getting my order?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT status from orders where customer_id=1 order by id desc limit 1" | |
| }, | |
| { | |
| "question": "LK:when i getting my order?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT status from orders where customer_id=1 order by id desc limit 1" | |
| }, | |
| { | |
| "question": "LK:how many orders I have done so far?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT count(*) from orders where customer_id=1" | |
| }, | |
| { | |
| "question": "LK:what is the total amount spent by customer?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT SUM(amount) FROM orders WHERE customer_id=1" | |
| } | |
| , | |
| { | |
| "question": "LK:what is the most recent order date for customer?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT SUM(amount) FROM orders WHERE customer_id=1" | |
| } | |
| , | |
| { | |
| "question": "LK:what is the total number of orders placed by me?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT SUM(amount) FROM orders WHERE customer_id=1" | |
| } | |
| , | |
| { | |
| "question": "LK:what is the status of all orders placed by me?", | |
| "context": "CREATE TABLE orders (status VARCHAR, amount DECIMAL, customer_id INT)", | |
| "answer": "SELECT status FROM orders WHERE customer_id=1" | |
| } | |
| ] |