[ | |
{ | |
"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" | |
} | |
] | |