Upload sql_train.jsonl
Browse files- sql_train.jsonl +10 -0
sql_train.jsonl
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"prompt": "List all employees in the IT department.", "response": "SELECT * FROM employees WHERE department = 'IT';"}
|
| 2 |
+
{"prompt": "Find customers who placed orders over $500.", "response": "SELECT * FROM customers WHERE order_amount > 500;"}
|
| 3 |
+
{"prompt": "Retrieve the names of all students enrolled in the Physics class.", "response": "SELECT name FROM students WHERE class = 'Physics';"}
|
| 4 |
+
{"prompt": "Show all products with a price greater than $1000.", "response": "SELECT * FROM products WHERE price > 1000;"}
|
| 5 |
+
{"prompt": "Get the total sales for each product category.", "response": "SELECT category, SUM(sales) FROM sales_data GROUP BY category;"}
|
| 6 |
+
{"prompt": "Count the number of employees in each department.", "response": "SELECT department, COUNT(*) FROM employees GROUP BY department;"}
|
| 7 |
+
{"prompt": "Retrieve orders made in the last 7 days.", "response": "SELECT * FROM orders WHERE order_date >= DATE_SUB(CURDATE(), INTERVAL 7 DAY);"}
|
| 8 |
+
{"prompt": "Find the average salary of employees in the HR department.", "response": "SELECT AVG(salary) FROM employees WHERE department = 'HR';"}
|
| 9 |
+
{"prompt": "Show the top 5 highest-paid employees.", "response": "SELECT * FROM employees ORDER BY salary DESC LIMIT 5;"}
|
| 10 |
+
{"prompt": "Get the details of all customers who live in New York.", "response": "SELECT * FROM customers WHERE city = 'New York';"}
|