NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
In which year was the Weight 170? | CREATE TABLE table_12032893_1 (
year VARCHAR,
weight VARCHAR
) | SELECT year FROM table_12032893_1 WHERE weight = 170 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15518,
28070,
4271,
834,
536,
41,
215,
584,
4280,
28027,
6,
1293,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
84,
215,
47,
8,
14230,
209,
2518,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
15518,
28070,
4271,
834,
536,
549,
17444,
427,
1293,
3274,
209,
2518,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
average number of goals scored by players from scotland | CREATE TABLE table_204_159 (
id number,
"name" text,
"nation" text,
"position" text,
"league apps" number,
"league goals" number,
"fa cup apps" number,
"fa cup goals" number,
"total apps" number,
"total goals" number
) | SELECT AVG("total goals") FROM table_204_159 WHERE "nation" = 'scotland' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
27904,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
29,
257,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
29512,
4050,
121,
381,
6,
96,
29512,
1766,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
235,
1947,
1766,
8512,
21680,
953,
834,
26363,
834,
27904,
549,
17444,
427,
96,
29,
257,
121,
3274,
3,
31,
7,
4310,
40,
232,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many rounds are on the list after round 1 ? | CREATE TABLE table_204_385 (
id number,
"round" number,
"pick" number,
"player" text,
"nationality" text,
"college/junior/club team" text
) | SELECT COUNT("round") FROM table_204_385 WHERE "round" > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
519,
4433,
41,
3,
23,
26,
381,
6,
96,
7775,
121,
381,
6,
96,
17967,
121,
381,
6,
96,
20846,
121,
1499,
6,
96,
16557,
485,
121,
1499,
6,
96,
3297,
7883,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
7775,
8512,
21680,
953,
834,
26363,
834,
519,
4433,
549,
17444,
427,
96,
7775,
121,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the club that as 100 tries? | CREATE TABLE table_name_48 (
club VARCHAR,
tries_for VARCHAR
) | SELECT club FROM table_name_48 WHERE tries_for = "100" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
1886,
584,
4280,
28027,
6,
3,
9000,
834,
1161,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
1886,
24,
38,
910,
3,
9000,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1886,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
3,
9000,
834,
1161,
3274,
96,
2915,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the rating of the season that had 18.17 million household viewers? | CREATE TABLE table_name_23 (rating VARCHAR, viewers__households_in_millions_ VARCHAR) | SELECT rating FROM table_name_23 WHERE viewers__households_in_millions_ = "18.17" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
52,
1014,
584,
4280,
28027,
6,
13569,
834,
834,
1840,
6134,
7,
834,
77,
834,
17030,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5773,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
13569,
834,
834,
1840,
6134,
7,
834,
77,
834,
17030,
7,
834,
3274,
96,
2606,
5,
2517,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the D 46 which has a D 43 of majority→ | CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR) | SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
26,
834,
4448,
584,
4280,
28027,
6,
3,
26,
834,
4906,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
309,
9668,
84,
65,
3,
9,
309,
883... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
4448,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
3,
26,
834,
4906,
3274,
96,
16547,
127,
485,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the fastest lap of the race where Giuseppe Farina was the winning driver? | CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_76 WHERE winning_driver = "giuseppe farina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
11584,
222,
834,
8478,
584,
4280,
28027,
6,
3447,
834,
13739,
52,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
10391,
14941,
13,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10391,
834,
8478,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
3447,
834,
13739,
52,
3274,
96,
24930,
7,
15,
6811,
623,
77,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What team did the Hornets play in game 4? | CREATE TABLE table_74178 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Team" FROM table_74178 WHERE "Game" = '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
27640,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
121,
21680,
953,
834,
4581,
27640,
549,
17444,
427,
96,
23055,
121,
3274,
3,
31,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who was the runner-up in the RR Donnelley LPGA Founders Cup? | CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_52 WHERE tournament = "rr donnelley lpga founders cup" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
10806,
834,
7,
834,
834,
413,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
3,
10806,
18,
413,
16,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
10806,
834,
7,
834,
834,
413,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
5892,
3274,
96,
52,
52,
8551,
40,
1306,
3,
40,
102,
122,
9,
7174,
7,
4119,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time, sort total number of salary from high to low order please. | CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE... | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(SALARY) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
613,
834,
10193,
10972,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
5097,
8241,
834,
308,
6048,
833,
6,
3,
14920,
834,
308,
6048,
833,
6,
446,
10539,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
180,
6122,
599,
134,
4090,
24721,
61,
21680,
1652,
549,
17444,
427,
180,
4090,
24721,
272,
7969,
518,
23394,
3,
25129,
3430,
586,
2313,
3430,
3,
6657,
329,
16994,
9215,
834,
4051,
382,
... |
Which episode had viewership of 0.296 million? | CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR) | SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
3916,
3959,
2773,
834,
519,
41,
15,
102,
159,
32,
221,
584,
4280,
28027,
6,
13569,
834,
834,
17030,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5640,
21680,
953,
834,
2555,
3916,
3959,
2773,
834,
519,
549,
17444,
427,
13569,
834,
834,
17030,
7,
834,
3274,
96,
18189,
4314,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the launch date the satellite with cospar ID is 2008-033A? | CREATE TABLE table_18161217_2 (
launch_date VARCHAR,
cospar_id VARCHAR
) | SELECT launch_date FROM table_18161217_2 WHERE cospar_id = "2008-033A" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
2938,
2122,
2517,
834,
357,
41,
3289,
834,
5522,
584,
4280,
28027,
6,
576,
7,
1893,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3289,
834,
5522,
21680,
953,
834,
2606,
2938,
2122,
2517,
834,
357,
549,
17444,
427,
576,
7,
1893,
834,
23,
26,
3274,
96,
16128,
18,
4928,
519,
188,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
WHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE? | CREATE TABLE table_name_46 (bronze INTEGER, silver VARCHAR, rank VARCHAR) | SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
13711,
776,
3,
21342,
17966,
6,
4294,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
2847,
17161,
11824,
454,
3291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
13711,
776,
61,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
4294,
2490,
209,
3430,
11003,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the space where the next one was mike turnesa | CREATE TABLE table_28456 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
) | SELECT "Margin" FROM table_28456 WHERE "Runner(s)-up" = 'Mike Turnesa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2128,
948,
41,
96,
476,
2741,
121,
490,
6,
96,
254,
1483,
12364,
2009,
121,
1499,
6,
96,
5062,
8034,
121,
1499,
6,
96,
518,
10503,
2604,
121,
1499,
6,
96,
7286,
122... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
7286,
122,
77,
121,
21680,
953,
834,
2577,
2128,
948,
549,
17444,
427,
96,
23572,
599,
7,
61,
18,
413,
121,
3274,
3,
31,
329,
5208,
5527,
15,
7,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many players of the year are there in the Mountain West Conference? | CREATE TABLE table_73251 (
"Conference" text,
"Regular Season Winner" text,
"Conference Player of the Year" text,
"Conference Tournament" text,
"Tournament Venue (City)" text,
"Tournament Winner" text
) | SELECT COUNT("Conference Player of the Year") FROM table_73251 WHERE "Conference" = 'Mountain West Conference' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
1828,
536,
41,
96,
4302,
11788,
121,
1499,
6,
96,
17748,
4885,
7960,
18125,
121,
1499,
6,
96,
4302,
11788,
12387,
13,
8,
2929,
121,
1499,
6,
96,
4302,
11788,
20502,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
4302,
11788,
12387,
13,
8,
2929,
8512,
21680,
953,
834,
4552,
1828,
536,
549,
17444,
427,
96,
4302,
11788,
121,
3274,
3,
31,
329,
32,
14016,
77,
1244,
4379,
31,
1,
-100,
-100,
-100,
-100,
-100... |
Please show the themes of competitions with host cities having populations larger than 1000. | CREATE TABLE farm_competition (
Theme VARCHAR,
Host_city_ID VARCHAR
)
CREATE TABLE city (
City_ID VARCHAR,
Population INTEGER
) | SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID WHERE T1.Population > 1000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3797,
834,
287,
4995,
4749,
41,
37,
526,
584,
4280,
28027,
6,
1546,
7,
17,
834,
6726,
834,
4309,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
690,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
634,
526,
21680,
690,
6157,
332,
536,
3,
15355,
3162,
3797,
834,
287,
4995,
4749,
6157,
332,
357,
9191,
332,
5411,
254,
485,
834,
4309,
3274,
332,
4416,
566,
3481,
834,
6726,
834,
4309,
549,
17444,
427,
3... |
What's the white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000? | CREATE TABLE table_name_80 (
white VARCHAR,
opening VARCHAR,
year VARCHAR,
moves VARCHAR,
black VARCHAR
) | SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
872,
584,
4280,
28027,
6,
2101,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
6914,
584,
4280,
28027,
6,
1001,
584,
4280,
28027,
3,
61,
3,
32102,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
872,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
6914,
2490,
957,
3430,
1001,
3274,
96,
1258,
14147,
8843,
121,
3430,
215,
3,
2,
2766,
3430,
2101,
3274,
96,
15,
4271,
3,
1765,
31,
7,
16,
8603,
13613,
121,
1... |
What brand is model I7-8xx? | CREATE TABLE table_24018112_1 (
brand_name VARCHAR,
model__list_ VARCHAR
) | SELECT brand_name FROM table_24018112_1 WHERE model__list_ = "i7-8xx" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11944,
2606,
2596,
357,
834,
536,
41,
1056,
834,
4350,
584,
4280,
28027,
6,
825,
834,
834,
3350,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1056,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1056,
834,
4350,
21680,
953,
834,
11944,
2606,
2596,
357,
834,
536,
549,
17444,
427,
825,
834,
834,
3350,
834,
3274,
96,
23,
25580,
19230,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the lowest total that has 1977 as the year (s) won? | CREATE TABLE table_8784 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) | SELECT MIN("Total") FROM table_8784 WHERE "Year(s) won" = '1977' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4225,
4608,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
4225,
4608,
549,
17444,
427,
96,
476,
2741,
599,
7,
61,
751,
121,
3274,
3,
31,
2294,
4013,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the total number of games with more than 20 points for the 1976 season? | CREATE TABLE table_name_89 (games VARCHAR, season VARCHAR, points VARCHAR) | SELECT COUNT(games) FROM table_name_89 WHERE season = "1976" AND points > 20 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
7261,
7,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
792,
381,
13,
1031,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7261,
7,
61,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
774,
3274,
96,
2294,
3959,
121,
3430,
979,
2490,
460,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Nickname of the school established in 1773 | CREATE TABLE table_16432543_1 (nickname VARCHAR, established VARCHAR) | SELECT nickname FROM table_16432543_1 WHERE established = 1773 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4906,
1828,
4906,
834,
536,
41,
11191,
4350,
584,
4280,
28027,
6,
2127,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
7486,
4350,
13,
8,
496,
2127,
16,
1003,
455... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
24649,
21680,
953,
834,
2938,
4906,
1828,
4906,
834,
536,
549,
17444,
427,
2127,
3274,
1003,
4552,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the date when the team is listed as New Orleans? | CREATE TABLE table_29940 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Date" FROM table_29940 WHERE "Team" = 'New Orleans' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3264,
2445,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
357,
3264,
2445,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
6861,
14433,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many countries had a per capita withdrawal (m 3 /p/yr) of 372? | CREATE TABLE table_20404 (
"Country" text,
"Total Freshwater Withdrawal (km 3 /yr)" text,
"Per Capita Withdrawal (m 3 /p/yr)" real,
"Domestic Use (m 3 /p/yr)(in %)" text,
"Industrial Use (m 3 /p/yr)(in %)" text,
"Agricultural Use (m 3 /p/yr)(in %)" text
) | SELECT COUNT("Country") FROM table_20404 WHERE "Per Capita Withdrawal (m 3 /p/yr)" = '372' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
25285,
41,
96,
10628,
651,
121,
1499,
6,
96,
3696,
1947,
8767,
3552,
438,
19489,
138,
41,
5848,
220,
3,
87,
63,
52,
61,
121,
1499,
6,
96,
12988,
4000,
155,
9,
438,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
10628,
651,
8512,
21680,
953,
834,
1755,
25285,
549,
17444,
427,
96,
12988,
4000,
155,
9,
438,
19489,
138,
41,
51,
220,
3,
87,
102,
87,
63,
52,
61,
121,
3274,
3,
31,
4118,
357,
31,
1,
-100... |
How many different games against Florida Panthers were played in Verizon Center? | CREATE TABLE table_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR) | SELECT COUNT(game) FROM table_23308178_5 WHERE opponent = "Florida Panthers" AND location = "Verizon Center" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20879,
4018,
27640,
834,
755,
41,
7261,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
315,
1031,
581,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7261,
61,
21680,
953,
834,
20879,
4018,
27640,
834,
755,
549,
17444,
427,
15264,
3274,
96,
11251,
4055,
9,
21149,
7,
121,
3430,
1128,
3274,
96,
5000,
23,
8892,
1166,
121,
1,
-100,
-100,
-100,
-100,
... |
Which Number of households has a County of cook, and Population smaller than 5,176? | CREATE TABLE table_name_98 (
number_of_households INTEGER,
county VARCHAR,
population VARCHAR
) | SELECT AVG(number_of_households) FROM table_name_98 WHERE county = "cook" AND population < 5 OFFSET 176 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
381,
834,
858,
834,
1840,
6134,
7,
3,
21342,
17966,
6,
5435,
584,
4280,
28027,
6,
2074,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
5525,
1152,
834,
858,
834,
1840,
6134,
7,
61,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
5435,
3274,
96,
509,
1825,
121,
3430,
2074,
3,
2,
305,
3,
15316,
20788,
3,
26782,
1,
-100,
-100,
-10... |
What was the Competition on November 16, 2007? | CREATE TABLE table_name_64 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_64 WHERE date = "november 16, 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
287,
4995,
4749,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
15571,
30,
1671,
11940,
4101,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2259,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
833,
3274,
96,
5326,
18247,
11940,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
count the number of patients whose year of death is less than or equal to 2112 and drug code is hesp500i? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2112.0" AND prescriptions.formulary_drug_cd = "HESP500I" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
How many households have yadkin as the county? | CREATE TABLE table_name_71 (
number_of_households VARCHAR,
county VARCHAR
) | SELECT number_of_households FROM table_name_71 WHERE county = "yadkin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
381,
834,
858,
834,
1840,
6134,
7,
584,
4280,
28027,
6,
5435,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
15802,
43,
3,
63,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
381,
834,
858,
834,
1840,
6134,
7,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
5435,
3274,
96,
63,
9,
26,
2917,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many patients whose insurance is self pay and diagnoses short title is dermatitis nos? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Self Pay" AND diagnoses.short_title = "Dermatitis NOS" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433? | CREATE TABLE table_name_66 (
interview INTEGER,
country VARCHAR,
swimsuit VARCHAR
) | SELECT MIN(interview) FROM table_name_66 WHERE country = "missouri" AND swimsuit > 9.433 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
2772,
3,
21342,
17966,
6,
684,
584,
4280,
28027,
6,
9728,
7628,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
2772,
2604,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
3870,
4576,
61,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
684,
3274,
96,
11502,
32,
459,
121,
3430,
9728,
7628,
2490,
5835,
4906,
519,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the state class for resigned november 3, 1964 | CREATE TABLE table_2159506_3 (
state__class_ VARCHAR,
reason_for_change VARCHAR
) | SELECT state__class_ FROM table_2159506_3 WHERE reason_for_change = "Resigned November 3, 1964" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
1808,
3301,
5176,
834,
519,
41,
538,
834,
834,
4057,
834,
584,
4280,
28027,
6,
1053,
834,
1161,
834,
13073,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
538,
834,
834,
4057,
834,
21680,
953,
834,
357,
1808,
3301,
5176,
834,
519,
549,
17444,
427,
1053,
834,
1161,
834,
13073,
3274,
96,
1649,
15532,
1671,
6180,
18969,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the number of patients whose ethnicity is white and procedure long title is open and other replacement of aortic valve with tissue graft? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "WHITE" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
How many Arabic forms are there for the 1st. plur. perfect category? | CREATE TABLE table_30039 (
"Semitological abbreviation" text,
"Hebrew name" text,
"Arabic name" text,
"Morphological category" text,
"Hebrew Form" text,
"Arabic form" text,
"Approximate translation" text
) | SELECT COUNT("Arabic form") FROM table_30039 WHERE "Morphological category" = '1st. plur. perfect' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5426,
3288,
41,
96,
134,
15,
1538,
4478,
703,
1999,
2099,
257,
121,
1499,
6,
96,
3845,
1999,
210,
564,
121,
1499,
6,
96,
188,
7093,
447,
564,
121,
1499,
6,
96,
329,
127,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
188,
7093,
447,
607,
8512,
21680,
953,
834,
5426,
3288,
549,
17444,
427,
96,
329,
127,
9553,
6207,
3295,
121,
3274,
3,
31,
536,
7,
17,
5,
3681,
52,
5,
626,
31,
1,
-100,
-100,
-100,
-100,
-... |
What game did they lose by 6 - 5? | CREATE TABLE table_name_67 (
loss VARCHAR,
score VARCHAR
) | SELECT loss FROM table_name_67 WHERE score = "6 - 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
1453,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
467,
410,
79,
2615,
57,
431,
3,
18,
305,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1453,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
2604,
3274,
96,
948,
3,
18,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which series had a score of l 103 112 (ot)? | CREATE TABLE table_27713030_16 (
series VARCHAR,
score VARCHAR
) | SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4450,
1458,
1458,
834,
2938,
41,
939,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
939,
141,
3,
9,
2604,
13,
3,
40,
3,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
939,
21680,
953,
834,
2555,
4450,
1458,
1458,
834,
2938,
549,
17444,
427,
2604,
3274,
96,
434,
3,
17864,
104,
2596,
357,
41,
6951,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What state was the president who was elected earlier than 1848 born in? | CREATE TABLE table_name_43 (birth_state VARCHAR, election_year INTEGER) | SELECT birth_state FROM table_name_43 WHERE election_year < 1848 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
20663,
834,
5540,
584,
4280,
28027,
6,
4356,
834,
1201,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
538,
47,
8,
2753,
113,
47,
8160,
2283,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3879,
834,
5540,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
4356,
834,
1201,
3,
2,
507,
3707,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the distance when the weight is 9.2? | CREATE TABLE table_name_16 (
distance VARCHAR,
weight VARCHAR
) | SELECT distance FROM table_name_16 WHERE weight = 9.2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
2357,
584,
4280,
28027,
6,
1293,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2357,
116,
8,
1293,
19,
5835,
357,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2357,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
1293,
3274,
5835,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which E. Greenberg has a T. Wyka of 10,793 (70%)? | CREATE TABLE table_59249 (
"County" text,
"Precincts" text,
"E. Greenberg" text,
"G. Hager" text,
"T. Wyka" text
) | SELECT "E. Greenberg" FROM table_59249 WHERE "T. Wyka" = '10,793 (70%)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
357,
3647,
41,
96,
10628,
63,
121,
1499,
6,
96,
345,
7886,
29,
75,
17,
7,
121,
1499,
6,
96,
427,
5,
1862,
2235,
121,
1499,
6,
96,
517,
5,
19905,
49,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
5,
1862,
2235,
121,
21680,
953,
834,
3390,
357,
3647,
549,
17444,
427,
96,
382,
5,
11314,
1258,
121,
3274,
3,
31,
1714,
6,
4440,
519,
41,
2518,
6210,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Finish on June 1, 2008? | CREATE TABLE table_59682 (
"Date" text,
"Race" text,
"Track" text,
"Location" text,
"Distance" text,
"Surface" text,
"Purse" text,
"Finish" text
) | SELECT "Finish" FROM table_59682 WHERE "Date" = 'june 1, 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
3651,
357,
41,
96,
308,
342,
121,
1499,
6,
96,
448,
3302,
121,
1499,
6,
96,
382,
16729,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
308,
23,
8389,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
77,
1273,
121,
21680,
953,
834,
3390,
3651,
357,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
6959,
15,
1914,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O? | CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR) | SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = "1 × 6.4 gt/s qpi" AND part_number_s_ = "bx80601975at80601002274aa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
21019,
834,
102,
4920,
834,
834,
834,
302,
26,
834,
834,
584,
4280,
28027,
6,
3,
23,
834,
32,
834,
3465,
584,
4280,
28027,
6,
294,
834,
5525,
1152,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1576,
834,
102,
4920,
834,
834,
834,
302,
26,
834,
834,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
3,
23,
834,
32,
834,
3465,
3274,
96,
536,
3,
2,
3,
27869,
3,
122,
17,
87,
7,
3,
1824,
102,
23,
121,
... |
What was the location of the fight when Sara McMann's record was 1-0? | CREATE TABLE table_7132 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Location" FROM table_7132 WHERE "Record" = '1-0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4450,
2668,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
427,
2169,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
4450,
2668,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
18930,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Visualize a bar chart about the distribution of All_Neutral and Team_ID , I want to display by the Y-axis from high to low please. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Neutral, Team_ID FROM basketball_match ORDER BY Team_ID DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
26288,
8792,
6,
2271,
834,
4309,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
2271,
834,
4309,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the scoreboard when karen was 4.5 | CREATE TABLE table_19744915_3 (scoreboard VARCHAR, karen VARCHAR) | SELECT scoreboard FROM table_19744915_3 WHERE karen = "4.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
4581,
3647,
1808,
834,
519,
41,
7,
9022,
1976,
584,
4280,
28027,
6,
3,
4031,
35,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
2604,
1976,
116,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
1976,
21680,
953,
834,
2294,
4581,
3647,
1808,
834,
519,
549,
17444,
427,
3,
4031,
35,
3274,
96,
12451,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many consecutive times was the rank # 2 ? | CREATE TABLE table_204_617 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
) | SELECT COUNT(*) FROM table_204_617 WHERE "rank#" = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
948,
2517,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
4663,
121,
1499,
6,
96,
6254,
4663,
121,
1499,
6,
96,
3585,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
948,
2517,
549,
17444,
427,
96,
6254,
4663,
121,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Byes have Losses larger than 0, and an Against larger than 3049? | CREATE TABLE table_name_7 (
byes INTEGER,
losses VARCHAR,
against VARCHAR
) | SELECT AVG(byes) FROM table_name_7 WHERE losses > 0 AND against > 3049 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
57,
15,
7,
3,
21342,
17966,
6,
8467,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
938,
15,
7,
43,
3144,
226... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
969,
15,
7,
61,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
8467,
2490,
3,
632,
3430,
581,
2490,
604,
3647,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which opponent has a record of 3 1? | CREATE TABLE table_12308 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Opponent" FROM table_12308 WHERE "Record" = '3–1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
14574,
4018,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
427,
2169,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
14574,
4018,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
519,
104,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the venue for the match on 30/03/1985? | CREATE TABLE table_61134 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) | SELECT "Venue" FROM table_61134 WHERE "Date" = '30/03/1985' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
23747,
41,
96,
667,
102,
2748,
53,
16651,
121,
1499,
6,
96,
20749,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
17,
144,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
4241,
23747,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
1458,
31064,
2294,
4433,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average base price of rooms, for each bed type? | CREATE TABLE reservations (
code number,
room text,
checkin text,
checkout text,
rate number,
lastname text,
firstname text,
adults number,
kids number
)
CREATE TABLE rooms (
roomid text,
roomname text,
beds number,
bedtype text,
maxoccupancy number,
basepric... | SELECT bedtype, AVG(baseprice) FROM rooms GROUP BY bedtype | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
17653,
41,
1081,
381,
6,
562,
1499,
6,
691,
77,
1499,
6,
15912,
1499,
6,
1080,
381,
6,
336,
4350,
1499,
6,
166,
4350,
1499,
6,
3513,
381,
6,
1082,
381,
3,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1953,
6137,
6,
71,
17217,
599,
10925,
102,
4920,
61,
21680,
2801,
350,
4630,
6880,
272,
476,
1953,
6137,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What medium was used for the sculpture by Ernest Richard Gause? | CREATE TABLE table_2377 (
"Title/Subject" text,
"Public Office" text,
"Artist" text,
"Date Painted/Created" text,
"Medium" text
) | SELECT "Medium" FROM table_2377 WHERE "Artist" = 'Ernest Richard Gause' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
4013,
41,
96,
382,
155,
109,
87,
25252,
11827,
121,
1499,
6,
96,
30931,
2126,
121,
1499,
6,
96,
7754,
343,
121,
1499,
6,
96,
308,
342,
19043,
1054,
87,
254,
60,
920... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20123,
2552,
121,
21680,
953,
834,
2773,
4013,
549,
17444,
427,
96,
7754,
343,
121,
3274,
3,
31,
10575,
29,
222,
4117,
2776,
1074,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam? | CREATE TABLE table_name_25 (
year_completed INTEGER,
dam_type VARCHAR,
dam_constructed VARCHAR
) | SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
215,
834,
25288,
26,
3,
21342,
17966,
6,
10157,
834,
6137,
584,
4280,
28027,
6,
10157,
834,
30816,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
1201,
834,
25288,
26,
61,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
10157,
834,
6137,
3274,
96,
15,
10702,
16326,
10960,
5979,
297,
121,
3430,
10157,
834,
30816,
3274,
96,
157,
2618,
509,
3478,
... |
What is the average number of honorary professors in the economics department with 1 lecturer? | CREATE TABLE table_15813 (
"Department" text,
"Head" text,
"Full professors" real,
"Honorary professors" real,
"Lecturers" real
) | SELECT AVG("Honorary professors") FROM table_15813 WHERE "Lecturers" = '1' AND "Department" = 'economics' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26556,
2368,
41,
96,
2962,
2274,
297,
121,
1499,
6,
96,
3845,
9,
26,
121,
1499,
6,
96,
371,
83,
40,
5812,
7,
121,
490,
6,
96,
566,
106,
127,
1208,
5812,
7,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
566,
106,
127,
1208,
5812,
7,
8512,
21680,
953,
834,
26556,
2368,
549,
17444,
427,
96,
2796,
75,
2905,
277,
121,
3274,
3,
31,
536,
31,
3430,
96,
2962,
2274,
297,
121,
3274,
3,
31,
13599,
7,
... |
What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is 'Win'? | CREATE TABLE table_name_22 (
score VARCHAR,
venue VARCHAR,
result VARCHAR
) | SELECT score FROM table_name_22 WHERE venue = "riyadh, saudi arabia" AND result = "win" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
2604,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
17763,
6,
116,
29940,
19,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
5669,
3274,
96,
26038,
26,
107,
6,
392,
26,
23,
1584,
15932,
121,
3430,
741,
3274,
96,
3757,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What position did the #10 draft pick play? | CREATE TABLE table_1004033_1 (
position VARCHAR,
draft_pick__number VARCHAR
) | SELECT position FROM table_1004033_1 WHERE draft_pick__number = "10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2915,
2445,
4201,
834,
536,
41,
1102,
584,
4280,
28027,
6,
6488,
834,
17967,
834,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
410,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
2915,
2445,
4201,
834,
536,
549,
17444,
427,
6488,
834,
17967,
834,
834,
5525,
1152,
3274,
96,
1714,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the name of the player with more than 0 assists, a position of forward, 19 goals, and more than 84 apps? | CREATE TABLE table_name_22 (
name VARCHAR,
goals VARCHAR,
apps VARCHAR,
assists VARCHAR,
position VARCHAR
) | SELECT name FROM table_name_22 WHERE assists > 0 AND position = "forward" AND apps > 84 AND goals = 19 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
564,
584,
4280,
28027,
6,
1766,
584,
4280,
28027,
6,
4050,
584,
4280,
28027,
6,
13041,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
13041,
2490,
3,
632,
3430,
1102,
3274,
96,
26338,
121,
3430,
4050,
2490,
3,
4608,
3430,
1766,
3274,
957,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the full names of students minoring in department 140? | CREATE TABLE member_of (
facid number,
dno number,
appt_type text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE department (
dno number,
division text,
dname text,... | SELECT T2.fname, T2.lname FROM minor_in AS T1 JOIN student AS T2 ON T1.stuid = T2.stuid WHERE T1.dno = 140 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1144,
834,
858,
41,
7076,
26,
381,
6,
3,
26,
29,
32,
381,
6,
1120,
17,
834,
6137,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
21341,
23,
26,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
89,
4350,
6,
332,
4416,
40,
4350,
21680,
4012,
834,
77,
6157,
332,
536,
3,
15355,
3162,
1236,
6157,
332,
357,
9191,
332,
5411,
7,
17,
76,
23,
26,
3274,
332,
4416,
7,
17,
76,
23,
26,
549,
17444,
427,
... |
Which Gold has a Nation of malaysia, and a Silver smaller than 0? | CREATE TABLE table_name_47 (
gold INTEGER,
nation VARCHAR,
silver VARCHAR
) | SELECT MIN(gold) FROM table_name_47 WHERE nation = "malaysia" AND silver < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
2045,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2540,
65,
3,
9,
11046,
13,
954... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
14910,
61,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
2982,
3274,
96,
51,
9,
20244,
23,
9,
121,
3430,
4294,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
On what Date was the Score 4 1? | CREATE TABLE table_59121 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Date" FROM table_59121 WHERE "Score" = '4–1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
22011,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
308,
342,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3390,
22011,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
591,
104,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What's the number of the episode seen by 2.24 million people in the US? | CREATE TABLE table_24558 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. air date" text,
"Production code" text,
"U.S. viewers (million)" text
) | SELECT "#" FROM table_24558 WHERE "U.S. viewers (million)" = '2.24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2128,
3449,
41,
96,
4168,
535,
490,
6,
96,
4663,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4663,
121,
21680,
953,
834,
357,
2128,
3449,
549,
17444,
427,
96,
1265,
5,
134,
5,
13569,
41,
17030,
61,
121,
3274,
3,
31,
4416,
2266,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What Winner had a Prize of z 2,153,999? | CREATE TABLE table_70035 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
) | SELECT "Winner" FROM table_70035 WHERE "Prize" = 'zł2,153,999' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9295,
2469,
41,
96,
308,
342,
121,
1499,
6,
96,
254,
485,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
7855,
776,
121,
1499,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18455,
687,
121,
21680,
953,
834,
9295,
2469,
549,
17444,
427,
96,
7855,
776,
121,
3274,
3,
31,
172,
2,
4482,
27025,
6,
19446,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many judges were there when the result is safe with a vote percentage of 10.7%? | CREATE TABLE table_28639 (
"Rank" real,
"Couple" text,
"Judges" real,
"Public" real,
"Total" real,
"Vote percentage" text,
"Result" text
) | SELECT MIN("Judges") FROM table_28639 WHERE "Result" = 'Safe' AND "Vote percentage" = '10.7%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3840,
3288,
41,
96,
22557,
121,
490,
6,
96,
3881,
413,
109,
121,
1499,
6,
96,
683,
13164,
7,
121,
490,
6,
96,
30931,
121,
490,
6,
96,
3696,
1947,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
683,
13164,
7,
8512,
21680,
953,
834,
357,
3840,
3288,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
27437,
31,
3430,
96,
553,
32,
17,
15,
5294,
121,
3274,
3,
31,
10415,
6170,
31,
1,
-100,
-1... |
What is the number of patients who had replacement of tube or enterostomy device of small intestine that had a hematology lab test category? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Replacement of tube or enterostomy device of small intestine" AND lab."CATEGORY" = "Hematology" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
3388,
18206... |
what is the only team to draw ? | CREATE TABLE table_204_334 (
id number,
"opposition" text,
"matches" number,
"won" number,
"drawn" number,
"lost" number,
"for" number,
"against" number,
"win%" text
) | SELECT "opposition" FROM table_204_334 WHERE "drawn" > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
519,
3710,
41,
3,
23,
26,
381,
6,
96,
29585,
121,
1499,
6,
96,
19515,
15,
7,
121,
381,
6,
96,
210,
106,
121,
381,
6,
96,
19489,
29,
121,
381,
6,
96,
2298,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
29585,
121,
21680,
953,
834,
26363,
834,
519,
3710,
549,
17444,
427,
96,
19489,
29,
121,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
List all ship names in the order of built year and class. | CREATE TABLE ship (name VARCHAR, built_year VARCHAR, CLASS VARCHAR) | SELECT name FROM ship ORDER BY built_year, CLASS | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4383,
41,
4350,
584,
4280,
28027,
6,
1192,
834,
1201,
584,
4280,
28027,
6,
3,
31598,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
6792,
66,
4383,
3056,
16,
8,
455,
13,
1192,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
4383,
4674,
11300,
272,
476,
1192,
834,
1201,
6,
3,
31598,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the party that has the largest number of representatives? | CREATE TABLE representative (
Party VARCHAR
) | SELECT Party, COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6978,
41,
3450,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1088,
24,
65,
8,
2015,
381,
13,
8675,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3450,
6,
2847,
17161,
599,
1935,
61,
21680,
6978,
350,
4630,
6880,
272,
476,
3450,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who is the player from Japan? | CREATE TABLE table_10052 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Player" FROM table_10052 WHERE "Country" = 'japan' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2915,
5373,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
61,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
2915,
5373,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
1191,
2837,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the maximum point for climbers whose country is United Kingdom? | CREATE TABLE climber (Points INTEGER, Country VARCHAR) | SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8147,
49,
41,
22512,
7,
3,
21342,
17966,
6,
6993,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2411,
500,
21,
8147,
277,
3,
2544,
684,
19,
907,
6524,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
22512,
7,
61,
21680,
8147,
49,
549,
17444,
427,
6993,
3274,
96,
5110,
23,
1054,
6524,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the share of votes in the 2008 (1) election? | CREATE TABLE table_name_99 (
share_of_votes VARCHAR,
election VARCHAR
) | SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
698,
834,
858,
834,
1621,
1422,
584,
4280,
28027,
6,
4356,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
698,
13,
11839,
16,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
698,
834,
858,
834,
1621,
1422,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
4356,
3274,
96,
16128,
5637,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average for the top five having a number of 42 cuts made. | CREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR) | SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
2916,
834,
755,
3,
21342,
17966,
6,
8620,
834,
4725,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
21,
8,
420,
874,
578,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2916,
834,
9120,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
8620,
834,
4725,
3274,
6426,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the maximum number of golds? | CREATE TABLE table_24945 (
"Rank" real,
"Athlete" text,
"Nation" text,
"Olympics" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total(min. 2 medals)" real
) | SELECT MAX("Gold") FROM table_24945 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3647,
2128,
41,
96,
22557,
121,
490,
6,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
567,
257,
121,
1499,
6,
96,
667,
120,
51,
6174,
7,
121,
1499,
6,
96,
23576,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
23576,
8512,
21680,
953,
834,
357,
3647,
2128,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the date when Jeremy Edwards and Grace Adams-Short were the panelists. | CREATE TABLE table_20421 (
"Episode Number" real,
"Air Date" text,
"Guest Host" text,
"Musical Guest (Song performed)" text,
"Who knows the most about the guest host? panelists" text
) | SELECT "Air Date" FROM table_20421 WHERE "Who knows the most about the guest host? panelists" = 'Jeremy Edwards and Grace Adams-Short' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
2658,
41,
96,
427,
102,
159,
32,
221,
7720,
121,
490,
6,
96,
20162,
7678,
121,
1499,
6,
96,
9105,
222,
1546,
7,
17,
121,
1499,
6,
96,
29035,
138,
14252,
41,
134,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20162,
7678,
121,
21680,
953,
834,
26363,
2658,
549,
17444,
427,
96,
20754,
4054,
8,
167,
81,
8,
3886,
2290,
58,
2952,
343,
7,
121,
3274,
3,
31,
18540,
8200,
7,
11,
12254,
14274,
18,
134,
14184,
31,
1,
-100,
... |
What is the 2005 figure when 2002 is A and 2010 is 3R? | CREATE TABLE table_12169 (
"Tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text,
"Win %" text
) | SELECT "2005" FROM table_12169 WHERE "2002" = 'a' AND "2010" = '3r' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
27096,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
13527,
121,
1499,
6,
96,
23658,
121,
1499,
6,
96,
24898,
121,
1499,
6,
96,
22594,
121,
1499,
6,
96,
21196,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22594,
121,
21680,
953,
834,
2122,
27096,
549,
17444,
427,
96,
24898,
121,
3274,
3,
31,
9,
31,
3430,
96,
14926,
121,
3274,
3,
31,
519,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the drawn with lost of 3 and points of 88 | CREATE TABLE table_name_86 (
drawn VARCHAR,
lost VARCHAR,
points VARCHAR
) | SELECT drawn FROM table_name_86 WHERE lost = "3" AND points = "88" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
6796,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
6796,
28,
1513,
13,
220,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6796,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
1513,
3274,
96,
519,
121,
3430,
979,
3274,
96,
4060,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What's the value for oklahoma when texas is kennedy? | CREATE TABLE table_name_6 (oklahoma VARCHAR, texas VARCHAR) | SELECT oklahoma FROM table_name_6 WHERE texas = "kennedy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
32,
8142,
10207,
9,
584,
4280,
28027,
6,
3,
10354,
9,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
701,
21,
3,
32,
8142,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
32,
8142,
10207,
9,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
3,
10354,
9,
7,
3274,
96,
9376,
15,
26,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
when co2 is 192g/km, what is the power? | CREATE TABLE table_24729_2 (
power VARCHAR,
co2 VARCHAR
) | SELECT power FROM table_24729_2 WHERE co2 = "192g/km" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4177,
3166,
834,
357,
41,
579,
584,
4280,
28027,
6,
576,
357,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
116,
576,
357,
19,
3,
19978,
122,
87,
5848,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
579,
21680,
953,
834,
357,
4177,
3166,
834,
357,
549,
17444,
427,
576,
357,
3274,
96,
19978,
122,
87,
5848,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which To par has a Country of england, and a Place of t9, and a Player of graeme storm? | CREATE TABLE table_name_47 (to_par INTEGER, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT MAX(to_par) FROM table_name_47 WHERE country = "england" AND place = "t9" AND player = "graeme storm" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
235,
834,
1893,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
235,
834,
1893,
61,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
684,
3274,
96,
4606,
40,
232,
121,
3430,
286,
3274,
96,
17,
1298,
121,
3430,
1959,
3274,
96,
3484,
15,
526,
5536,
121,
1,
-100,
... |
What's the location of the National event? | CREATE TABLE table_64929 (
"Event" text,
"Date" text,
"Location" text,
"Winning skip" text,
"Runner-up skip" text
) | SELECT "Location" FROM table_64929 WHERE "Event" = 'the national' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3647,
3166,
41,
96,
427,
2169,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
518,
10503,
11202,
121,
1499,
6,
96,
23572,
18,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
948,
3647,
3166,
549,
17444,
427,
96,
427,
2169,
121,
3274,
3,
31,
532,
1157,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Director of christophe barratier had what highest year? | CREATE TABLE table_39378 (
"Year" real,
"English title" text,
"Original title" text,
"Country" text,
"Director" text
) | SELECT MAX("Year") FROM table_39378 WHERE "Director" = 'christophe barratier' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
519,
3940,
41,
96,
476,
2741,
121,
490,
6,
96,
26749,
2233,
121,
1499,
6,
96,
667,
3380,
10270,
2233,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
23620,
127,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
476,
2741,
8512,
21680,
953,
834,
3288,
519,
3940,
549,
17444,
427,
96,
23620,
127,
121,
3274,
3,
31,
15294,
10775,
15,
1207,
6850,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Where did naylor move from? | CREATE TABLE table_name_31 (
moving_from VARCHAR,
name VARCHAR
) | SELECT moving_from FROM table_name_31 WHERE name = "naylor" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
1735,
834,
7152,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
410,
3,
29,
9,
63,
322,
888,
45,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1735,
834,
7152,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
564,
3274,
96,
29,
9,
63,
322,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the score which has opponent of stefano galvani | CREATE TABLE table_name_85 (
score VARCHAR,
opponent VARCHAR
) | SELECT score FROM table_name_85 WHERE opponent = "stefano galvani" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
2604,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2604,
84,
65,
15264,
13,
3,
7,
24018,
32,
7466,
1665... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
15264,
3274,
96,
7,
24018,
32,
7466,
16658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the Original Australian performer when the Original West End Performer is Linzi Hateley? | CREATE TABLE table_1901751_1 (
original_australian_performer VARCHAR,
original_west_end_performer VARCHAR
) | SELECT original_australian_performer FROM table_1901751_1 WHERE original_west_end_performer = "Linzi Hateley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11776,
2517,
5553,
834,
536,
41,
926,
834,
402,
3109,
9928,
834,
883,
2032,
49,
584,
4280,
28027,
6,
926,
834,
12425,
834,
989,
834,
883,
2032,
49,
584,
4280,
28027,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
926,
834,
402,
3109,
9928,
834,
883,
2032,
49,
21680,
953,
834,
11776,
2517,
5553,
834,
536,
549,
17444,
427,
926,
834,
12425,
834,
989,
834,
883,
2032,
49,
3274,
96,
434,
77,
702,
7559,
15,
1306,
121,
1,
-100,
-1... |
Which Lead Pitch/mm has a Body Width/mm larger than 10.16? | CREATE TABLE table_63277 (
"Part Number" text,
"Pins" text,
"Body Width/mm" real,
"Body Length/mm" real,
"Lead Pitch/mm" real
) | SELECT SUM("Lead Pitch/mm") FROM table_63277 WHERE "Body Width/mm" > '10.16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
357,
4013,
41,
96,
13725,
7720,
121,
1499,
6,
96,
345,
77,
7,
121,
1499,
6,
96,
279,
9666,
2142,
26,
189,
87,
635,
121,
490,
6,
96,
279,
9666,
312,
1725,
189,
87,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
2796,
9,
26,
276,
7059,
87,
635,
8512,
21680,
953,
834,
3891,
357,
4013,
549,
17444,
427,
96,
279,
9666,
2142,
26,
189,
87,
635,
121,
2490,
3,
31,
22567,
948,
31,
1,
-100,
-100,
-100,
-100,
... |
Which institution does 'Katsuhiro Ueno' belong to? | CREATE TABLE authors (
authid number,
lname text,
fname text
)
CREATE TABLE inst (
instid number,
name text,
country text
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
) | SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = "Katsuhiro" AND t1.lname = "Ueno" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5921,
41,
185,
17,
11740,
381,
6,
3,
40,
4350,
1499,
6,
3,
89,
4350,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
16,
7,
17,
41,
16,
2248,
26,
381,
6,
564,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
3,
17,
5787,
4350,
21680,
5921,
6157,
3,
17,
536,
3,
15355,
3162,
2291,
2009,
6157,
3,
17,
357,
9191,
3,
17,
5411,
402,
17,
11740,
3274,
3,
17,
4416,
402,
17,
11740,
3,
15355,
3162,
16,
7,... |
Who was the home team at 8:00 pm when the score was 11.18 (84)? | CREATE TABLE table_44389 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Time" text
) | SELECT "Home team" FROM table_44389 WHERE "Time" = '8:00 pm' AND "Home team score" = '11.18 (84)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
519,
3914,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
517,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
372,
121,
21680,
953,
834,
3628,
519,
3914,
549,
17444,
427,
96,
13368,
121,
3274,
3,
31,
15692,
6366,
31,
3430,
96,
19040,
372,
2604,
121,
3274,
3,
31,
10032,
2606,
13642,
7256,
31,
1,
-100,
-100,
-100,
... |
For each record in schedule, show average of the price for each day in a bar chart, and could you order in ascending by the y-axis? | CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE schedule... | SELECT Date, AVG(Price) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Date ORDER BY AVG(Price) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
814,
41,
3417,
834,
4309,
16,
17,
6,
3,
22557,
834,
77,
834,
10833,
7,
16,
17,
6,
7720,
834,
77,
834,
9476,
16,
17,
6,
11029,
1499,
6,
7143,
15,
26,
834,
969,
1499,
6,
8465,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7678,
6,
71,
17217,
599,
345,
4920,
61,
21680,
2023,
6157,
332,
536,
3,
15355,
3162,
814,
6157,
332,
357,
9191,
332,
5411,
371,
173,
51,
834,
4309,
3274,
332,
4416,
371,
173,
51,
834,
4309,
3,
15355,
3162,
10276,
... |
Where is the club that was founded in 1946 located that has an unknown coach? | CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR) | SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
14836,
584,
4280,
28027,
6,
3763,
584,
4280,
28027,
6,
5710,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
19,
8,
1886,
24,
47,
5710,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
3763,
3274,
96,
202,
5661,
121,
3430,
5710,
3274,
25021,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Week larger than 6, and a Date of november 22, 1959 had what result? | CREATE TABLE table_37528 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
) | SELECT "Result" FROM table_37528 WHERE "Week" > '6' AND "Date" = 'november 22, 1959' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22954,
2577,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
22954,
2577,
549,
17444,
427,
96,
518,
10266,
121,
2490,
3,
31,
948,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
5326,
18247,
12889,
22471,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many grand prix had mclaren honda as constructor ? | CREATE TABLE table_203_408 (
id number,
"rd." number,
"grand prix" text,
"date" text,
"location" text,
"pole position" text,
"fastest lap" text,
"winning driver" text,
"constructor" text,
"report" text
) | SELECT COUNT("grand prix") FROM table_203_408 WHERE "constructor" = 'mclaren-honda' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2445,
927,
41,
3,
23,
26,
381,
6,
96,
52,
26,
535,
381,
6,
96,
15448,
3407,
121,
1499,
6,
96,
5522,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
14332,
1102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
15448,
3407,
8512,
21680,
953,
834,
23330,
834,
2445,
927,
549,
17444,
427,
96,
15982,
5317,
121,
3274,
3,
31,
51,
23982,
35,
18,
31782,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the 1901 with 1851 of 1961 | CREATE TABLE table_name_12 (Id VARCHAR) | SELECT 1901 FROM table_name_12 WHERE 1851 = "1961" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
196,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
29360,
28,
507,
5553,
13,
21018,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
29360,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
507,
5553,
3274,
96,
2294,
4241,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the To par when the score was 72-67-68-71=278? | CREATE TABLE table_name_20 (
to_par VARCHAR,
score VARCHAR
) | SELECT to_par FROM table_name_20 WHERE score = 72 - 67 - 68 - 71 = 278 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
12,
834,
1893,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
304,
260,
116,
8,
2604,
47,
9455,
18,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12,
834,
1893,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
2604,
3274,
9455,
3,
18,
3,
3708,
3,
18,
3,
3651,
3,
18,
3,
4450,
3274,
204,
3940,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total of all against values for the Corinthians with less than 3 lost? | CREATE TABLE table_35798 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | SELECT COUNT("Against") FROM table_35798 WHERE "Team" = 'corinthians' AND "Lost" < '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3436,
3916,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
20749,
8512,
21680,
953,
834,
519,
3436,
3916,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
5715,
77,
189,
7137,
31,
3430,
96,
434,
3481,
121,
3,
2,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-... |
Who was the Mariners opponent at the game attended by 7,893? | CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_49 WHERE attendance = "7,893" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
32,
102,
9977,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
17154,
277,
15264,
44,
8,
467,
5526,
57,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
11364,
3274,
96,
940,
6,
3914,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What model has a launch of September 3, 2010? | CREATE TABLE table_26040604_1 (model VARCHAR, launch VARCHAR) | SELECT model FROM table_26040604_1 WHERE launch = "September 3, 2010" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18365,
2445,
3328,
591,
834,
536,
41,
21770,
584,
4280,
28027,
6,
3289,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
825,
65,
3,
9,
3289,
13,
1600,
6180,
2735,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
825,
21680,
953,
834,
18365,
2445,
3328,
591,
834,
536,
549,
17444,
427,
3289,
3274,
96,
27652,
6180,
2735,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the ticket/office for orville preston | CREATE TABLE table_22607062_1 (
ticket___office VARCHAR,
secretary_of_state VARCHAR
) | SELECT ticket___office FROM table_22607062_1 WHERE secretary_of_state = "Orville Preston" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
18365,
2518,
4056,
834,
536,
41,
4142,
834,
834,
834,
19632,
584,
4280,
28027,
6,
15852,
834,
858,
834,
5540,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
557... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4142,
834,
834,
834,
19632,
21680,
953,
834,
357,
18365,
2518,
4056,
834,
536,
549,
17444,
427,
15852,
834,
858,
834,
5540,
3274,
96,
7395,
1420,
28876,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the highest Year with the Region of Southeast? | CREATE TABLE table_35730 (
"Year" real,
"Record" text,
"Seed" text,
"Region" text,
"Results" text
) | SELECT MAX("Year") FROM table_35730 WHERE "Region" = 'southeast' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3436,
1458,
41,
96,
476,
2741,
121,
490,
6,
96,
1649,
7621,
121,
1499,
6,
96,
18648,
26,
121,
1499,
6,
96,
17748,
23,
106,
121,
1499,
6,
96,
20119,
7,
121,
1499,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
476,
2741,
8512,
21680,
953,
834,
519,
3436,
1458,
549,
17444,
427,
96,
17748,
23,
106,
121,
3274,
3,
31,
7,
670,
107,
11535,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How long is the song titled burning love? | CREATE TABLE table_name_54 (time VARCHAR, song_title VARCHAR) | SELECT time FROM table_name_54 WHERE song_title = "burning love" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
715,
584,
4280,
28027,
6,
2324,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
307,
19,
8,
2324,
3,
10920,
9706,
333,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
2324,
834,
21869,
3274,
96,
7223,
53,
333,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the only part to be first released in 2008 ? | CREATE TABLE table_203_679 (
id number,
"part" text,
"number" text,
"first public release date (first edition)" number,
"latest public release date (edition)" number,
"latest amendment" text,
"title" text,
"description" text
) | SELECT "number" FROM table_203_679 WHERE "first public release date (first edition)" = 2008 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
948,
4440,
41,
3,
23,
26,
381,
6,
96,
2274,
121,
1499,
6,
96,
5525,
1152,
121,
1499,
6,
96,
14672,
452,
1576,
833,
41,
14672,
4182,
61,
121,
381,
6,
96,
521... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5525,
1152,
121,
21680,
953,
834,
23330,
834,
948,
4440,
549,
17444,
427,
96,
14672,
452,
1576,
833,
41,
14672,
4182,
61,
121,
3274,
2628,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the score of the game where Montreal was the home team and the Devils had a record of 40–24–6? | CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, record VARCHAR) | SELECT score FROM table_name_91 WHERE home = "montreal" AND record = "40–24–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
7,
9022,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
467,
213,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
234,
3274,
96,
4662,
6644,
121,
3430,
1368,
3274,
96,
2445,
104,
2266,
104,
948,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many touchdowns did the player with 10 points have? | CREATE TABLE table_25730326_2 (touchdowns INTEGER, points VARCHAR) | SELECT MIN(touchdowns) FROM table_25730326_2 WHERE points = 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3436,
23335,
2688,
834,
357,
41,
17681,
3035,
7,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
19396,
7,
410,
8,
1959,
28,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
17681,
3035,
7,
61,
21680,
953,
834,
357,
3436,
23335,
2688,
834,
357,
549,
17444,
427,
979,
3274,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which other time was their the same score as the score in benin ? | CREATE TABLE table_203_504 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
) | SELECT "date" FROM table_203_504 WHERE "opponent" <> 'benin' AND "score" = (SELECT "score" FROM table_203_504 WHERE "opponent" = 'benin') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
1752,
591,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
7,
9022,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5522,
121,
21680,
953,
834,
23330,
834,
1752,
591,
549,
17444,
427,
96,
32,
102,
9977,
121,
3,
2,
3155,
3,
31,
115,
35,
77,
31,
3430,
96,
7,
9022,
121,
3274,
41,
23143,
14196,
96,
7,
9022,
121,
21680,
953,
... |
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand? | CREATE TABLE table_65603 (
"Player" text,
"Test debut" text,
"Year" real,
"Cross-code debut" text,
"Date" text,
"Position" text
) | SELECT "Position" FROM table_65603 WHERE "Year" < '1907' AND "Cross-code debut" = 'inaugural rl test v new zealand' AND "Test debut" = 'inaugural ru test v new zealand' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
3328,
519,
41,
96,
15800,
49,
121,
1499,
6,
96,
382,
222,
5695,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
254,
1859,
7,
18,
4978,
5695,
121,
1499,
6,
96,
308,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
32,
7,
4749,
121,
21680,
953,
834,
4122,
3328,
519,
549,
17444,
427,
96,
476,
2741,
121,
3,
2,
3,
31,
2294,
4560,
31,
3430,
96,
254,
1859,
7,
18,
4978,
5695,
121,
3274,
3,
31,
77,
402,
7840,
138,
3,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.