NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Which Venue has a Year larger than 1868, and an Opposition of derbyshire? | CREATE TABLE table_5403 (
"Score" real,
"Opposition" text,
"Venue" text,
"City" text,
"Year" real
) | SELECT "Venue" FROM table_5403 WHERE "Year" > '1868' AND "Opposition" = 'derbyshire' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25379,
519,
41,
96,
134,
9022,
121,
490,
6,
96,
667,
102,
4718,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
254,
485,
121,
1499,
6,
96,
476,
2741,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
25379,
519,
549,
17444,
427,
96,
476,
2741,
121,
2490,
3,
31,
2606,
3651,
31,
3430,
96,
667,
102,
4718,
121,
3274,
3,
31,
588,
969,
5718,
31,
1,
-100,
-100,
-100,
-100,... |
For teams with more than 0 ties and goals against of 37, how many wins were tallied? | CREATE TABLE table_78524 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
) | SELECT MAX("Wins") FROM table_78524 WHERE "Goals Against" = '37' AND "Ties" > '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
755,
2266,
41,
96,
18699,
121,
1499,
6,
96,
23055,
7,
2911,
15,
26,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
382,
725,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
18455,
7,
8512,
21680,
953,
834,
3940,
755,
2266,
549,
17444,
427,
96,
6221,
5405,
3,
20749,
121,
3274,
3,
31,
4118,
31,
3430,
96,
382,
725,
121,
2490,
3,
31,
632,
31,
1,
-100,
-100,
-100,
-10... |
Nigel Mansell was the driver in what Entrant? | CREATE TABLE table_name_22 (entrant VARCHAR, driver VARCHAR) | SELECT entrant FROM table_name_22 WHERE driver = "nigel mansell" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
295,
3569,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2504,
1803,
1140,
12019,
47,
8,
2535,
16,
125,
4443,
3569,
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,
3,
295,
3569,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
2535,
3274,
96,
29,
23,
1803,
388,
12019,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute founder, and order by the Code in desc. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Code DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
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,
332,
5411,
23954,
6,
332,
5411,
22737,
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,
3,
19145,
6,... |
Name the ebit for eps being 10.6 | CREATE TABLE table_22242 (
"Year to April" real,
"Revenue (\u00a3million)" text,
"EBIT (\u00a3m)" text,
"Net profit (\u00a3m)" text,
"Earnings per share (p)" text
) | SELECT "EBIT (\u00a3m)" FROM table_22242 WHERE "Earnings per share (p)" = '10.6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26144,
4165,
41,
96,
476,
2741,
12,
1186,
121,
490,
6,
96,
1649,
15098,
41,
2,
76,
1206,
9,
519,
17030,
61,
121,
1499,
6,
96,
427,
26417,
41,
2,
76,
1206,
9,
519,
51,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
26417,
41,
2,
76,
1206,
9,
519,
51,
61,
121,
21680,
953,
834,
26144,
4165,
549,
17444,
427,
96,
427,
291,
29,
53,
7,
399,
698,
41,
102,
61,
121,
3274,
3,
31,
10415,
948,
31,
1,
-100,
-100,
-100,
-100,... |
provide the number of patients whose diagnoses icd9 code is v4962 and drug type is main? | 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "V4962" AND prescriptions.drug_type = "MAIN" | [
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... |
specify the gender and language of patient id 9271 | 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 demographic ... | SELECT demographic.gender, demographic.language FROM demographic WHERE demographic.subject_id = "9271" | [
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,
14798,
5,
122,
3868,
6,
14798,
5,
24925,
21680,
14798,
549,
17444,
427,
14798,
5,
7304,
11827,
834,
23,
26,
3274,
96,
4508,
4450,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the largest ethnic group in (hungarian: kispiac)? | CREATE TABLE table_2562572_33 (
largest_ethnic_group__2002_ VARCHAR,
cyrillic_name_other_names VARCHAR
) | SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE cyrillic_name_other_names = "Мале Пијаце (Hungarian: Kispiac)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
1828,
5865,
834,
4201,
41,
2015,
834,
15,
189,
2532,
834,
10739,
834,
834,
24898,
834,
584,
4280,
28027,
6,
3,
75,
63,
52,
173,
2176,
834,
4350,
834,
9269,
834,
4350... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2015,
834,
15,
189,
2532,
834,
10739,
834,
834,
24898,
834,
21680,
953,
834,
19337,
1828,
5865,
834,
4201,
549,
17444,
427,
3,
75,
63,
52,
173,
2176,
834,
4350,
834,
9269,
834,
4350,
7,
3274,
96,
2,
22141,
1757,
3... |
Name the total number of game sites for chicago bears | CREATE TABLE table_14977592_1 (
game_site VARCHAR,
opponent VARCHAR
) | SELECT COUNT(game_site) FROM table_14977592_1 WHERE opponent = "Chicago Bears" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4327,
3072,
4508,
834,
536,
41,
467,
834,
3585,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
467,
1471,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
7261,
834,
3585,
61,
21680,
953,
834,
2534,
4327,
3072,
4508,
834,
536,
549,
17444,
427,
15264,
3274,
96,
3541,
2617,
839,
9034,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what number of patients with private insurance stayed in the hospital for 8 days? | 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.days_stay = "8" | [
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,
1135,
7,
834,
21545,
3274,
96,
927,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is on at 12:30pm where Local Programs are on at 1:30pm and Power Rangers Lost Galaxy is on at 3:30pm? | CREATE TABLE table_61208 (
"7:00 am" text,
"7:30 am" text,
"8:00 am" text,
"9:00 am" text,
"10:00 am" text,
"11:00 am" text,
"noon" text,
"12:30 pm" text,
"1:00 pm" text,
"1:30 pm" text,
"2:00 pm" text,
"3:00 pm" text,
"3:30 pm" text,
"5:00 pm" text,
"6:30 pm"... | SELECT "12:30 pm" FROM table_61208 WHERE "1:30 pm" = 'local programs' AND "3:30 pm" = 'power rangers lost galaxy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
23946,
41,
96,
18735,
183,
121,
1499,
6,
96,
18078,
183,
121,
1499,
6,
96,
15692,
183,
121,
1499,
6,
96,
1298,
10,
1206,
183,
121,
1499,
6,
96,
536,
25713,
183,
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,
536,
21876,
6366,
121,
21680,
953,
834,
4241,
23946,
549,
17444,
427,
96,
20120,
6366,
121,
3274,
3,
31,
16882,
1356,
31,
3430,
96,
27881,
6366,
121,
3274,
3,
31,
6740,
620,
52,
7,
1513,
24856,
31,
1,
-100,
-1... |
What team had Pick 2? | CREATE TABLE table_11341 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
) | SELECT "Team" FROM table_11341 WHERE "Pick" = '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20522,
4853,
41,
96,
448,
32,
1106,
121,
1499,
6,
96,
345,
3142,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
121,
21680,
953,
834,
20522,
4853,
549,
17444,
427,
96,
345,
3142,
121,
3274,
3,
31,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
provide me with gender and marital status of patient kenneth koeller. | 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 demographic.marital_status, demographic.gender FROM demographic WHERE demographic.name = "Kenneth Koeller" | [
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,
14798,
5,
1635,
9538,
834,
8547,
302,
6,
14798,
5,
122,
3868,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
439,
5990,
189,
1793,
9670,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the years as tallest when floors are larger than 18 | CREATE TABLE table_name_4 (
years_as_tallest VARCHAR,
floors INTEGER
) | SELECT years_as_tallest FROM table_name_4 WHERE floors > 18 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
203,
834,
9,
7,
834,
17,
1748,
222,
584,
4280,
28027,
6,
8242,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
203,
38,
5065,
222,
116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
203,
834,
9,
7,
834,
17,
1748,
222,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
8242,
2490,
507,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many patients have stayed in the hospital for more than 8 days with a drug name magnesium oxide? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "8" AND prescriptions.drug = "Magnesium Oxide" | [
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,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
Who made the decision on the game where the record was 27-28-11? | CREATE TABLE table_27537518_9 (decision VARCHAR, record VARCHAR) | SELECT decision FROM table_27537518_9 WHERE record = "27-28-11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25988,
22954,
2606,
834,
1298,
41,
221,
18901,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
263,
8,
1357,
30,
8,
467,
213,
8,
1368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1357,
21680,
953,
834,
25988,
22954,
2606,
834,
1298,
549,
17444,
427,
1368,
3274,
96,
2555,
18,
2577,
9169,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Nationality of the Aracataca Ship? | CREATE TABLE table_name_17 (nationality VARCHAR, ship VARCHAR) | SELECT nationality FROM table_name_17 WHERE ship = "aracataca" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
16557,
485,
584,
4280,
28027,
6,
4383,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
868,
485,
13,
8,
1533,
9,
2138,
9,
658,
15508,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1157,
485,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
4383,
3274,
96,
2551,
2138,
9,
658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the score for Footscray when they were the away team? | CREATE TABLE table_name_66 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
8006,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
21,
15213,
7,
2935,
63,
116,
79,
130,
8,
550,
372,
58,
1,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
550,
834,
11650,
3274,
96,
6259,
7,
2935,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show all cities without a branch having more than 100 memberships. | CREATE TABLE purchase (
member_id number,
branch_id text,
year text,
total_pounds number
)
CREATE TABLE member (
member_id number,
card_number text,
name text,
hometown text,
level number
)
CREATE TABLE branch (
branch_id number,
name text,
open_year text,
address_r... | SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount > 100 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1242,
41,
1144,
834,
23,
26,
381,
6,
6421,
834,
23,
26,
1499,
6,
215,
1499,
6,
792,
834,
8861,
7,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1144,
41,
1144,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21680,
6421,
262,
4,
30416,
3,
23143,
14196,
690,
21680,
6421,
549,
17444,
427,
4757,
834,
9,
11231,
2490,
910,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
state the winnings of yates racing front row motorsports where poles were 0 | CREATE TABLE table_2012187_1 (winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR) | SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = "Yates Racing Front Row Motorsports" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12172,
25828,
834,
536,
41,
8163,
7,
584,
4280,
28027,
6,
11148,
7,
584,
4280,
28027,
6,
372,
834,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
538,
8,
3447... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3447,
7,
21680,
953,
834,
12172,
25828,
834,
536,
549,
17444,
427,
11148,
7,
3274,
3,
632,
3430,
372,
834,
7,
834,
3274,
96,
476,
6203,
16046,
7383,
11768,
30045,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Give me a bar chart for how many competition type of each competition type | CREATE TABLE competition (
Competition_ID int,
Year real,
Competition_type text,
Country text
)
CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
Club_ID int,
... | SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2259,
41,
15571,
834,
4309,
16,
17,
6,
2929,
490,
6,
15571,
834,
6137,
1499,
6,
6993,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2259,
834,
60,
7,
83,
17,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
15571,
834,
6137,
6,
2847,
17161,
599,
5890,
4995,
4749,
834,
6137,
61,
21680,
2259,
350,
4630,
6880,
272,
476,
15571,
834,
6137,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was Switzerland's alternate? | CREATE TABLE table_name_86 (alternate VARCHAR, nation VARCHAR) | SELECT alternate FROM table_name_86 WHERE nation = "switzerland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
8818,
29,
342,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
12527,
31,
7,
13902,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
13902,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
2982,
3274,
96,
7,
15686,
15,
7721,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
WHAT IS THE PLAYER WITH T7 PLACE, FOR ENGLAND? | CREATE TABLE table_7855 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "Player" FROM table_7855 WHERE "Place" = 't7' AND "Country" = 'england' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
3769,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
490,
6,
96,
3696,
260,
121,
1499,
3,
61,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
3940,
3769,
549,
17444,
427,
96,
345,
11706,
121,
3274,
3,
31,
17,
940,
31,
3430,
96,
10628,
651,
121,
3274,
3,
31,
4606,
40,
232,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the score for the away team at Victoria Park? | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_24 WHERE venue = "victoria park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
21,
8,
550,
372,
44,
7488,
1061,
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,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
5669,
3274,
96,
7287,
3600,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How tall is Marco Belinelli? | CREATE TABLE table_12962773_15 (
height VARCHAR,
player VARCHAR
) | SELECT height FROM table_12962773_15 WHERE player = "Marco Belinelli" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
4314,
2555,
4552,
834,
1808,
41,
3902,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
5065,
19,
16902,
5622,
77,
7999,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3902,
21680,
953,
834,
2122,
4314,
2555,
4552,
834,
1808,
549,
17444,
427,
1959,
3274,
96,
7286,
509,
5622,
77,
7999,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which class had a machine of RS125R, points over 113, and a rank of 4th? | CREATE TABLE table_name_30 (
class VARCHAR,
rank VARCHAR,
machine VARCHAR,
points VARCHAR
) | SELECT class FROM table_name_30 WHERE machine = "rs125r" AND points > 113 AND rank = "4th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
853,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
1437,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
853,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
853,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
1437,
3274,
96,
52,
7,
10124,
52,
121,
3430,
979,
2490,
3,
20522,
3430,
11003,
3274,
96,
591,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Rider has a 1:06.02.0 Time? | CREATE TABLE table_name_92 (
rider VARCHAR,
time VARCHAR
) | SELECT rider FROM table_name_92 WHERE time = "1:06.02.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
2564,
52,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
25218,
65,
3,
9,
209,
10,
13821,
12328,
632,
2900,
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,
2564,
52,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
97,
3274,
96,
536,
10,
13821,
12328,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the average avg for TD's less than 3 for devin wyman and long more than 3 | CREATE TABLE table_58293 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real,
"Long" real
) | SELECT AVG("Avg.") FROM table_58293 WHERE "TD's" < '3' AND "Player" = 'devin wyman' AND "Long" > '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
357,
4271,
41,
96,
15800,
49,
121,
1499,
6,
96,
1649,
75,
535,
490,
6,
96,
476,
986,
7,
121,
490,
6,
96,
188,
208,
122,
535,
490,
6,
96,
10494,
31,
7,
121,
490,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
188,
208,
122,
5,
8512,
21680,
953,
834,
3449,
357,
4271,
549,
17444,
427,
96,
10494,
31,
7,
121,
3,
2,
3,
31,
519,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
221,
2494,
3,
210,
63,
348,
... |
What is Duration, when Test Flight is Taxi Test #2? | CREATE TABLE table_48193 (
"Test flight" text,
"Date" text,
"Speed" text,
"Altitude" text,
"Crew" text,
"Duration" text,
"Comment" text
) | SELECT "Duration" FROM table_48193 WHERE "Test flight" = 'taxi test #2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
2294,
519,
41,
96,
382,
222,
3777,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
28328,
121,
1499,
6,
96,
188,
40,
6592,
121,
1499,
6,
96,
254,
60,
210,
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,
12998,
2661,
121,
21680,
953,
834,
3707,
2294,
519,
549,
17444,
427,
96,
382,
222,
3777,
121,
3274,
3,
31,
17,
8606,
794,
15493,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the date of report for tier 1 ratio being 3.9% | CREATE TABLE table_24963 (
"Institution" text,
"Date of report" text,
"s Risk-weighted asset , \u20ac million" real,
"Tier 1 Capital, \u20ac million" real,
"Tier 1 ratio" text
) | SELECT "Date of report" FROM table_24963 WHERE "Tier 1 ratio" = '3.9%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3647,
3891,
41,
96,
1570,
17448,
121,
1499,
6,
96,
308,
342,
13,
934,
121,
1499,
6,
96,
7,
14729,
18,
9378,
15,
26,
7000,
3,
6,
3,
2,
76,
1755,
9,
75,
770,
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,
308,
342,
13,
934,
121,
21680,
953,
834,
357,
3647,
3891,
549,
17444,
427,
96,
382,
972,
209,
5688,
121,
3274,
3,
31,
5787,
7561,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many different products are produced in each headquarter city? | CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
) | SELECT COUNT(DISTINCT T1.name), T2.headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.headquarter | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
494,
41,
1081,
381,
6,
564,
1499,
6,
594,
381,
6,
4818,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
5360,
41,
1081,
381,
6,
564,
1499,
6,
819,
19973,
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,
15438,
25424,
6227,
332,
5411,
4350,
201,
332,
4416,
3313,
19973,
21680,
494,
6157,
332,
536,
3,
15355,
3162,
5360,
6157,
332,
357,
9191,
332,
5411,
348,
76,
8717,
450,
49,
3274,
332,
4416,
4978,
350... |
What year did the King team have fewer than 10 points? | CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR) | SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
1201,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
410,
8,
2671,
372,
43,
3,
10643... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
1201,
61,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
372,
3274,
96,
1765,
121,
3430,
979,
3,
2,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the minimum number of opponents' points for the game at Michigan State? | CREATE TABLE table_24560733_1 (opponents INTEGER, opponent VARCHAR) | SELECT MIN(opponents) FROM table_24560733_1 WHERE opponent = "at Michigan State" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4834,
4560,
4201,
834,
536,
41,
32,
102,
9977,
7,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2559,
381,
13,
16383,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
32,
102,
9977,
7,
61,
21680,
953,
834,
2266,
4834,
4560,
4201,
834,
536,
549,
17444,
427,
15264,
3274,
96,
144,
5847,
1015,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the davids team for 8 august 2008 | CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR) | SELECT davids_team FROM table_23575917_2 WHERE first_broadcast = "8 August 2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3436,
3390,
2517,
834,
357,
41,
26,
9,
6961,
7,
834,
11650,
584,
4280,
28027,
6,
166,
834,
115,
8635,
5254,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
836,
6961,
7,
834,
11650,
21680,
953,
834,
2773,
3436,
3390,
2517,
834,
357,
549,
17444,
427,
166,
834,
115,
8635,
5254,
3274,
96,
927,
1660,
2628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Rifle when the German Gewehr 98 is 74cm? | CREATE TABLE table_name_94 (
rifle VARCHAR,
german_gewehr_98 VARCHAR
) | SELECT rifle FROM table_name_94 WHERE german_gewehr_98 = "74cm" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
18371,
584,
4280,
28027,
6,
13692,
834,
397,
15966,
834,
3916,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
391,
99,
109,
116,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
18371,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
13692,
834,
397,
15966,
834,
3916,
3274,
96,
4581,
75,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the sum of population 1.1.2008 for t nsberg and population 1.1.2006 more than 45.447 | CREATE TABLE table_name_62 (
population_112008 INTEGER,
urban_area VARCHAR,
population_112006 VARCHAR
) | SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
2074,
834,
2596,
16128,
3,
21342,
17966,
6,
4150,
834,
498,
584,
4280,
28027,
6,
2074,
834,
2596,
21196,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
9791,
7830,
834,
2596,
16128,
61,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
4150,
834,
498,
3274,
96,
17,
2,
29,
7,
2235,
121,
3430,
2074,
834,
2596,
21196,
2490,
314,
27436,
4177,
1,
-100,
... |
how many candidates were there for virginia 17 district ? | CREATE TABLE table_204_109 (
id number,
"district" text,
"incumbent" text,
"party" text,
"first\nelected" text,
"result" text,
"candidates" text
) | SELECT "candidates" FROM table_204_109 WHERE "district" = 'virginia 17' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
17304,
41,
3,
23,
26,
381,
6,
96,
26,
23,
20066,
121,
1499,
6,
96,
77,
75,
5937,
295,
121,
1499,
6,
96,
8071,
121,
1499,
6,
96,
14672,
2,
29,
19971,
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,
1608,
12416,
6203,
121,
21680,
953,
834,
26363,
834,
17304,
549,
17444,
427,
96,
26,
23,
20066,
121,
3274,
3,
31,
5771,
122,
77,
23,
9,
1003,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For the tournament played on 16 Jan 2011, what was the winning score? | CREATE TABLE table_name_21 (
winning_score VARCHAR,
date VARCHAR
) | SELECT winning_score FROM table_name_21 WHERE date = "16 jan 2011" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
3447,
834,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
242,
8,
5892,
1944,
30,
898,
3049,
8558,
125,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3447,
834,
7,
9022,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
833,
3274,
96,
2938,
3,
7066,
2722,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Release Date, when Format is CD, and when Title is Tsar Wars? | CREATE TABLE table_8878 (
"Title" text,
"Writer" text,
"Doctor" text,
"Format" text,
"Company" text,
"release date" text
) | SELECT "release date" FROM table_8878 WHERE "Format" = 'cd' AND "Title" = 'tsar wars' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4060,
3940,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
24965,
49,
121,
1499,
6,
96,
4135,
5317,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
5890,
2837,
63,
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,
21019,
833,
121,
21680,
953,
834,
4060,
3940,
549,
17444,
427,
96,
3809,
3357,
121,
3274,
3,
31,
75,
26,
31,
3430,
96,
382,
155,
109,
121,
3274,
3,
31,
17,
7,
291,
615,
7,
31,
1,
-100,
-100,
-100,
-100,
-1... |
How many rounds does Colby Robak have with a position of (d)? | CREATE TABLE table_name_20 (
round VARCHAR,
position VARCHAR,
player VARCHAR
) | SELECT round FROM table_name_20 WHERE position = "(d)" AND player = "colby robak" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
1751,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
14419,
405,
3043,
969,
5376... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1751,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
1102,
3274,
96,
599,
26,
61,
121,
3430,
1959,
3274,
96,
3297,
969,
3,
5840,
1639,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many Attendances have a Score of 4 5? Question 4 | CREATE TABLE table_name_88 (
attendance INTEGER,
score VARCHAR
) | SELECT MAX(attendance) FROM table_name_88 WHERE score = "4 – 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
11364,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
22497,
663,
7,
43,
3,
9,
17763,
13,
314,
305,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
2604,
3274,
96,
591,
3,
104,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Goals have a Player of david mcllwain, and Games larger than 52? | CREATE TABLE table_name_7 (
goals INTEGER,
player VARCHAR,
games VARCHAR
) | SELECT MAX(goals) FROM table_name_7 WHERE player = "david mcllwain" AND games > 52 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
1766,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
6,
1031,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
17916,
7,
43,
3,
9,
12387,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
1959,
3274,
96,
26,
9,
6961,
3,
51,
75,
195,
210,
9,
77,
121,
3430,
1031,
2490,
9065,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
hypotension requiring vasopressor therapy, despite fluid resuscitation of at least 30 cc / kg and lactate > 2 mmol / l | CREATE TABLE table_train_57 (
"id" int,
"bleeding" int,
"in_another_study" bool,
"hiv_infection" bool,
"hepatitis_c_infection" bool,
"receiving_vasopressor" bool,
"hypotension" bool,
"NOUSE" float
) | SELECT * FROM table_train_57 WHERE hypotension = 1 AND receiving_vasopressor = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
3436,
41,
96,
23,
26,
121,
16,
17,
6,
96,
27779,
53,
121,
16,
17,
6,
96,
77,
834,
152,
9269,
834,
8637,
63,
121,
3,
12840,
40,
6,
96,
107,
23,
208,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1429,
21680,
953,
834,
9719,
834,
3436,
549,
17444,
427,
10950,
13177,
3274,
209,
3430,
4281,
834,
9856,
32,
4715,
127,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many years had budgets of $39 million? | CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) | SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
1201,
3,
21342,
17966,
6,
1487,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
203,
141,
1487,
7,
13,
1514,
3288,
770,
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,
180,
6122,
599,
1201,
61,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
1487,
3274,
96,
3229,
3288,
770,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the total when the score points was 12 and the rank points was 15? | CREATE TABLE table_name_79 (total VARCHAR, score_points VARCHAR, rank_points VARCHAR) | SELECT total FROM table_name_79 WHERE score_points = "12" AND rank_points = "15" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
235,
1947,
584,
4280,
28027,
6,
2604,
834,
2700,
7,
584,
4280,
28027,
6,
11003,
834,
2700,
7,
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,
792,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
2604,
834,
2700,
7,
3274,
96,
2122,
121,
3430,
11003,
834,
2700,
7,
3274,
96,
1808,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average number of rounds that Lance Gibson fought when his record was 1-1? | CREATE TABLE table_name_52 (
round INTEGER,
record VARCHAR
) | SELECT AVG(round) FROM table_name_52 WHERE record = "1-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1751,
3,
21342,
17966,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
381,
13,
14419,
24,
22207,
24723,
3,
13973,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
7775,
61,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1368,
3274,
96,
536,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many premio are there when 'Artist of the Year' was the categoria? | CREATE TABLE table_29563 (
"A\u00f1o" real,
"Trabajo nominado" text,
"Premio" text,
"Categor\u00eda" text,
"Country" text,
"Resultado" text
) | SELECT COUNT("Premio") FROM table_29563 WHERE "Categor\u00eda" = 'Artist of the Year' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3301,
3891,
41,
96,
188,
2,
76,
1206,
89,
536,
32,
121,
490,
6,
96,
9402,
115,
9,
1927,
5252,
23,
25065,
121,
1499,
6,
96,
10572,
51,
23,
32,
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,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
10572,
51,
23,
32,
8512,
21680,
953,
834,
357,
3301,
3891,
549,
17444,
427,
96,
18610,
6066,
52,
2,
76,
1206,
15,
26,
9,
121,
3274,
3,
31,
7754,
343,
13,
8,
2929,
31,
1,
-100,
-100,
-100,
... |
Who was the leading scorer on February 9? | CREATE TABLE table_name_96 (
leading_scorer VARCHAR,
date VARCHAR
) | SELECT leading_scorer FROM table_name_96 WHERE date = "february 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
1374,
834,
7,
5715,
49,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
1374,
2604,
52,
30,
2083,
668,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1374,
834,
7,
5715,
49,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
833,
3274,
96,
89,
15,
9052,
1208,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Bids, when Champions is '1'? | CREATE TABLE table_name_34 (
bids VARCHAR,
champions VARCHAR
) | SELECT bids FROM table_name_34 WHERE champions = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
6894,
7,
584,
4280,
28027,
6,
6336,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
2106,
26,
7,
6,
116,
15132,
19,
3,
31,
536,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6894,
7,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
6336,
7,
3274,
96,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who was the opponent when Steven Smith had 3.3 overs? | CREATE TABLE table_name_45 (
opponent VARCHAR,
overs VARCHAR
) | SELECT opponent FROM table_name_45 WHERE overs = 3.3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
15264,
584,
4280,
28027,
6,
147,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
116,
9316,
3931,
141,
3,
19660,
147,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
147,
7,
3274,
3,
19660,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
With a score of 68-85, what is the location and attendance? | CREATE TABLE table_17103729_7 (location_attendance VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_17103729_7 WHERE score = "68-85" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
1714,
4118,
3166,
834,
940,
41,
14836,
834,
15116,
663,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
438,
3,
9,
2604,
13,
3,
3651,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1128,
834,
15116,
663,
21680,
953,
834,
2517,
1714,
4118,
3166,
834,
940,
549,
17444,
427,
2604,
3274,
96,
3651,
18,
4433,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
number of victories | CREATE TABLE table_203_746 (
id number,
"date" text,
"opponent" text,
"score" text,
"leading scorer" text,
"attendance" number,
"record" text
) | SELECT COUNT(*) FROM table_203_746 WHERE "score" > "score" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
940,
4448,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
17103,
2604,
52,
121,
1499,
6,
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,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
23330,
834,
940,
4448,
549,
17444,
427,
96,
7,
9022,
121,
2490,
96,
7,
9022,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the sum of manager_id bin hire_date by weekday in a bar chart, could you order y-axis in asc order? | CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLO... | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(MANAGER_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
613,
834,
10193,
10972,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
5097,
8241,
834,
308,
6048,
833,
6,
3,
14920,
834,
308,
6048,
833,
6,
446,
10539,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
180,
6122,
599,
9312,
188,
17966,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549... |
What was launched and laid down in February 1819? | CREATE TABLE table_name_14 (launched VARCHAR, laid_down VARCHAR) | SELECT launched FROM table_name_14 WHERE laid_down = "february 1819" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
27493,
15,
26,
584,
4280,
28027,
6,
7245,
834,
3035,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
3759,
11,
7245,
323,
16,
2083,
507,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3759,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
7245,
834,
3035,
3274,
96,
89,
15,
9052,
1208,
507,
2294,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Length, when the Name is Himos? | CREATE TABLE table_66933 (
"Stage" text,
"Time (EEST)" text,
"Name" text,
"Length" text,
"Winner" text,
"Time" text,
"Avg. spd." text,
"Rally leader" text
) | SELECT "Length" FROM table_66933 WHERE "Name" = 'himos' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4271,
519,
41,
96,
134,
6505,
121,
1499,
6,
96,
13368,
41,
427,
6038,
61,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
434,
4606,
189,
121,
1499,
6,
96,
18455,
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,
434,
4606,
189,
121,
21680,
953,
834,
3539,
4271,
519,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
10813,
32,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is 2010 that has 1r 2011? | CREATE TABLE table_12788 (
"Tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"Win %" text
) | SELECT "2010" FROM table_12788 WHERE "2011" = '1r' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22367,
4060,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
16660,
121,
1499,
6,
96,
14926,
121,
1499,
6,
96,
13907,
121,
1499,
6,
96,
12172,
121,
1499,
6,
96,
18455,
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,
14926,
121,
21680,
953,
834,
22367,
4060,
549,
17444,
427,
96,
13907,
121,
3274,
3,
31,
536,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what Date was the Opponent Panathinaikos? | CREATE TABLE table_56063 (
"Round" text,
"Date" text,
"Opponent" text,
"Score" text,
"Attendance" real,
"Report" text
) | SELECT "Date" FROM table_56063 WHERE "Opponent" = 'panathinaikos' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3328,
3891,
41,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
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,
308,
342,
121,
21680,
953,
834,
755,
3328,
3891,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
2837,
144,
2907,
9,
12027,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the trine dehli cleve for english waltz | CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR) | SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3708,
4013,
2773,
834,
2534,
41,
17,
9249,
834,
221,
107,
40,
23,
834,
2482,
162,
3,
21342,
17966,
6,
869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
17,
9249,
834,
221,
107,
40,
23,
834,
2482,
162,
61,
21680,
953,
834,
2577,
3708,
4013,
2773,
834,
2534,
549,
17444,
427,
869,
3274,
96,
26749,
14591,
172,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the percentage of undecided according to the poll source with sampling error of 2.7%? | CREATE TABLE table_20032301_3 (
undecided VARCHAR,
sampling_error VARCHAR
) | SELECT undecided FROM table_20032301_3 WHERE sampling_error = "2.7%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23948,
13427,
536,
834,
519,
41,
3550,
10812,
15,
26,
584,
4280,
28027,
6,
17222,
834,
17262,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
5294,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3550,
10812,
15,
26,
21680,
953,
834,
23948,
13427,
536,
834,
519,
549,
17444,
427,
17222,
834,
17262,
3274,
96,
4416,
6170,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What tournament had a score of 5 7, 6 4, 6 4? | CREATE TABLE table_41815 (
"Year" real,
"Tournament Name" text,
"Champions" text,
"Runners-up" text,
"Score" text
) | SELECT "Tournament Name" FROM table_41815 WHERE "Score" = '5–7, 6–4, 6–4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2606,
1808,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
1211,
20205,
17,
5570,
121,
1499,
6,
96,
3541,
4624,
2865,
121,
1499,
6,
96,
23572,
7,
18,
413,
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,
382,
1211,
20205,
17,
5570,
121,
21680,
953,
834,
591,
2606,
1808,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
755,
104,
940,
6,
431,
104,
8525,
431,
104,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the rank that has 1 bronze and 1 silver? | CREATE TABLE table_name_63 (rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(rank) FROM table_name_63 WHERE bronze = 1 AND silver > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
6254,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11003,
24,
65,
209,
13467,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
13467,
3274,
209,
3430,
4294,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the active Date that has a 65 (100) Max 1-min wind? | CREATE TABLE table_name_28 (dates_active VARCHAR, max_1_min_wind_mph__km_h_ VARCHAR) | SELECT dates_active FROM table_name_28 WHERE max_1_min_wind_mph__km_h_ = "65 (100)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
5522,
7,
834,
6645,
584,
4280,
28027,
6,
9858,
834,
536,
834,
1109,
834,
5165,
834,
7656,
834,
834,
5848,
834,
107,
834,
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,
5128,
834,
6645,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
9858,
834,
536,
834,
1109,
834,
5165,
834,
7656,
834,
834,
5848,
834,
107,
834,
3274,
96,
4122,
41,
2915,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,... |
When was the score 5-31? | CREATE TABLE table_39306 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Date" FROM table_39306 WHERE "Record" = '5-31' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
1458,
948,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3288,
1458,
948,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
755,
18,
3341,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Where was the venue that Linfield was the opponent? | CREATE TABLE table_name_58 (
venue VARCHAR,
opponent VARCHAR
) | SELECT venue FROM table_name_58 WHERE opponent = "linfield" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
5669,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
5669,
24,
6741,
1846,
47,
8,
15264,
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,
5669,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
15264,
3274,
96,
40,
77,
1846,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many lanes have a Time of 53.61, and a Rank larger than 3? | CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR) | SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND rank > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
8102,
3,
21342,
17966,
6,
97,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
50,
1496,
43,
3,
9,
2900,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
8102,
61,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
97,
3274,
12210,
5,
4241,
3430,
11003,
2490,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
who is the the mens doubles with year being 1978 | CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR) | SELECT mens_doubles FROM table_13857700_1 WHERE year = 1978 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22744,
3436,
9295,
834,
536,
41,
904,
7,
834,
25761,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
113,
19,
8,
8,
1076,
7,
1486,
7,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1076,
7,
834,
25761,
7,
21680,
953,
834,
22744,
3436,
9295,
834,
536,
549,
17444,
427,
215,
3274,
14834,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
List the weight for 56.5 kilograms. | CREATE TABLE table_2581397_3 (race VARCHAR, weight__kg_ VARCHAR) | SELECT race FROM table_2581397_3 WHERE weight__kg_ = "56.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3449,
2368,
4327,
834,
519,
41,
12614,
584,
4280,
28027,
6,
1293,
834,
834,
8711,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,
1293,
21,
305,
17255... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1964,
21680,
953,
834,
357,
3449,
2368,
4327,
834,
519,
549,
17444,
427,
1293,
834,
834,
8711,
834,
3274,
96,
4834,
5,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many Wins has a Scored of 27 and Draws smaller than 5? | CREATE TABLE table_38409 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
) | SELECT COUNT("Wins") FROM table_38409 WHERE "Scored" = '27' AND "Draws" < '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3747,
591,
4198,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
308,
10936,
7,
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,
18455,
7,
8512,
21680,
953,
834,
3747,
591,
4198,
549,
17444,
427,
96,
134,
9022,
26,
121,
3274,
3,
31,
2555,
31,
3430,
96,
308,
10936,
7,
121,
3,
2,
3,
31,
755,
31,
1,
-100,
-100,
-100,
... |
Show different tourist attractions' names, ids, and the corresponding number of visits. | CREATE TABLE VISITS (
Tourist_Attraction_ID VARCHAR
)
CREATE TABLE Tourist_Attractions (
Name VARCHAR,
Tourist_Attraction_ID VARCHAR
) | SELECT T1.Name, T2.Tourist_Attraction_ID, COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
20186,
21273,
41,
21375,
834,
188,
17,
10559,
834,
4309,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
21375,
834,
188,
17,
10559,
7,
41,
5570,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23954,
6,
332,
4416,
382,
1211,
343,
834,
188,
17,
10559,
834,
4309,
6,
2847,
17161,
599,
1935,
61,
21680,
21375,
834,
188,
17,
10559,
7,
6157,
332,
536,
3,
15355,
3162,
3,
20186,
21273,
6157,
332,
357,
... |
What is the pick number for Ray Giroux? | CREATE TABLE table_name_52 (
pick VARCHAR,
player VARCHAR
) | SELECT pick FROM table_name_52 WHERE player = "ray giroux" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1432,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1432,
381,
21,
8279,
3,
30428,
3090,
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,
1432,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1959,
3274,
96,
2866,
3,
9427,
32,
3090,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
When the Winning score is 74-68-67-75=284, what was the Margin of victory? | CREATE TABLE table_name_72 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_72 WHERE winning_score = 74 - 68 - 67 - 75 = 284 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
1635,
122,
77,
834,
858,
834,
7287,
10972,
584,
4280,
28027,
6,
3447,
834,
7,
9022,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
549,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6346,
834,
858,
834,
7287,
10972,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
3447,
834,
7,
9022,
3274,
3,
4581,
3,
18,
3,
3651,
3,
18,
3,
3708,
3,
18,
6374,
3274,
204,
4608,
1,
-100,
-100,
-100,
-100,
-1... |
What is the average account balance of customers with credit score below 50 for the different account types? | CREATE TABLE loan (
loan_id text,
loan_type text,
cust_id text,
branch_id text,
amount number
)
CREATE TABLE customer (
cust_id text,
cust_name text,
acc_type text,
acc_bal number,
no_of_loans number,
credit_score number,
branch_id number,
state text
)
CREATE TABLE ... | SELECT AVG(acc_bal), acc_type FROM customer WHERE credit_score < 50 GROUP BY acc_type | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2289,
41,
2289,
834,
23,
26,
1499,
6,
2289,
834,
6137,
1499,
6,
123,
7,
17,
834,
23,
26,
1499,
6,
6421,
834,
23,
26,
1499,
6,
866,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6004,
834,
3849,
201,
3,
6004,
834,
6137,
21680,
884,
549,
17444,
427,
998,
834,
7,
9022,
3,
2,
943,
350,
4630,
6880,
272,
476,
3,
6004,
834,
6137,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What model is the n m (lb ft)@1500-2500 torque? | CREATE TABLE table_79392 (
"Model" text,
"Years" text,
"Engine code" text,
"Power" text,
"Torque" text
) | SELECT "Model" FROM table_79392 WHERE "Torque" = 'n·m (lb·ft)@1500-2500' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
3288,
357,
41,
96,
24663,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
31477,
1081,
121,
1499,
6,
96,
23553,
121,
1499,
6,
96,
382,
127,
835,
121,
1499,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24663,
121,
21680,
953,
834,
4440,
3288,
357,
549,
17444,
427,
96,
382,
127,
835,
121,
3274,
3,
31,
29,
2,
51,
41,
40,
115,
2,
89,
17,
61,
1741,
536,
2560,
4949,
2560,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
what's the minimum total with crop (kilotonnes) being s lupin | CREATE TABLE table_1057262_2 (
total INTEGER,
crop__kilotonnes_ VARCHAR
) | SELECT MIN(total) FROM table_1057262_2 WHERE crop__kilotonnes_ = "s Lupin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12869,
5865,
4056,
834,
357,
41,
792,
3,
21342,
17966,
6,
10550,
834,
834,
2168,
3171,
5993,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
235,
1947,
61,
21680,
953,
834,
12869,
5865,
4056,
834,
357,
549,
17444,
427,
10550,
834,
834,
2168,
3171,
5993,
7,
834,
3274,
96,
7,
23776,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the team for pick more than 30 and position of c with round more than 4 | CREATE TABLE table_54784 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
) | SELECT "Team" FROM table_54784 WHERE "Pick" > '30' AND "Position" = 'c' AND "Round" > '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
3940,
591,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
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,
18699,
121,
21680,
953,
834,
5062,
3940,
591,
549,
17444,
427,
96,
345,
3142,
121,
2490,
3,
31,
1458,
31,
3430,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
75,
31,
3430,
96,
448,
32,
1106,
121,
2490,
3,
31,
59... |
What is the sum of totals with a Vault of 38.437, and a Floor Exercise smaller than 37.524? | CREATE TABLE table_name_52 (
total VARCHAR,
vault VARCHAR,
floor_exercise VARCHAR
) | SELECT COUNT(total) FROM table_name_52 WHERE vault = 38.437 AND floor_exercise < 37.524 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
792,
584,
4280,
28027,
6,
28368,
584,
4280,
28027,
6,
1501,
834,
6667,
21645,
15,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
28368,
3274,
6654,
5,
591,
4118,
3430,
1501,
834,
6667,
21645,
15,
3,
2,
220,
15731,
2266,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who is the edition/publisher for Xavier Herbert? | CREATE TABLE table_name_9 (
edition_publisher VARCHAR,
author VARCHAR
) | SELECT edition_publisher FROM table_name_9 WHERE author = "xavier herbert" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
4182,
834,
29337,
49,
584,
4280,
28027,
6,
2291,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
4182,
87,
29337,
49,
21,
3,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4182,
834,
29337,
49,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
2291,
3274,
96,
226,
9,
5144,
160,
7041,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0? | CREATE TABLE table_name_85 (total INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT AVG(total) FROM table_name_85 WHERE rank > 11 AND nation = "switzerland" AND silver < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
235,
1947,
3,
21342,
17966,
6,
4294,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
2982,
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,
4433,
549,
17444,
427,
11003,
2490,
850,
3430,
2982,
3274,
96,
7,
15686,
15,
7721,
121,
3430,
4294,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who, was the coach with an actual adjusted record of 0–19? | CREATE TABLE table_name_2 (coach VARCHAR, actual_adjusted_record VARCHAR) | SELECT coach FROM table_name_2 WHERE actual_adjusted_record = "0–19" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
509,
1836,
584,
4280,
28027,
6,
1805,
834,
9,
26,
4998,
15,
26,
834,
60,
7621,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
6,
47,
8,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3763,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
1805,
834,
9,
26,
4998,
15,
26,
834,
60,
7621,
3274,
96,
632,
104,
2294,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the A Score when the B Score is more than 9.05, and the total is less than 16.525? | CREATE TABLE table_name_54 (a_score VARCHAR, b_score VARCHAR, total VARCHAR) | SELECT COUNT(a_score) FROM table_name_54 WHERE b_score > 9.05 AND total < 16.525 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
9,
834,
7,
9022,
584,
4280,
28027,
6,
3,
115,
834,
7,
9022,
584,
4280,
28027,
6,
792,
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,
2847,
17161,
599,
9,
834,
7,
9022,
61,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
3,
115,
834,
7,
9022,
2490,
5835,
3076,
3430,
792,
3,
2,
209,
17255,
1828,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what's party with result being retired to run for u. s. senate republican hold | CREATE TABLE table_1341577_10 (party VARCHAR, result VARCHAR) | SELECT party FROM table_1341577_10 WHERE result = "Retired to run for U. S. Senate Republican hold" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
1808,
4013,
834,
1714,
41,
8071,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
1088,
28,
741,
271,
10611,
12,
661,
21,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1088,
21680,
953,
834,
23747,
1808,
4013,
834,
1714,
549,
17444,
427,
741,
3274,
96,
1649,
11809,
26,
12,
661,
21,
412,
5,
180,
5,
7819,
8994,
1520,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was the highest picked defensive end | CREATE TABLE table_15353123_1 (
pick__number INTEGER,
position VARCHAR
) | SELECT MAX(pick__number) FROM table_15353123_1 WHERE position = "Defensive end" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27025,
4867,
14574,
834,
536,
41,
1432,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
2030,
4758,
11976... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
27025,
4867,
14574,
834,
536,
549,
17444,
427,
1102,
3274,
96,
2962,
23039,
15,
414,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which attendance has a Score of 3-5? | CREATE TABLE table_name_88 (
attendance VARCHAR,
score VARCHAR
) | SELECT attendance FROM table_name_88 WHERE score = "3-5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
11364,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
11364,
65,
3,
9,
17763,
13,
3,
18366,
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,
11364,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
2604,
3274,
96,
18366,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the highest K 2 O, when Na 2 O is greater than 1.87, when Fe 2 O 3 is greater than 0.07, when Objects is Ritual Disk, and when Al 2 O 3 is less than 0.62? | CREATE TABLE table_name_40 (
k_2_o INTEGER,
al_2_o_3 VARCHAR,
objects VARCHAR,
na_2_o VARCHAR,
fe_2_o_3 VARCHAR
) | SELECT MAX(k_2_o) FROM table_name_40 WHERE na_2_o > 1.87 AND fe_2_o_3 > 0.07 AND objects = "ritual disk" AND al_2_o_3 < 0.62 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
3,
157,
834,
357,
834,
32,
3,
21342,
17966,
6,
491,
834,
357,
834,
32,
834,
519,
584,
4280,
28027,
6,
4820,
584,
4280,
28027,
6,
3,
29,
9,
834,
357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
157,
834,
357,
834,
32,
61,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
3,
29,
9,
834,
357,
834,
32,
2490,
1300,
4225,
3430,
3,
89,
15,
834,
357,
834,
32,
834,
519,
2490,
4097,
4560,
3430,
... |
Name the nickerie for marowijne being 4.7% | CREATE TABLE table_16886076_1 (
nickerie VARCHAR,
marowijne VARCHAR
) | SELECT COUNT(nickerie) FROM table_16886076_1 WHERE marowijne = "4.7%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4060,
3328,
3959,
834,
536,
41,
3,
11191,
4074,
584,
4280,
28027,
6,
954,
3623,
28469,
15,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3,
11191,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11191,
4074,
61,
21680,
953,
834,
2938,
4060,
3328,
3959,
834,
536,
549,
17444,
427,
954,
3623,
28469,
15,
3274,
96,
7984,
6170,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the mean number of goals when the rank's less than 8 and there are 261 matches? | CREATE TABLE table_7661 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
) | SELECT AVG("Goals") FROM table_7661 WHERE "Rank" < '8' AND "Matches" = '261' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
4241,
41,
96,
22557,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
329,
144,
2951,
121,
490,
6,
96,
6221,
5405,
121,
490,
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,
71,
17217,
599,
121,
6221,
5405,
8512,
21680,
953,
834,
3959,
4241,
549,
17444,
427,
96,
22557,
121,
3,
2,
3,
31,
927,
31,
3430,
96,
329,
144,
2951,
121,
3274,
3,
31,
357,
4241,
31,
1,
-100,
-100,
-100,
-100,
-1... |
What is the total number of laps with a 128.260 qual? | CREATE TABLE table_name_29 (laps VARCHAR, qual VARCHAR) | SELECT COUNT(laps) FROM table_name_29 WHERE qual = "128.260" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
8478,
7,
584,
4280,
28027,
6,
3,
11433,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
381,
13,
14941,
7,
28,
3,
9,
209,
2577,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
3,
11433,
3274,
96,
536,
2577,
5,
18365,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In the Formula One World Championships, which entrant had 0 points with a Ferrari 156 Chassis after 1961? | CREATE TABLE table_name_2 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_2 WHERE points = 0 AND year > 1961 AND chassis = "ferrari 156" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
295,
3569,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
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,
1... | [
3,
23143,
14196,
3,
295,
3569,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
979,
3274,
3,
632,
3430,
215,
2490,
21018,
3430,
22836,
3274,
96,
1010,
52,
1665,
3,
25463,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10? | CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR) | SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
2916,
834,
1714,
3,
21342,
17966,
6,
420,
834,
1828,
584,
4280,
28027,
6,
420,
834,
755,
584,
4280,
28027,
6,
8620,
834,
4725,
584,
4280,
28027,
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,
4800,
4,
599,
2916,
834,
16968,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
420,
834,
755,
2490,
220,
3430,
8620,
834,
4725,
3274,
460,
3430,
420,
834,
1828,
2490,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the second party that has a conservative first party in the 1834 election? | CREATE TABLE table_name_71 (
second_party VARCHAR,
first_party VARCHAR,
election VARCHAR
) | SELECT second_party FROM table_name_71 WHERE first_party = "conservative" AND election = "1834" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
511,
834,
8071,
584,
4280,
28027,
6,
166,
834,
8071,
584,
4280,
28027,
6,
4356,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
511... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
511,
834,
8071,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
166,
834,
8071,
3274,
96,
1018,
3473,
1528,
121,
3430,
4356,
3274,
96,
24361,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the total number of Pick, when Round is greater than 1, and when Player is 'Jim Stack'? | CREATE TABLE table_name_1 (
pick VARCHAR,
round VARCHAR,
player VARCHAR
) | SELECT COUNT(pick) FROM table_name_1 WHERE round > 1 AND player = "jim stack" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
1432,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
381,
13,
8356,
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,
2847,
17161,
599,
17967,
61,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
1751,
2490,
209,
3430,
1959,
3274,
96,
354,
603,
9013,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the name of the home team when the away team was Melbourne? | CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_70 WHERE away_team = "melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
234,
372,
116,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
550,
834,
11650,
3274,
96,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is average age of patients whose gender is m and insurance is medicaid? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.insurance = "Medicaid" | [
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,
71,
17217,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
122,
3868,
3274,
96,
329,
121,
3430,
14798,
5,
29441,
3274,
96,
15789,
6146,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many styles had a total score of exactly 33? | CREATE TABLE table_30678 (
"Couple" text,
"Style" text,
"Music" text,
"Trine Dehli Cleve" real,
"Tor Fl\u00f8ysvik" real,
"Karianne Gulliksen" real,
"Christer Tornell" real,
"Total" real
) | SELECT COUNT("Style") FROM table_30678 WHERE "Total" = '33' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
3708,
927,
41,
96,
3881,
413,
109,
121,
1499,
6,
96,
30719,
121,
1499,
6,
96,
29035,
121,
1499,
6,
96,
382,
9249,
374,
107,
40,
23,
205,
109,
162,
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,
30719,
8512,
21680,
953,
834,
1458,
3708,
927,
549,
17444,
427,
96,
3696,
1947,
121,
3274,
3,
31,
4201,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of l wenbr u team mclaren? | CREATE TABLE table_14312 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | SELECT MAX("Year") FROM table_14312 WHERE "Points" < '2' AND "Chassis" = 'mclaren m28' AND "Entrant" = 'löwenbräu team mclaren' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25133,
2122,
41,
96,
476,
2741,
121,
490,
6,
96,
16924,
3569,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22512,
7,
121,
490,
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,
4800,
4,
599,
121,
476,
2741,
8512,
21680,
953,
834,
25133,
2122,
549,
17444,
427,
96,
22512,
7,
121,
3,
2,
3,
31,
357,
31,
3430,
96,
3541,
6500,
7,
121,
3274,
3,
31,
51,
23982,
35,
3,
51,
2577,
31,
3430,
96,
... |
Which Crowd has an Away team score of 17.8 (110)? | CREATE TABLE table_53902 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Crowd" FROM table_53902 WHERE "Away team score" = '17.8 (110)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
2394,
357,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
3623,
26,
121,
21680,
953,
834,
4867,
2394,
357,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
2517,
5,
927,
4077,
16968,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the since year for the player with more than 3 goals and a transfer fee of 400k? | CREATE TABLE table_79825 (
"Nat." text,
"Name" text,
"Since" text,
"Goals" real,
"Transfer fee" text
) | SELECT "Since" FROM table_79825 WHERE "Goals" > '3' AND "Transfer fee" = '£400k' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3916,
1828,
41,
96,
567,
144,
535,
1499,
6,
96,
23954,
121,
1499,
6,
96,
134,
77,
565,
121,
1499,
6,
96,
6221,
5405,
121,
490,
6,
96,
18474,
1010,
2572,
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,
134,
77,
565,
121,
21680,
953,
834,
940,
3916,
1828,
549,
17444,
427,
96,
6221,
5405,
121,
2490,
3,
31,
519,
31,
3430,
96,
18474,
1010,
2572,
121,
3274,
3,
31,
19853,
5548,
157,
31,
1,
-100,
-100,
-100,
-100,
... |
What is the year where the runner-up outcome was at its basic minimum? | CREATE TABLE table_22858557_1 (
year INTEGER,
outcome VARCHAR
) | SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4433,
4433,
3436,
834,
536,
41,
215,
3,
21342,
17966,
6,
6138,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
215,
213,
8,
3,
10806,
18,
413,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
2884,
4433,
4433,
3436,
834,
536,
549,
17444,
427,
6138,
3274,
96,
23572,
18,
413,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the id and local authority of the station whose maximum precipitation is higher than 50. Visualize by bar chart. | CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
wind_speed_mph int
)
CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE train (
id int,
train... | SELECT local_authority, id FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5547,
834,
26809,
41,
2478,
834,
23,
26,
16,
17,
6,
239,
834,
858,
834,
8041,
1499,
6,
306,
834,
21010,
15,
16,
17,
6,
731,
834,
21010,
15,
16,
17,
6,
19742,
257,
490,
6,
2943,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
415,
834,
17415,
485,
6,
3,
23,
26,
21680,
5547,
834,
26809,
6157,
3,
17,
536,
3,
15355,
3162,
2478,
6157,
3,
17,
357,
9191,
3,
17,
5411,
6682,
834,
23,
26,
3274,
3,
17,
4416,
23,
26,
1,
-100,
-100,
-100,
-100... |
Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4? | CREATE TABLE table_name_50 (
earnings__ INTEGER,
wins VARCHAR,
rank VARCHAR
) | SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
8783,
834,
834,
3,
21342,
17966,
6,
9204,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
65,
8,
7402,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2741,
29,
53,
7,
834,
834,
61,
6157,
1514,
834,
834,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
9204,
3274,
314,
3430,
11003,
2490,
314,
1,
-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.