NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Which Record has a Result of win, and a Streak of won 1, and a Game of 47? | CREATE TABLE table_44613 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Nuggets points" real,
"Opponents" real,
"Record" text,
"Streak" text
) | SELECT "Record" FROM table_44613 WHERE "Result" = 'win' AND "Streak" = 'won 1' AND "Game" = '47' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4448,
2368,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
12924,
122,
2782,
7,
979,
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,
96,
1649,
7621,
121,
21680,
953,
834,
591,
4448,
2368,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
3757,
31,
3430,
96,
11500,
15,
1639,
121,
3274,
3,
31,
210,
106,
209,
31,
3430,
96,
23055,
121,
3274,
3,
31,
4... |
When the occupation was utility worker on-air talent, what was the game status? | CREATE TABLE table_34428 (
"Player" text,
"Hometown" text,
"Occupation" text,
"Education" text,
"Game Status" text
) | SELECT "Game Status" FROM table_34428 WHERE "Occupation" = 'utility worker on-air talent' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3628,
2577,
41,
96,
15800,
49,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
667,
75,
4658,
257,
121,
1499,
6,
96,
18846,
23,
106,
121,
1499,
6,
96,
23055,
19318,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23055,
19318,
121,
21680,
953,
834,
519,
3628,
2577,
549,
17444,
427,
96,
667,
75,
4658,
257,
121,
3274,
3,
31,
13780,
485,
10416,
30,
18,
2256,
3683,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is discharge time and diagnoses icd9 code of subject id 42820? | 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | SELECT demographic.dischtime, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "42820" | [
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,
14798,
5,
26,
2499,
715,
6,
18730,
7,
5,
447,
26,
1298,
834,
4978,
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,
549,
17444... |
Who was the loser when the New York Giants were the winners on November 14? | CREATE TABLE table_name_71 (
loser VARCHAR,
winner VARCHAR,
date VARCHAR
) | SELECT loser FROM table_name_71 WHERE winner = "new york giants" AND date = "november 14" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
2615,
52,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
2615,
52,
116,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2615,
52,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
4668,
3274,
96,
5534,
25453,
6079,
7,
121,
3430,
833,
3274,
96,
5326,
18247,
968,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many figures for 08 A points for the team with 1.1863 average? | CREATE TABLE table_28168 (
"Pos" real,
"Team" text,
"07 A Pts" real,
"08 C Pts" real,
"08 A Pts" real,
"09 C Pts" real,
"09 A Pts" real,
"10 C Pts" real,
"Total Pts" real,
"Total Pld" real,
"Avg" text
) | SELECT COUNT("08 A Pts") FROM table_28168 WHERE "Avg" = '1.1863' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
24274,
41,
96,
345,
32,
7,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
4560,
71,
276,
17,
7,
121,
490,
6,
96,
4018,
205,
276,
17,
7,
121,
490,
6,
96,
4018,
71,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4018,
71,
276,
17,
7,
8512,
21680,
953,
834,
2577,
24274,
549,
17444,
427,
96,
188,
208,
122,
121,
3274,
3,
31,
11039,
3840,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal? | CREATE TABLE table_8304 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Gold") FROM table_8304 WHERE "Bronze" = '1' AND "Total" < '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4591,
6348,
41,
96,
22557,
121,
490,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
3696,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23576,
8512,
21680,
953,
834,
4591,
6348,
549,
17444,
427,
96,
22780,
29,
776,
121,
3274,
3,
31,
536,
31,
3430,
96,
3696,
1947,
121,
3,
2,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
Name the cyrillic name for lazarevo | CREATE TABLE table_2562572_35 (
cyrillic_name_other_names VARCHAR,
settlement VARCHAR
) | SELECT cyrillic_name_other_names FROM table_2562572_35 WHERE settlement = "Lazarevo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
1828,
5865,
834,
2469,
41,
3,
75,
63,
52,
173,
2176,
834,
4350,
834,
9269,
834,
4350,
7,
584,
4280,
28027,
6,
7025,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
75,
63,
52,
173,
2176,
834,
4350,
834,
9269,
834,
4350,
7,
21680,
953,
834,
19337,
1828,
5865,
834,
2469,
549,
17444,
427,
7025,
3274,
96,
434,
5246,
60,
1621,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Tell me the bp comp 2 for % wt comp 1 of 76 | CREATE TABLE table_31608 (
"component 1" text,
"b.p. comp. 1 (\u02daC)" text,
"component 2" text,
"b.p. comp. 2 (\u02daC)" text,
"b.p. azeo. (\u02daC)" text,
"% wt comp. 1" real,
"% wt comp. 2" real
) | SELECT "b.p. comp. 2 (\u02daC)" FROM table_31608 WHERE "% wt comp. 1" = '76' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25946,
4018,
41,
96,
287,
9977,
209,
121,
1499,
6,
96,
115,
5,
102,
5,
2890,
5,
209,
41,
2,
76,
4305,
26,
9,
254,
61,
121,
1499,
6,
96,
287,
9977,
204,
121,
1499,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
115,
5,
102,
5,
2890,
5,
204,
41,
2,
76,
4305,
26,
9,
254,
61,
121,
21680,
953,
834,
25946,
4018,
549,
17444,
427,
96,
1454,
3,
210,
17,
2890,
5,
209,
121,
3274,
3,
31,
3959,
31,
1,
-100,
-100,
-100,
-10... |
What top round has a pick smaller than 2? | CREATE TABLE table_name_7 (round INTEGER, pick INTEGER) | SELECT MAX(round) FROM table_name_7 WHERE pick < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
7775,
3,
21342,
17966,
6,
1432,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
420,
1751,
65,
3,
9,
1432,
2755,
145,
204,
58,
1,
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,
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,
4800,
4,
599,
7775,
61,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
1432,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the number of the leading scorer for keyarena 16,640? | CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, attendance VARCHAR) | SELECT COUNT(leading_scorer) FROM table_11964047_8 WHERE attendance = "KeyArena 16,640" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19993,
23714,
4177,
834,
927,
41,
17103,
834,
7,
5715,
49,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
13,
8,
1374,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
17103,
834,
7,
5715,
49,
61,
21680,
953,
834,
19993,
23714,
4177,
834,
927,
549,
17444,
427,
11364,
3274,
96,
23617,
188,
1536,
9,
11940,
23714,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many epsidode(s) had 3.63 million viewers? | CREATE TABLE table_22353769_3 (episode__number VARCHAR, viewers__millions_ VARCHAR) | SELECT COUNT(episode__number) FROM table_22353769_3 WHERE viewers__millions_ = "3.63" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
2469,
4118,
3951,
834,
519,
41,
15,
102,
159,
32,
221,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
13569,
834,
834,
17030,
7,
834,
584,
4280,
28027,
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,
2847,
17161,
599,
15,
102,
159,
32,
221,
834,
834,
5525,
1152,
61,
21680,
953,
834,
2884,
2469,
4118,
3951,
834,
519,
549,
17444,
427,
13569,
834,
834,
17030,
7,
834,
3274,
96,
23074,
519,
121,
1,
-100,
-100,
-100,
... |
What was the place and date that the Apartments area was damaged? | CREATE TABLE table_23014685_1 (place_ VARCHAR, _date VARCHAR, area_damaged VARCHAR) | SELECT place_ & _date FROM table_23014685_1 WHERE area_damaged = "Apartments area" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
24300,
4433,
834,
536,
41,
4687,
834,
584,
4280,
28027,
6,
3,
834,
5522,
584,
4280,
28027,
6,
616,
834,
7812,
11438,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
834,
3,
184,
3,
834,
5522,
21680,
953,
834,
13427,
24300,
4433,
834,
536,
549,
17444,
427,
616,
834,
7812,
11438,
3274,
96,
188,
2274,
4128,
616,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What Monument was built after 1887 in Warren County? | CREATE TABLE table_name_95 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR) | SELECT monument_name FROM table_name_95 WHERE year_built > 1887 AND county = "warren" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
2157,
76,
297,
834,
4350,
584,
4280,
28027,
6,
215,
834,
16152,
584,
4280,
28027,
6,
5435,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
2408... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11832,
834,
4350,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
215,
834,
16152,
2490,
507,
4225,
3430,
5435,
3274,
96,
2910,
1536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round? | CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR) | SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
32,
102,
9977,
7,
584,
4280,
28027,
6,
2188,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
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,
16383,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
2604,
3274,
96,
536,
104,
357,
121,
3430,
372,
3274,
96,
291,
7,
35,
138,
121,
3430,
2188,
3274,
96,
14672,
1751,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the most appearances for bernard allou | CREATE TABLE table_24565004_2 (appearances¹ INTEGER, name VARCHAR) | SELECT MAX(appearances¹) FROM table_24565004_2 WHERE name = "Bernard Allou" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4834,
2560,
591,
834,
357,
41,
3096,
2741,
663,
7,
536,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
167,
3179,
7,
21,
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,
4800,
4,
599,
3096,
2741,
663,
7,
6982,
21680,
953,
834,
2266,
4834,
2560,
591,
834,
357,
549,
17444,
427,
564,
3274,
96,
279,
49,
29,
986,
432,
1063,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
shawn gifford was pick number 25 , who was picked next ? | CREATE TABLE table_203_676 (
id number,
"pick #" number,
"cfl team" text,
"player" text,
"position" text,
"college" text
) | SELECT "player" FROM table_203_676 WHERE "pick #" = 25 + 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3708,
948,
41,
3,
23,
26,
381,
6,
96,
17967,
1713,
121,
381,
6,
96,
75,
89,
40,
372,
121,
1499,
6,
96,
20846,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
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,
96,
20846,
121,
21680,
953,
834,
23330,
834,
3708,
948,
549,
17444,
427,
96,
17967,
1713,
121,
3274,
944,
1768,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana? | CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) | SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = "cardinal-priest of s. pudenziana" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
15,
10912,
920,
584,
4280,
28027,
6,
895,
10270,
9,
10646,
834,
9397,
834,
232,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15712,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
895,
10270,
9,
10646,
834,
9397,
834,
232,
834,
21869,
3274,
96,
6043,
10270,
18,
2246,
222,
13,
3,
7,
5,
4353,
537,
172,
13662,
121,
1,
-100,
-100,
-100,
... |
What date did the Jazz play the Bulls at home? | CREATE TABLE table_56463 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
) | SELECT "Date" FROM table_56463 WHERE "Home" = 'jazz' AND "Visitor" = 'bulls' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
4448,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2796,
9,
26,
53,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4834,
4448,
519,
549,
17444,
427,
96,
19040,
121,
3274,
3,
31,
1191,
5271,
31,
3430,
96,
553,
159,
155,
127,
121,
3274,
3,
31,
20638,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-... |
count the number of patients who since 2104 had an intake of sorenson/co. | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE allergy (
allergy... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT intakeoutput.patientunitstayid FROM intakeoutput WHERE intakeoutput.celllabel = 'sorenson/co' AND intakeoutput.cellpath LIKE '%input%' AND STRFTIME('%y', intakeoutput.intakeoutputtime) >= '2104') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
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,
2847,
17161,
599,
15438,
25424,
6227,
1868,
5,
202,
1495,
12417,
61,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
11963,
670,
2562,
5,
10061,
15129,
21545,
23,
26,
21680,
... |
What was the Browns record after they played the game at the Paul Brown stadium? | CREATE TABLE table_name_41 (
record VARCHAR,
stadium VARCHAR
) | SELECT record FROM table_name_41 WHERE stadium = "paul brown stadium" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
1368,
584,
4280,
28027,
6,
14939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3899,
7,
1368,
227,
79,
1944,
8,
467,
44,
8,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1368,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
14939,
3274,
96,
102,
9,
83,
4216,
14939,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Place of Davis Love III with a To Par of +1? | CREATE TABLE table_78895 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" real
) | SELECT "Place" FROM table_78895 WHERE "To par" = '+1' AND "Player" = 'davis love iii' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
3914,
755,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
11706,
121,
21680,
953,
834,
3940,
3914,
755,
549,
17444,
427,
96,
3696,
260,
121,
3274,
3,
31,
18446,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
26,
2960,
7,
333,
3,
23,
23,
23,
31,
1,
-100,
-100,
-1... |
Which sport has 94kg men's weightlifting as one of its events? | CREATE TABLE table_name_22 (
sport VARCHAR,
event VARCHAR
) | SELECT sport FROM table_name_22 WHERE event = "94kg men's weightlifting" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
2600,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2600,
65,
3,
4240,
8711,
1076,
31,
7,
1293,
9253,
53,
38,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2600,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
605,
3274,
96,
4240,
8711,
1076,
31,
7,
1293,
9253,
53,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country has a Youth (15-24) Literacy Rate Total of 99%, and a Youth Men of 98%? | CREATE TABLE table_74671 (
"Country" text,
"Year (most recent)" real,
"Adult (15+) Literacy Rate Total" text,
"Adult Men" text,
"Adult Women" text,
"Youth (15-24) Literacy Rate Total" text,
"Youth Men" text,
"Youth Women" text
) | SELECT "Country" FROM table_74671 WHERE "Youth (15-24) Literacy Rate Total" = '99%' AND "Youth Men" = '98%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
3708,
536,
41,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
41,
5463,
1100,
61,
121,
490,
6,
96,
188,
26,
83,
17,
17251,
1220,
61,
16515,
4710,
13002,
9273,
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,
10628,
651,
121,
21680,
953,
834,
4581,
3708,
536,
549,
17444,
427,
96,
3774,
189,
17251,
14962,
61,
16515,
4710,
13002,
9273,
121,
3274,
3,
31,
21962,
31,
3430,
96,
3774,
189,
3137,
121,
3274,
3,
31,
3916,
1454... |
What is the highest crowd population when the away team is Geelong? | CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_33 WHERE away_team = "geelong" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
75,
3623,
26,
3,
21342,
17966,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
4374,
2074,
116,
8,
550,
372,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
550,
834,
11650,
3274,
96,
397,
15,
2961,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the least attendance | CREATE TABLE table_15173650_2 (attendance INTEGER) | SELECT MIN(attendance) FROM table_15173650_2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26578,
4552,
15348,
834,
357,
41,
15116,
663,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
11364,
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,
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,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
15116,
663,
61,
21680,
953,
834,
26578,
4552,
15348,
834,
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,
... |
Show ids for all documents with budget types described as 'Government'. | CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR) | SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = "Government" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11167,
7,
834,
4065,
834,
994,
3801,
15,
7,
41,
28244,
834,
23,
26,
584,
4280,
28027,
6,
12532,
834,
25160,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5411,
28244,
834,
23,
26,
21680,
11167,
7,
834,
4065,
834,
994,
3801,
15,
7,
6157,
332,
536,
3,
15355,
3162,
419,
89,
834,
279,
13164,
17,
834,
22737,
7,
6157,
332,
357,
9191,
332,
5411,
279,
13164,
17,
834,
... |
What is the best finish record for Sean O'hair? | CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR) | SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
1752,
4906,
5553,
834,
357,
41,
9606,
834,
25535,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
200,
1992,
1368,
21,
16655... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
200,
834,
25535,
21680,
953,
834,
3166,
1752,
4906,
5553,
834,
357,
549,
17444,
427,
1959,
3274,
96,
134,
15,
152,
411,
31,
566,
2256,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the opponent with decision | CREATE TABLE table_name_59 (opponent VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_59 WHERE method = "decision" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1573,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
15264,
28,
1357,
1,
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,
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... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
1573,
3274,
96,
221,
18901,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Bar chart of the total number from each headquarters, I want to list Y in asc order. | CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE company (
Company_ID int,
Rank int,
Company text,
Headquarters text,
Main_Industry text,
Sales_billion real,
Pr... | SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1807,
834,
6682,
41,
5939,
834,
4309,
16,
17,
6,
2384,
834,
476,
2741,
16,
17,
6,
10450,
1499,
6,
3440,
834,
23954,
1499,
6,
8236,
834,
27272,
834,
23954,
1499,
6,
13517,
834,
23954,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31282,
6,
2847,
17161,
599,
1935,
61,
21680,
349,
350,
4630,
6880,
272,
476,
31282,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Rank of the Player with a Time of 7:20.32 and Notes of FB? | CREATE TABLE table_name_31 (
rank VARCHAR,
notes VARCHAR,
time VARCHAR
) | SELECT COUNT(rank) FROM table_name_31 WHERE notes = "fb" AND time = "7:20.32" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
11003,
584,
4280,
28027,
6,
3358,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
22557,
13,
8,
12387,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
2847,
17161,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
3358,
3274,
96,
89,
115,
121,
3430,
97,
3274,
96,
940,
10,
1755,
5,
2668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Points have a Time/Retired of +49.222 secs? | CREATE TABLE table_46912 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
) | SELECT MAX("Points") FROM table_46912 WHERE "Time/Retired" = '+49.222 secs' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3951,
2122,
41,
96,
20982,
52,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13313,
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,
4800,
4,
599,
121,
22512,
7,
8512,
21680,
953,
834,
591,
3951,
2122,
549,
17444,
427,
96,
13368,
87,
1649,
11809,
26,
121,
3274,
3,
31,
1220,
3647,
5,
26144,
4220,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How manu aircraft landings when the cargo tonnes are 18 344? | CREATE TABLE table_62556 (
"Year" real,
"Total passengers" text,
"Passenger Change" text,
"Domestic" text,
"International (total)" text,
"International (non-CIS)" text,
"Aircraft Landings" text,
"Cargo (tonnes)" text
) | SELECT "Aircraft Landings" FROM table_62556 WHERE "Cargo (tonnes)" = '18 344' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
1828,
4834,
41,
96,
476,
2741,
121,
490,
6,
96,
3696,
1947,
9234,
121,
1499,
6,
96,
20192,
35,
1304,
5968,
121,
1499,
6,
96,
4135,
2687,
1225,
121,
1499,
6,
96,
2749... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6696,
2216,
53,
7,
121,
21680,
953,
834,
948,
1828,
4834,
549,
17444,
427,
96,
6936,
839,
41,
17,
5993,
7,
61,
121,
3274,
3,
31,
2606,
220,
3628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Marisa Monte song choice was song during top 5? | CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR) | SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa Monte" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4241,
4177,
4560,
834,
536,
41,
7,
2444,
834,
3995,
867,
584,
4280,
28027,
6,
471,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
926,
834,
1408,
343,
584,
4280,
28027,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
2324,
834,
3995,
867,
21680,
953,
834,
2555,
4241,
4177,
4560,
834,
536,
549,
17444,
427,
471,
834,
834,
5525,
1152,
3274,
96,
22481,
3,
17395,
3430,
926,
834,
1408,
343,
3274,
96,
7286,
159,
9,
13789,
121,
1,
-100,... |
Who is the spouse of the person born on 29 September 1766? | CREATE TABLE table_name_82 (spouse VARCHAR, birth VARCHAR) | SELECT spouse FROM table_name_82 WHERE birth = "29 september 1766" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
7990,
1074,
584,
4280,
28027,
6,
3879,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
9911,
13,
8,
568,
2170,
30,
2838,
1600,
1003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
9911,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
3879,
3274,
96,
3166,
16022,
18247,
1003,
3539,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the To par and holds the t8 place of the United States player Tiger Woods? | CREATE TABLE table_68086 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "To par" FROM table_68086 WHERE "Country" = 'united states' AND "Place" = 't8' AND "Player" = 'tiger woods' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2079,
3840,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
490,
6,
96,
3696,
260,
121,
1499,
3,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
260,
121,
21680,
953,
834,
948,
2079,
3840,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
15129,
15,
26,
2315,
31,
3430,
96,
345,
11706,
121,
3274,
3,
31,
17,
927,
31,
3430,
96,
15800,
49,
121,
32... |
Which Frequency has a Model Number of c3 1.4a? | CREATE TABLE table_name_5 (frequency VARCHAR, model_number VARCHAR) | SELECT frequency FROM table_name_5 WHERE model_number = "c3 1.4a" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
30989,
584,
4280,
28027,
6,
825,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5532,
835,
11298,
65,
3,
9,
5154,
7720,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7321,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
825,
834,
5525,
1152,
3274,
96,
75,
519,
3,
14912,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
The race tony bettenhausen 200 has what smallest rd? | CREATE TABLE table_10706879_3 (rd INTEGER, name VARCHAR) | SELECT MIN(rd) FROM table_10706879_3 WHERE name = "Tony Bettenhausen 200" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
2518,
3651,
4440,
834,
519,
41,
52,
26,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
1964,
12,
29,
63,
36,
17,
324,
18535,
2382,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
52,
26,
61,
21680,
953,
834,
1714,
2518,
3651,
4440,
834,
519,
549,
17444,
427,
564,
3274,
96,
382,
106,
63,
9736,
35,
18535,
2382,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the bowling style of the player whose first class team is Islamabad and has a date of birth of 28 February 1975? | CREATE TABLE table_name_72 (
bowling_style VARCHAR,
first_class_team VARCHAR,
date_of_birth VARCHAR
) | SELECT bowling_style FROM table_name_72 WHERE first_class_team = "islamabad" AND date_of_birth = "28 february 1975" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
3047,
53,
834,
4084,
584,
4280,
28027,
6,
166,
834,
4057,
834,
11650,
584,
4280,
28027,
6,
833,
834,
858,
834,
20663,
584,
4280,
28027,
3,
61,
3,
32102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3047,
53,
834,
4084,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
166,
834,
4057,
834,
11650,
3274,
96,
20290,
9,
5514,
121,
3430,
833,
834,
858,
834,
20663,
3274,
96,
2577,
29976,
76,
1208,
16312,
121,
1,
-10... |
Which Overall has a playoff record of (0-1) and an away record of (1-1)? | CREATE TABLE table_name_71 (
overall VARCHAR,
plyff VARCHAR,
away VARCHAR
) | SELECT overall FROM table_name_71 WHERE plyff = "(0-1)" AND away = "(1-1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
1879,
584,
4280,
28027,
6,
3,
102,
120,
89,
89,
584,
4280,
28027,
6,
550,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
9126,
65,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
1879,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
3,
102,
120,
89,
89,
3274,
96,
599,
9498,
6982,
121,
3430,
550,
3274,
96,
599,
536,
18,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the classification for the school in the NEC Conference located in New Britain, Connecticut? | CREATE TABLE table_67254 (
"Institution" text,
"Location" text,
"Nickname" text,
"Current Conference" text,
"Classification" text
) | SELECT "Classification" FROM table_67254 WHERE "Current Conference" = 'nec' AND "Location" = 'new britain, connecticut' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
1828,
591,
41,
96,
1570,
17448,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
567,
3142,
4350,
121,
1499,
6,
96,
254,
450,
5320,
4379,
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,
21486,
2420,
121,
21680,
953,
834,
3708,
1828,
591,
549,
17444,
427,
96,
254,
450,
5320,
4379,
121,
3274,
3,
31,
29,
15,
75,
31,
3430,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
5534,
3,
115,
10694,
77,
6,
19... |
If the average is 1.2803, what is the total points maximum? | CREATE TABLE table_22011138_7 (
total_pts INTEGER,
avg VARCHAR
) | SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
13907,
22744,
834,
940,
41,
792,
834,
102,
17,
7,
3,
21342,
17966,
6,
3,
9,
208,
122,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
1348,
19,
1300,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
235,
1947,
834,
102,
17,
7,
61,
21680,
953,
834,
357,
13907,
22744,
834,
940,
549,
17444,
427,
3,
9,
208,
122,
3274,
96,
10917,
2079,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Show the date and venue of each workshop in ascending alphabetical order of the venue. | CREATE TABLE workshop (Date VARCHAR, Venue VARCHAR) | SELECT Date, Venue FROM workshop ORDER BY Venue | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4786,
41,
308,
342,
584,
4280,
28027,
6,
29940,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
833,
11,
5669,
13,
284,
4786,
16,
25200,
53,
20688,
1950,
455,
13,
8,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
7678,
6,
29940,
21680,
4786,
4674,
11300,
272,
476,
29940,
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,
-100,
-... |
What is the highest round that has a player selected from Clarkson University? | CREATE TABLE table_34751 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/junior/club team (League)" text
) | SELECT MAX("Round") FROM table_34751 WHERE "College/junior/club team (League)" = 'clarkson university' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
3072,
536,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
9939,
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,
4800,
4,
599,
121,
448,
32,
1106,
8512,
21680,
953,
834,
3710,
3072,
536,
549,
17444,
427,
96,
9939,
7883,
87,
6959,
23,
127,
87,
13442,
372,
41,
2796,
9,
5398,
61,
121,
3274,
3,
31,
23982,
157,
739,
3819,
31,
1... |
The game that has a save of lynch (4) ended with what score? | CREATE TABLE table_name_41 (score VARCHAR, save VARCHAR) | SELECT score FROM table_name_41 WHERE save = "lynch (4)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
7,
9022,
584,
4280,
28027,
6,
1097,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
467,
24,
65,
3,
9,
1097,
13,
3,
120,
5457,
3,
10820,
349... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
1097,
3274,
96,
120,
5457,
3,
10820,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the M809 series for short wheelbase and M939 series of M931/932 | CREATE TABLE table_6013 (
"Type" text,
"wheelbase" text,
"M39 series" text,
"M809 series" text,
"M939 series" text
) | SELECT "M809 series" FROM table_6013 WHERE "wheelbase" = 'short' AND "M939 series" = 'm931/932' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
2368,
41,
96,
25160,
121,
1499,
6,
96,
14074,
10925,
121,
1499,
6,
96,
329,
3288,
939,
121,
1499,
6,
96,
329,
2079,
1298,
939,
121,
1499,
6,
96,
329,
1298,
3288,
93... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
2079,
1298,
939,
121,
21680,
953,
834,
3328,
2368,
549,
17444,
427,
96,
14074,
10925,
121,
3274,
3,
31,
7,
14184,
31,
3430,
96,
329,
1298,
3288,
939,
121,
3274,
3,
31,
51,
4271,
12989,
4271,
357,
31,
1,
... |
How many years does Team wal-mart / tide participate? | CREATE TABLE table_name_94 (
year VARCHAR,
team VARCHAR
) | SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
215,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
203,
405,
2271,
3,
5380,
18,
1635,
17,
3,
87,
19235,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
372,
3274,
96,
5380,
18,
1635,
17,
3,
87,
19235,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total when matches is less than 3, and rank is smaller than 2? | CREATE TABLE table_name_41 (
total INTEGER,
matches VARCHAR,
rank VARCHAR
) | SELECT MIN(total) FROM table_name_41 WHERE matches < 3 AND rank < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
792,
3,
21342,
17966,
6,
6407,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
116,
6407,
19,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
6407,
3,
2,
220,
3430,
11003,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the winning team at the Homestead-Miami Speedway? | CREATE TABLE table_name_74 (
winning_team VARCHAR,
circuit VARCHAR
) | SELECT winning_team FROM table_name_74 WHERE circuit = "homestead-miami speedway" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
3447,
834,
11650,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
3447,
372,
44,
8,
1210,
11931,
18,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3447,
834,
11650,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
4558,
3274,
96,
5515,
11931,
18,
51,
23,
3690,
1634,
1343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who are the members of the club named "Hopkins Student Enterprises"? Show the last name. | CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) | SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1886,
41,
13442,
23,
26,
584,
4280,
28027,
6,
1886,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
40,
4350,
584,
4280,
28027,
6,
21341,
23,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17,
5787,
40,
4350,
21680,
1886,
6157,
3,
17,
536,
3,
15355,
3162,
1144,
834,
858,
834,
13442,
6157,
3,
17,
357,
9191,
3,
17,
5411,
13442,
23,
26,
3274,
3,
17,
4416,
13442,
23,
26,
3,
15355,
3162,
1236,
6157,... |
Name the least season for round of 32 | CREATE TABLE table_245694_4 (season INTEGER, us_open_cup VARCHAR) | SELECT MIN(season) FROM table_245694_4 WHERE us_open_cup = "Round of 32" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4834,
4240,
834,
591,
41,
9476,
3,
21342,
17966,
6,
178,
834,
8751,
834,
4658,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
774,
21,
1751,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9476,
61,
21680,
953,
834,
2266,
4834,
4240,
834,
591,
549,
17444,
427,
178,
834,
8751,
834,
4658,
3274,
96,
448,
32,
1106,
13,
3538,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Na,e the number of field goals for right tackle | CREATE TABLE table_14342480_5 (field_goals VARCHAR, position VARCHAR) | SELECT COUNT(field_goals) FROM table_14342480_5 WHERE position = "Right tackle" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25133,
4165,
20579,
834,
755,
41,
1846,
834,
839,
5405,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1823,
6,
15,
8,
381,
13,
1057,
1766,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
2847,
17161,
599,
1846,
834,
839,
5405,
61,
21680,
953,
834,
25133,
4165,
20579,
834,
755,
549,
17444,
427,
1102,
3274,
96,
448,
2632,
8000,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Song choice when The Beatles were the original artist, with an order # of 4? | CREATE TABLE table_name_63 (song_choice VARCHAR, original_artist VARCHAR, order__number VARCHAR) | SELECT song_choice FROM table_name_63 WHERE original_artist = "the beatles" AND order__number = "4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
7,
2444,
834,
3995,
867,
584,
4280,
28027,
6,
926,
834,
1408,
343,
584,
4280,
28027,
6,
455,
834,
834,
5525,
1152,
584,
4280,
28027,
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,
2324,
834,
3995,
867,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
926,
834,
1408,
343,
3274,
96,
532,
3853,
965,
121,
3430,
455,
834,
834,
5525,
1152,
3274,
96,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
At the power plant located in ramakkalmedu, what is the sum of the total capacity (MWe)? | CREATE TABLE table_56451 (
"Power Plant" text,
"Producer" text,
"Location" text,
"State" text,
"Total Capacity (MWe)" real
) | SELECT SUM("Total Capacity (MWe)") FROM table_56451 WHERE "Power Plant" = 'ramakkalmedu' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
2128,
536,
41,
96,
23553,
6041,
121,
1499,
6,
96,
3174,
4817,
49,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
134,
4748,
121,
1499,
6,
96,
3696,
1947,
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,
180,
6122,
599,
121,
3696,
1947,
4000,
9,
6726,
41,
16027,
15,
61,
8512,
21680,
953,
834,
4834,
2128,
536,
549,
17444,
427,
96,
23553,
6041,
121,
3274,
3,
31,
10819,
157,
4766,
2726,
76,
31,
1,
-100,
-100,
-100,
-... |
Tell me the runs for econ of 3.63 | CREATE TABLE table_name_80 (
runs VARCHAR,
econ VARCHAR
) | SELECT runs FROM table_name_80 WHERE econ = "3.63" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
3154,
584,
4280,
28027,
6,
3,
15,
1018,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
3154,
21,
3,
15,
1018,
13,
1877,
3891,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3154,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
3,
15,
1018,
3274,
96,
23074,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many years were recorded when world ranking was 21st? | CREATE TABLE table_23449 (
"Index (Year)" text,
"Author / Editor / Source" text,
"Year of publication" text,
"Countries sampled" real,
"World Ranking (1)" text,
"Ranking L.A. (2)" text
) | SELECT COUNT("Index (Year)") FROM table_23449 WHERE "World Ranking (1)" = '21st' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3710,
3647,
41,
96,
26267,
226,
41,
476,
2741,
61,
121,
1499,
6,
96,
23602,
127,
3,
87,
11953,
3,
87,
9149,
121,
1499,
6,
96,
476,
2741,
13,
5707,
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,
121,
26267,
226,
41,
476,
2741,
61,
8512,
21680,
953,
834,
357,
3710,
3647,
549,
17444,
427,
96,
17954,
29153,
5637,
121,
3274,
3,
31,
2658,
7,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many towns have a population higher than 1000 ? | CREATE TABLE table_203_568 (
id number,
"town/village" text,
"population" number,
"postal code" text,
"municipality" text,
"island" text,
"location" text
) | SELECT COUNT("town/village") FROM table_203_568 WHERE "population" > 1000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
755,
3651,
41,
3,
23,
26,
381,
6,
96,
3540,
87,
208,
17614,
121,
1499,
6,
96,
9791,
7830,
121,
381,
6,
96,
5950,
138,
1081,
121,
1499,
6,
96,
11760,
3389,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3540,
87,
208,
17614,
8512,
21680,
953,
834,
23330,
834,
755,
3651,
549,
17444,
427,
96,
9791,
7830,
121,
2490,
5580,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What event had a record of 8 5 1? | CREATE TABLE table_66039 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Event" FROM table_66039 WHERE "Record" = '8–5–1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27720,
3288,
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,
427,
2169,
121,
21680,
953,
834,
27720,
3288,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
927,
104,
755,
104,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
count the number of patients whose admission type is elective and days of hospital stay is greater than 11? | CREATE TABLE diagnoses (
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 WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay > "11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
549,
17444,
427,
14798,
5,
9,
26,
5451,
834,
6137,
3274,
96,
3577,
14196,
8087,
121,
3430,
14798,
5,
1135,
7,
834,
21545,
2... |
What is Position, when Overall is less than 590, and when Round is 3? | CREATE TABLE table_name_6 (
position VARCHAR,
overall VARCHAR,
round VARCHAR
) | SELECT position FROM table_name_6 WHERE overall < 590 AND round = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
1102,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
14258,
6,
116,
9126,
19,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1102,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
1879,
3,
2,
305,
2394,
3430,
1751,
3274,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many times was the incumbent elected in Washington 4 district? | CREATE TABLE table_16185956_1 (elected VARCHAR, district VARCHAR) | SELECT COUNT(elected) FROM table_16185956_1 WHERE district = "Washington 4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
2606,
3390,
4834,
834,
536,
41,
19971,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
47,
8,
28406,
8160,
16,
2386,
314,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
2847,
17161,
599,
19971,
61,
21680,
953,
834,
2938,
2606,
3390,
4834,
834,
536,
549,
17444,
427,
3939,
3274,
96,
518,
3198,
6029,
3,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the distinct first names for students with a grade point of 3.8 or above in at least one course? | CREATE TABLE minor_in (
stuid number,
dno number
)
CREATE TABLE department (
dno number,
division text,
dname text,
room text,
building text,
dphone number
)
CREATE TABLE enrolled_in (
stuid number,
cid text,
grade text
)
CREATE TABLE faculty (
facid number,
lname ... | SELECT DISTINCT T3.fname FROM enrolled_in AS T1 JOIN gradeconversion AS T2 JOIN student AS T3 ON T1.grade = T2.lettergrade AND T1.stuid = T3.stuid WHERE T2.gradepoint >= 3.8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4012,
834,
77,
41,
21341,
23,
26,
381,
6,
3,
26,
29,
32,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3066,
41,
3,
26,
29,
32,
381,
6,
4889,
1499,
6,
3,
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... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
332,
5787,
89,
4350,
21680,
3,
15097,
834,
77,
6157,
332,
536,
3,
15355,
3162,
2769,
1018,
8674,
6157,
332,
357,
3,
15355,
3162,
1236,
6157,
332,
519,
9191,
332,
5411,
6801,
3274,
332,
4416,
1... |
How many of the patients treated with drug code kcl40/1000d5ns died in or before the year 2112. | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
... | 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 = "KCL40/1000D5NS" | [
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,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
had patient 032-4849 when they visited the hospital first time been admitted to an er? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '032-4849' AND patient.hospitaladmitsource = 'emergency department' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1868,
41,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
7285,
1499,
6,
1246,
1499,
6,
11655,
485,
1499,
6,
2833,
23,
26,
381,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
4928,
7412,
3707,
3647,
31,
3430,
1868,
5,
31386,
20466,
17,
7928,
3274,
3,
31,
15,
935,
122,
4392,
3... |
what year had the most candidates elected ? | CREATE TABLE table_203_330 (
id number,
"year of election" number,
"candidates elected" number,
"# of seats available" number,
"# of votes" number,
"% of popular vote" text
) | SELECT "year of election" FROM table_203_330 ORDER BY "candidates elected" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
17225,
41,
3,
23,
26,
381,
6,
96,
1201,
13,
4356,
121,
381,
6,
96,
1608,
12416,
6203,
8160,
121,
381,
6,
96,
4663,
13,
6116,
347,
121,
381,
6,
96,
4663,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
13,
4356,
121,
21680,
953,
834,
23330,
834,
17225,
4674,
11300,
272,
476,
96,
1608,
12416,
6203,
8160,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the maximum and minimum number of cows across all farms. | CREATE TABLE farm (
farm_id number,
year number,
total_horses number,
working_horses number,
total_cattle number,
oxen number,
bulls number,
cows number,
pigs number,
sheep_and_goats number
)
CREATE TABLE city (
city_id number,
official_name text,
status text,
ar... | SELECT MAX(cows), MIN(cows) FROM farm | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3797,
41,
3797,
834,
23,
26,
381,
6,
215,
381,
6,
792,
834,
107,
127,
2260,
381,
6,
464,
834,
107,
127,
2260,
381,
6,
792,
834,
658,
8692,
381,
6,
3,
32,
226,
35,
381,
6,
8434,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
210,
7,
201,
3,
17684,
599,
509,
210,
7,
61,
21680,
3797,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What nation has 0 as the silver, 1 as the bronze, with 18 as the rank? | CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = "18" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
29,
257,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
298... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
2982,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
4294,
3274,
3,
632,
3430,
13467,
3274,
209,
3430,
11003,
3274,
96,
2606,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the most # that aired on september 29, 2008? | CREATE TABLE table_16554 (
"#" real,
"Episode" text,
"Air Date" text,
"Timeslot" text,
"Viewers" text,
"Weekly Rank for Living" text
) | SELECT MAX("#") FROM table_16554 WHERE "Air Date" = 'September 29, 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22823,
5062,
41,
96,
4663,
121,
490,
6,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
20162,
7678,
121,
1499,
6,
96,
13368,
7,
3171,
121,
1499,
6,
96,
15270,
277,
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,
4663,
8512,
21680,
953,
834,
22823,
5062,
549,
17444,
427,
96,
20162,
7678,
121,
3274,
3,
31,
27652,
14405,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In what edition was the opponent team Zimbabwe? | CREATE TABLE table_27877656_8 (edition VARCHAR, opponent_team VARCHAR) | SELECT edition FROM table_27877656_8 WHERE opponent_team = "Zimbabwe" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4225,
3959,
4834,
834,
927,
41,
15,
10569,
584,
4280,
28027,
6,
15264,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
4182,
47,
8,
15264,
372... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
4182,
21680,
953,
834,
2555,
4225,
3959,
4834,
834,
927,
549,
17444,
427,
15264,
834,
11650,
3274,
96,
956,
17982,
115,
1123,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What did the team score when playing against home in geelong? | CREATE TABLE table_name_72 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team AS score FROM table_name_72 WHERE away_team = "geelong" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
234,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
410,
8,
372,
2604,
116,
1556,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
550,
834,
11650,
3274,
96,
397,
15,
2961,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award? | CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) | SELECT category FROM table_name_45 WHERE year > 1996 AND result = "won" AND title = "brokeback mountain" AND award = "golden globe award" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
8367,
839,
651,
584,
4280,
28027,
6,
2760,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
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,
3295,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
215,
2490,
6911,
3430,
741,
3274,
96,
210,
106,
121,
3430,
2233,
3274,
96,
5702,
1050,
1549,
4180,
121,
3430,
2760,
3274,
96,
14910,
35,
7895,
2760,
121,
1,
-... |
What area was damaged when King Khalid Military City was targeted? | CREATE TABLE table_23014685_1 (area_damaged VARCHAR, target VARCHAR) | SELECT area_damaged FROM table_23014685_1 WHERE target = "King Khalid Military City" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
24300,
4433,
834,
536,
41,
498,
834,
7812,
11438,
584,
4280,
28027,
6,
2387,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
616,
47,
6780,
116,
2671,
12877,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
616,
834,
7812,
11438,
21680,
953,
834,
13427,
24300,
4433,
834,
536,
549,
17444,
427,
2387,
3274,
96,
439,
53,
12877,
8130,
17190,
896,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Return the names of all counties sorted by population in ascending order. | CREATE TABLE county (County_name VARCHAR, Population VARCHAR) | SELECT County_name FROM county ORDER BY Population | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5435,
41,
10628,
63,
834,
4350,
584,
4280,
28027,
6,
29659,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
9778,
8,
3056,
13,
66,
16227,
3,
14504,
57,
2074,
16,
25200,
53,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1334,
834,
4350,
21680,
5435,
4674,
11300,
272,
476,
29659,
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,
-100,
... |
which delta omicron chapter was founded before zeta beta ? | CREATE TABLE table_203_263 (
id number,
"alumni chapters and clubs" text,
"location" text,
"founding date" text,
"years active" text,
"province" text
) | SELECT "alumni chapters and clubs" FROM table_203_263 WHERE id = (SELECT id FROM table_203_263 WHERE "alumni chapters and clubs" = 'zeta beta') - 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
3891,
41,
3,
23,
26,
381,
6,
96,
9,
5171,
29,
23,
16175,
11,
8122,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
19732,
53,
833,
121,
1499,
6,
96,
1201,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9,
5171,
29,
23,
16175,
11,
8122,
121,
21680,
953,
834,
23330,
834,
357,
3891,
549,
17444,
427,
3,
23,
26,
3274,
41,
23143,
14196,
3,
23,
26,
21680,
953,
834,
23330,
834,
357,
3891,
549,
17444,
427,
96,
9,
5... |
What Band has a Frequency of 0 99.7 in the Area of Newcastle? | CREATE TABLE table_34049 (
"Callsign" text,
"Area served" text,
"Frequency" text,
"Band" text,
"On-air ID" text,
"Purpose" text
) | SELECT "Band" FROM table_34049 WHERE "Frequency" = '0 99.7' AND "Area served" = 'newcastle' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21129,
3647,
41,
96,
254,
1748,
6732,
121,
1499,
6,
96,
188,
864,
2098,
121,
1499,
6,
96,
371,
60,
835,
11298,
121,
1499,
6,
96,
279,
232,
121,
1499,
6,
96,
7638,
18,
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,
279,
232,
121,
21680,
953,
834,
21129,
3647,
549,
17444,
427,
96,
371,
60,
835,
11298,
121,
3274,
3,
31,
632,
12185,
5,
940,
31,
3430,
96,
188,
864,
2098,
121,
3274,
3,
31,
5534,
5254,
109,
31,
1,
-100,
-100... |
provide me the number of patients admitted before the year 2173 and are suffering from abdominal pain primary disease. | 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL PAIN" AND demographic.admityear < "2173" | [
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,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
5359,
27415,
21116,
434,
276,
13570,
121,
3430,
14798,
5,
20466,
17,
1... |
What is the Purse in Sunland Park Track? | CREATE TABLE table_name_37 (purse___us$__ VARCHAR, track VARCHAR) | SELECT purse___us$__ FROM table_name_37 WHERE track = "sunland park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
3791,
7,
15,
834,
834,
834,
302,
3229,
834,
834,
584,
4280,
28027,
6,
1463,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7333,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
20717,
834,
834,
834,
302,
3229,
834,
834,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
1463,
3274,
96,
7,
202,
40,
232,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the Attendance when Lincoln City was the Opponents with H/A of A? | CREATE TABLE table_name_20 (attendance VARCHAR, opponents VARCHAR, h___a VARCHAR) | SELECT COUNT(attendance) FROM table_name_20 WHERE opponents = "lincoln city" AND h___a = "a" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
15116,
663,
584,
4280,
28027,
6,
16383,
584,
4280,
28027,
6,
3,
107,
834,
834,
834,
9,
584,
4280,
28027,
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,
1,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
16383,
3274,
96,
40,
77,
3297,
29,
690,
121,
3430,
3,
107,
834,
834,
834,
9,
3274,
96,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
What candidates were in the election when a republican was re-elected? | CREATE TABLE table_1341884_19 (
candidates VARCHAR,
result VARCHAR,
party VARCHAR
) | SELECT candidates FROM table_1341884_19 WHERE result = "Re-elected" AND party = "Republican" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2606,
4608,
834,
2294,
41,
4341,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
1088,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
4341,
130,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4341,
21680,
953,
834,
23747,
2606,
4608,
834,
2294,
549,
17444,
427,
741,
3274,
96,
1649,
18,
19971,
121,
3430,
1088,
3274,
96,
1649,
15727,
152,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which competition was at wilderspool? | CREATE TABLE table_name_28 (
competition VARCHAR,
venue VARCHAR
) | SELECT competition FROM table_name_28 WHERE venue = "wilderspool" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
2259,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2259,
47,
44,
3645,
277,
13194,
58,
1,
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,
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... | [
3,
23143,
14196,
2259,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
5669,
3274,
96,
23282,
277,
13194,
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 smallest quantity having a Class to 1928 of BDi-21? | CREATE TABLE table_64028 (
"Class to 1928" text,
"Class from 1928" text,
"Seats" text,
"Quantity" real,
"Year(s) of Manufacture" text,
"Remarks" text
) | SELECT MIN("Quantity") FROM table_64028 WHERE "Class to 1928" = 'bdi-21' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23714,
2577,
41,
96,
21486,
12,
29004,
121,
1499,
6,
96,
21486,
45,
29004,
121,
1499,
6,
96,
134,
1544,
7,
121,
1499,
6,
96,
5991,
288,
485,
121,
490,
6,
96,
476,
2741,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5991,
288,
485,
8512,
21680,
953,
834,
23714,
2577,
549,
17444,
427,
96,
21486,
12,
29004,
121,
3274,
3,
31,
115,
26,
23,
16539,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many games were played on March 15? | CREATE TABLE table_17323042_9 (game VARCHAR, date VARCHAR) | SELECT COUNT(game) FROM table_17323042_9 WHERE date = "March 15" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2668,
1458,
4165,
834,
1298,
41,
7261,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1031,
130,
1944,
30,
1332,
627,
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,
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,
2847,
17161,
599,
7261,
61,
21680,
953,
834,
2517,
2668,
1458,
4165,
834,
1298,
549,
17444,
427,
833,
3274,
96,
25019,
627,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the least year for gene hassell manager and 6th finish | CREATE TABLE table_name_98 (
year INTEGER,
manager VARCHAR,
finish VARCHAR
) | SELECT MIN(year) FROM table_name_98 WHERE manager = "gene hassell" AND finish = "6th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
215,
3,
21342,
17966,
6,
2743,
584,
4280,
28027,
6,
1992,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
215,
21,
6510,
65,
1201... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
1201,
61,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
2743,
3274,
96,
729,
15,
65,
12019,
121,
3430,
1992,
3274,
96,
948,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the label of the album titled 與你相逢 and released in 1994? | CREATE TABLE table_name_63 (label_s_ VARCHAR, year_of_release VARCHAR, title VARCHAR) | SELECT label_s_ FROM table_name_63 WHERE year_of_release = 1994 AND title = "與你相逢" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
40,
10333,
834,
7,
834,
584,
4280,
28027,
6,
215,
834,
858,
834,
21019,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3783,
834,
7,
834,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
215,
834,
858,
834,
21019,
3274,
7520,
3430,
2233,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Player, when Total is greater than 288, and when Country is "South Africa"? | CREATE TABLE table_name_54 (player VARCHAR, total VARCHAR, country VARCHAR) | SELECT player FROM table_name_54 WHERE total > 288 AND country = "south africa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
20846,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
12387,
6,
116,
9273,
19,
2123,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
792,
2490,
204,
4060,
3430,
684,
3274,
96,
7,
670,
107,
24040,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the home team's score in the game played at glenferrie oval? | CREATE TABLE table_32268 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_32268 WHERE "Venue" = 'glenferrie oval' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2668,
357,
3651,
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,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
121,
21680,
953,
834,
2668,
357,
3651,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
3537,
29,
1010,
1753,
17986,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the platform of Geworkbench? | CREATE TABLE table_27708 (
"Software" text,
"Description" text,
"Platform" text,
"License" text,
"Developer" text
) | SELECT "Platform" FROM table_27708 WHERE "Software" = 'GeWorkbench' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4013,
4018,
41,
96,
29944,
121,
1499,
6,
96,
2962,
11830,
121,
1499,
6,
96,
10146,
2032,
121,
1499,
6,
96,
434,
447,
5167,
121,
1499,
6,
96,
2962,
162,
8745,
49,
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,
0... | [
3,
23143,
14196,
96,
10146,
2032,
121,
21680,
953,
834,
357,
4013,
4018,
549,
17444,
427,
96,
29944,
121,
3274,
3,
31,
517,
15,
12492,
346,
5457,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Format has a Catalog smaller than 61298? | CREATE TABLE table_38036 (
"Date" text,
"Label" text,
"Region" text,
"Format" text,
"Catalog" real
) | SELECT "Format" FROM table_38036 WHERE "Catalog" < '61298' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22671,
3420,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
17748,
23,
106,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
18610,
9,
2152,
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,
96,
3809,
3357,
121,
21680,
953,
834,
22671,
3420,
549,
17444,
427,
96,
18610,
9,
2152,
121,
3,
2,
3,
31,
4241,
357,
3916,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Combined elapsed time has a Skipper of stephen wilkins? | CREATE TABLE table_name_17 (
combined_elapsed_time VARCHAR,
skipper VARCHAR
) | SELECT combined_elapsed_time FROM table_name_17 WHERE skipper = "stephen wilkins" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
3334,
834,
15,
16543,
26,
834,
715,
584,
4280,
28027,
6,
26205,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
28257,
3,
15,
1654... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3334,
834,
15,
16543,
26,
834,
715,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
26205,
52,
3274,
96,
849,
19017,
3,
210,
173,
7815,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which score has a Loss of gubicza (0-1)? | CREATE TABLE table_name_66 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_66 WHERE loss = "gubicza (0-1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
7,
9022,
584,
4280,
28027,
6,
1453,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2604,
65,
3,
9,
3144,
7,
13,
3,
1744,
15979,
1629,
17482... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
1453,
3274,
96,
1744,
15979,
1629,
17482,
18,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest number of losses for the Cobden club when there is less than 1 win? | CREATE TABLE table_63496 (
"Club" text,
"Wins" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT MAX("Losses") FROM table_63496 WHERE "Club" = 'cobden' AND "Wins" < '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
591,
4314,
41,
96,
254,
11158,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
10936,
7,
121,
490,
6,
96,
20749,
121,
490,
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,
434,
13526,
7,
8512,
21680,
953,
834,
3891,
591,
4314,
549,
17444,
427,
96,
254,
11158,
121,
3274,
3,
31,
509,
115,
537,
31,
3430,
96,
18455,
7,
121,
3,
2,
3,
31,
536,
31,
1,
-100,
-100,
-10... |
Who are the writers of the episode with production code IP02009? | CREATE TABLE table_31033 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) | SELECT "Written by" FROM table_31033 WHERE "Production code" = 'IP02009' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19947,
4201,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24965,
324,
57,
121,
21680,
953,
834,
19947,
4201,
549,
17444,
427,
96,
3174,
8291,
1081,
121,
3274,
3,
31,
4629,
632,
16660,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the dar for telenord | CREATE TABLE table_15887683_17 (
dar VARCHAR,
television_service VARCHAR
) | SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4060,
3959,
4591,
834,
2517,
41,
649,
584,
4280,
28027,
6,
4390,
834,
5114,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
649,
21,
3,
1931,
29,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
649,
21680,
953,
834,
1808,
4060,
3959,
4591,
834,
2517,
549,
17444,
427,
4390,
834,
5114,
3274,
96,
382,
400,
29,
127,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the record on July 1? | CREATE TABLE table_35580 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Record" FROM table_35580 WHERE "Date" = 'july 1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
755,
2079,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
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... | [
3,
23143,
14196,
96,
1649,
7621,
121,
21680,
953,
834,
2469,
755,
2079,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2047,
120,
209,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When was the date of counting with less than 87 seats, INC as incumbent and INC as election winner? | CREATE TABLE table_42363 (
"State" text,
"Seats (ACs)" real,
"Date of Counting" text,
"Incumbent" text,
"Election Winner" text
) | SELECT "Date of Counting" FROM table_42363 WHERE "Seats (ACs)" < '87' AND "Incumbent" = 'inc' AND "Election Winner" = 'inc' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2773,
3891,
41,
96,
134,
4748,
121,
1499,
6,
96,
134,
1544,
7,
41,
5173,
7,
61,
121,
490,
6,
96,
308,
342,
13,
3,
10628,
53,
121,
1499,
6,
96,
1570,
75,
5937,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13,
3,
10628,
53,
121,
21680,
953,
834,
591,
2773,
3891,
549,
17444,
427,
96,
134,
1544,
7,
41,
5173,
7,
61,
121,
3,
2,
3,
31,
4225,
31,
3430,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
77,
75,... |
What is the title of the king who left office in 982 and entered office in 949? | CREATE TABLE table_36345 (
"Throne Name" text,
"Title" text,
"Born-Died" text,
"Entered office" text,
"Left office" text,
"Family Relations" text
) | SELECT "Title" FROM table_36345 WHERE "Left office" = '982' AND "Entered office" = '949' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
519,
2128,
41,
96,
11889,
782,
5570,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
279,
127,
29,
18,
8639,
26,
121,
1499,
6,
96,
16924,
3737,
828,
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,
382,
155,
109,
121,
21680,
953,
834,
3420,
519,
2128,
549,
17444,
427,
96,
2796,
89,
17,
828,
121,
3274,
3,
31,
3916,
357,
31,
3430,
96,
16924,
3737,
828,
121,
3274,
3,
31,
1298,
3647,
31,
1,
-100,
-100,
-10... |
How many Rounds have a Defensive End Pick? | CREATE TABLE table_name_16 (
round VARCHAR,
position VARCHAR
) | SELECT COUNT(round) FROM table_name_16 WHERE position = "defensive end" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
1751,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
9609,
7,
43,
3,
9,
374,
23039,
15,
3720,
8356,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7775,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
1102,
3274,
96,
221,
23039,
15,
414,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many episodes in the season are episode 142 in the series? | CREATE TABLE table_25604014_8 (no_in_season VARCHAR, no_in_series VARCHAR) | SELECT COUNT(no_in_season) FROM table_25604014_8 WHERE no_in_series = 142 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3328,
2445,
2534,
834,
927,
41,
29,
32,
834,
77,
834,
9476,
584,
4280,
28027,
6,
150,
834,
77,
834,
10833,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
29,
32,
834,
77,
834,
9476,
61,
21680,
953,
834,
1828,
3328,
2445,
2534,
834,
927,
549,
17444,
427,
150,
834,
77,
834,
10833,
7,
3274,
3,
24978,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which coach started in the same year as charles armstrong ? | CREATE TABLE table_204_95 (
id number,
"name" text,
"title" text,
"first year\nin this position" number,
"years at nebraska" text,
"alma mater" text
) | SELECT "name" FROM table_204_95 WHERE "name" <> 'charles armstrong' AND "first year\nin this position" = (SELECT "first year\nin this position" FROM table_204_95 WHERE "name" = 'charles armstrong') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3301,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
21869,
121,
1499,
6,
96,
14672,
215,
2,
29,
77,
48,
1102,
121,
381,
6,
96,
1201,
7,
44,
3,
29,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4350,
121,
21680,
953,
834,
26363,
834,
3301,
549,
17444,
427,
96,
4350,
121,
3,
2,
3155,
3,
31,
4059,
965,
2939,
25866,
31,
3430,
96,
14672,
215,
2,
29,
77,
48,
1102,
121,
3274,
41,
23143,
14196,
96,
14672,
... |
What is the total work number of Gowrie with a 0-6-4t type after 1908? | CREATE TABLE table_11415 (
"Name" text,
"Builder" text,
"Type" text,
"Date" real,
"Works number" real
) | SELECT COUNT("Works number") FROM table_11415 WHERE "Type" = '0-6-4t' AND "Name" = 'gowrie' AND "Date" > '1908' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18959,
1808,
41,
96,
23954,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
308,
342,
121,
490,
6,
96,
12492,
7,
381,
121,
490,
3,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12492,
7,
381,
8512,
21680,
953,
834,
18959,
1808,
549,
17444,
427,
96,
25160,
121,
3274,
3,
31,
9498,
25618,
17,
31,
3430,
96,
23954,
121,
3274,
3,
31,
839,
210,
1753,
31,
3430,
96,
308,
34... |
COunt the sum of Diameter (km) which has a Latitude of 62.7n? | CREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR) | SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude = "62.7n" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
26,
23,
9,
4401,
834,
834,
5848,
834,
3,
21342,
17966,
6,
50,
6592,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2847,
202,
17,
8,
4505,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
26,
23,
9,
4401,
834,
834,
5848,
834,
61,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
50,
6592,
3274,
96,
948,
21280,
29,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.