test_sql_dataset / test_data1.json
gayatrigupta2022's picture
Create test_data1.json
a710152
raw
history blame contribute delete
496 Bytes
[
{
"question": "Which address belongs to NEW YORK",
"context": "CREATE TABLE Companies (id int,name varchar,address text,email varchar,phone varchar)",
"answer": "SELECT address from Companies where upper(address) like 'NEW YORK%'"
},
{
"question": "Find distinct length of phone column from Companies table",
"context": "CREATE TABLE Companies (id int,name varchar,address text,email varchar,phone varchar)",
"answer": "SELECT distinct length(phone) from Companies"
}
]