File size: 496 Bytes
a710152
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
[
    {
    "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"
  }
]