anilajax commited on
Commit
bc4c4f5
·
verified ·
1 Parent(s): 3987dee

Upload sql.json

Browse files
Files changed (1) hide show
  1. sql.json +23 -7
sql.json CHANGED
@@ -1,12 +1,28 @@
1
  [
2
  {
3
- "instruction": "Name the home team for carlton away team",
4
- "input": "CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)",
5
- "response": "SELECT home_team FROM table_name_77 WHERE away_team = 'carlton'"
6
  },
7
  {
8
- "instruction": "What will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?",
9
- "input": "CREATE TABLE table_22767 (\"Year\" real, \"World\" real, \"Asia\" text, \"Africa\" text, \"Europe\" text, \"Latin America/Caribbean\" text, \"Northern America\" text, \"Oceania\" text)",
10
- "response": "SELECT \"Asia\" FROM table_22767 WHERE \"Latin America/Caribbean\" = '783 (7.5%)'"
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ]
 
1
  [
2
  {
3
+ "question": "LK:what is the status of my last order?",
4
+ "context": "CREATE TABLE orders (status VARCHAR)",
5
+ "answer": "SELECT status from orders where customer_id=<> order by id desc limit 1"
6
  },
7
  {
8
+ "question": "LK:where is my last order?",
9
+ "context": "CREATE TABLE orders (status VARCHAR)",
10
+ "answer": "SELECT status from orders where customer_id=<> order by id desc limit 1"
11
+ },
12
+ {
13
+ "question": "LK:what about my last order?",
14
+ "context": "CREATE TABLE orders (status VARCHAR)",
15
+ "answer": "SELECT status from orders where customer_id=<> order by id desc limit 1"
16
+ },
17
+ {
18
+ "question": "LK:when i getting my order?",
19
+ "context": "CREATE TABLE orders (status VARCHAR)",
20
+ "answer": "SELECT status from orders where customer_id=<> order by id desc limit 1"
21
+ },
22
+ {
23
+ "question": "LK:when i getting my order?",
24
+ "context": "CREATE TABLE orders (status VARCHAR)",
25
+ "answer": "SELECT status from orders where customer_id=<> order by id desc limit 1"
26
+ },
27
+
28
  ]