NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
If the just cents is 84.46, what is the just ratio? | CREATE TABLE table_18955077_1 (
just_ratio VARCHAR,
just__cents_ VARCHAR
) | SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = "84.46" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25312,
17147,
4013,
834,
536,
41,
131,
834,
6850,
32,
584,
4280,
28027,
6,
131,
834,
834,
3728,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
131,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
131,
834,
6850,
32,
21680,
953,
834,
25312,
17147,
4013,
834,
536,
549,
17444,
427,
131,
834,
834,
3728,
7,
834,
3274,
96,
4608,
5,
4448,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who has a constituency of 84? | CREATE TABLE table_name_62 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_62 WHERE constituency_number = "84" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
4350,
584,
4280,
28027,
6,
6439,
4392,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
65,
3,
9,
6439,
4392,
13,
3,
4608,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
564,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
6439,
4392,
834,
5525,
1152,
3274,
96,
4608,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the dissolved date of the parliament assembled on 3 June 1467? | CREATE TABLE table_61933 (
"Summoned" text,
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
) | SELECT "Dissolved" FROM table_61933 WHERE "Assembled" = '3 june 1467' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
4271,
519,
41,
96,
134,
440,
2157,
15,
26,
121,
1499,
6,
96,
21543,
15,
26,
121,
1499,
6,
96,
188,
7,
7,
8312,
15,
26,
121,
1499,
6,
96,
308,
159,
6065,
15,
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,
308,
159,
6065,
15,
26,
121,
21680,
953,
834,
4241,
4271,
519,
549,
17444,
427,
96,
188,
7,
7,
8312,
15,
26,
121,
3274,
3,
31,
519,
3,
6959,
15,
968,
3708,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What match had 240 points for? | CREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR) | SELECT matches FROM table_name_81 WHERE points_for = "240" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
19515,
15,
7,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1588,
141,
3,
11944,
979,
21,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6407,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
979,
834,
1161,
3274,
96,
11944,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which township in pope county , arkansas has the smallest population ? | CREATE TABLE table_203_510 (
id number,
"township" text,
"fips" number,
"population\ncenter" text,
"population" number,
"population\ndensity\n(/mi2)" number,
"population\ndensity\n(/km2)" number,
"land area\n(mi2)" number,
"land area\n(km2)" number,
"water area\n(mi2)" number,
... | SELECT "township" FROM table_203_510 ORDER BY "population" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
25926,
41,
3,
23,
26,
381,
6,
96,
3540,
2009,
121,
1499,
6,
96,
89,
15432,
121,
381,
6,
96,
9791,
7830,
2,
29,
13866,
121,
1499,
6,
96,
9791,
7830,
121,
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,
96,
3540,
2009,
121,
21680,
953,
834,
23330,
834,
25926,
4674,
11300,
272,
476,
96,
9791,
7830,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the Score in the Final against Opponent in the Final Manuel Orantes, prior to 1978? | CREATE TABLE table_name_35 (
score_in_the_final VARCHAR,
date VARCHAR,
opponent_in_the_final VARCHAR
) | SELECT score_in_the_final FROM table_name_35 WHERE date < 1978 AND opponent_in_the_final = "manuel orantes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
2604,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
15264,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2604,
834,
77,
834,
532,
834,
12406,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
833,
3,
2,
14834,
3430,
15264,
834,
77,
834,
532,
834,
12406,
3274,
96,
348,
76,
15,
40,
42,
8386,
121,
1,
-100,
-100,
-100,
... |
count the number of patients on main drug type diagnosed with abnormal coagulation profile. | 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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Abnrml coagultion prfile" AND prescriptions.drug_type = "MAIN" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
what's the points with artbeingt being dave appell | CREATE TABLE table_13789248_2 (
points VARCHAR,
artist VARCHAR
) | SELECT points FROM table_13789248_2 WHERE artist = "Dave Appell" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3940,
4508,
3707,
834,
357,
41,
979,
584,
4280,
28027,
6,
2377,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
979,
28,
768,
9032,
17,
271,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
979,
21680,
953,
834,
2368,
3940,
4508,
3707,
834,
357,
549,
17444,
427,
2377,
3274,
96,
308,
9,
162,
2276,
3820,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What to Footscray score at home? | CREATE TABLE table_16387653_1 (
home_team VARCHAR
) | SELECT home_team AS score FROM table_16387653_1 WHERE home_team = "Footscray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
3747,
3959,
4867,
834,
536,
41,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
12,
15213,
7,
2935,
63,
2604,
44,
234,
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,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
2938,
3747,
3959,
4867,
834,
536,
549,
17444,
427,
234,
834,
11650,
3274,
96,
371,
32,
32,
17,
7,
2935,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What date is associated with the Spunk label? | CREATE TABLE table_name_76 (
date VARCHAR,
label VARCHAR
) | SELECT date FROM table_name_76 WHERE label = "spunk" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
833,
584,
4280,
28027,
6,
3783,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
19,
1968,
28,
8,
2526,
6513,
3783,
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,
833,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
3783,
3274,
96,
7,
102,
6513,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the most number for 74 runs margins | CREATE TABLE table_1594772_2 (
s_no INTEGER,
margin VARCHAR
) | SELECT MAX(s_no) FROM table_1594772_2 WHERE margin = "74 runs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27904,
4177,
5865,
834,
357,
41,
3,
7,
834,
29,
32,
3,
21342,
17966,
6,
6346,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
167,
381,
21,
3,
4581,
3154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
7,
834,
29,
32,
61,
21680,
953,
834,
27904,
4177,
5865,
834,
357,
549,
17444,
427,
6346,
3274,
96,
4581,
3154,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
have dext 5%-nacl 0.9% 1000 ml lvp ever been prescribed to patient 012-66291 in the current hospital visit? | CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)... | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-66291' AND patient.hospitaldischargetime IS NULL)) AND medication.drug... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11963,
670,
2562,
41,
11963,
670,
2562,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2358,
8292,
1499,
6,
2358,
40,
10333,
1499,
6,
2358,
7480,
35,
76,
17552,
381,
6,
11963,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7757,
549,
17444,
427,
7757,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,... |
Who is the visitor on April 5? | CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_8 WHERE date = "april 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
3466,
155,
127,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
7019,
30,
1186,
305,
58,
1,
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,
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... | [
3,
23143,
14196,
7019,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
833,
3274,
96,
9,
2246,
40,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the name of the party called name? | CREATE TABLE table_name_45 (party VARCHAR) | SELECT party FROM table_name_45 WHERE "name" = "name" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
8071,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
1088,
718,
564,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
1088,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
96,
4350,
121,
3274,
96,
4350,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show me about the distribution of password and author_id in a bar chart. | CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name VARCHAR(80),
gender_mf VARCHAR(1),
address_line_1 VARCHAR(80)
)
CREATE TABLE Student... | SELECT password, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8670,
834,
23602,
127,
7,
834,
232,
834,
28676,
7,
41,
2291,
834,
23,
26,
3,
21342,
17966,
6,
2291,
834,
17,
76,
17,
127,
834,
5767,
279,
584,
4280,
28027,
17867,
6,
11255,
834,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4735,
6,
2291,
834,
23,
26,
21680,
8670,
834,
23602,
127,
7,
834,
232,
834,
28676,
7,
4674,
11300,
272,
476,
525,
834,
4350,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the area (in km2) for the community that has a status of village, a census ranking of 2,471 of 5,008, and a population of less than 748? | CREATE TABLE table_9244 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
) | SELECT SUM("Area km 2") FROM table_9244 WHERE "Status" = 'village' AND "Census Ranking" = '2,471 of 5,008' AND "Population" < '748' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4508,
3628,
41,
96,
667,
89,
22816,
5570,
121,
1499,
6,
96,
134,
17,
144,
302,
121,
1499,
6,
96,
188,
864,
2280,
204,
121,
490,
6,
96,
27773,
7830,
121,
490,
6,
96,
254... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
188,
864,
2280,
204,
8512,
21680,
953,
834,
4508,
3628,
549,
17444,
427,
96,
134,
17,
144,
302,
121,
3274,
3,
31,
208,
17614,
31,
3430,
96,
254,
35,
7,
302,
29153,
121,
3274,
3,
31,
4482,
41... |
What years are listed for analogue cable with 35 channels? | CREATE TABLE table_58975 (
"Provider" text,
"Years" text,
"Free or pay" text,
"No. of channels" text,
"Colour" text,
"Digital" text,
"Transmission" text
) | SELECT "Years" FROM table_58975 WHERE "Transmission" = 'analogue cable' AND "No. of channels" = '35' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3914,
3072,
41,
96,
3174,
6961,
49,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
16393,
42,
726,
121,
1499,
6,
96,
4168,
5,
13,
6047,
121,
1499,
6,
96,
9939,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
476,
2741,
7,
121,
21680,
953,
834,
755,
3914,
3072,
549,
17444,
427,
96,
18474,
5451,
121,
3274,
3,
31,
152,
9,
10384,
4807,
31,
3430,
96,
4168,
5,
13,
6047,
121,
3274,
3,
31,
2469,
31,
1,
-100,
-100,
-100,... |
When did they play the swindon wildcats away? | CREATE TABLE table_name_14 (
date VARCHAR,
venue VARCHAR,
opponent VARCHAR
) | SELECT date FROM table_name_14 WHERE venue = "away" AND opponent = "swindon wildcats" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
79,
577,
8,
3,
7,
5165,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
5669,
3274,
96,
8006,
121,
3430,
15264,
3274,
96,
7,
5165,
106,
3645,
2138,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
where was the game site when the opponent was san diego chargers? | CREATE TABLE table_52513 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
) | SELECT "Game site" FROM table_52513 WHERE "Opponent" = 'san diego chargers' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
1828,
2368,
41,
96,
518,
10266,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
23055,
353,
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,
23055,
353,
121,
21680,
953,
834,
755,
1828,
2368,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
7,
152,
67,
839,
17020,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
calculate the number of patients with diagnoses icd9 code 42842. | 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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "42842" | [
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,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
How many single patients were admitted before 2178? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear < "2178" | [
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,
1635,
9538,
834,
8547,
302,
3274,
96,
134,
2365,
3765,
121,
3430,
14798,
5,
20466,
17,
1201,
3,
... |
Which Rank has an Attendance larger than 24,102, and a Date of september 15, 2012? | CREATE TABLE table_13873 (
"Rank" real,
"Date" text,
"Attendance" real,
"Opponent" text,
"Florida Result" text
) | SELECT "Rank" FROM table_13873 WHERE "Attendance" > '24,102' AND "Date" = 'september 15, 2012' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22744,
4552,
41,
96,
22557,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
11251,
4055,
9,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22557,
121,
21680,
953,
834,
22744,
4552,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
2490,
3,
31,
2266,
6,
14388,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
7,
6707,
18247,
10725,
1673,
31,
1,
-100,
-10... |
What was the loss of the game against with LA New Bears with a save of Mac Suzuki? | CREATE TABLE table_37968 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
) | SELECT "Loss" FROM table_37968 WHERE "Opponent" = 'la new bears' AND "Save" = 'mac suzuki' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
4440,
3651,
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,
23163,
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,
434,
32,
7,
7,
121,
21680,
953,
834,
519,
4440,
3651,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
521,
126,
4595,
7,
31,
3430,
96,
23163,
121,
3274,
3,
31,
11101,
2629,
1000,
2168,
31,
1,
-100,
... |
What is the maximumum number of wins? | CREATE TABLE table_1507423_4 (
wins INTEGER
) | SELECT MIN(wins) FROM table_1507423_4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12278,
4581,
2773,
834,
591,
41,
9204,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2411,
440,
381,
13,
9204,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
3757,
7,
61,
21680,
953,
834,
12278,
4581,
2773,
834,
591,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the air wing for the craft that was deployed from 16 June 1967? | CREATE TABLE table_46315 (
"from" text,
"aircraft" text,
"carrier" text,
"air wing" text,
"tail code" text,
"area" text
) | SELECT "air wing" FROM table_46315 WHERE "from" = '16 june 1967' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
519,
1808,
41,
96,
7152,
121,
1499,
6,
96,
2256,
6696,
121,
1499,
6,
96,
1720,
6711,
121,
1499,
6,
96,
2256,
3,
3108,
121,
1499,
6,
96,
5756,
1081,
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,
2256,
3,
3108,
121,
21680,
953,
834,
4448,
519,
1808,
549,
17444,
427,
96,
7152,
121,
3274,
3,
31,
2938,
3,
6959,
15,
18148,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What race had Nelson Piquet on the pole and was in Nürburgring? | CREATE TABLE table_1140073_2 (race VARCHAR, pole_position VARCHAR, location VARCHAR) | SELECT race FROM table_1140073_2 WHERE pole_position = "Nelson Piquet" AND location = "Nürburgring" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
5548,
4552,
834,
357,
41,
12614,
584,
4280,
28027,
6,
11148,
834,
4718,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1964,
141,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1964,
21680,
953,
834,
2596,
5548,
4552,
834,
357,
549,
17444,
427,
11148,
834,
4718,
3274,
96,
567,
3573,
106,
276,
1495,
17,
121,
3430,
1128,
3274,
96,
567,
4087,
4824,
1007,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
What was the score of the Away team when the score of the Home team was 13.14 (92)? | CREATE TABLE table_55017 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_55017 WHERE "Home team score" = '13.14 (92)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17147,
2517,
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,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
188,
1343,
372,
2604,
121,
21680,
953,
834,
17147,
2517,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
2368,
5,
2534,
14156,
7318,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
On what date was it announced that an asset was acquired for US$9 Million? | CREATE TABLE table_1373542_1 (date_announced VARCHAR, reported_cost VARCHAR) | SELECT date_announced FROM table_1373542_1 WHERE reported_cost = "US$9 million" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24636,
2469,
4165,
834,
536,
41,
5522,
834,
152,
29,
7906,
26,
584,
4280,
28027,
6,
2196,
834,
11290,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
833,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
834,
152,
29,
7906,
26,
21680,
953,
834,
24636,
2469,
4165,
834,
536,
549,
17444,
427,
2196,
834,
11290,
3274,
96,
3063,
3229,
1298,
770,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients whose drug name is fluconazole? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Fluconazole" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
Who has the highest Long with 59 Car? | CREATE TABLE table_53258 (
"Player" text,
"Car." real,
"Yards" text,
"Avg." text,
"Long" real
) | SELECT MAX("Long") FROM table_53258 WHERE "Car." = '59' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
357,
3449,
41,
96,
15800,
49,
121,
1499,
6,
96,
6936,
535,
490,
6,
96,
476,
986,
7,
121,
1499,
6,
96,
188,
208,
122,
535,
1499,
6,
96,
434,
2444,
121,
490,
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,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
121,
434,
2444,
8512,
21680,
953,
834,
4867,
357,
3449,
549,
17444,
427,
96,
6936,
535,
3274,
3,
31,
3390,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which parishes have a railroad length of 51.8 meters? | CREATE TABLE table_20626 (
"No." real,
"Name" text,
"Mi from Kingston" text,
"Km from Kingston" text,
"Parish" text,
"Length feet" real,
"Length meters" text
) | SELECT "Parish" FROM table_20626 WHERE "Length meters" = '51.8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24643,
2688,
41,
96,
4168,
535,
490,
6,
96,
23954,
121,
1499,
6,
96,
329,
23,
45,
26133,
121,
1499,
6,
96,
439,
51,
45,
26133,
121,
1499,
6,
96,
13212,
1273,
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,
13212,
1273,
121,
21680,
953,
834,
24643,
2688,
549,
17444,
427,
96,
434,
4606,
189,
8848,
121,
3274,
3,
31,
755,
16253,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many premierships for the queensland raceway? | CREATE TABLE table_name_40 (
premierships VARCHAR,
venue VARCHAR
) | SELECT premierships FROM table_name_40 WHERE venue = "queensland raceway" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
2761,
2009,
7,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
2761,
2009,
7,
21,
8,
14915,
7,
40,
232,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2761,
2009,
7,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
5669,
3274,
96,
835,
35,
7,
40,
232,
1964,
1343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the average attendance for the games after week 2 on September 23, 1973? | CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT AVG(attendance) FROM table_name_31 WHERE date = "september 23, 1973" AND week > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
15116,
663,
3,
21342,
17966,
6,
833,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
11364,
21,
8,
103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
833,
3274,
96,
7,
6707,
18247,
12992,
17107,
121,
3430,
471,
2490,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When the crowd was larger than 20,915 what did the Away team score? | CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
4374,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
4374,
47,
2186,
145,
16047,
1298,
1808,
125,
410... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
4374,
2490,
460,
3,
15316,
20788,
668,
1808,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For each origin, how many flights came from there Show bar chart, and list by the X from high to low. | CREATE TABLE flight (
flno number(4,0),
origin varchar2(20),
destination varchar2(20),
distance number(6,0),
departure_date date,
arrival_date date,
price number(7,2),
aid number(9,0)
)
CREATE TABLE employee (
eid number(9,0),
name varchar2(30),
salary number(10,2)
)
CREATE... | SELECT origin, COUNT(*) FROM flight GROUP BY origin ORDER BY origin DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3777,
41,
3,
89,
40,
29,
32,
381,
599,
8525,
632,
201,
5233,
3,
4331,
4059,
357,
599,
1755,
201,
3954,
3,
4331,
4059,
357,
599,
1755,
201,
2357,
381,
599,
11071,
632,
201,
12028,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5233,
6,
2847,
17161,
599,
1935,
61,
21680,
3777,
350,
4630,
6880,
272,
476,
5233,
4674,
11300,
272,
476,
5233,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many teams have 21 tries for? | CREATE TABLE table_20103 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Tries For" text,
"Tries Against" text,
"Try Bonus" text,
"Losing Bonus" text,
"Points" text
) | SELECT COUNT("Points difference") FROM table_20103 WHERE "Tries For" = '21' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
14926,
519,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
518,
106,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
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,
2847,
17161,
599,
121,
22512,
7,
1750,
8512,
21680,
953,
834,
14926,
519,
549,
17444,
427,
96,
382,
2593,
242,
121,
3274,
3,
31,
2658,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the score from the 21-27 Record? | CREATE TABLE table_35349 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Score" FROM table_35349 WHERE "Record" = '21-27' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
519,
3647,
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,
134,
9022,
121,
21680,
953,
834,
2469,
519,
3647,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
2658,
18,
2555,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What date did the episode that was directed by Christian i. nyby ii originally air on? | CREATE TABLE table_31248 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
) | SELECT "Original air date" FROM table_31248 WHERE "Directed by" = 'Christian I. Nyby II' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2122,
3707,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
66... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
799,
833,
121,
21680,
953,
834,
519,
2122,
3707,
549,
17444,
427,
96,
23620,
15,
26,
57,
121,
3274,
3,
31,
28412,
27,
5,
16663,
969,
2466,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the runner up the season that Sagawa Express came in fourth? | CREATE TABLE table_29446183_2 (
runner_up VARCHAR,
fourth_place VARCHAR
) | SELECT runner_up FROM table_29446183_2 WHERE fourth_place = "Sagawa Express" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
3628,
4241,
4591,
834,
357,
41,
3,
10806,
834,
413,
584,
4280,
28027,
6,
4509,
834,
4687,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
3,
1080... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
10806,
834,
413,
21680,
953,
834,
3166,
3628,
4241,
4591,
834,
357,
549,
17444,
427,
4509,
834,
4687,
3274,
96,
134,
9,
122,
7396,
7319,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
eiffel 65 had a top 100 hit of the 1990s , blue -lrb- da ba dee -rrb- , as well as one other 1990s top 100 hit single . what was that other hit single ? | CREATE TABLE table_203_7 (
id number,
"pos." number,
"artist" text,
"single" text,
"year" number,
"sales" number,
"peak" number
) | SELECT "single" FROM table_203_7 WHERE "artist" = 'eiffel 65' AND "single" <> '"blue (da ba dee)"' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
940,
41,
3,
23,
26,
381,
6,
96,
2748,
535,
381,
6,
96,
1408,
343,
121,
1499,
6,
96,
7,
53,
109,
121,
1499,
6,
96,
1201,
121,
381,
6,
96,
7,
4529,
121,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
7,
53,
109,
121,
21680,
953,
834,
23330,
834,
940,
549,
17444,
427,
96,
1408,
343,
121,
3274,
3,
31,
15,
23,
16387,
7123,
31,
3430,
96,
7,
53,
109,
121,
3,
2,
3155,
3,
31,
121,
7060,
15,
41,
26,
9,
4698,... |
What is the black caribbean population when the black African population is less than 10552.0? | CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, black_african_population INTEGER) | SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
24816,
17147,
834,
940,
41,
19699,
834,
658,
6520,
346,
152,
834,
9791,
7830,
3,
21342,
17966,
6,
1001,
834,
9,
89,
2234,
152,
834,
9791,
7830,
3,
21342,
17966,
61,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
19699,
834,
658,
6520,
346,
152,
834,
9791,
7830,
61,
21680,
953,
834,
2294,
24816,
17147,
834,
940,
549,
17444,
427,
1001,
834,
9,
89,
2234,
152,
834,
9791,
7830,
3,
2,
335,
3769,
24273,
1,
-100,
-... |
What's the Significant of a value 1.0? | CREATE TABLE table_name_2 (
significand__fraction_field_ VARCHAR,
value VARCHAR
) | SELECT significand__fraction_field_ FROM table_name_2 WHERE value = "1.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
1320,
3286,
232,
834,
834,
22513,
834,
1846,
834,
584,
4280,
28027,
6,
701,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
31417... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1320,
3286,
232,
834,
834,
22513,
834,
1846,
834,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
701,
3274,
96,
12734,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What entrant has osella fa1c chassis after 1981? | CREATE TABLE table_name_60 (
entrant VARCHAR,
year VARCHAR,
chassis VARCHAR
) | SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
3,
295,
3569,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
3,
295,
3569,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
295,
3569,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
215,
2490,
15465,
3430,
22836,
3274,
96,
32,
7,
5303,
3,
89,
9,
536,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil? | CREATE TABLE table_66997 (
"Stage (Winner)" text,
"General Classification Yellow Jersey" text,
"Mountains Classification Green Jersey" text,
"Points Classification Navy Blue Jersey" text,
"Intermediate Sprints Classification Red Jersey" text,
"Team Classification" text
) | SELECT "Intermediate Sprints Classification Red Jersey" FROM table_66997 WHERE "Mountains Classification Green Jersey" = 'murilo antonio fischer' AND "Points Classification Navy Blue Jersey" = 'jose joaquin rojas gil' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
3264,
940,
41,
96,
134,
6505,
41,
18455,
687,
61,
121,
1499,
6,
96,
20857,
4501,
2420,
12035,
5092,
121,
1499,
6,
96,
329,
32,
14016,
77,
7,
4501,
2420,
1862,
5092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17555,
5700,
342,
23818,
7,
4501,
2420,
1624,
5092,
121,
21680,
953,
834,
3539,
3264,
940,
549,
17444,
427,
96,
329,
32,
14016,
77,
7,
4501,
2420,
1862,
5092,
121,
3274,
3,
31,
11054,
173,
32,
3,
9,
6992,
23,
... |
What is the Home team score for the Away team of North Melbourne? | CREATE TABLE table_78150 (
"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_78150 WHERE "Away team" = 'north melbourne' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
12278,
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,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3940,
12278,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
29,
127,
189,
3,
2341,
26255,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
who was the last opponent on the list , chronologically ? | CREATE TABLE table_204_376 (
id number,
"date" text,
"venue" text,
"opponents" text,
"score" text,
"competition" text
) | SELECT "opponents" FROM table_204_376 ORDER BY "date" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
519,
3959,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
32,
102,
9977,
7,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
287,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32,
102,
9977,
7,
121,
21680,
953,
834,
26363,
834,
519,
3959,
4674,
11300,
272,
476,
96,
5522,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many years have a Surface of clay, and a Score of 4 : 0? | CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR) | SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
1201,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
203,
43,
3,
9,
18884,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
1774,
3274,
96,
4651,
63,
121,
3430,
2604,
3274,
96,
591,
3,
10,
3,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0? | CREATE TABLE table_name_26 (
played INTEGER,
drawn VARCHAR,
position VARCHAR,
points VARCHAR
) | SELECT MAX(played) FROM table_name_26 WHERE position > 5 AND points > 0 AND drawn < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
1944,
3,
21342,
17966,
6,
6796,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2911,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4895,
15,
26,
61,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
1102,
2490,
305,
3430,
979,
2490,
3,
632,
3430,
6796,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
For couple Todd and Susie, what was the vote percentage? | CREATE TABLE table_19744915_17 (vote_percentage VARCHAR, couple VARCHAR) | SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
4581,
3647,
1808,
834,
2517,
41,
1621,
17,
15,
834,
883,
3728,
545,
584,
4280,
28027,
6,
1158,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
242,
1158,
17607,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2902,
834,
883,
3728,
545,
21680,
953,
834,
2294,
4581,
3647,
1808,
834,
2517,
549,
17444,
427,
1158,
3274,
96,
3696,
26,
26,
11,
1923,
2452,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who directed the episode that has 3x6752 listed as the production code? | CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3710,
2518,
2394,
834,
591,
41,
22955,
834,
969,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
6640,
8,
5640,
24,
65,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6640,
834,
969,
21680,
953,
834,
2884,
3710,
2518,
2394,
834,
591,
549,
17444,
427,
999,
834,
4978,
3274,
96,
519,
4,
3708,
5373,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
The country of Spain has what score? | CREATE TABLE table_45810 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Score" FROM table_45810 WHERE "Country" = 'spain' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
927,
1714,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
96,
134,
9022,
121,
21680,
953,
834,
2128,
927,
1714,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
14147,
77,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes? | CREATE TABLE table_23676 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real,
"Total" real
) | SELECT COUNT("Obama#") FROM table_23676 WHERE "Obama%" = '27.8%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3420,
3959,
41,
96,
10628,
63,
121,
1499,
6,
96,
667,
115,
265,
9,
1454,
121,
1499,
6,
96,
667,
115,
265,
9,
4663,
121,
490,
6,
96,
329,
75,
254,
9,
77,
1454,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
667,
115,
265,
9,
4663,
8512,
21680,
953,
834,
357,
3420,
3959,
549,
17444,
427,
96,
667,
115,
265,
9,
1454,
121,
3274,
3,
31,
2555,
5,
5953,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the highest comp for ratings less than 52.8 and yards less than 0? | CREATE TABLE table_13509 (
"Player" text,
"Games" real,
"Comp" real,
"Yards" real,
"Rating" real
) | SELECT MAX("Comp") FROM table_13509 WHERE "Rating" < '52.8' AND "Yards" < '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
1752,
1298,
41,
96,
15800,
49,
121,
1499,
6,
96,
23055,
7,
121,
490,
6,
96,
5890,
102,
121,
490,
6,
96,
476,
986,
7,
121,
490,
6,
96,
448,
1014,
121,
490,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
5890,
102,
8512,
21680,
953,
834,
2368,
1752,
1298,
549,
17444,
427,
96,
448,
1014,
121,
3,
2,
3,
31,
755,
19419,
31,
3430,
96,
476,
986,
7,
121,
3,
2,
3,
31,
632,
31,
1,
-100,
-100,
-100,
... |
What nationality is the player from the College of Cincinnati? | CREATE TABLE table_name_6 (nationality VARCHAR, college VARCHAR) | SELECT nationality FROM table_name_6 WHERE college = "cincinnati" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
16557,
485,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1157,
485,
19,
8,
1959,
45,
8,
1888,
13,
20862,
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,
0... | [
3,
23143,
14196,
1157,
485,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
1900,
3274,
96,
75,
11542,
29,
18530,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the total number of semi-finalist #2 where runner-up is east carolina | CREATE TABLE table_11214772_1 (semi_finalist__number2 VARCHAR, runner_up VARCHAR) | SELECT COUNT(semi_finalist__number2) FROM table_11214772_1 WHERE runner_up = "East Carolina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
27357,
4013,
357,
834,
536,
41,
7,
15,
51,
23,
834,
12406,
343,
834,
834,
5525,
1152,
357,
584,
4280,
28027,
6,
3,
10806,
834,
413,
584,
4280,
28027,
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,
7,
15,
51,
23,
834,
12406,
343,
834,
834,
5525,
1152,
7318,
21680,
953,
834,
2596,
27357,
4013,
357,
834,
536,
549,
17444,
427,
3,
10806,
834,
413,
3274,
96,
25235,
5089,
121,
1,
-100,
-100,
-100,
... |
What is the Russian name with lbr as the Latin 3-letter code? | CREATE TABLE table_name_86 (
russian_name VARCHAR,
latin_3_letter_code VARCHAR
) | SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
3,
26165,
29,
834,
4350,
584,
4280,
28027,
6,
3,
14098,
834,
519,
834,
16024,
834,
4978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26165,
29,
834,
4350,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
3,
14098,
834,
519,
834,
16024,
834,
4978,
3274,
96,
40,
115,
52,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Use a group line chart to show how many competitions are held in each year, group by official name and bin by year, could you sort by the x axis in desc? | CREATE TABLE farm_competition (
Competition_ID int,
Year int,
Theme text,
Host_city_ID int,
Hosts text
)
CREATE TABLE competition_record (
Competition_ID int,
Farm_ID int,
Rank int
)
CREATE TABLE farm (
Farm_ID int,
Year int,
Total_Horses real,
Working_Horses real,
... | SELECT Year, COUNT(Year) FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY Official_Name ORDER BY Year DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3797,
834,
287,
4995,
4749,
41,
15571,
834,
4309,
16,
17,
6,
2929,
16,
17,
6,
37,
526,
1499,
6,
1546,
7,
17,
834,
6726,
834,
4309,
16,
17,
6,
1546,
7,
17,
7,
1499,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2929,
6,
2847,
17161,
599,
476,
2741,
61,
21680,
690,
6157,
332,
536,
3,
15355,
3162,
3797,
834,
287,
4995,
4749,
6157,
332,
357,
9191,
332,
5411,
254,
485,
834,
4309,
3274,
332,
4416,
566,
3481,
834,
6726,
834,
430... |
What is the league on 5 October 1997? | CREATE TABLE table_52242 (
"Season" text,
"Match" text,
"Result" text,
"League" text,
"Date" text
) | SELECT "League" FROM table_52242 WHERE "Date" = '5 october 1997' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5373,
2266,
357,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
329,
14547,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
2796,
9,
5398,
121,
1499,
6,
96,
308,
342,
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,
0,
0... | [
3,
23143,
14196,
96,
2796,
9,
5398,
121,
21680,
953,
834,
5373,
2266,
357,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
755,
3,
32,
75,
235,
1152,
6622,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Club, when the value for Played is 22, and when the value for Tries is 41? | CREATE TABLE table_67684 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Club" FROM table_67684 WHERE "Played" = '22' AND "Tries for" = '41' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
3651,
591,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
22512,
7,
21,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
11158,
121,
21680,
953,
834,
3708,
3651,
591,
549,
17444,
427,
96,
15800,
15,
26,
121,
3274,
3,
31,
2884,
31,
3430,
96,
382,
2593,
21,
121,
3274,
3,
31,
4853,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who wrote all the shows with 18.73 u.s. viewers? | CREATE TABLE table_16620 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Featured character(s)" text,
"Original air date" text,
"U.S. viewers (million)" text
) | SELECT "Written by" FROM table_16620 WHERE "U.S. viewers (million)" = '18.73' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26811,
1755,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
16772,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26811,
1755,
549,
17444,
427,
96,
1265,
5,
134,
5,
13569,
41,
17030,
61,
121,
3274,
3,
31,
2606,
5,
4552,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the notes for the rower in ranks over 2 and having a time of 7:00:46? | CREATE TABLE table_name_48 (
notes VARCHAR,
rank VARCHAR,
time VARCHAR
) | SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "7:00:46" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
3358,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
3358,
21,
8,
7358,
49,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3358,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
11003,
2490,
204,
3430,
97,
3274,
96,
18735,
10,
4448,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the Centerfild model that used Bruce Willis as her Interview subject? | CREATE TABLE table_41915 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text
) | SELECT "Centerfold model" FROM table_41915 WHERE "Interview subject" = 'bruce willis' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2294,
1808,
41,
96,
308,
342,
121,
1499,
6,
96,
254,
1890,
825,
121,
1499,
6,
96,
24382,
10533,
825,
121,
1499,
6,
96,
17555,
4576,
1426,
121,
1499,
6,
96,
1755,
142... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24382,
10533,
825,
121,
21680,
953,
834,
591,
2294,
1808,
549,
17444,
427,
96,
17555,
4576,
1426,
121,
3274,
3,
31,
9052,
565,
56,
159,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the team for june 20 | CREATE TABLE table_24334 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
) | SELECT "Team" FROM table_24334 WHERE "Date" = 'June 20' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27730,
3710,
41,
96,
476,
2741,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
20982,
52,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
7296,
76,
8717,
450,
49,
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,
18699,
121,
21680,
953,
834,
27730,
3710,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
683,
444,
460,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What position did the team new york red bulls pick? | CREATE TABLE table_31273 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
) | SELECT "Position" FROM table_31273 WHERE "MLS team" = 'New York Red Bulls' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3341,
2555,
519,
41,
96,
345,
3142,
1713,
121,
490,
6,
96,
17976,
372,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
188,
89,
8027,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
32,
7,
4749,
121,
21680,
953,
834,
3341,
2555,
519,
549,
17444,
427,
96,
17976,
372,
121,
3274,
3,
31,
6861,
1060,
1624,
10204,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What kind of Replaced has a Team of gimnasia y esgrima (lp)? | CREATE TABLE table_59258 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
) | SELECT "Replaced by" FROM table_59258 WHERE "Team" = 'gimnasia y esgrima (lp)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
357,
3449,
41,
96,
18699,
121,
1499,
6,
96,
15767,
9545,
2743,
121,
1499,
6,
96,
7296,
687,
13,
12028,
121,
1499,
6,
96,
308,
342,
13,
3,
29685,
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,
96,
1649,
4687,
26,
57,
121,
21680,
953,
834,
3390,
357,
3449,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
122,
603,
29,
15974,
3,
63,
3,
15,
7,
3496,
51,
9,
41,
40,
102,
61,
31,
1,
-100,
-100,
-100,
-100,
... |
What is the average Loss for the long of more than 12 with a name of opponents with a Gain larger than 1751? | CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR) | SELECT AVG(loss) FROM table_name_26 WHERE long > 12 AND name = "opponents" AND gain > 1751 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
2298,
7,
3,
21342,
17966,
6,
2485,
584,
4280,
28027,
6,
307,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
2298,
7,
61,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
307,
2490,
586,
3430,
564,
3274,
96,
32,
102,
9977,
7,
121,
3430,
2485,
2490,
1003,
5553,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the perfect stem for pozten? | CREATE TABLE table_12784134_24 (
perfect_stem VARCHAR,
imperfect_stem VARCHAR
) | SELECT perfect_stem FROM table_12784134_24 WHERE imperfect_stem = "pozten" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22367,
4608,
23747,
834,
2266,
41,
626,
834,
7,
3524,
584,
4280,
28027,
6,
28306,
834,
7,
3524,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
626,
626... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
626,
834,
7,
3524,
21680,
953,
834,
22367,
4608,
23747,
834,
2266,
549,
17444,
427,
28306,
834,
7,
3524,
3274,
96,
9693,
324,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What record has detroit as the home and mtl. maroons as the visitor? | CREATE TABLE table_name_99 (
record VARCHAR,
home VARCHAR,
visitor VARCHAR
) | SELECT record FROM table_name_99 WHERE home = "detroit" AND visitor = "mtl. maroons" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
1368,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
7019,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1368,
65,
3,
26,
15252,
155,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
234,
3274,
96,
26,
15252,
155,
121,
3430,
7019,
3274,
96,
51,
17,
40,
5,
3157,
32,
106,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the visitor on April 5? | CREATE TABLE table_name_8 (
visitor VARCHAR,
date VARCHAR
) | SELECT visitor FROM table_name_8 WHERE date = "april 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
7019,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
7019,
30,
1186,
305,
58,
1,
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,
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,
7019,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
833,
3274,
96,
9,
2246,
40,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the date is July 8, and the score is 8-12, who is the opponent? | CREATE TABLE table_name_78 (opponent VARCHAR, date VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_78 WHERE date = "july 8" AND score = "8-12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
32,
102,
9977,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
833,
19,
1718,
9478,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
833,
3274,
96,
2047,
120,
505,
121,
3430,
2604,
3274,
96,
927,
5947,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which model(s) has AGP graphics and 400 FSB (MHz)? | CREATE TABLE table_name_44 (
model VARCHAR,
graphics VARCHAR,
fsb__mhz_ VARCHAR
) | SELECT model FROM table_name_44 WHERE graphics = "agp" AND fsb__mhz_ = "400" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
825,
584,
4280,
28027,
6,
6484,
584,
4280,
28027,
6,
3,
89,
7,
115,
834,
834,
51,
107,
172,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
825,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
6484,
3274,
96,
9,
122,
102,
121,
3430,
3,
89,
7,
115,
834,
834,
51,
107,
172,
834,
3274,
96,
5548,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
out of total number of patients discharged to home, calculate the maximum age of private patients. | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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
)
C... | SELECT MAX(demographic.age) FROM demographic WHERE demographic.insurance = "Private" AND demographic.discharge_location = "HOME" | [
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,
4800,
4,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
29441,
3274,
96,
7855,
208,
342,
121,
3430,
14798,
5,
26,
159,
7993,
834,
14836,
3274,
96,
6299,
4369,
121,
1,
-100,
-100,
-100,
-100,
... |
What programs were held at highland speedway? | CREATE TABLE table_16275828_4 (program VARCHAR, track_name VARCHAR) | SELECT program FROM table_16275828_4 WHERE track_name = "Highland Speedway" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
2555,
3449,
2577,
834,
591,
41,
1409,
5096,
584,
4280,
28027,
6,
1463,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1356,
130,
1213,
44,
306,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
478,
21680,
953,
834,
2938,
2555,
3449,
2577,
834,
591,
549,
17444,
427,
1463,
834,
4350,
3274,
96,
21417,
40,
232,
9913,
1343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the title of the episode written by Jack Orman? | CREATE TABLE table_25356350_2 (
title VARCHAR,
written_by VARCHAR
) | SELECT title FROM table_25356350_2 WHERE written_by = "Jack Orman" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2469,
3891,
1752,
834,
357,
41,
2233,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2233,
13,
8,
5640,
1545... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
21680,
953,
834,
1828,
2469,
3891,
1752,
834,
357,
549,
17444,
427,
1545,
834,
969,
3274,
96,
683,
4365,
955,
348,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the original air date for ' don't look a smith horse in the mouth | CREATE TABLE table_73485 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
) | SELECT "Original air date" FROM table_73485 WHERE "Title" = ' Don''t Look a Smith Horse in the Mouth ' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
591,
4433,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
799,
833,
121,
21680,
953,
834,
4552,
591,
4433,
549,
17444,
427,
96,
382,
155,
109,
121,
3274,
3,
31,
1008,
31,
31,
17,
3568,
3,
9,
3931,
13538,
16,
8,
13640,
189,
3,
31,
1,
-100,
-100,
... |
Name the drivers for chassis of season cancelled | CREATE TABLE table_name_88 (
drivers VARCHAR,
chassis VARCHAR
) | SELECT drivers FROM table_name_88 WHERE chassis = "season cancelled" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
3863,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3863,
21,
22836,
13,
774,
18454,
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,
3863,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
22836,
3274,
96,
9476,
18454,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
For the Japanese title サプリ that had 11 episodes, what is the average ratings? | CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR) | SELECT average_ratings FROM table_name_92 WHERE episodes = 11 AND japanese_title = "サプリ" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
28951,
834,
52,
1014,
7,
584,
4280,
28027,
6,
13562,
584,
4280,
28027,
6,
2662,
2837,
15,
7,
15,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1348,
834,
52,
1014,
7,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
13562,
3274,
850,
3430,
2662,
2837,
15,
7,
15,
834,
21869,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What college did the player whose position was RB go to? | CREATE TABLE table_28059992_6 (
college VARCHAR,
position VARCHAR
) | SELECT college FROM table_28059992_6 WHERE position = "RB" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3076,
19446,
357,
834,
948,
41,
1900,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1900,
410,
8,
1959,
3,
2544,
1102,
47,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1900,
21680,
953,
834,
2577,
3076,
19446,
357,
834,
948,
549,
17444,
427,
1102,
3274,
96,
12108,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What city of license has an ERP W smaller than 500, Class A, and Frequency MHz larger than 89.7? | CREATE TABLE table_name_76 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR) | SELECT city_of_license FROM table_name_76 WHERE erp_w < 500 AND class = "a" AND frequency_mhz > 89.7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
6726,
834,
858,
834,
28062,
584,
4280,
28027,
6,
7321,
834,
51,
107,
172,
584,
4280,
28027,
6,
3,
49,
102,
834,
210,
584,
4280,
28027,
6,
853,
584,
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,
690,
834,
858,
834,
28062,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
3,
49,
102,
834,
210,
3,
2,
2899,
3430,
853,
3274,
96,
9,
121,
3430,
7321,
834,
51,
107,
172,
2490,
3,
3914,
5,
940,
1,
-100,
-100,
... |
what is the malayalam name of tamil name punarpoosam | CREATE TABLE table_23559 (
"#" real,
"Sanskrit" text,
"Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text,
"Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text,
"Telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text,
"Kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text,
"Western star name"... | SELECT "Malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" FROM table_23559 WHERE "Tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'Punarpoosam புனர்பூசம்' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25174,
3390,
41,
96,
4663,
121,
490,
6,
96,
134,
3247,
10648,
17,
121,
1499,
6,
96,
329,
22858,
40,
265,
564,
3,
2,
76,
632,
26,
357,
15,
2,
76,
632,
26,
2668,
2,
76,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22858,
40,
265,
564,
3,
2,
76,
632,
26,
357,
15,
2,
76,
632,
26,
2668,
2,
76,
632,
26,
357,
89,
2,
76,
632,
26,
519,
15,
2,
76,
632,
26,
4201,
2,
76,
632,
26,
4305,
121,
21680,
953,
834,
25174,
... |
What opera has 19.87% as the firefox? | CREATE TABLE table_name_48 (
opera VARCHAR,
firefox VARCHAR
) | SELECT opera FROM table_name_48 WHERE firefox = "19.87%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
6329,
584,
4280,
28027,
6,
1472,
20400,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
6329,
65,
9997,
927,
6170,
38,
8,
1472,
20400,
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... | [
3,
23143,
14196,
6329,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
1472,
20400,
3274,
96,
2294,
5,
927,
6170,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2? | CREATE TABLE table_name_76 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_76 WHERE bronze < 8 AND silver = 3 AND rank < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
235,
1947,
3,
21342,
17966,
6,
11003,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
13467,
3,
2,
505,
3430,
4294,
3274,
220,
3430,
11003,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the date of the game with a score of 15 6? | CREATE TABLE table_name_15 (
date VARCHAR,
score VARCHAR
) | SELECT date FROM table_name_15 WHERE score = "15–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
833,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
833,
13,
8,
467,
28,
3,
9,
2604,
13,
627,
431,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
2604,
3274,
96,
1808,
104,
948,
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 name of the youngest captain? | CREATE TABLE captain (
name VARCHAR,
age VARCHAR
) | SELECT name FROM captain ORDER BY age LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14268,
41,
564,
584,
4280,
28027,
6,
1246,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
19147,
14268,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
564,
21680,
14268,
4674,
11300,
272,
476,
1246,
8729,
12604,
209,
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,
... |
Return the average and minimum ages across artists from the United States. | CREATE TABLE exhibition_record (
exhibition_id number,
date text,
attendance number
)
CREATE TABLE artist (
artist_id number,
name text,
country text,
year_join number,
age number
)
CREATE TABLE exhibition (
exhibition_id number,
year number,
theme text,
artist_id numbe... | SELECT AVG(age), MIN(age) FROM artist WHERE country = 'United States' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4473,
834,
60,
7621,
41,
4473,
834,
23,
26,
381,
6,
833,
1499,
6,
11364,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2377,
41,
2377,
834,
23,
26,
381,
6,
564,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
545,
201,
3,
17684,
599,
545,
61,
21680,
2377,
549,
17444,
427,
684,
3274,
3,
31,
5110,
23,
1054,
1323,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the number of capacity at somerset park? | CREATE TABLE table_16498 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Highest" real,
"Lowest" real,
"Average" real
) | SELECT COUNT("Capacity") FROM table_16498 WHERE "Stadium" = 'Somerset Park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26987,
3916,
41,
96,
18699,
121,
1499,
6,
96,
134,
17,
9,
12925,
121,
1499,
6,
96,
19566,
9,
6726,
121,
490,
6,
96,
21417,
222,
121,
490,
6,
96,
434,
32,
12425,
121,
49... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19566,
9,
6726,
8512,
21680,
953,
834,
26987,
3916,
549,
17444,
427,
96,
134,
17,
9,
12925,
121,
3274,
3,
31,
19055,
52,
2244,
1061,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the latest season with a nick production number of 942? | CREATE TABLE table_2655016_10 (
season__number INTEGER,
nick_prod__number VARCHAR
) | SELECT MAX(season__number) FROM table_2655016_10 WHERE nick_prod__number = 942 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
17147,
2938,
834,
1714,
41,
774,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
3,
11191,
834,
1409,
26,
834,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
9476,
834,
834,
5525,
1152,
61,
21680,
953,
834,
2688,
17147,
2938,
834,
1714,
549,
17444,
427,
3,
11191,
834,
1409,
26,
834,
834,
5525,
1152,
3274,
668,
4165,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
with team #2 as akasvayu girona what is team #1? | CREATE TABLE table_36357 (
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
) | SELECT "Team #1" FROM table_36357 WHERE "Team #2" = 'akasvayu girona' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
519,
3436,
41,
96,
18699,
7172,
121,
1499,
6,
96,
188,
4102,
535,
1499,
6,
96,
18699,
15493,
121,
1499,
6,
96,
536,
7,
17,
4553,
121,
1499,
6,
96,
357,
727,
4553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
7172,
121,
21680,
953,
834,
3420,
519,
3436,
549,
17444,
427,
96,
18699,
15493,
121,
3274,
3,
31,
5667,
7,
900,
63,
76,
3,
9427,
106,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Away captain with a Venue that is old trafford? | CREATE TABLE table_name_36 (
away_captain VARCHAR,
venue VARCHAR
) | SELECT away_captain FROM table_name_36 WHERE venue = "old trafford" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
550,
834,
4010,
17,
9,
77,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
71,
1343,
14268,
28,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
4010,
17,
9,
77,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
5669,
3274,
96,
1490,
3,
14793,
2590,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the home team score at Kardinia Park? | CREATE TABLE table_name_43 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_43 WHERE venue = "kardinia park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
234,
372,
2604,
44,
4556,
2644,
23,
9,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
5669,
3274,
96,
4031,
2644,
23,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the record for new york giants | CREATE TABLE table_20182 (
"Week" real,
"Date" text,
"Result" text,
"Record" text,
"Opponent" text,
"Points For" real,
"Points Against" real,
"First Downs" real,
"Attendance" real
) | SELECT "Record" FROM table_20182 WHERE "Opponent" = 'New York Giants' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9457,
357,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
225... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9457,
357,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
6861,
1060,
3156,
2366,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the average speed where the total time was 1:30.4842? | CREATE TABLE table_23018775_3 (
avg_speed VARCHAR,
total_time VARCHAR
) | SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
25828,
3072,
834,
519,
41,
3,
9,
208,
122,
834,
9993,
584,
4280,
28027,
6,
792,
834,
715,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1348,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
9,
208,
122,
834,
9993,
21680,
953,
834,
13427,
25828,
3072,
834,
519,
549,
17444,
427,
792,
834,
715,
3274,
96,
20120,
5,
3707,
4165,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show how many country from each country | CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Ticket_Price real... | SELECT Country, COUNT(Country) FROM artist GROUP BY Country | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4473,
834,
60,
7621,
41,
22371,
834,
4309,
16,
17,
6,
7678,
1499,
6,
22497,
663,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2377,
41,
9152,
834,
4309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6993,
6,
2847,
17161,
599,
10628,
651,
61,
21680,
2377,
350,
4630,
6880,
272,
476,
6993,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many asian patients underwent open and other replacement of aortic valve with tissue graft procedure? | 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 (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "ASIAN" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
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,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Which wheel arrangement made in year 1900? | CREATE TABLE table_name_3 (
wheel_arrangement VARCHAR,
year_made VARCHAR
) | SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
5094,
834,
291,
5517,
297,
584,
4280,
28027,
6,
215,
834,
4725,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
5094,
8641,
263,
16,
215,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5094,
834,
291,
5517,
297,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
215,
834,
4725,
3274,
96,
2294,
1206,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who played as the home team when Vit ria was the away team? | CREATE TABLE table_75947 (
"Round" text,
"Date" text,
"Home team" text,
"Score" text,
"Away team" text
) | SELECT "Home team" FROM table_75947 WHERE "Away team" = 'vitória' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
4240,
940,
41,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
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,
19040,
372,
121,
21680,
953,
834,
3072,
4240,
940,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
5566,
4922,
52,
23,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the production code by paul lieberstein | CREATE TABLE table_73475 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
) | SELECT "Production code" FROM table_73475 WHERE "Written by" = 'Paul Lieberstein' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
591,
3072,
41,
96,
4168,
5,
16,
939,
121,
1499,
6,
96,
4168,
5,
16,
774,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
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,
96,
3174,
8291,
1081,
121,
21680,
953,
834,
4552,
591,
3072,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
23183,
10484,
52,
4008,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970? | CREATE TABLE table_name_30 (Id VARCHAR) | SELECT MIN(1980) FROM table_name_30 WHERE 2006 < 37.8 AND 2000 > 29.4 AND 1970 > 18.2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
196,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
5294,
16,
6694,
24,
141,
705,
145,
6862,
5,
5953,
16,
3581,
6,
72,
145,
283... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
3,
17684,
599,
2294,
2079,
61,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
3581,
3,
2,
6862,
5,
927,
3430,
2766,
2490,
2838,
5,
591,
3430,
7434,
2490,
12265,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who won Division North when Division Southwest was won by Novaci and Division West by Vrap i te? | CREATE TABLE table_name_75 (
division_north VARCHAR,
division_southwest VARCHAR,
division_west VARCHAR
) | SELECT division_north FROM table_name_75 WHERE division_southwest = "novaci" AND division_west = "vrapčište" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
4889,
834,
29,
127,
189,
584,
4280,
28027,
6,
4889,
834,
7,
670,
107,
12425,
584,
4280,
28027,
6,
4889,
834,
12425,
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,
4889,
834,
29,
127,
189,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
4889,
834,
7,
670,
107,
12425,
3274,
96,
5326,
4268,
121,
3430,
4889,
834,
12425,
3274,
96,
11473,
102,
2,
23,
2,
17,
15,
121,
1,
-100,
... |
Which is team 2 when team 1 is ECAC Chaumont (d2)? | CREATE TABLE table_name_45 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_45 WHERE team_1 = "ecac chaumont (d2)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
11650,
834,
357,
584,
4280,
28027,
6,
372,
834,
536,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
19,
372,
204,
116,
372,
209,
19,
3,
307... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
357,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
372,
834,
536,
3274,
96,
15,
658,
75,
3,
524,
402,
4662,
41,
26,
7318,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.