NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What date has alamodome, san antonio, united states as the venue? | CREATE TABLE table_name_63 (
date VARCHAR,
venue VARCHAR
) | SELECT date FROM table_name_63 WHERE venue = "alamodome, san antonio, united states" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
65,
491,
9,
7360,
7159,
6,
3,
7,
152,
3,
9,
6992,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
5669,
3274,
96,
138,
9,
7360,
7159,
6,
3,
7,
152,
3,
9,
6992,
23,
32,
6,
18279,
2315,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the sanskrit word for the color red? | CREATE TABLE table_180802_3 (
sanskrit_word VARCHAR,
color VARCHAR
) | SELECT sanskrit_word FROM table_180802_3 WHERE color = "red" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
2079,
357,
834,
519,
41,
1532,
10648,
17,
834,
6051,
584,
4280,
28027,
6,
945,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1532,
10648,
17,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1532,
10648,
17,
834,
6051,
21680,
953,
834,
20829,
2079,
357,
834,
519,
549,
17444,
427,
945,
3274,
96,
1271,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show all member names who are not in charge of any event. | CREATE TABLE member (
member_id number,
member_name text,
party_id text,
in_office text
)
CREATE TABLE party_events (
event_id number,
event_name text,
party_id number,
member_in_charge_id number
)
CREATE TABLE party (
party_id number,
minister text,
took_office text,
left_office text,
region_id number,
party_name text
)
CREATE TABLE region (
region_id number,
region_name text,
date text,
label text,
format text,
catalogue text
) | SELECT member_name FROM member EXCEPT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1144,
41,
1144,
834,
23,
26,
381,
6,
1144,
834,
4350,
1499,
6,
1088,
834,
23,
26,
1499,
6,
16,
834,
19632,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
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,
1144,
834,
4350,
21680,
1144,
262,
4,
30416,
3,
23143,
14196,
332,
5411,
12066,
834,
4350,
21680,
1144,
6157,
332,
536,
3,
15355,
3162,
1088,
834,
15,
2169,
7,
6157,
332,
357,
9191,
332,
5411,
12066,
834,
23,
26,
32... |
Which model has a 2521 cm displacement and b5254 t2 engine? | CREATE TABLE table_10229 (
"Model name" text,
"Power (ps)" real,
"Torque (Nm@rpm)" text,
"Displacement (cm\u00b3)" real,
"Engine code" text,
"Comment" text
) | SELECT "Model name" FROM table_10229 WHERE "Displacement (cm\u00b3)" = '2521' AND "Engine code" = 'b5254 t2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
14388,
3166,
41,
96,
24663,
564,
121,
1499,
6,
96,
23553,
41,
102,
7,
61,
121,
490,
6,
96,
382,
127,
835,
41,
567,
51,
1741,
52,
2028,
61,
121,
1499,
6,
96,
23664,
1170... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24663,
564,
121,
21680,
953,
834,
14388,
3166,
549,
17444,
427,
96,
23664,
11706,
297,
41,
75,
51,
2,
76,
1206,
115,
5268,
121,
3274,
3,
31,
1828,
2658,
31,
3430,
96,
31477,
1081,
121,
3274,
3,
31,
115,
5373,
... |
How many games had Montreal Canadiens as an opponent? | CREATE TABLE table_9086 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT SUM("Game") FROM table_9086 WHERE "Opponent" = 'montreal canadiens' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2394,
3840,
41,
96,
23055,
121,
490,
6,
96,
25019,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
121,
23055,
8512,
21680,
953,
834,
2394,
3840,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
4662,
6644,
27114,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the catalog number with the date November 16, 2004? | CREATE TABLE table_58469 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) | SELECT "Catalog" FROM table_58469 WHERE "Date" = 'november 16, 2004' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
591,
3951,
41,
96,
17748,
23,
106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
18610,
9,
2152,
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,
18610,
9,
2152,
121,
21680,
953,
834,
3449,
591,
3951,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
5326,
18247,
11940,
4406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the average Margin that has a Round of 13. (h)? | CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR) | SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
1635,
122,
77,
3,
21342,
17966,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
16409,
77,
24,
65,
3,
9,
9609,
13,
880... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
1635,
122,
77,
61,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
1751,
3274,
96,
2368,
5,
41,
107,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the year when West Manila has a tariff increase of 6.5? | CREATE TABLE table_17302440_1 (
year VARCHAR,
west_manila VARCHAR
) | SELECT year FROM table_17302440_1 WHERE west_manila = "6.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
1458,
2266,
2445,
834,
536,
41,
215,
584,
4280,
28027,
6,
4653,
834,
348,
173,
9,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
215,
116,
1244,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
2517,
1458,
2266,
2445,
834,
536,
549,
17444,
427,
4653,
834,
348,
173,
9,
3274,
96,
17255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What director grossed $200,512,643 | CREATE TABLE table_44120 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
) | SELECT "Director" FROM table_44120 WHERE "Gross" = '$200,512,643' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
15518,
41,
96,
22557,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
13076,
26,
23,
32,
121,
1499,
6,
96,
23620,
127,
121,
1499,
6,
96,
517,
1859,
7,
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,
0... | [
3,
23143,
14196,
96,
23620,
127,
121,
21680,
953,
834,
3628,
15518,
549,
17444,
427,
96,
517,
1859,
7,
121,
3274,
3,
31,
3229,
3632,
6,
24163,
6,
4389,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is drug name and drug route of drug code epo2i? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
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,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear 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
) | SELECT prescriptions.drug, prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "EPO2I" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7744,
7,
5,
26,
13534,
6,
7744,
7,
5,
20300,
21680,
7744,
7,
549,
17444,
427,
7744,
7,
5,
20128,
63,
834,
26,
13534,
834,
75,
26,
3274,
96,
427,
6618,
357,
196,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How much tonnage was damaged? | CREATE TABLE table_name_35 (
tonnage__grt_ INTEGER,
fate VARCHAR
) | SELECT SUM(tonnage__grt_) FROM table_name_35 WHERE fate = "damaged" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
12,
29,
9761,
834,
834,
122,
52,
17,
834,
3,
21342,
17966,
6,
15126,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
231,
12,
29,
9761,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
17,
106,
9761,
834,
834,
122,
52,
17,
834,
61,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
15126,
3274,
96,
7812,
11438,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who were the opponents for the event in Milan, Italy? | CREATE TABLE table_44146 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponent" text,
"Score" text
) | SELECT "Opponent" FROM table_44146 WHERE "Tournament" = 'milan, italy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3628,
24300,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
13725,
687,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
3628,
24300,
549,
17444,
427,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
26759,
29,
6,
34,
9,
120,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many partys have a candidate first elected in 1923? | CREATE TABLE table_1342256_33 (party VARCHAR, first_elected VARCHAR) | SELECT COUNT(party) FROM table_1342256_33 WHERE first_elected = 1923 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4165,
19337,
834,
4201,
41,
8071,
584,
4280,
28027,
6,
166,
834,
19971,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1088,
7,
43,
3,
9,
4775,
166,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8071,
61,
21680,
953,
834,
2368,
4165,
19337,
834,
4201,
549,
17444,
427,
166,
834,
19971,
3274,
957,
2773,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the position when the player was Justin Mapp Category:articles with hcards with a United States nationality? | CREATE TABLE table_77428 (
"Year" real,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text
) | SELECT "Position" FROM table_77428 WHERE "Nationality" = 'united states' AND "Player" = 'justin mapp category:articles with hcards' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
591,
2577,
41,
96,
476,
2741,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
18699,
121,
1499,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
32,
7,
4749,
121,
21680,
953,
834,
4013,
591,
2577,
549,
17444,
427,
96,
24732,
485,
121,
3274,
3,
31,
15129,
15,
26,
2315,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
4998,
77,
2828,
102,
3295,
10,
8372... |
Which Tail Code belongs to Weapon Systems Officer Capt Charles B. Debellevue? | CREATE TABLE table_name_29 (
tail_code VARCHAR,
weapon_systems_officer VARCHAR
) | SELECT tail_code FROM table_name_29 WHERE weapon_systems_officer = "capt charles b. debellevue" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
9891,
834,
4978,
584,
4280,
28027,
6,
10931,
834,
3734,
7,
834,
19632,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
22285,
3636,
169... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9891,
834,
4978,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
10931,
834,
3734,
7,
834,
19632,
52,
3274,
96,
4010,
17,
3,
4059,
965,
3,
115,
5,
20,
2370,
10912,
76,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
When the driver richard attwood has a constructor of brm, what is the number of laps? | CREATE TABLE table_78505 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT "Laps" FROM table_78505 WHERE "Constructor" = 'brm' AND "Driver" = 'richard attwood' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
1752,
755,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3612,
102,
7,
121,
21680,
953,
834,
3940,
1752,
755,
549,
17444,
427,
96,
4302,
7593,
127,
121,
3274,
3,
31,
115,
52,
51,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
3723,
986,
44,
17,
2037,
31,
1,
-100,
-1... |
What is the IATA when the ICAO is wipp? | CREATE TABLE table_name_52 (
iata VARCHAR,
icao VARCHAR
) | SELECT iata FROM table_name_52 WHERE icao = "wipp" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
3,
17221,
584,
4280,
28027,
6,
3,
2617,
32,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
27,
19282,
116,
8,
3,
15038,
667,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17221,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
3,
2617,
32,
3274,
96,
210,
23,
1572,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many episodes have the Netflix episode number S08E04? | CREATE TABLE table_19906 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) | SELECT COUNT("Episode") FROM table_19906 WHERE "Netflix" = 'S08E04' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19479,
5176,
41,
96,
12106,
7,
10395,
535,
1499,
6,
96,
427,
102,
159,
32,
221,
121,
490,
6,
96,
9688,
89,
17591,
121,
1499,
6,
96,
134,
15,
122,
297,
71,
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,
427,
102,
159,
32,
221,
8512,
21680,
953,
834,
19479,
5176,
549,
17444,
427,
96,
9688,
89,
17591,
121,
3274,
3,
31,
134,
4018,
427,
6348,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who has a Construction of 1873, foochow navy yard? | CREATE TABLE table_name_33 (
characters VARCHAR,
construction VARCHAR
) | SELECT characters FROM table_name_33 WHERE construction = "1873, foochow navy yard" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
2850,
584,
4280,
28027,
6,
1449,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
65,
3,
9,
8663,
13,
507,
4552,
6,
5575,
6322,
2381,
2311... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2850,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
1449,
3274,
96,
25828,
6355,
5575,
6322,
2381,
23118,
6178,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the low goal for kenny miller with an average smaller than 0.261? | CREATE TABLE table_54660 (
"Name" text,
"Scotland career" text,
"Caps" real,
"Goals" real,
"Average" real
) | SELECT MIN("Goals") FROM table_54660 WHERE "Name" = 'kenny miller' AND "Average" < '0.261' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
27720,
41,
96,
23954,
121,
1499,
6,
96,
134,
4310,
40,
232,
1415,
121,
1499,
6,
96,
19566,
7,
121,
490,
6,
96,
6221,
5405,
121,
490,
6,
96,
188,
624,
545,
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,
3,
17684,
599,
121,
6221,
5405,
8512,
21680,
953,
834,
5062,
27720,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
9376,
63,
3293,
49,
31,
3430,
96,
188,
624,
545,
121,
3,
2,
3,
31,
18189,
4241,
31,
1,
-100,
-100... |
Name the hand for 1 credit 200 | CREATE TABLE table_19613 (
"Hand" text,
"1 credit" real,
"2 credits" real,
"3 credits" real,
"4 credits" real,
"5 credits" real
) | SELECT "Hand" FROM table_19613 WHERE "1 credit" = '200' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26937,
2368,
41,
96,
566,
232,
121,
1499,
6,
96,
536,
998,
121,
490,
6,
96,
357,
11893,
121,
490,
6,
96,
519,
11893,
121,
490,
6,
96,
591,
11893,
121,
490,
6,
96,
755,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
566,
232,
121,
21680,
953,
834,
26937,
2368,
549,
17444,
427,
96,
536,
998,
121,
3274,
3,
31,
3632,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Playing in the Bundesliga league, what was the Away record for the team with an At Home record of 1-2? | CREATE TABLE table_name_40 (
away VARCHAR,
home VARCHAR,
league VARCHAR
) | SELECT away FROM table_name_40 WHERE home = "1-2" AND league = "bundesliga" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
550,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2911,
53,
16,
8,
28117,
5533,
6,
125,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
234,
3274,
96,
9596,
121,
3430,
5533,
3274,
96,
9617,
1395,
17140,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Net profit/loss (SEK) has a Basic eps (SEK) of -6.58, and Employees (Average/Year) larger than 31,035? | CREATE TABLE table_name_87 (net_profit_loss__sek_ INTEGER, basic_eps__sek_ VARCHAR, employees__average_year_ VARCHAR) | SELECT SUM(net_profit_loss__sek_) FROM table_name_87 WHERE basic_eps__sek_ = -6.58 AND employees__average_year_ > 31 OFFSET 035 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
1582,
834,
6046,
834,
2298,
7,
834,
834,
7,
15,
157,
834,
3,
21342,
17966,
6,
1857,
834,
15,
102,
7,
834,
834,
7,
15,
157,
834,
584,
4280,
28027,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
1582,
834,
6046,
834,
2298,
7,
834,
834,
7,
15,
157,
834,
61,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
1857,
834,
15,
102,
7,
834,
834,
7,
15,
157,
834,
3274,
3,
5783,
5,
3449,
3430,
... |
what is the total number of times mckoy placed in the top 3 ? | CREATE TABLE table_204_813 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
) | SELECT COUNT(*) FROM table_204_813 WHERE "position" <= 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
927,
2368,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
15,
2169,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
927,
2368,
549,
17444,
427,
96,
4718,
121,
3,
2,
2423,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what was the last medication prescribed to patient 007-1517 on their first hospital encounter? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
hospitaladmitsource text,
unitadmittime time,
unitdischargetime time,
hospitaldischargetime time,
hospitaldischargestatus text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
) | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-1517' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) ORDER BY medication.drugstarttime DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7757,
5,
26,
13534,
4350,
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,
15878,
3734,
21... |
What are the network(s) for tv1? | CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR) | SELECT network FROM table_1601792_4 WHERE television_station = "TV1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19129,
2517,
4508,
834,
591,
41,
1582,
1981,
584,
4280,
28027,
6,
4390,
834,
6682,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
1229,
599,
7,
61,
21,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1229,
21680,
953,
834,
19129,
2517,
4508,
834,
591,
549,
17444,
427,
4390,
834,
6682,
3274,
96,
4562,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is sheffield united's away team? | CREATE TABLE table_61415 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
) | SELECT "Away team" FROM table_61415 WHERE "Home team" = 'sheffield united' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2534,
1808,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
17,
324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
121,
21680,
953,
834,
948,
2534,
1808,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
7,
88,
89,
1846,
18279,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many weeks did a game happen on September 17, 2000? | CREATE TABLE table_name_57 (
week VARCHAR,
date VARCHAR
) | SELECT COUNT(week) FROM table_name_57 WHERE date = "september 17, 2000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
471,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1274,
410,
3,
9,
467,
1837,
30,
1600,
12864,
2766,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8041,
61,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
833,
3274,
96,
7,
6707,
18247,
12864,
2766,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who's the Fourth District with a Second District of kurt van koevering? | CREATE TABLE table_name_41 (
fourth_district VARCHAR,
second_district VARCHAR
) | SELECT fourth_district FROM table_name_41 WHERE second_district = "kurt van koevering" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
4509,
834,
26,
23,
20066,
584,
4280,
28027,
6,
511,
834,
26,
23,
20066,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
31,
7,
8,
21670,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4509,
834,
26,
23,
20066,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
511,
834,
26,
23,
20066,
3274,
96,
10923,
17,
4049,
3,
157,
32,
3258,
53,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the status of tropartic? | CREATE TABLE table_17374 (
"Finish" real,
"Start" real,
"Car No." real,
"Driver" text,
"Car Name" text,
"Car Make" text,
"Entrant" text,
"Laps" real,
"Status" text
) | SELECT "Status" FROM table_17374 WHERE "Car Name" = 'TropArtic' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
519,
4581,
41,
96,
371,
77,
1273,
121,
490,
6,
96,
7681,
17,
121,
490,
6,
96,
6936,
465,
535,
490,
6,
96,
20982,
52,
121,
1499,
6,
96,
6936,
5570,
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,
134,
17,
144,
302,
121,
21680,
953,
834,
2517,
519,
4581,
549,
17444,
427,
96,
6936,
5570,
121,
3274,
3,
31,
382,
9505,
7754,
447,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, show me about the correlation between price and revenue , and group by attribute name in a scatter chart. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT T1.Price, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15248,
7,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
3642,
19973,
584,
4280,
28027,
599,
25502,
201,
3,
19145,
584,
4280,
28027,
599,
25502,
201,
19764,
17833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
345,
4920,
6,
332,
4416,
1649,
15098,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
55... |
What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo? | CREATE TABLE table_name_13 (inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR) | SELECT inf_stem FROM table_name_13 WHERE subj_pres = "a" AND plur_pret = "uo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
77,
89,
834,
7,
3524,
584,
4280,
28027,
6,
769,
354,
834,
7197,
584,
4280,
28027,
6,
3681,
52,
834,
2026,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
16,
89,
834,
7,
3524,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
769,
354,
834,
7197,
3274,
96,
9,
121,
3430,
3681,
52,
834,
2026,
17,
3274,
96,
76,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which competition did this runner participate in after the xiamen international marathon ? | CREATE TABLE table_204_880 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
) | SELECT "competition" FROM table_204_880 WHERE id = (SELECT id FROM table_204_880 WHERE "competition" = 'xiamen international marathon') + 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
927,
2079,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
15,
2169,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
4995,
4749,
121,
21680,
953,
834,
26363,
834,
927,
2079,
549,
17444,
427,
3,
23,
26,
3274,
41,
23143,
14196,
3,
23,
26,
21680,
953,
834,
26363,
834,
927,
2079,
549,
17444,
427,
96,
287,
4995,
4749,
121,
3... |
Show the distinct venues of debates | CREATE TABLE debate_people (
debate_id number,
affirmative number,
negative number,
if_affirmative_win others
)
CREATE TABLE people (
people_id number,
district text,
name text,
party text,
age number
)
CREATE TABLE debate (
debate_id number,
date text,
venue text,
num_of_audience number
) | SELECT DISTINCT venue FROM debate | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5054,
834,
16588,
41,
5054,
834,
23,
26,
381,
6,
11153,
1528,
381,
6,
2841,
381,
6,
3,
99,
834,
27236,
51,
1528,
834,
3757,
717,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
5669,
21680,
5054,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where does the Bayou Blvd./12th Avenue route that has a terminus at the downtown transit center operate? | CREATE TABLE table_name_5 (operates VARCHAR, terminus VARCHAR, name VARCHAR) | SELECT operates FROM table_name_5 WHERE terminus = "downtown transit center" AND name = "bayou blvd./12th avenue" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
18140,
1422,
584,
4280,
28027,
6,
12089,
302,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
405,
8,
2474,
1063,
242... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10291,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
12089,
302,
3274,
96,
3035,
3540,
11811,
1530,
121,
3430,
564,
3274,
96,
11119,
1063,
3,
115,
40,
208,
26,
5,
18009,
189,
18836,
121,
1,
-100,
-100,
-100,
-10... |
For the item that has a Gecko of 'font', what is the KHTML value? | CREATE TABLE table_49296 (
"Trident" text,
"Gecko" text,
"WebKit" text,
"KHTML" text,
"Presto" text,
"Prince XML" text
) | SELECT "KHTML" FROM table_49296 WHERE "Gecko" = 'font' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
357,
4314,
41,
96,
382,
52,
4215,
121,
1499,
6,
96,
517,
5007,
32,
121,
1499,
6,
96,
15805,
439,
155,
121,
1499,
6,
96,
439,
10966,
6858,
121,
1499,
6,
96,
10572,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
439,
10966,
6858,
121,
21680,
953,
834,
3647,
357,
4314,
549,
17444,
427,
96,
517,
5007,
32,
121,
3274,
3,
31,
89,
1770,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When the county is Carroll what is the lowest population? | CREATE TABLE table_name_50 (population INTEGER, county VARCHAR) | SELECT MIN(population) FROM table_name_50 WHERE county = "carroll" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
9791,
7830,
3,
21342,
17966,
6,
5435,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
5435,
19,
26508,
125,
19,
8,
7402,
2074,
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,
3,
17684,
599,
9791,
7830,
61,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
5435,
3274,
96,
1720,
4046,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Baltimore group is non-enveloped and is of the papillomaviridae family? | CREATE TABLE table_name_85 (
baltimore_group VARCHAR,
envelopment VARCHAR,
family VARCHAR
) | SELECT baltimore_group FROM table_name_85 WHERE envelopment = "non-enveloped" AND family = "papillomaviridae" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
6561,
17,
23,
3706,
834,
10739,
584,
4280,
28027,
6,
3,
15,
17430,
297,
584,
4280,
28027,
6,
384,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6561,
17,
23,
3706,
834,
10739,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
3,
15,
17430,
297,
3274,
96,
29,
106,
18,
15,
17430,
15,
26,
121,
3430,
384,
3274,
96,
16281,
1092,
32,
51,
2960,
4055,
9,
15,
1... |
Which nominations was the film 27 Stolen Kisses nominated for? | CREATE TABLE table_10236830_6 (
nomination VARCHAR,
film_name VARCHAR
) | SELECT nomination FROM table_10236830_6 WHERE film_name = "27 Stolen Kisses" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
2773,
3651,
1458,
834,
948,
41,
13588,
584,
4280,
28027,
6,
814,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
13588,
7,
47,
8,
814,
2307,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
13588,
21680,
953,
834,
1714,
2773,
3651,
1458,
834,
948,
549,
17444,
427,
814,
834,
4350,
3274,
96,
2555,
8272,
40,
35,
20842,
15,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
give me the number of patients on dwell route of drug administration who have primary apnea of newborn. | 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 text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
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 text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose 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 = "Primary apnea of newborn" AND prescriptions.route = "DWELL" | [
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,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
How many rounds have a Grand Prix of german gp? | CREATE TABLE table_name_26 (
round INTEGER,
grand_prix VARCHAR
) | SELECT SUM(round) FROM table_name_26 WHERE grand_prix = "german gp" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
1751,
3,
21342,
17966,
6,
1907,
834,
2246,
226,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
14419,
43,
3,
9,
2698,
12942,
13,
136... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
7775,
61,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
1907,
834,
2246,
226,
3274,
96,
1304,
348,
3,
122,
102,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere? | CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR) | SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premiere = "January 27, 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3916,
2688,
3264,
834,
536,
41,
834,
5525,
1152,
3,
21342,
17966,
6,
8211,
584,
4280,
28027,
6,
4390,
834,
2026,
2720,
60,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
834,
5525,
1152,
61,
21680,
953,
834,
2294,
3916,
2688,
3264,
834,
536,
549,
17444,
427,
8211,
3274,
96,
18947,
965,
25464,
121,
3430,
4390,
834,
2026,
2720,
60,
3274,
96,
30404,
14141,
4101,
121,
1,
... |
Who's the incumbent in the district first elected in 1976? | CREATE TABLE table_18289 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Incumbent" FROM table_18289 WHERE "First elected" = '1976' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
357,
3914,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
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,
1570,
75,
5937,
295,
121,
21680,
953,
834,
2606,
357,
3914,
549,
17444,
427,
96,
25171,
8160,
121,
3274,
3,
31,
2294,
3959,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Find the distinct names of all wines that have prices higher than some wines from John Anthony winery. | CREATE TABLE wine (Name VARCHAR, Price INTEGER, Winery VARCHAR); CREATE TABLE WINE (Name VARCHAR, Price INTEGER, Winery VARCHAR) | SELECT DISTINCT Name FROM WINE WHERE Price > (SELECT MIN(Price) FROM wine WHERE Winery = "John Anthony") | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2013,
41,
23954,
584,
4280,
28027,
6,
5312,
3,
21342,
17966,
6,
9426,
651,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
549,
9730,
41,
23954,
584,
4280,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
5570,
21680,
549,
9730,
549,
17444,
427,
5312,
2490,
41,
23143,
14196,
3,
17684,
599,
345,
4920,
61,
21680,
2013,
549,
17444,
427,
9426,
651,
3274,
96,
18300,
11016,
8512,
1,
-100,
-100,
-100,
-... |
What was the average election year that has less than 136 deputies, and 1,560,753 votes received? | CREATE TABLE table_6214 (
"Election date" real,
"Party leader" text,
"Number of votes received" text,
"Percentage of votes" text,
"Number of deputies" real
) | SELECT AVG("Election date") FROM table_6214 WHERE "Number of deputies" < '136' AND "Number of votes received" = '1,560,753' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
2534,
41,
96,
427,
12252,
833,
121,
490,
6,
96,
13725,
63,
2488,
121,
1499,
6,
96,
567,
5937,
49,
13,
11839,
1204,
121,
1499,
6,
96,
12988,
3728,
545,
13,
11839,
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,
71,
17217,
599,
121,
427,
12252,
833,
8512,
21680,
953,
834,
4056,
2534,
549,
17444,
427,
96,
567,
5937,
49,
13,
20,
2562,
725,
121,
3,
2,
3,
31,
23459,
31,
3430,
96,
567,
5937,
49,
13,
11839,
1204,
121,
3274,
3... |
Which Score has a Game larger than 47, and a January smaller than 25? | CREATE TABLE table_name_19 (
score VARCHAR,
game VARCHAR,
january VARCHAR
) | SELECT score FROM table_name_19 WHERE game > 47 AND january < 25 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
2604,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
6,
3,
7066,
76,
1208,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
17763,
65,
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,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
467,
2490,
10635,
3430,
3,
7066,
76,
1208,
3,
2,
944,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the English word for twie? | CREATE TABLE table_name_43 (english VARCHAR, twie VARCHAR, Limburgish VARCHAR) | SELECT english FROM table_name_43 WHERE DUTCH(Limburgish) = twie | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
4606,
40,
1273,
584,
4280,
28027,
6,
3,
17,
6092,
584,
4280,
28027,
6,
10908,
4824,
1273,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22269,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
309,
6675,
8360,
599,
434,
603,
4824,
1273,
61,
3274,
3,
17,
6092,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which city's IATA is KUL? | CREATE TABLE table_name_50 (
city VARCHAR,
iata VARCHAR
) | SELECT city FROM table_name_50 WHERE iata = "kul" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
690,
584,
4280,
28027,
6,
3,
17221,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
690,
31,
7,
27,
19282,
19,
480,
4254,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
690,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
3,
17221,
3274,
96,
10701,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of the attendance on November 24? | CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_58 WHERE date = "november 24" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
15116,
663,
3,
21342,
17966,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
8,
11364,
30,
1671,
997,
58,
1,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
833,
3274,
96,
5326,
18247,
997,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
tell me the number of patients who stayed in hospital for more than 3 days and were ordered ascitic fluid lab test. | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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
)
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 text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
) | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "3" AND lab.fluid = "Ascites" | [
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,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
In what year saw a total distance of 1,870.23 km? | CREATE TABLE table_name_52 (
year VARCHAR,
distance VARCHAR
) | SELECT year FROM table_name_52 WHERE distance = "1,870.23 km" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
215,
584,
4280,
28027,
6,
2357,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
215,
1509,
3,
9,
792,
2357,
13,
1914,
4225,
18189,
519... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
215,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
2357,
3274,
96,
4347,
4225,
18189,
519,
2280,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which of the listed segments has the most electorates ? | CREATE TABLE table_204_255 (
id number,
"constituency number" number,
"name" text,
"reserved for (sc/st/none)" text,
"district" text,
"number of electorates (2009)" number
) | SELECT "name" FROM table_204_255 ORDER BY "number of electorates (2009)" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
25502,
41,
3,
23,
26,
381,
6,
96,
8056,
17,
155,
76,
4392,
381,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
60,
3473,
15,
26,
21,
41,
7,
75,
87,
7,
17,
87,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4350,
121,
21680,
953,
834,
26363,
834,
25502,
4674,
11300,
272,
476,
96,
5525,
1152,
13,
11924,
127,
6203,
3,
25812,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the number of votes for the Party of Labour? | CREATE TABLE table_52368 (
"Party" text,
"Leader" text,
"Votes" real,
"Percentage" text,
"Seats" real
) | SELECT MIN("Votes") FROM table_52368 WHERE "Party" = 'labour' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2773,
3651,
41,
96,
13725,
63,
121,
1499,
6,
96,
2796,
9,
588,
121,
1499,
6,
96,
553,
32,
1422,
121,
490,
6,
96,
12988,
3728,
545,
121,
1499,
6,
96,
134,
1544,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
553,
32,
1422,
8512,
21680,
953,
834,
755,
2773,
3651,
549,
17444,
427,
96,
13725,
63,
121,
3274,
3,
31,
9339,
1211,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Time of the swimmer from Chinese Taipei in Heat 3? | CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT time FROM table_name_88 WHERE heat = 3 AND lane > 3 AND nationality = "chinese taipei" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
715,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
1678,
584,
4280,
28027,
6,
3,
8102,
584,
4280,
28027,
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,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
1678,
3274,
220,
3430,
3,
8102,
2490,
220,
3430,
1157,
485,
3274,
96,
1436,
1496,
15,
3,
17,
9,
23,
855,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the sum of laps for Derek Warwick? | CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR) | SELECT SUM(laps) FROM table_name_20 WHERE driver = "derek warwick" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
8478,
7,
3,
21342,
17966,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
14941,
7,
21,
26004,
1602,
5981,
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,
180,
6122,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
2535,
3274,
96,
588,
15,
157,
615,
5981,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When mount kobowre is the peak what is the highest elevation in meters? | CREATE TABLE table_18946749_1 (
elevation__m_ INTEGER,
peak VARCHAR
) | SELECT MAX(elevation__m_) FROM table_18946749_1 WHERE peak = "Mount Kobowre" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
4240,
3708,
3647,
834,
536,
41,
16417,
834,
834,
51,
834,
3,
21342,
17966,
6,
6734,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
9549,
3,
157,
32,
177... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
15,
10912,
257,
834,
834,
51,
834,
61,
21680,
953,
834,
2606,
4240,
3708,
3647,
834,
536,
549,
17444,
427,
6734,
3274,
96,
329,
32,
202,
17,
1793,
17710,
60,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What position did the team finish in with a Difference of - 6, 3 losses, and over 4 draws? | CREATE TABLE table_name_83 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_83 WHERE difference = "- 6" AND lost = 3 AND drawn > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
4718,
584,
4280,
28027,
6,
6796,
584,
4280,
28027,
6,
1750,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
2847,
17161,
599,
4718,
61,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
1750,
3274,
96,
18,
431,
121,
3430,
1513,
3274,
220,
3430,
6796,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
A bar chart showing the number of first name for all female students Their sex is F, list by the y-axis from high to low please. | CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
) | SELECT Fname, COUNT(Fname) FROM Student WHERE Sex = 'F' GROUP BY Fname ORDER BY COUNT(Fname) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6341,
41,
3,
13076,
4309,
3,
21342,
17966,
6,
301,
23954,
584,
4280,
28027,
599,
2122,
201,
377,
4350,
584,
4280,
28027,
599,
2122,
201,
7526,
3,
21342,
17966,
6,
679,
226,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
4350,
6,
2847,
17161,
599,
371,
4350,
61,
21680,
6341,
549,
17444,
427,
679,
226,
3274,
3,
31,
371,
31,
350,
4630,
6880,
272,
476,
377,
4350,
4674,
11300,
272,
476,
2847,
17161,
599,
371,
4350,
61,
309,
25067,
... |
What percent did RETT get in the state where LINKE got 0.1%, and FRITZ got 1.3%? | CREATE TABLE table_name_81 (
rettö VARCHAR,
linke VARCHAR,
fritz VARCHAR
) | SELECT rettö FROM table_name_81 WHERE linke = "0.1%" AND fritz = "1.3%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
3,
60,
17,
17,
1872,
584,
4280,
28027,
6,
1309,
15,
584,
4280,
28027,
6,
2515,
5615,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1093,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
60,
17,
17,
1872,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
1309,
15,
3274,
96,
16029,
1454,
121,
3430,
2515,
5615,
3274,
96,
13606,
1454,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the number for new mexico | CREATE TABLE table_23799 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) | SELECT MIN("Pick #") FROM table_23799 WHERE "College" = 'New Mexico' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4118,
3264,
41,
96,
345,
3142,
1713,
121,
490,
6,
96,
254,
10765,
2271,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
9939,
78... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
121,
345,
3142,
1713,
8512,
21680,
953,
834,
357,
4118,
3264,
549,
17444,
427,
96,
9939,
7883,
121,
3274,
3,
31,
6861,
4726,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Winning Team, when Most Laps Led is Alex Tagliani? | CREATE TABLE table_name_21 (winning_team VARCHAR, most_laps_led VARCHAR) | SELECT winning_team FROM table_name_21 WHERE most_laps_led = "alex tagliani" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
8163,
834,
11650,
584,
4280,
28027,
6,
167,
834,
8478,
7,
834,
1361,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
549,
10503,
2271,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3447,
834,
11650,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
167,
834,
8478,
7,
834,
1361,
3274,
96,
138,
994,
7860,
9928,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the apparent magnitude of the constellation sculptor | CREATE TABLE table_name_24 (
apparent_magnitude VARCHAR,
constellation VARCHAR
) | SELECT COUNT(apparent_magnitude) FROM table_name_24 WHERE constellation = "sculptor" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
10320,
834,
7493,
29,
20341,
584,
4280,
28027,
6,
30872,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
10320,
20722,
13,
8,
30872,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
10198,
295,
834,
7493,
29,
20341,
61,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
30872,
3274,
96,
12184,
127,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the title for the Undercard of Stevenson/Bellew? | CREATE TABLE table_28149 (
"Date" text,
"Location" text,
"Fight" text,
"Division" text,
"Titles" text,
"Rematch" text,
"TV" text,
"Promoter" text,
"Notes" text
) | SELECT "Titles" FROM table_28149 WHERE "Notes" = 'Undercard of Stevenson/Bellew' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
24816,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
371,
2632,
121,
1499,
6,
96,
308,
23,
6610,
121,
1499,
6,
96,
382,
155,
965,
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,
382,
155,
965,
121,
21680,
953,
834,
2577,
24816,
549,
17444,
427,
96,
10358,
15,
7,
121,
3274,
3,
31,
5110,
588,
6043,
13,
9316,
739,
87,
279,
693,
210,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total on average for teams with 3 tournaments? | CREATE TABLE table_51931 (
"Team" text,
"Seasons" text,
"Regular season" text,
"Tournament" real,
"Total" real
) | SELECT AVG("Total") FROM table_51931 WHERE "Tournament" = '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2294,
3341,
41,
96,
18699,
121,
1499,
6,
96,
134,
15,
9,
6577,
121,
1499,
6,
96,
17748,
4885,
774,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
490,
6,
96,
3696,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
755,
2294,
3341,
549,
17444,
427,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Discoveryhas an Operator(s) of lundin? | CREATE TABLE table_name_4 (
discovery VARCHAR,
operator_s_ VARCHAR
) | SELECT discovery FROM table_name_4 WHERE operator_s_ = "lundin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
9087,
584,
4280,
28027,
6,
7221,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
19499,
10293,
46,
25667,
599,
7,
61,
13,
182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9087,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
7221,
834,
7,
834,
3274,
96,
40,
1106,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up? | CREATE TABLE table_name_6 (
opponents VARCHAR,
partner VARCHAR,
outcome VARCHAR,
surface VARCHAR
) | SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
16383,
584,
4280,
28027,
6,
2397,
584,
4280,
28027,
6,
6138,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
130,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
16383,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
6138,
3274,
96,
10806,
18,
413,
121,
3430,
1774,
3274,
96,
5651,
121,
3430,
2397,
3274,
96,
2138,
760,
630,
3,
7,
15427,
121,
1,
-100,
-100,
-100,
-100,
-100,... |
Tell me the total number for costa rica and rank more than 8 | CREATE TABLE table_name_82 (total VARCHAR, nation VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
235,
1947,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
792,
381,
21,
583,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
2982,
3274,
96,
11290,
9,
3,
2234,
9,
121,
3430,
11003,
2490,
505,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Justin Wilson's Team? | CREATE TABLE table_name_13 (
team VARCHAR,
name VARCHAR
) | SELECT team FROM table_name_13 WHERE name = "justin wilson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
372,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
12446,
9439,
31,
7,
2271,
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,
372,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
564,
3274,
96,
4998,
77,
3,
210,
173,
739,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Place, when Player is 'Phil Mickelson'? | CREATE TABLE table_58712 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Place" FROM table_58712 WHERE "Player" = 'phil mickelson' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
4450,
357,
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,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
11706,
121,
21680,
953,
834,
3449,
4450,
357,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
18118,
1337,
15259,
739,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the least births for conversion being 26,333 | CREATE TABLE table_28137918_5 (
births INTEGER,
conversions VARCHAR
) | SELECT MIN(births) FROM table_28137918_5 WHERE conversions = "26,333" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2368,
4440,
2606,
834,
755,
41,
3879,
7,
3,
21342,
17966,
6,
6113,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
709,
3879,
7,
21,
6113,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
20663,
7,
61,
21680,
953,
834,
2577,
2368,
4440,
2606,
834,
755,
549,
17444,
427,
6113,
7,
3274,
96,
2688,
6,
23360,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
With the Ground of Humber College North at 12:00, what was the Away? | CREATE TABLE table_name_69 (
away VARCHAR,
ground VARCHAR,
time VARCHAR
) | SELECT away FROM table_name_69 WHERE ground = "humber college north" AND time = "12:00" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
550,
584,
4280,
28027,
6,
1591,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
438,
8,
13908,
13,
12410,
1152,
1888,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
1591,
3274,
96,
4884,
1152,
1900,
3457,
121,
3430,
97,
3274,
96,
536,
24112,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the result for Portland at home on June 12? | CREATE TABLE table_name_26 (
result VARCHAR,
home_team VARCHAR,
date VARCHAR
) | SELECT result FROM table_name_26 WHERE home_team = "portland" AND date = "june 12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
741,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
21,
11829... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
234,
834,
11650,
3274,
96,
1493,
40,
232,
121,
3430,
833,
3274,
96,
6959,
15,
586,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the original air date(s) for episodes written by aron eli coleite? | CREATE TABLE table_28215780_4 (
original_air_date VARCHAR,
written_by VARCHAR
) | SELECT original_air_date FROM table_28215780_4 WHERE written_by = "Aron Eli Coleite" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2658,
3436,
2079,
834,
591,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
92... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
2577,
2658,
3436,
2079,
834,
591,
549,
17444,
427,
1545,
834,
969,
3274,
96,
188,
52,
106,
7495,
16311,
155,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the date of the second round? | CREATE TABLE table_59434 (
"Season" text,
"Round" text,
"Date" text,
"Home" text,
"Away" text,
"Result" text
) | SELECT "Date" FROM table_59434 WHERE "Round" = 'second round' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
591,
3710,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
188,
1343,
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,
308,
342,
121,
21680,
953,
834,
3390,
591,
3710,
549,
17444,
427,
96,
448,
32,
1106,
121,
3274,
3,
31,
12091,
1751,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the marriagefor ceased to be consort of 29 september 1898 | CREATE TABLE table_68309 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Consort" text,
"Ceased to be Consort" text,
"Spouse" text
) | SELECT "Marriage" FROM table_68309 WHERE "Ceased to be Consort" = '29 september 1898' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
1458,
1298,
41,
96,
23954,
121,
1499,
6,
96,
279,
23,
52,
189,
121,
1499,
6,
96,
329,
10269,
545,
121,
1499,
6,
96,
2703,
6527,
15,
1193,
9309,
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,
329,
10269,
545,
121,
21680,
953,
834,
3651,
1458,
1298,
549,
17444,
427,
96,
254,
14608,
26,
12,
36,
1193,
9309,
121,
3274,
3,
31,
3166,
16022,
18247,
507,
3916,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Where was there a school founded in 1927? | CREATE TABLE table_2064747_1 (
location_s_ VARCHAR,
founded VARCHAR
) | SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24643,
4177,
4177,
834,
536,
41,
1128,
834,
7,
834,
584,
4280,
28027,
6,
5710,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
132,
3,
9,
496,
5710,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
834,
7,
834,
21680,
953,
834,
24643,
4177,
4177,
834,
536,
549,
17444,
427,
5710,
3274,
957,
2555,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the 2006-2007 points minimum is the team is Overmach Parma? | CREATE TABLE table_25733 (
"Rank" real,
"Team" text,
"Total Points" real,
"2008-09 Points" real,
"2007-08 Points" real,
"2006-07 Points" real,
"2005-06 Points" real
) | SELECT MIN("2006-07 Points") FROM table_25733 WHERE "Team" = 'Overmach Parma' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4552,
519,
41,
96,
22557,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
3696,
1947,
4564,
7,
121,
490,
6,
96,
16128,
18,
4198,
4564,
7,
121,
490,
6,
96,
20615,
18,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
21196,
18,
4560,
4564,
7,
8512,
21680,
953,
834,
1828,
4552,
519,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
23847,
8276,
276,
12764,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
the number of religious groups with a sex ratio of more than 1000 is how many ? | CREATE TABLE table_203_90 (
id number,
"religious\ngroup" text,
"population\n%" text,
"growth\n(1991-2001)" text,
"sex ratio\n(total)" number,
"literacy\n(%)" text,
"work participation\n(%)" text,
"sex ratio\n(rural)" number,
"sex ratio\n(urban)" number,
"sex ratio\n(child)" number
) | SELECT COUNT("religious\ngroup") FROM table_203_90 WHERE "sex ratio\n(total)" > 1000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2394,
41,
3,
23,
26,
381,
6,
96,
60,
2825,
2936,
2,
29,
10739,
121,
1499,
6,
96,
9791,
7830,
2,
29,
1454,
121,
1499,
6,
96,
24690,
2,
29,
599,
19479,
9596,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
60,
2825,
2936,
2,
29,
10739,
8512,
21680,
953,
834,
23330,
834,
2394,
549,
17444,
427,
96,
7,
994,
5688,
2,
29,
599,
235,
1947,
61,
121,
2490,
5580,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the venue for eng by 6 wkts | CREATE TABLE table_70122 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
) | SELECT "Venue" FROM table_70122 WHERE "Result" = 'eng by 6 wkts' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
20889,
41,
96,
308,
342,
121,
1499,
6,
96,
19040,
14268,
121,
1499,
6,
96,
188,
1343,
14268,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
20119,
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,
553,
35,
76,
15,
121,
21680,
953,
834,
2518,
20889,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
4606,
57,
431,
3,
210,
157,
17,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average Total, when Gold is less than 0? | CREATE TABLE table_name_12 (
total INTEGER,
gold INTEGER
) | SELECT AVG(total) FROM table_name_12 WHERE gold < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
792,
3,
21342,
17966,
6,
2045,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
9273,
6,
116,
2540,
19,
705,
145,
3,
632,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
2045,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many no outs for an average of 56.38? | CREATE TABLE table_2247 (
"Rank" real,
"Runs" real,
"Player" text,
"Matches" real,
"Innings" real,
"Not Out" real,
"Average" text
) | SELECT COUNT("Not Out") FROM table_2247 WHERE "Average" = '56.38' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4177,
41,
96,
22557,
121,
490,
6,
96,
448,
202,
7,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
329,
144,
2951,
121,
490,
6,
96,
196,
9416,
7,
121,
490,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
10358,
3387,
8512,
21680,
953,
834,
2884,
4177,
549,
17444,
427,
96,
188,
624,
545,
121,
3274,
3,
31,
4834,
5,
3747,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
WHAT IS THE RESULT WITH FILM LAKE OF TEARS? | CREATE TABLE table_name_28 (result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT result FROM table_name_28 WHERE film_title_used_in_nomination = "lake of tears" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
814,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2166... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
814,
834,
21869,
834,
10064,
834,
77,
834,
29,
32,
14484,
3274,
96,
16948,
13,
12795,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which US air date had 4.4 million viewers? | CREATE TABLE table_72939 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original U.S. air date" text,
"Prod. code" real,
"Viewers (millions)" text
) | SELECT "Original U.S. air date" FROM table_72939 WHERE "Viewers (millions)" = '4.4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3166,
3288,
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,
412,
5,
134,
5,
799,
833,
121,
21680,
953,
834,
940,
3166,
3288,
549,
17444,
427,
96,
15270,
277,
41,
17030,
7,
61,
121,
3274,
3,
31,
23444,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the latest year that the final television commentator was David Jacobs? | CREATE TABLE table_17766232_7 (year_s_ INTEGER, final_television_commentator VARCHAR) | SELECT MAX(year_s_) FROM table_17766232_7 WHERE final_television_commentator = "David Jacobs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26793,
3539,
23188,
834,
940,
41,
1201,
834,
7,
834,
3,
21342,
17966,
6,
804,
834,
1931,
6610,
834,
287,
297,
1016,
584,
4280,
28027,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1201,
834,
7,
834,
61,
21680,
953,
834,
26793,
3539,
23188,
834,
940,
549,
17444,
427,
804,
834,
1931,
6610,
834,
287,
297,
1016,
3274,
96,
308,
9,
6961,
9846,
7,
121,
1,
-100,
-100,
-100,
-100,
-100... |
What was the average amount of laps for competitors with a grid that was more than 11 and a Time/Retired of +28.108? | CREATE TABLE table_78508 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT AVG("Laps") FROM table_78508 WHERE "Time/Retired" = '+28.108' AND "Grid" > '11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
1752,
927,
41,
96,
448,
23,
588,
121,
1499,
6,
96,
7296,
76,
8717,
450,
49,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
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,
71,
17217,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
3940,
1752,
927,
549,
17444,
427,
96,
13368,
87,
1649,
11809,
26,
121,
3274,
3,
31,
1220,
2577,
5,
16169,
31,
3430,
96,
13313,
26,
121,
2490,
3,
31,
2596,
... |
How many incoming managers did Burnley have? | CREATE TABLE table_28801 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Position in table" text,
"Incoming manager" text,
"Date of appointment" text
) | SELECT COUNT("Incoming manager") FROM table_28801 WHERE "Team" = 'Burnley' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2079,
536,
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,
2847,
17161,
599,
121,
1570,
10622,
2743,
8512,
21680,
953,
834,
2577,
2079,
536,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
279,
450,
29,
1306,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.