NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Who has Runs of 124? | CREATE TABLE table_name_79 (
player VARCHAR,
runs VARCHAR
) | SELECT player FROM table_name_79 WHERE runs = "124" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
1959,
584,
4280,
28027,
6,
3154,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
65,
7113,
7,
13,
3,
22504,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
3154,
3274,
96,
22504,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which place has the lowest , lower zip code ? | CREATE TABLE table_203_115 (
id number,
"name of place" text,
"counties" number,
"principal county" text,
"lower zip code" number
) | SELECT "name of place" FROM table_203_115 ORDER BY "lower zip code" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
15660,
41,
3,
23,
26,
381,
6,
96,
4350,
13,
286,
121,
1499,
6,
96,
13362,
725,
121,
381,
6,
96,
12298,
3389,
138,
5435,
121,
1499,
6,
96,
3216,
49,
10658,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4350,
13,
286,
121,
21680,
953,
834,
23330,
834,
15660,
4674,
11300,
272,
476,
96,
3216,
49,
10658,
1081,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the label in the region of Canada? | CREATE TABLE table_name_57 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_57 WHERE region = "canada" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
40,
10333,
584,
4280,
28027,
6,
1719,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3783,
16,
8,
1719,
13,
1894,
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,
3783,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
1719,
3274,
96,
658,
18089,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)? | CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR) | SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
1828,
3710,
834,
357,
41,
35,
4046,
297,
584,
4280,
28027,
6,
1128,
834,
834,
9791,
7830,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17938,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17938,
21680,
953,
834,
2688,
1828,
3710,
834,
357,
549,
17444,
427,
1128,
834,
834,
9791,
7830,
834,
3274,
96,
2796,
3478,
106,
6,
12976,
17543,
6,
25174,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many points for the cooper car company after 1959? | CREATE TABLE table_80239 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | SELECT SUM("Points") FROM table_80239 WHERE "Entrant" = 'cooper car company' AND "Year" > '1959' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
357,
3288,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
121,
22512,
7,
8512,
21680,
953,
834,
2079,
357,
3288,
549,
17444,
427,
96,
16924,
3569,
121,
3274,
3,
31,
25911,
49,
443,
349,
31,
3430,
96,
476,
2741,
121,
2490,
3,
31,
2294,
3390,
31,
1,
-100,
... |
How many people lived in the district whose headquarters is in Bhubaneswar in 2001? | CREATE TABLE table_2801442_1 (population__2001_census_ VARCHAR, headquarters VARCHAR) | SELECT population__2001_census_ FROM table_2801442_1 WHERE headquarters = "Bhubaneswar" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
20885,
357,
834,
536,
41,
9791,
7830,
834,
834,
23658,
834,
75,
35,
7,
302,
834,
584,
4280,
28027,
6,
13767,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
2074,
834,
834,
23658,
834,
75,
35,
7,
302,
834,
21680,
953,
834,
17518,
20885,
357,
834,
536,
549,
17444,
427,
13767,
3274,
96,
279,
16420,
9,
1496,
2910,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What are the distinct first names of the students who have vice president votes and reside in a city whose city code is not PIT? | CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_president_vote number... | SELECT DISTINCT T1.fname FROM student AS T1 JOIN voting_record AS T2 ON T1.stuid = T2.vice_president_vote EXCEPT SELECT DISTINCT fname FROM student WHERE city_code = "PIT" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
21341,
23,
26,
381,
6,
3,
40,
4350,
1499,
6,
3,
89,
4350,
1499,
6,
1246,
381,
6,
3,
7,
994,
1499,
6,
779,
381,
6,
8815,
381,
6,
690,
834,
4978,
1499,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
332,
5411,
89,
4350,
21680,
1236,
6157,
332,
536,
3,
15355,
3162,
10601,
834,
60,
7621,
6157,
332,
357,
9191,
332,
5411,
7,
17,
76,
23,
26,
3274,
332,
4416,
7287,
15,
834,
102,
15704,
834,
1... |
Who is the rower from Canada? | CREATE TABLE table_name_80 (rowers VARCHAR, country VARCHAR) | SELECT rowers FROM table_name_80 WHERE country = "canada" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
3623,
277,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
7358,
49,
45,
1894,
58,
1,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7358,
277,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
684,
3274,
96,
658,
18089,
121,
1,
-100,
-100,
-100,
-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, give me the comparison about the average of code over the headquarter , and group by attribute headquarter by a bar chart. | 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 T2.Headquarter, T1.Code 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,
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,
4416,
3845,
9,
26,
19973,
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,... |
How many millions of people in the US saw the episode with production code 214? | CREATE TABLE table_23502 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
) | SELECT "U.S. viewers (millions)" FROM table_23502 WHERE "Production code" = '214' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25174,
4305,
41,
96,
4168,
5,
16,
939,
121,
1499,
6,
96,
4168,
5,
16,
774,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
249... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1265,
5,
134,
5,
13569,
41,
17030,
7,
61,
121,
21680,
953,
834,
25174,
4305,
549,
17444,
427,
96,
3174,
8291,
1081,
121,
3274,
3,
31,
27357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many Tries against has a Try diff of –17 and Points for smaller than 80? | CREATE TABLE table_name_30 (tries_against VARCHAR, try_diff VARCHAR, points_for VARCHAR) | SELECT COUNT(tries_against) FROM table_name_30 WHERE try_diff = "–17" AND points_for < 80 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
9000,
834,
9,
16720,
7,
17,
584,
4280,
28027,
6,
653,
834,
26,
5982,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
9000,
834,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
653,
834,
26,
5982,
3274,
96,
104,
2517,
121,
3430,
979,
834,
1161,
3,
2,
2775,
1,
-100,
-100,
-100,
-100,
-100,... |
give me the number of patients whose admission location is transfer from hosp/extram and primary disease is abdominal pain? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.diagnosis = "ABDOMINAL PAIN" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
9,
26,
5451,
834,
14836,
3274,
96,
11359,
7369,
20805,
21680,
3,
6299,
4274,
87,
427,
4,
11359,
... |
What was the position of the player that went to warren central high school? | CREATE TABLE table_name_35 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_35 WHERE school = "warren central high school" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
4718,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1102,
13,
8,
1959,
24,
877,
12,
615,
1536,
2069,
306,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1102,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
496,
3274,
96,
2910,
1536,
2069,
306,
496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What area has less than 0.97 mil in population and is on the east? | CREATE TABLE table_43569 (
"landsv\u00e6\u00f0i" text,
"(English)" text,
"Population 2011-01-01" text,
"Area (km\u00b2)" text,
"Pop./ km\u00b2" real
) | SELECT "Area (km\u00b2)" FROM table_43569 WHERE "Pop./ km\u00b2" < '0.97' AND "(English)" = 'east' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2469,
3951,
41,
96,
6347,
208,
2,
76,
1206,
15,
948,
2,
76,
1206,
89,
632,
23,
121,
1499,
6,
96,
599,
26749,
61,
121,
1499,
6,
96,
27773,
7830,
2722,
14772,
14772,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
864,
41,
5848,
2,
76,
1206,
115,
7318,
121,
21680,
953,
834,
591,
2469,
3951,
549,
17444,
427,
96,
27773,
5,
87,
2280,
2,
76,
1206,
115,
357,
121,
3,
2,
3,
31,
23758,
940,
31,
3430,
96,
599,
26749,
61... |
When did Archbishop Albert Daeger vacate the throne? | CREATE TABLE table_name_63 (vacated_throne VARCHAR, archbishop VARCHAR) | SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert daeger" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
8938,
920,
834,
8514,
29,
15,
584,
4280,
28027,
6,
11508,
11514,
10776,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
410,
9318,
11514,
10776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
8938,
920,
834,
8514,
29,
15,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
11508,
11514,
10776,
3274,
96,
138,
7041,
836,
15,
1304,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the name of immunity when the finish is 3rd voted out day 9? | CREATE TABLE table_30716 (
"First air date" text,
"Reward" text,
"Immunity" text,
"Eliminated" text,
"Vote" text,
"Finish" text
) | SELECT "Immunity" FROM table_30716 WHERE "Finish" = '3rd Voted Out Day 9' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
940,
2938,
41,
96,
25171,
799,
833,
121,
1499,
6,
96,
1649,
2239,
121,
1499,
6,
96,
196,
635,
202,
485,
121,
1499,
6,
96,
427,
4941,
77,
920,
121,
1499,
6,
96,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
196,
635,
202,
485,
121,
21680,
953,
834,
1458,
940,
2938,
549,
17444,
427,
96,
371,
77,
1273,
121,
3274,
3,
31,
519,
52,
26,
3152,
1054,
3387,
1430,
668,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which First Pref votes have a % of seats of 0.8? | CREATE TABLE table_7973 (
"Party" text,
"Seats" text,
"% of seats" text,
"First Pref votes" real,
"% FPv" text
) | SELECT "First Pref votes" FROM table_7973 WHERE "% of seats" = '0.8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
4552,
41,
96,
13725,
63,
121,
1499,
6,
96,
134,
1544,
7,
121,
1499,
6,
96,
1454,
13,
6116,
121,
1499,
6,
96,
25171,
1266,
89,
11839,
121,
490,
6,
96,
1454,
3,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25171,
1266,
89,
11839,
121,
21680,
953,
834,
4440,
4552,
549,
17444,
427,
96,
1454,
13,
6116,
121,
3274,
3,
31,
22384,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which player number is 2.10 meters tall? | CREATE TABLE table_12962773_10 (
no VARCHAR,
height VARCHAR
) | SELECT no FROM table_12962773_10 WHERE height = "2.10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
4314,
2555,
4552,
834,
1714,
41,
150,
584,
4280,
28027,
6,
3902,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
381,
19,
1682,
1714,
8848,
5065,
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,
150,
21680,
953,
834,
2122,
4314,
2555,
4552,
834,
1714,
549,
17444,
427,
3902,
3274,
96,
4416,
1714,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many opponents played 1 game with a result win? | CREATE TABLE table_18207285_2 (opponents INTEGER, result VARCHAR, game VARCHAR) | SELECT MAX(opponents) FROM table_18207285_2 WHERE result = "Win" AND game = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
1755,
5865,
4433,
834,
357,
41,
32,
102,
9977,
7,
3,
21342,
17966,
6,
741,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
32,
102,
9977,
7,
61,
21680,
953,
834,
2606,
1755,
5865,
4433,
834,
357,
549,
17444,
427,
741,
3274,
96,
18455,
121,
3430,
467,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which town has the same population in 2011 as bruno ? | CREATE TABLE table_204_43 (
id number,
"name" text,
"rural\nmunicipality (rm)" text,
"population\n(2011)" number,
"population\n(2006)" number,
"change\n(%)" number,
"land\narea\n(km2)" number,
"population\ndensity\n(per km2)" number
) | SELECT "name" FROM table_204_43 WHERE "name" <> 'bruno' AND "population\n(2011)" = (SELECT "population\n(2011)" FROM table_204_43 WHERE "name" = 'bruno') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4906,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
52,
9709,
2,
29,
11760,
3389,
10355,
41,
52,
51,
61,
121,
1499,
6,
96,
9791,
7830,
2,
29,
599,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4350,
121,
21680,
953,
834,
26363,
834,
4906,
549,
17444,
427,
96,
4350,
121,
3,
2,
3155,
3,
31,
9052,
29,
32,
31,
3430,
96,
9791,
7830,
2,
29,
599,
13907,
61,
121,
3274,
41,
23143,
14196,
96,
9791,
7830,
2,... |
who was her opponent in the april 2009 mestre tournament ? | CREATE TABLE table_203_220 (
id number,
"outcome" text,
"no." number,
"date" text,
"tournament" text,
"surface" text,
"opponent in the final" text,
"score" text
) | SELECT "opponent in the final" FROM table_203_220 WHERE "tournament" = 'mestre' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
1755,
41,
3,
23,
26,
381,
6,
96,
670,
287,
15,
121,
1499,
6,
96,
29,
32,
535,
381,
6,
96,
5522,
121,
1499,
6,
96,
17,
1211,
20205,
17,
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,
32,
102,
9977,
16,
8,
804,
121,
21680,
953,
834,
23330,
834,
357,
1755,
549,
17444,
427,
96,
17,
1211,
20205,
17,
121,
3274,
3,
31,
2687,
929,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
where title is am/pm callanetics , what are all the copyright information? | CREATE TABLE table_16543 (
"Year" real,
"Title" text,
"Format" text,
"Studio" text,
"Release Date" text,
"Copyright Information" text,
"Catalog Number" text
) | SELECT "Copyright Information" FROM table_16543 WHERE "Title" = 'AM/PM Callanetics' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22823,
4906,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
13076,
26,
23,
32,
121,
1499,
6,
96,
1649,
40,
14608,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3881,
20455,
2632,
2784,
121,
21680,
953,
834,
22823,
4906,
549,
17444,
427,
96,
382,
155,
109,
121,
3274,
3,
31,
4815,
87,
6218,
2571,
152,
7578,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many rounds were there of the Bosch Spark Plug Grand Prix? | CREATE TABLE table_10725629_2 (
rnd VARCHAR,
race_name VARCHAR
) | SELECT COUNT(rnd) FROM table_10725629_2 WHERE race_name = "Bosch Spark Plug Grand Prix" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18057,
19337,
3166,
834,
357,
41,
3,
52,
727,
584,
4280,
28027,
6,
1964,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
14419,
130,
132,
13,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
52,
727,
61,
21680,
953,
834,
18057,
19337,
3166,
834,
357,
549,
17444,
427,
1964,
834,
4350,
3274,
96,
279,
32,
860,
15036,
24324,
2698,
12942,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what year did naga bonar take place | CREATE TABLE table_name_82 (
year__ceremony_ VARCHAR,
original_title VARCHAR
) | SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
215,
834,
834,
2110,
15,
21208,
834,
584,
4280,
28027,
6,
926,
834,
21869,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
215,
410,
3,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
215,
834,
834,
2110,
15,
21208,
834,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
926,
834,
21869,
3274,
96,
15603,
9,
2682,
291,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Home team at the Blackburn Rovers Away game? | CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_70 WHERE away_team = "blackburn rovers" | [
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,
1210,
372,
44,
8,
1589,
7223,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19699,
7223,
3,
8843,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
provide the age and death status of robert hyden. | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT demographic.age, demographic.expire_flag FROM demographic WHERE demographic.name = "Robert Hyden" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
545,
6,
14798,
5,
994,
2388,
15,
834,
89,
5430,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
24372,
49,
17,
5555,
537,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Grid has a Rider of loic napoleone? | CREATE TABLE table_name_14 (grid INTEGER, rider VARCHAR) | SELECT AVG(grid) FROM table_name_14 WHERE rider = "loic napoleone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
3496,
26,
3,
21342,
17966,
6,
2564,
52,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
23644,
65,
3,
9,
25218,
13,
8450,
75,
3,
29,
9,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
2564,
52,
3274,
96,
40,
32,
447,
3,
29,
9,
14332,
782,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the result of the game that was played on week 15? | CREATE TABLE table_80416 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
) | SELECT "Result" FROM table_80416 WHERE "Week" = '15' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
591,
2938,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
23055,
353,
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,
96,
20119,
121,
21680,
953,
834,
2079,
591,
2938,
549,
17444,
427,
96,
518,
10266,
121,
3274,
3,
31,
1808,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the date for the winner Universitario after the 1943 season? | CREATE TABLE table_name_99 (
date VARCHAR,
winner VARCHAR,
season VARCHAR
) | SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
833,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
21,
8,
4668,
3,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
4668,
3274,
96,
7846,
155,
14414,
121,
3430,
774,
2490,
26436,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many winners were there when the mountains classification was not awarded? | CREATE TABLE table_25551880_2 (
winner VARCHAR,
mountains_classification VARCHAR
) | SELECT COUNT(winner) FROM table_25551880_2 WHERE mountains_classification = "not awarded" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3769,
2606,
2079,
834,
357,
41,
4668,
584,
4280,
28027,
6,
8022,
834,
4057,
2420,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
8969,
130,
132,
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,
2847,
17161,
599,
3757,
687,
61,
21680,
953,
834,
1828,
3769,
2606,
2079,
834,
357,
549,
17444,
427,
8022,
834,
4057,
2420,
3274,
96,
2264,
5539,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For those records from the products and each product's manufacturer, show me about the distribution of founder and the average of code , and group by attribute founder in a bar chart, display in ascending by the X please. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15248,
7,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
3642,
19973,
584,
4280,
28027,
599,
25502,
201,
3,
19145,
584,
4280,
28027,
599,
25502,
201,
19764,
17833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
19145,
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,
332,
4416,
1... |
Who is the trainer of the winner skylighter? | CREATE TABLE table_62985 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance" text,
"Time" text,
"Purse" text
) | SELECT "Trainer" FROM table_62985 WHERE "Winner" = 'skylighter' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
3916,
755,
41,
96,
476,
2741,
121,
490,
6,
96,
18455,
687,
121,
1499,
6,
96,
683,
3961,
15,
63,
121,
1499,
6,
96,
9402,
4899,
121,
1499,
6,
96,
667,
210,
687,
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,
9402,
4899,
121,
21680,
953,
834,
4056,
3916,
755,
549,
17444,
427,
96,
18455,
687,
121,
3274,
3,
31,
5352,
2242,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the score of the t10 player from australia? | CREATE TABLE table_name_61 (
score VARCHAR,
place VARCHAR,
country VARCHAR
) | SELECT score FROM table_name_61 WHERE place = "t10" AND country = "australia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
2604,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
2604,
13,
8,
3,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
286,
3274,
96,
17,
1714,
121,
3430,
684,
3274,
96,
2064,
8792,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When was someone first elected in the district with incumbent john smith? | CREATE TABLE table_2668378_18 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_2668378_18 WHERE incumbent = "John Smith" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3651,
519,
3940,
834,
2606,
41,
14672,
834,
19971,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
841,
166,
8160,
16,
8,
3939... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
166,
834,
19971,
21680,
953,
834,
2688,
3651,
519,
3940,
834,
2606,
549,
17444,
427,
28406,
3274,
96,
18300,
3931,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the away team score for carlton | CREATE TABLE table_20748 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Date" text,
"Crowd" real
) | SELECT "Away team score" FROM table_20748 WHERE "Home team" = 'Carlton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26426,
3707,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
517,
7775... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
2604,
121,
21680,
953,
834,
26426,
3707,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
30339,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which December has a Record of 21–8–4, and a Game larger than 33? | CREATE TABLE table_name_38 (december INTEGER, record VARCHAR, game VARCHAR) | SELECT AVG(december) FROM table_name_38 WHERE record = "21–8–4" AND game > 33 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
221,
75,
18247,
3,
21342,
17966,
6,
1368,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1882,
65,
3,
9,
11392,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
221,
75,
18247,
61,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
1368,
3274,
96,
2658,
104,
927,
104,
20364,
3430,
467,
2490,
5400,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What time did the season finale air on May 20, 2003? | CREATE TABLE table_46306 (
"Season" text,
"Timeslot" text,
"Premiere" text,
"Finale" text,
"TV season" text,
"Ranking" text,
"Viewers (in millions)" real
) | SELECT "Timeslot" FROM table_46306 WHERE "Finale" = 'may 20, 2003' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
1458,
948,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
13368,
7,
3171,
121,
1499,
6,
96,
10572,
2720,
60,
121,
1499,
6,
96,
371,
10270,
15,
121,
1499,
6,
96,
4562,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13368,
7,
3171,
121,
21680,
953,
834,
4448,
1458,
948,
549,
17444,
427,
96,
371,
10270,
15,
121,
3274,
3,
31,
13726,
16047,
3888,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What event had Xu Zhilin competing? | CREATE TABLE table_name_21 (
event VARCHAR,
name VARCHAR
) | SELECT event FROM table_name_21 WHERE name = "xu zhilin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
605,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
605,
141,
3,
4,
76,
1027,
107,
173,
77,
12166,
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,
605,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
564,
3274,
96,
226,
76,
3,
172,
107,
173,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What group on the island of Faray has a Height (m) of 32 and a Population of 0? | CREATE TABLE table_name_99 (
group VARCHAR,
island VARCHAR,
height__m_ VARCHAR,
population VARCHAR
) | SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
563,
584,
4280,
28027,
6,
3368,
584,
4280,
28027,
6,
3902,
834,
834,
51,
834,
584,
4280,
28027,
6,
2074,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
563,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
3902,
834,
834,
51,
834,
3274,
3538,
3430,
2074,
3274,
96,
632,
121,
3430,
3368,
3274,
96,
89,
9,
2866,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the at/vs against the New York Saints with over 16,042 in attendance? | CREATE TABLE table_45745 (
"Date" text,
"at/vs." text,
"Opponent'" text,
"Score'" text,
"Attendance" real,
"Record" text
) | SELECT "at/vs." FROM table_45745 WHERE "Opponent'" = 'new york saints' AND "Attendance" > '16,042' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3436,
2128,
41,
96,
308,
342,
121,
1499,
6,
96,
144,
87,
208,
7,
535,
1499,
6,
96,
667,
102,
9977,
31,
121,
1499,
6,
96,
134,
9022,
31,
121,
1499,
6,
96,
188,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
144,
87,
208,
7,
535,
21680,
953,
834,
591,
3436,
2128,
549,
17444,
427,
96,
667,
102,
9977,
31,
121,
3274,
3,
31,
5534,
25453,
15528,
7,
31,
3430,
96,
188,
17,
324,
26,
663,
121,
2490,
3,
31,
2938,
6,
634... |
What Episode has a Rating of 1.8, and Viewers (m) smaller than 2.73? | CREATE TABLE table_61324 (
"Episode" text,
"18-49" text,
"Viewers (m)" real,
"Rating" text,
"Share" text
) | SELECT "Episode" FROM table_61324 WHERE "Rating" = '1.8' AND "Viewers (m)" < '2.73' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
519,
2266,
41,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
2606,
18,
3647,
121,
1499,
6,
96,
15270,
277,
41,
51,
61,
121,
490,
6,
96,
448,
1014,
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,
427,
102,
159,
32,
221,
121,
21680,
953,
834,
4241,
519,
2266,
549,
17444,
427,
96,
448,
1014,
121,
3274,
3,
31,
16253,
31,
3430,
96,
15270,
277,
41,
51,
61,
121,
3,
2,
3,
31,
21280,
519,
31,
1,
-100,
-100... |
What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class? | CREATE TABLE table_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = "audi r8" AND class = "lmp900" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
6254,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
6,
22836,
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,
11003,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
979,
2490,
3,
14574,
3430,
22836,
3274,
96,
9,
5291,
3,
52,
927,
121,
3430,
853,
3274,
96,
40,
1167,
7015,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the nationality of all Utah Jazz Players, that played 1987-88? | CREATE TABLE table_name_41 (nationality VARCHAR, years_for_jazz VARCHAR) | SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
16557,
485,
584,
4280,
28027,
6,
203,
834,
1161,
834,
1191,
5271,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1157,
485,
13,
66,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1157,
485,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
203,
834,
1161,
834,
1191,
5271,
3274,
96,
24151,
25580,
927,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What are the carriers of devices whose software platforms are not "Android"? | CREATE TABLE device (Carrier VARCHAR, Software_Platform VARCHAR) | SELECT Carrier FROM device WHERE Software_Platform <> 'Android' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1407,
41,
6936,
6711,
584,
4280,
28027,
6,
4300,
834,
10146,
2032,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
16642,
13,
1904,
3,
2544,
889,
5357,
33,
59,
96,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1184,
6711,
21680,
1407,
549,
17444,
427,
4300,
834,
10146,
2032,
3,
2,
3155,
3,
31,
7175,
8184,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the mens doubles for dimitrij ovtcharov | CREATE TABLE table_30325 (
"Year Location" text,
"Mens Singles" text,
"Womens Singles" text,
"Mens Doubles" text,
"Womens Doubles" text
) | SELECT "Mens Doubles" FROM table_30325 WHERE "Mens Singles" = 'Dimitrij Ovtcharov' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23335,
1828,
41,
96,
476,
2741,
10450,
121,
1499,
6,
96,
329,
35,
7,
7871,
7,
121,
1499,
6,
96,
518,
32,
904,
7,
7871,
7,
121,
1499,
6,
96,
329,
35,
7,
8405,
7,
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,
329,
35,
7,
8405,
7,
121,
21680,
953,
834,
23335,
1828,
549,
17444,
427,
96,
329,
35,
7,
7871,
7,
121,
3274,
3,
31,
308,
23,
1538,
22276,
411,
208,
17,
3441,
8843,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Surface has an Opponent in the final of daniella dominikovic? | CREATE TABLE table_name_5 (
surface VARCHAR,
opponent_in_the_final VARCHAR
) | SELECT surface FROM table_name_5 WHERE opponent_in_the_final = "daniella dominikovic" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
1774,
584,
4280,
28027,
6,
15264,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
18884,
65,
46,
4495,
9977,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1774,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
15264,
834,
77,
834,
532,
834,
12406,
3274,
96,
26,
2738,
5303,
10138,
12027,
7287,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Tell me the player for round more than 5 and position of c | CREATE TABLE table_57287 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
) | SELECT "Player" FROM table_57287 WHERE "Round" > '5' AND "Position" = 'c' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
357,
4225,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
9939,
7883,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
3436,
357,
4225,
549,
17444,
427,
96,
448,
32,
1106,
121,
2490,
3,
31,
755,
31,
3430,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
75,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the 1 fraction when the reverse is hare? | CREATE TABLE table_1682865_1 (
£1_fraction VARCHAR,
reverse VARCHAR
) | SELECT £1_fraction FROM table_1682865_1 WHERE reverse = "Hare" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24274,
2577,
4122,
834,
536,
41,
11140,
834,
22513,
584,
4280,
28027,
6,
7211,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
209,
12211,
116,
8,
7211,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11140,
834,
22513,
21680,
953,
834,
24274,
2577,
4122,
834,
536,
549,
17444,
427,
7211,
3274,
96,
15537,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What team does bobby hillin jr. (r) drive a buick regal for? | CREATE TABLE table_name_8 (
team VARCHAR,
make VARCHAR,
driver VARCHAR
) | SELECT team FROM table_name_8 WHERE make = "buick regal" AND driver = "bobby hillin jr. (r)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
372,
584,
4280,
28027,
6,
143,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
405,
3,
17396,
969,
9956,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
143,
3274,
96,
3007,
3142,
3,
24080,
121,
3430,
2535,
3274,
96,
17396,
969,
9956,
77,
3,
354,
52,
5,
41,
52,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who did Tony Oakey win against when he had type of w pts 12? | CREATE TABLE table_name_54 (opponent VARCHAR, result VARCHAR, type VARCHAR) | SELECT opponent FROM table_name_54 WHERE result = "win" AND type = "w pts 12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
32,
102,
9977,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
410,
9137,
7858,
15,
63,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
741,
3274,
96,
3757,
121,
3430,
686,
3274,
96,
210,
3,
102,
17,
7,
586,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the competition that was played in Zurich? | CREATE TABLE table_71078 (
"DATE" text,
"SCORE" text,
"H.T." text,
"VENUE" text,
"COMPETITION" text
) | SELECT "COMPETITION" FROM table_71078 WHERE "VENUE" = 'zurich' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
1714,
3940,
41,
96,
308,
6048,
121,
1499,
6,
96,
11151,
4386,
121,
1499,
6,
96,
566,
5,
382,
535,
1499,
6,
96,
553,
5332,
5078,
121,
1499,
6,
96,
6657,
5668,
5494,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6657,
5668,
5494,
9562,
121,
21680,
953,
834,
940,
1714,
3940,
549,
17444,
427,
96,
553,
5332,
5078,
121,
3274,
3,
31,
1000,
3723,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes | CREATE TABLE table_name_53 (
sydney VARCHAR,
gold_coast VARCHAR,
melbourne VARCHAR,
perth VARCHAR,
adelaide VARCHAR
) | SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
3,
7,
63,
26,
3186,
584,
4280,
28027,
6,
2045,
834,
25500,
584,
4280,
28027,
6,
3,
2341,
26255,
584,
4280,
28027,
6,
399,
189,
584,
4280,
28027,
6,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
7,
63,
26,
3186,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
399,
189,
3274,
96,
29,
32,
121,
3430,
3,
15311,
5385,
3274,
96,
29,
32,
121,
3430,
3,
2341,
26255,
3274,
96,
10070,
121,
3430,
2045,
834,
2... |
What happened when the new points was 1705? | CREATE TABLE table_20855452_4 (
status VARCHAR,
new_points VARCHAR
) | SELECT status FROM table_20855452_4 WHERE new_points = 1705 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23946,
3769,
2128,
357,
834,
591,
41,
2637,
584,
4280,
28027,
6,
126,
834,
2700,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2817,
116,
8,
126,
979,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2637,
21680,
953,
834,
23946,
3769,
2128,
357,
834,
591,
549,
17444,
427,
126,
834,
2700,
7,
3274,
1003,
3076,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Result has a Venue of home, and a Date of 3 october 1987? | CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3,
20119,
65,
3,
9,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
5669,
3274,
96,
5515,
121,
3430,
833,
3274,
96,
519,
3,
32,
75,
235,
1152,
12701,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Trophy with a Season with 2008 2009? | CREATE TABLE table_name_78 (
trophy VARCHAR,
season VARCHAR
) | SELECT trophy FROM table_name_78 WHERE season = "2008–2009" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
23921,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
26912,
28,
3,
9,
7960,
28,
2628,
2464,
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,
23921,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
774,
3274,
96,
16128,
104,
16660,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the score for tom watson? | CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_51 WHERE player = "tom watson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
7,
9022,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
2604,
21,
12,
51,
8036,
17,
739,
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,
2604,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
1959,
3274,
96,
235,
51,
8036,
17,
739,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Where is the Hometown of the person that attended Kennedy-Kenrick Catholic High School? | CREATE TABLE table_name_64 (
hometown VARCHAR,
school VARCHAR
) | SELECT hometown FROM table_name_64 WHERE school = "kennedy-kenrick catholic high school" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
22295,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
19,
8,
1210,
3540,
13,
8,
568,
24,
5526,
14532,
18,
439,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22295,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
496,
3274,
96,
9376,
15,
26,
63,
18,
2217,
5206,
1712,
26641,
306,
496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Population is the highest one that has a Density (inhabitants/km 2) larger than 2805.8, and a Rank of 1st, and an Altitude (mslm) smaller than 122? | CREATE TABLE table_75418 (
"Rank" text,
"City" text,
"Population" real,
"Area (km 2 )" real,
"Density (inhabitants/km 2 )" real,
"Altitude (mslm)" real
) | SELECT MAX("Population") FROM table_75418 WHERE "Density (inhabitants/km 2 )" > '2805.8' AND "Rank" = '1st' AND "Altitude (mslm)" < '122' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
591,
2606,
41,
96,
22557,
121,
1499,
6,
96,
254,
485,
121,
1499,
6,
96,
27773,
7830,
121,
490,
6,
96,
188,
864,
41,
5848,
204,
3,
61,
121,
490,
6,
96,
308,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
27773,
7830,
8512,
21680,
953,
834,
3072,
591,
2606,
549,
17444,
427,
96,
308,
35,
7,
485,
41,
77,
29884,
7,
87,
5848,
204,
3,
61,
121,
2490,
3,
31,
17518,
9125,
927,
31,
3430,
96,
22557,
121,... |
When 9 is the rank who are the couple? | CREATE TABLE table_19744915_18 (
couple VARCHAR,
rank VARCHAR
) | SELECT couple FROM table_19744915_18 WHERE rank = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
4581,
3647,
1808,
834,
2606,
41,
1158,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
668,
19,
8,
11003,
113,
33,
8,
1158,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1158,
21680,
953,
834,
2294,
4581,
3647,
1808,
834,
2606,
549,
17444,
427,
11003,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many goals were scored with a pos larger than 4 and active in 2001-? | CREATE TABLE table_10761 (
"Pos." real,
"Player" text,
"Goals Scored" text,
"Games Played" text,
"Years Active" text
) | SELECT "Goals Scored" FROM table_10761 WHERE "Pos." > '4' AND "Years Active" = '2001-' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18057,
4241,
41,
96,
345,
32,
7,
535,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
6221,
5405,
17763,
26,
121,
1499,
6,
96,
23055,
7,
2911,
15,
26,
121,
1499,
6,
96,
476,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6221,
5405,
17763,
26,
121,
21680,
953,
834,
18057,
4241,
549,
17444,
427,
96,
345,
32,
7,
535,
2490,
3,
31,
591,
31,
3430,
96,
476,
2741,
7,
11383,
121,
3274,
3,
31,
23658,
18,
31,
1,
-100,
-100,
-100,
-100... |
Which Hometown has a Height of 6-10? | CREATE TABLE table_name_90 (
hometown VARCHAR,
height VARCHAR
) | SELECT hometown FROM table_name_90 WHERE height = "6-10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
22295,
584,
4280,
28027,
6,
3902,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1210,
3540,
65,
3,
9,
24231,
13,
431,
4536,
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,
22295,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
3902,
3274,
96,
948,
4536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
name a match where the difference in score is higher than 50 . | CREATE TABLE table_204_260 (
id number,
"date" text,
"venue" text,
"opponent" text,
"result" text,
"tournament" text,
"scored" number
) | SELECT "date" FROM table_204_260 WHERE ABS("result" - "result") > 50 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
18365,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
60,
7,
83,
17,
121,
1499,
6,
96,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5522,
121,
21680,
953,
834,
26363,
834,
18365,
549,
17444,
427,
20798,
599,
121,
60,
7,
83,
17,
121,
3,
18,
96,
60,
7,
83,
17,
8512,
2490,
943,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the total number of episodes for coat of cash wearing celebrity is matt di angelo | CREATE TABLE table_72738 (
"Episode Number" real,
"Air Date" text,
"Guest Host" text,
"Musical Guest (Song performed)" text,
"Who knows the most about the guest host? Panelists" text,
"Coat Of Cash Wearing Celebrity" text
) | SELECT COUNT("Episode Number") FROM table_72738 WHERE "Coat Of Cash Wearing Celebrity" = 'Matt Di Angelo' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2555,
3747,
41,
96,
427,
102,
159,
32,
221,
7720,
121,
490,
6,
96,
20162,
7678,
121,
1499,
6,
96,
9105,
222,
1546,
7,
17,
121,
1499,
6,
96,
29035,
138,
14252,
41,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
427,
102,
159,
32,
221,
7720,
8512,
21680,
953,
834,
940,
2555,
3747,
549,
17444,
427,
96,
3881,
144,
1129,
8835,
16883,
53,
26071,
485,
121,
3274,
3,
31,
329,
144,
17,
2043,
5126,
32,
31,
1... |
What is the average age of players from USA? | CREATE TABLE player (
player_id text,
birth_year text,
birth_month text,
birth_day text,
birth_country text,
birth_state text,
birth_city text,
death_year text,
death_month text,
death_day text,
death_country text,
death_state text,
death_city text,
name_first tex... | SELECT AVG(death_year - birth_year) FROM player WHERE birth_country = "USA" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1959,
41,
1959,
834,
23,
26,
1499,
6,
3879,
834,
1201,
1499,
6,
3879,
834,
7393,
1499,
6,
3879,
834,
1135,
1499,
6,
3879,
834,
17529,
1499,
6,
3879,
834,
5540,
1499,
6,
3879,
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,
71,
17217,
599,
221,
9,
189,
834,
1201,
3,
18,
3879,
834,
1201,
61,
21680,
1959,
549,
17444,
427,
3879,
834,
17529,
3274,
96,
17663,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show the players from college UCLA. | CREATE TABLE match_season (
Player VARCHAR,
College VARCHAR
) | SELECT Player FROM match_season WHERE College = "UCLA" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1588,
834,
9476,
41,
12387,
584,
4280,
28027,
6,
1888,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
1508,
45,
1900,
28685,
5,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12387,
21680,
1588,
834,
9476,
549,
17444,
427,
1888,
3274,
96,
6463,
4569,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many nationalities does athlete Casey Jacobsen have? | CREATE TABLE table_20862 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
) | SELECT COUNT("Nationality") FROM table_20862 WHERE "Player" = 'Casey Jacobsen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23946,
4056,
41,
96,
15800,
49,
121,
1499,
6,
96,
4168,
535,
490,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
7,
21,
3,
13313,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24732,
485,
8512,
21680,
953,
834,
23946,
4056,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
254,
9,
7,
15,
63,
9846,
7,
35,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In which round was Gabriel Veiga the opponent? | CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
7775,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
84,
1751,
47,
11997,
3901,
12581,
8,
15264,
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,
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,
1751,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
15264,
3274,
96,
21784,
14018,
3,
162,
12581,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What year was the class 253 larger than 18 built? | CREATE TABLE table_name_10 (
year_built VARCHAR,
class VARCHAR,
number VARCHAR
) | SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
215,
834,
16152,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
6,
381,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
47,
8,
853,
944,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
215,
834,
16152,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
853,
3274,
96,
4057,
944,
519,
121,
3430,
381,
2490,
507,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the drawn that has 22 for played, and 96 for points? | CREATE TABLE table_37172 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Drawn" FROM table_37172 WHERE "Played" = '22' AND "Points" = '96' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
27156,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
22512,
7,
21,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
10936,
29,
121,
21680,
953,
834,
4118,
27156,
549,
17444,
427,
96,
15800,
15,
26,
121,
3274,
3,
31,
2884,
31,
3430,
96,
22512,
7,
121,
3274,
3,
31,
4314,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the number of the episode directed by Whitney Ransick? | CREATE TABLE table_2345558_1 (_number VARCHAR, director VARCHAR) | SELECT _number FROM table_2345558_1 WHERE director = "Whitney Ransick" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2128,
755,
3449,
834,
536,
41,
834,
5525,
1152,
584,
4280,
28027,
6,
2090,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
381,
13,
8,
5640,
6640,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
834,
5525,
1152,
21680,
953,
834,
2773,
2128,
755,
3449,
834,
536,
549,
17444,
427,
2090,
3274,
96,
518,
10536,
3186,
15039,
7,
3142,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the opponent for 7-1-0 | CREATE TABLE table_21007907_1 (
opponent VARCHAR,
record VARCHAR
) | SELECT opponent FROM table_21007907_1 WHERE record = "7-1-0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2915,
4440,
4560,
834,
536,
41,
15264,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
15264,
21,
489,
18,
18930,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
357,
2915,
4440,
4560,
834,
536,
549,
17444,
427,
1368,
3274,
96,
940,
18,
18930,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Count the Earnings per share ( ) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5? | CREATE TABLE table_60287 (
"Year to April" real,
"Revenue (US $million)" real,
"EBIT (US $m)" real,
"Net profit (US $m)" real,
"Earnings per share (\u00a2)" real
) | SELECT SUM("Earnings per share (\u00a2)") FROM table_60287 WHERE "Year to April" < '2012' AND "Revenue (US $million)" = '432.6' AND "EBIT (US $m)" < '150.5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
357,
4225,
41,
96,
476,
2741,
12,
1186,
121,
490,
6,
96,
1649,
15098,
41,
3063,
1514,
17030,
61,
121,
490,
6,
96,
427,
26417,
41,
3063,
1514,
51,
61,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
427,
291,
29,
53,
7,
399,
698,
41,
2,
76,
1206,
9,
7318,
8512,
21680,
953,
834,
3328,
357,
4225,
549,
17444,
427,
96,
476,
2741,
12,
1186,
121,
3,
2,
3,
31,
12172,
31,
3430,
96,
1649,
1509... |
Who is every Under-15 if Under-11 is Reeham Sedky? | CREATE TABLE table_28623 (
"Year" real,
"Under-11" text,
"Under-13" text,
"Under-15" text,
"Under-17" text,
"Under-19" text
) | SELECT "Under-15" FROM table_28623 WHERE "Under-11" = 'Reeham Sedky' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3840,
2773,
41,
96,
476,
2741,
121,
490,
6,
96,
5110,
588,
9169,
121,
1499,
6,
96,
5110,
588,
13056,
121,
1499,
6,
96,
5110,
588,
10106,
121,
1499,
6,
96,
5110,
588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5110,
588,
10106,
121,
21680,
953,
834,
357,
3840,
2773,
549,
17444,
427,
96,
5110,
588,
9169,
121,
3274,
3,
31,
1649,
15,
1483,
679,
26,
3781,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Total medals the Year Yugoslavia had 1 Sport and won 0 Gold, Bronze or Silver? | CREATE TABLE table_5986 (
"Year" text,
"Sports" text,
"Competitors" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" text
) | SELECT "Total" FROM table_5986 WHERE "Gold" = '0' AND "Bronze" = '0' AND "Silver" = '0' AND "Sports" = '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
3840,
41,
96,
476,
2741,
121,
1499,
6,
96,
17682,
7,
121,
1499,
6,
96,
5890,
19427,
127,
7,
121,
1499,
6,
96,
23576,
121,
1499,
6,
96,
134,
173,
624,
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,
3696,
1947,
121,
21680,
953,
834,
3390,
3840,
549,
17444,
427,
96,
23576,
121,
3274,
3,
31,
632,
31,
3430,
96,
22780,
29,
776,
121,
3274,
3,
31,
632,
31,
3430,
96,
134,
173,
624,
121,
3274,
3,
31,
632,
31,
... |
What is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct? | CREATE TABLE table_42822 (
"Locale" text,
"Skip" text,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot Pct." real
) | SELECT COUNT("Blank Ends") FROM table_42822 WHERE "Stolen Ends" = '17' AND "Skip" = 'jennifer jones' AND "Shot Pct." > '83' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2577,
2884,
41,
96,
434,
32,
1489,
15,
121,
1499,
6,
96,
134,
2168,
102,
121,
1499,
6,
96,
8532,
26,
7,
549,
106,
121,
490,
6,
96,
8532,
26,
7,
19576,
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,
2847,
17161,
599,
121,
279,
40,
5979,
3720,
7,
8512,
21680,
953,
834,
591,
2577,
2884,
549,
17444,
427,
96,
134,
235,
40,
35,
3720,
7,
121,
3274,
3,
31,
2517,
31,
3430,
96,
134,
2168,
102,
121,
3274,
3,
31,
354,... |
What are the details of the markets that can be accessed by walk or bus? | CREATE TABLE TOURIST_ATTRACTIONS (
Tourist_Attraction_ID VARCHAR,
How_to_Get_There VARCHAR
)
CREATE TABLE Street_Markets (
Market_Details VARCHAR,
Market_ID VARCHAR
) | SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" OR T2.How_to_Get_There = "bus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
332,
9131,
13582,
834,
24642,
448,
30518,
134,
41,
21375,
834,
188,
17,
10559,
834,
4309,
584,
4280,
28027,
6,
571,
834,
235,
834,
20361,
834,
7238,
584,
4280,
28027,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
22572,
834,
2962,
5756,
7,
21680,
1887,
834,
22572,
7,
6157,
332,
536,
3,
15355,
3162,
332,
9131,
13582,
834,
24642,
448,
30518,
134,
6157,
332,
357,
9191,
332,
5411,
22572,
834,
4309,
3274,
332,
4416,
382,... |
What is the GDP (PPP) (USD, per capita) for Algeria? | CREATE TABLE table_2155836_1 (_per_capita_ VARCHAR, gdp__ppp___usd INTEGER, country VARCHAR) | SELECT MIN(gdp__ppp___usd), _per_capita_ FROM table_2155836_1 WHERE country = "Algeria" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
1808,
3449,
3420,
834,
536,
41,
834,
883,
834,
4010,
155,
9,
834,
584,
4280,
28027,
6,
3,
122,
26,
102,
834,
834,
102,
1572,
834,
834,
834,
302,
26,
3,
21342,
17966,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
122,
26,
102,
834,
834,
102,
1572,
834,
834,
834,
302,
26,
201,
3,
834,
883,
834,
4010,
155,
9,
834,
21680,
953,
834,
357,
1808,
3449,
3420,
834,
536,
549,
17444,
427,
684,
3274,
96,
188,
40,
122,... |
What is the cable rank for episode no. 4? | CREATE TABLE table_24399615_3 (cable_rank VARCHAR, episode_no VARCHAR) | SELECT cable_rank FROM table_24399615_3 WHERE episode_no = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3288,
4314,
1808,
834,
519,
41,
75,
179,
834,
6254,
584,
4280,
28027,
6,
5640,
834,
29,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4807,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4807,
834,
6254,
21680,
953,
834,
2266,
3288,
4314,
1808,
834,
519,
549,
17444,
427,
5640,
834,
29,
32,
3274,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For each station, bin its longitude divided by zero as buckets, and count the frequency in each bucket, order in desc by the y axis. | CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE trip (
id INTEGER,
d... | SELECT long, COUNT(long) FROM station ORDER BY COUNT(long) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2637,
41,
2478,
834,
23,
26,
3,
21342,
17966,
6,
13490,
834,
28843,
3,
21342,
17966,
6,
12908,
7,
834,
28843,
3,
21342,
17966,
6,
97,
3,
3463,
4,
382,
3,
61,
3,
32102,
32103,
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,
307,
6,
2847,
17161,
599,
2961,
61,
21680,
2478,
4674,
11300,
272,
476,
2847,
17161,
599,
2961,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the points for thierry tassin category:articles with hcards | CREATE TABLE table_22758 (
"Name" text,
"Country" text,
"Seasons" text,
"Championship Titles" text,
"Race entries (Starts)" text,
"Poles" real,
"Wins" real,
"Podiums" real,
"Fastest Laps" real,
"Points" text
) | SELECT "Points" FROM table_22758 WHERE "Name" = 'Thierry Tassin Category:Articles with hCards' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2555,
3449,
41,
96,
23954,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
15,
9,
6577,
121,
1499,
6,
96,
254,
1483,
12364,
2009,
11029,
7,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22512,
7,
121,
21680,
953,
834,
357,
2555,
3449,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
30987,
2067,
7,
7,
77,
17459,
10,
7754,
447,
965,
28,
3,
107,
6936,
26,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
What's the value for oklahoma when texas is kennedy? | CREATE TABLE table_name_6 (
oklahoma VARCHAR,
texas VARCHAR
) | SELECT oklahoma FROM table_name_6 WHERE texas = "kennedy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
3,
32,
8142,
10207,
9,
584,
4280,
28027,
6,
3,
10354,
9,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
701,
21,
3,
32,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
3,
32,
8142,
10207,
9,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
3,
10354,
9,
7,
3274,
96,
9376,
15,
26,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the score on 5 October 2004? | CREATE TABLE table_12132 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) | SELECT "Score" FROM table_12132 WHERE "Date" = '5 october 2004' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
23757,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
667,
102,
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,
96,
134,
9022,
121,
21680,
953,
834,
2122,
23757,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
755,
3,
32,
75,
235,
1152,
4406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the years won when the to par is +5? | CREATE TABLE table_name_76 (year_s__won VARCHAR, to_par VARCHAR) | SELECT year_s__won FROM table_name_76 WHERE to_par = "+5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
1201,
834,
7,
834,
834,
210,
106,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
203,
751,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
834,
7,
834,
834,
210,
106,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
12,
834,
1893,
3274,
96,
1220,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the title of season 2? | CREATE TABLE table_2409041_6 (
title VARCHAR,
no_in_season VARCHAR
) | SELECT title FROM table_2409041_6 WHERE no_in_season = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11944,
2394,
4853,
834,
948,
41,
2233,
584,
4280,
28027,
6,
150,
834,
77,
834,
9476,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2233,
13,
774,
204,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
21680,
953,
834,
11944,
2394,
4853,
834,
948,
549,
17444,
427,
150,
834,
77,
834,
9476,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what was the score on june 16? | CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_77 WHERE date = "june 16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
47,
8,
2604,
30,
3,
6959,
15,
898,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
833,
3274,
96,
6959,
15,
898,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the rank when the laps are fewer than 137 and the qual is 116.470? | CREATE TABLE table_69170 (
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
) | SELECT "Rank" FROM table_69170 WHERE "Laps" < '137' AND "Qual" = '116.470' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
536,
2518,
41,
96,
7681,
17,
121,
1499,
6,
96,
5991,
138,
121,
1499,
6,
96,
22557,
121,
1499,
6,
96,
371,
77,
1273,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22557,
121,
21680,
953,
834,
3951,
536,
2518,
549,
17444,
427,
96,
3612,
102,
7,
121,
3,
2,
3,
31,
24636,
31,
3430,
96,
5991,
138,
121,
3274,
3,
31,
20159,
5,
27760,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100... |
How many candidates were there when Henry Garland Dupr was the incumbent? | CREATE TABLE table_18725 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT COUNT("Candidates") FROM table_18725 WHERE "Incumbent" = 'Henry Garland Dupré' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
1828,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
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,
121,
14050,
12416,
6203,
8512,
21680,
953,
834,
25828,
1828,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
566,
35,
651,
2776,
7721,
970,
16280,
31,
1,
-100,
-100,
-100,
-100,
-100,
-... |
What is the label on the United States? | CREATE TABLE table_name_88 (
label VARCHAR,
country VARCHAR
) | SELECT label FROM table_name_88 WHERE country = "united states" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
3783,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3783,
30,
8,
907,
1323,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3783,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
684,
3274,
96,
15129,
15,
26,
2315,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100? | CREATE TABLE table_43989 (
"Name" text,
"Rating" real,
"Comp" real,
"Long" real,
"Yds/game" real
) | SELECT SUM("Comp") FROM table_43989 WHERE "Yds/game" < '209.5' AND "Name" = 'brytus' AND "Rating" < '100' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3288,
3914,
41,
96,
23954,
121,
1499,
6,
96,
448,
1014,
121,
490,
6,
96,
5890,
102,
121,
490,
6,
96,
434,
2444,
121,
490,
6,
96,
476,
26,
7,
87,
7261,
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,
180,
6122,
599,
121,
5890,
102,
8512,
21680,
953,
834,
591,
3288,
3914,
549,
17444,
427,
96,
476,
26,
7,
87,
7261,
121,
3,
2,
3,
31,
1755,
22321,
31,
3430,
96,
23954,
121,
3274,
3,
31,
115,
651,
17,
302,
31,
3... |
What was the Steeler's record when they played against the new york Jets? | CREATE TABLE table_name_95 (
record VARCHAR,
opponent VARCHAR
) | SELECT record FROM table_name_95 WHERE opponent = "new york jets" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
1368,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
6349,
49,
31,
7,
1368,
116,
79,
1944,
581,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
15264,
3274,
96,
5534,
25453,
8757,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What place is player leo diegel? | CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_38 WHERE player = "leo diegel" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
4687,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
286,
19,
1959,
90,
32,
67,
1803,
58,
1,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
1959,
3274,
96,
109,
32,
67,
1803,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Venue had an Away team score of 7.15 (57) on June 4, 1973? | CREATE TABLE table_54422 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_54422 WHERE "Away team score" = '7.15 (57)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
4165,
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,
553,
35,
76,
15,
121,
21680,
953,
834,
5062,
4165,
357,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
25059,
755,
41,
3436,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When was successor David Atwood (R) seated? | CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) | SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "David Atwood (R)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
2517,
519,
2128,
834,
591,
41,
5522,
834,
7,
17431,
24901,
834,
22933,
584,
4280,
28027,
6,
22261,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
22261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
834,
7,
17431,
24901,
834,
22933,
21680,
953,
834,
2266,
2517,
519,
2128,
834,
591,
549,
17444,
427,
22261,
3274,
96,
308,
9,
6961,
486,
2037,
41,
448,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Arena o Kazan? | CREATE TABLE table_35377 (
"Previous season" text,
"Team" text,
"Town" text,
"Arena (capacity)" text,
"Website" text,
"Head Coach" text,
"Foreign Players (max. 2)" text
) | SELECT "Arena (capacity)" FROM table_35377 WHERE "Town" = 'kazan' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
519,
4013,
41,
96,
10572,
19117,
774,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
382,
9197,
121,
1499,
6,
96,
188,
1536,
9,
41,
4010,
9,
6726,
61,
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,
96,
188,
1536,
9,
41,
4010,
9,
6726,
61,
121,
21680,
953,
834,
2469,
519,
4013,
549,
17444,
427,
96,
382,
9197,
121,
3274,
3,
31,
1258,
10241,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the minimum age of single patients with admission in or after the year 2158? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear >= "2158" | [
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,
3,
17684,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
1635,
9538,
834,
8547,
302,
3274,
96,
134,
2365,
3765,
121,
3430,
14798,
5,
20466,
17,
1201,
2490,
2423,
96,
2658,
3449,
121,
1,
-100,... |
What was the result of the game played in hurst? | CREATE TABLE table_name_39 (result_f___a VARCHAR, h___a VARCHAR) | SELECT result_f___a FROM table_name_39 WHERE h___a = "hurst" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
60,
7,
83,
17,
834,
89,
834,
834,
834,
9,
584,
4280,
28027,
6,
3,
107,
834,
834,
834,
9,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
834,
89,
834,
834,
834,
9,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
3,
107,
834,
834,
834,
9,
3274,
96,
23765,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
On what date was the opponent the Miami Dolphins? | CREATE TABLE table_8744 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Date" FROM table_8744 WHERE "Opponent" = 'miami dolphins' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4225,
3628,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
4225,
3628,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
51,
23,
3690,
25903,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many times were Duke the opponents? | CREATE TABLE table_23873 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Tar Heels points" real,
"Opponents" real,
"Record" text
) | SELECT COUNT("Opponents") FROM table_23873 WHERE "Opponent" = 'Duke' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3747,
4552,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
382,
291,
216,
3573,
979,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
667,
102,
9977,
7,
8512,
21680,
953,
834,
357,
3747,
4552,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
12998,
1050,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the amount of assists for richmond kickers and points larger than 24 | CREATE TABLE table_name_32 (
assists INTEGER,
club VARCHAR,
points VARCHAR
) | SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
13041,
3,
21342,
17966,
6,
1886,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
866,
13,
13041,
21,
2354... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
6500,
7,
17,
7,
61,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
1886,
3274,
96,
3723,
6764,
4583,
277,
121,
3430,
979,
2490,
997,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the record after the game on May 1, 2004? | CREATE TABLE table_44553 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game site" text
) | SELECT "Record" FROM table_44553 WHERE "Date" = 'may 1, 2004' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2128,
4867,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
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,
96,
1649,
7621,
121,
21680,
953,
834,
591,
2128,
4867,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
13726,
1914,
4406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.