Commit
·
a710152
1
Parent(s):
a5ea1b8
Create test_data1.json
Browse files- test_data1.json +12 -0
test_data1.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"question": "Which address belongs to NEW YORK",
|
| 4 |
+
"context": "CREATE TABLE Companies (id int,name varchar,address text,email varchar,phone varchar)",
|
| 5 |
+
"answer": "SELECT address from Companies where upper(address) like 'NEW YORK%'"
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"question": "Find distinct length of phone column from Companies table",
|
| 9 |
+
"context": "CREATE TABLE Companies (id int,name varchar,address text,email varchar,phone varchar)",
|
| 10 |
+
"answer": "SELECT distinct length(phone) from Companies"
|
| 11 |
+
}
|
| 12 |
+
]
|