NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is the average for the RB with an 8 yard long? | CREATE TABLE table_name_7 (avg VARCHAR, long VARCHAR) | SELECT COUNT(avg) FROM table_name_7 WHERE long = 8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
9,
208,
122,
584,
4280,
28027,
6,
307,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
21,
8,
3,
12108,
28,
46,
505,
6178,
307,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
9,
208,
122,
61,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
307,
3274,
505,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Bar graph to show department_id from different last name, sort from high to low by the names. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(... | SELECT LAST_NAME, DEPARTMENT_ID FROM employees ORDER BY LAST_NAME DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
301,
12510,
834,
567,
17683,
6,
3396,
19846,
11810,
834,
4309,
21680,
1652,
4674,
11300,
272,
476,
301,
12510,
834,
567,
17683,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What shows for 1992 when 1988 is A, at the Australian Open? | CREATE TABLE table_name_43 (tournament VARCHAR) | SELECT 1992 FROM table_name_43 WHERE 1988 = "a" AND tournament = "australian open" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1267,
21,
9047,
116,
10414,
19,
71,
6,
44,
8,
3746,
2384,
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,
9047,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
10414,
3274,
96,
9,
121,
3430,
5892,
3274,
96,
402,
3109,
9928,
539,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which is the most popular voting method for Hall of Fame in 2000? | CREATE TABLE player_award (
player_id text,
award_id text,
year number,
league_id text,
tie text,
notes text
)
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_ye... | SELECT votedby FROM hall_of_fame WHERE yearid = "2000" GROUP BY votedby ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1959,
834,
9,
2239,
41,
1959,
834,
23,
26,
1499,
6,
2760,
834,
23,
26,
1499,
6,
215,
381,
6,
5533,
834,
23,
26,
1499,
6,
6177,
1499,
6,
3358,
1499,
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,
3,
11060,
969,
21680,
6358,
834,
858,
834,
89,
265,
15,
549,
17444,
427,
215,
23,
26,
3274,
96,
13527,
121,
350,
4630,
6880,
272,
476,
3,
11060,
969,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
... |
A pie chart showing the proportion of different competition types. | CREATE TABLE club (
Club_ID int,
name text,
Region text,
Start_year text
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
Club_ID int,
Apps real,
Tries real,
Goals text,
Points real
)
CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real... | SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1886,
41,
1949,
834,
4309,
16,
17,
6,
564,
1499,
6,
6163,
1499,
6,
3273,
834,
1201,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1959,
41,
12387,
834,
4309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
15571,
834,
6137,
6,
2847,
17161,
599,
5890,
4995,
4749,
834,
6137,
61,
21680,
2259,
350,
4630,
6880,
272,
476,
15571,
834,
6137,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the district where the incumbent is richard kelly? | CREATE TABLE table_18336 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "District" FROM table_18336 WHERE "Incumbent" = 'Richard Kelly' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24361,
3420,
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,
96,
308,
23,
20066,
121,
21680,
953,
834,
24361,
3420,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
448,
362,
986,
10605,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What number of bonus points did Stade Fran ais? | CREATE TABLE table_67280 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Bonus points" text,
"Points" text
) | SELECT "Bonus points" FROM table_67280 WHERE "Club" = 'stade français' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
17518,
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,
279,
106,
302,
979,
121,
21680,
953,
834,
3708,
17518,
549,
17444,
427,
96,
254,
11158,
121,
3274,
3,
31,
2427,
221,
7244,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is the number of patients whose days of hospital stay is greater than 27 and procedure icd9 code is 3607? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "27" AND procedures.icd9_code = "3607" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
the number of times david oliver placed 1st in 100m hurdles between the years 2006-2013 . | CREATE TABLE table_203_192 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
) | SELECT COUNT(*) FROM table_203_192 WHERE "position" = 1 AND "notes" = '110 m hurdles' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
19978,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
7977,
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,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
23330,
834,
19978,
549,
17444,
427,
96,
4718,
121,
3274,
209,
3430,
96,
7977,
7,
121,
3274,
3,
31,
19277,
3,
51,
23463,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the lowest number of sheep and goats after 1931, with fewer than 2518 cows and more than 2604.8 horses? | CREATE TABLE table_name_42 (sheep_and_goats INTEGER, total_horses VARCHAR, year VARCHAR, cows VARCHAR) | SELECT MIN(sheep_and_goats) FROM table_name_42 WHERE year > 1931 AND cows < 2518 AND total_horses > 2604.8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
7,
88,
15,
102,
834,
232,
834,
839,
144,
7,
3,
21342,
17966,
6,
792,
834,
107,
127,
2260,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
9321,
7,
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,
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,
7,
88,
15,
102,
834,
232,
834,
839,
144,
7,
61,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
215,
2490,
957,
3341,
3430,
9321,
7,
3,
2,
944,
2606,
3430,
792,
834,
107,
127,
2260,
2490,
3,
... |
Who was the away team when Carlton was the home team? | CREATE TABLE table_14312471_1 (
away_team VARCHAR,
home_team VARCHAR
) | SELECT away_team FROM table_14312471_1 WHERE home_team = "Carlton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25133,
22504,
4450,
834,
536,
41,
550,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
550,
372,
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,
550,
834,
11650,
21680,
953,
834,
25133,
22504,
4450,
834,
536,
549,
17444,
427,
234,
834,
11650,
3274,
96,
30339,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Left Office, when Party is Vacant (1999-2001)? | CREATE TABLE table_name_83 (
left_office VARCHAR,
party VARCHAR
) | SELECT left_office FROM table_name_83 WHERE party = "vacant (1999-2001)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
646,
834,
19632,
584,
4280,
28027,
6,
1088,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
14298,
2126,
6,
116,
3450,
19,
3,
25203,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
646,
834,
19632,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
1088,
3274,
96,
8938,
288,
2863,
3264,
18,
23658,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the result in oakland? | CREATE TABLE table_77834 (
"Goal" real,
"Date" text,
"Venue" text,
"Result" text,
"Competition" text
) | SELECT "Result" FROM table_77834 WHERE "Venue" = 'oakland' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
4591,
591,
41,
96,
6221,
138,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
4013,
4591,
591,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
32,
1639,
40,
232,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the candidate for the district Arkansas 2? | CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2884,
2606,
834,
755,
41,
1608,
12416,
6203,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
4775,
21,
8,
3939,
16622,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4341,
21680,
953,
834,
23747,
2884,
2606,
834,
755,
549,
17444,
427,
3939,
3274,
96,
188,
52,
3304,
7,
9,
7,
204,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the date when result is l 13 10 ot | CREATE TABLE table_14520977_1 (
date VARCHAR,
result VARCHAR
) | SELECT date FROM table_14520977_1 WHERE result = "L 13–10 OT" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20987,
357,
4198,
4013,
834,
536,
41,
833,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
833,
116,
741,
19,
3,
40,
1179,
335,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
20987,
357,
4198,
4013,
834,
536,
549,
17444,
427,
741,
3274,
96,
434,
1179,
104,
1714,
3,
6951,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the document type code with fewer than 3 documents. | CREATE TABLE accounts (
account_id number,
statement_id number,
account_details text
)
CREATE TABLE statements (
statement_id number,
statement_details text
)
CREATE TABLE documents_with_expenses (
document_id number,
budget_type_code text,
document_details text
)
CREATE TABLE documen... | SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) < 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3744,
41,
905,
834,
23,
26,
381,
6,
2493,
834,
23,
26,
381,
6,
905,
834,
221,
5756,
7,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6643,
41,
2493,
834,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1708,
834,
6137,
834,
4978,
21680,
2691,
350,
4630,
6880,
272,
476,
1708,
834,
6137,
834,
4978,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
3,
2,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the D 42 √ number when the D 45 √ is r 16? | CREATE TABLE table_name_6 (d_42_√ VARCHAR, d_45_√ VARCHAR) | SELECT d_42_√ FROM table_name_6 WHERE d_45_√ = "r 16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
26,
834,
4165,
834,
2,
584,
4280,
28027,
6,
3,
26,
834,
2128,
834,
2,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
309,
6426,
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,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
4165,
834,
2,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
3,
26,
834,
2128,
834,
2,
3274,
96,
52,
898,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the order number for 1960s | CREATE TABLE table_23046 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
) | SELECT "Order #" FROM table_23046 WHERE "Theme" = '1960s' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
4448,
41,
96,
518,
10266,
1713,
121,
1499,
6,
96,
634,
526,
121,
1499,
6,
96,
134,
2444,
1160,
121,
1499,
6,
96,
667,
3380,
10270,
2377,
121,
1499,
6,
96,
7395,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
7395,
588,
1713,
121,
21680,
953,
834,
13427,
4448,
549,
17444,
427,
96,
634,
526,
121,
3274,
3,
31,
2294,
3328,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the high rebounds stat on april 11 | CREATE TABLE table_17355716_10 (
high_rebounds VARCHAR,
date VARCHAR
) | SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2469,
3436,
2938,
834,
1714,
41,
306,
834,
23768,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
306,
3,
23768,
3089,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
23768,
21680,
953,
834,
2517,
2469,
3436,
2938,
834,
1714,
549,
17444,
427,
833,
3274,
96,
23323,
850,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the number of customer address history in each day and bin date from by weekday with a bar chart, display by the total number from high to low. | CREATE TABLE Contacts (
contact_id INTEGER,
customer_id INTEGER,
gender VARCHAR(1),
first_name VARCHAR(80),
last_name VARCHAR(50),
contact_phone VARCHAR(80)
)
CREATE TABLE Customers (
customer_id INTEGER,
payment_method_code VARCHAR(15),
customer_number VARCHAR(20),
customer_nam... | SELECT date_from, COUNT(date_from) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id ORDER BY COUNT(date_from) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3235,
7,
41,
574,
834,
23,
26,
3,
21342,
17966,
6,
884,
834,
23,
26,
3,
21342,
17966,
6,
7285,
584,
4280,
28027,
14296,
6,
166,
834,
4350,
584,
4280,
28027,
599,
2079,
201,
336,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
833,
834,
7152,
6,
2847,
17161,
599,
5522,
834,
7152,
61,
21680,
7327,
834,
20773,
9377,
834,
12146,
13029,
6157,
332,
536,
3,
15355,
3162,
16423,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
... |
What is the most recent final result for the years (won in bold) 1979? | CREATE TABLE table_19470 (
"Team" text,
"# appearances" real,
"years (won in bold)" text,
"# wins" real,
"# runner-up" real,
"Most recent final" text
) | SELECT "Most recent final" FROM table_19470 WHERE "years (won in bold)" = '1979' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
27760,
41,
96,
18699,
121,
1499,
6,
96,
4663,
3179,
7,
121,
490,
6,
96,
1201,
7,
41,
210,
106,
16,
8197,
61,
121,
1499,
6,
96,
4663,
9204,
121,
490,
6,
96,
4663,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3481,
1100,
804,
121,
21680,
953,
834,
2294,
27760,
549,
17444,
427,
96,
1201,
7,
41,
210,
106,
16,
8197,
61,
121,
3274,
3,
31,
2294,
4440,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which best 5-year period has a best 15-year period of alekhine; lasker? | CREATE TABLE table_name_37 (
best_5_year_period VARCHAR,
best_15_year_period VARCHAR
) | SELECT best_5_year_period FROM table_name_37 WHERE best_15_year_period = "alekhine; lasker" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
200,
834,
755,
834,
1201,
834,
4267,
32,
26,
584,
4280,
28027,
6,
200,
834,
1808,
834,
1201,
834,
4267,
32,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
200,
834,
755,
834,
1201,
834,
4267,
32,
26,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
200,
834,
1808,
834,
1201,
834,
4267,
32,
26,
3274,
96,
9,
109,
157,
2907,
15,
117,
50,
7,
2304,
121,
1,
-100,
-100... |
What is the venue where 153 runs were scored? | CREATE TABLE table_name_40 (
venue VARCHAR,
runs VARCHAR
) | SELECT venue FROM table_name_40 WHERE runs = "153" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
5669,
584,
4280,
28027,
6,
3154,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5669,
213,
3,
27025,
3154,
130,
5799,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
3154,
3274,
96,
27025,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What format is Premi re Cha ne? | CREATE TABLE table_name_44 (
format VARCHAR,
branding VARCHAR
) | SELECT format FROM table_name_44 WHERE branding = "première chaîne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
1910,
584,
4280,
28027,
6,
14282,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1910,
19,
1266,
51,
23,
3,
60,
3643,
3,
29,
15,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1910,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
14282,
3274,
96,
2026,
51,
5442,
20357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What venue did the 2000 tiger cup take place at on November 10, 2000? | CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
15098,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
5669,
410,
8,
2766,
3,
17,
4424,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
2259,
3274,
96,
13527,
3,
17,
4424,
4119,
121,
3430,
833,
3274,
96,
5326,
18247,
10372,
2766,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who is the opponent at Bishop Kearney Field? | CREATE TABLE table_name_19 (opponent VARCHAR, field VARCHAR) | SELECT opponent FROM table_name_19 WHERE field = "bishop kearney field" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
32,
102,
9977,
584,
4280,
28027,
6,
1057,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
15264,
44,
16098,
2566,
291,
3186,
7257,
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,
15264,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
1057,
3274,
96,
11514,
10776,
3,
1050,
291,
3186,
1057,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which cyclist is from Australia? | CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR) | SELECT cyclist FROM table_name_90 WHERE nation = "australia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
7132,
343,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
21074,
19,
45,
2051,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
21074,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
2982,
3274,
96,
2064,
8792,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many episodes have a segment d that is goalie masks (part 2)? | CREATE TABLE table_36218 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) | SELECT COUNT("Episode") FROM table_36218 WHERE "Segment D" = 'goalie masks (part 2)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
357,
2606,
41,
96,
12106,
7,
10395,
535,
1499,
6,
96,
427,
102,
159,
32,
221,
121,
490,
6,
96,
9688,
89,
17591,
121,
1499,
6,
96,
134,
15,
122,
297,
71,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
427,
102,
159,
32,
221,
8512,
21680,
953,
834,
3420,
357,
2606,
549,
17444,
427,
96,
134,
15,
122,
297,
309,
121,
3274,
3,
31,
839,
9,
1896,
8181,
7,
41,
2274,
9266,
31,
1,
-100,
-100,
-10... |
Return a bar chart about the distribution of Team_Name and All_Games_Percent , and order y-axis from low to high order. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT Team_Name, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2271,
834,
23954,
6,
432,
834,
23055,
7,
834,
12988,
3728,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
432,
834,
23055,
7,
834,
12988,
3728,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the mat for win % for 56.25 for league finish being 4th | CREATE TABLE table_2744 (
"Season" real,
"Winner" text,
"Captain" text,
"Coach" text,
"League finish" text,
"Mat" real,
"W" real,
"L" real,
"Win %" text,
"Runner-up" text
) | SELECT "Mat" FROM table_2744 WHERE "Win %" = '56.25' AND "League finish" = '4th' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
3628,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
18455,
687,
121,
1499,
6,
96,
19566,
17,
9,
77,
121,
1499,
6,
96,
3881,
1836,
121,
1499,
6,
96,
2796,
9,
5398,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
144,
121,
21680,
953,
834,
2555,
3628,
549,
17444,
427,
96,
18455,
3,
1454,
121,
3274,
3,
31,
4834,
5,
1828,
31,
3430,
96,
2796,
9,
5398,
1992,
121,
3274,
3,
31,
591,
189,
31,
1,
-100,
-100,
-100,
-100,... |
Show all allergies and their types. | CREATE TABLE Allergy_type (
allergy VARCHAR,
allergytype VARCHAR
) | SELECT allergy, allergytype FROM Allergy_type | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
432,
49,
122,
63,
834,
6137,
41,
23886,
584,
4280,
28027,
6,
23886,
6137,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
66,
18500,
11,
70,
1308,
5,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
23886,
6,
23886,
6137,
21680,
432,
49,
122,
63,
834,
6137,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average frequency in MHz for stations with an ERP W of 170? | CREATE TABLE table_39416 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) | SELECT AVG("Frequency MHz") FROM table_39416 WHERE "ERP W" = '170' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
591,
2938,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
371,
60,
835,
11298,
3,
20210,
121,
490,
6,
96,
254,
485,
13,
3344,
121,
1499,
6,
96,
3316,
345,
549,
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,
71,
17217,
599,
121,
371,
60,
835,
11298,
3,
20210,
8512,
21680,
953,
834,
3288,
591,
2938,
549,
17444,
427,
96,
3316,
345,
549,
121,
3274,
3,
31,
536,
2518,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the rookie that played week 6? | CREATE TABLE table_6047 (
"Month" text,
"Week" real,
"Offensive" text,
"Defensive" text,
"Goalkeeper" text,
"Rookie" text
) | SELECT "Rookie" FROM table_6047 WHERE "Week" = '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
4177,
41,
96,
9168,
189,
121,
1499,
6,
96,
518,
10266,
121,
490,
6,
96,
21265,
35,
7,
757,
121,
1499,
6,
96,
2962,
23039,
15,
121,
1499,
6,
96,
6221,
138,
10477,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
448,
21132,
121,
21680,
953,
834,
3328,
4177,
549,
17444,
427,
96,
518,
10266,
121,
3274,
3,
31,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many distinct birth places are there? | CREATE TABLE body_builder (
body_builder_id number,
people_id number,
snatch number,
clean_jerk number,
total number
)
CREATE TABLE people (
people_id number,
name text,
height number,
weight number,
birth_date text,
birth_place text
) | SELECT COUNT(DISTINCT birth_place) FROM people | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
643,
834,
16422,
49,
41,
643,
834,
16422,
49,
834,
23,
26,
381,
6,
151,
834,
23,
26,
381,
6,
3,
7,
29,
14547,
381,
6,
1349,
834,
12488,
157,
381,
6,
792,
381,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
3879,
834,
4687,
61,
21680,
151,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the title of S02E01? | CREATE TABLE table_23678 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"Television order" text
) | SELECT "Title" FROM table_23678 WHERE "Television order" = 'S02E01' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3420,
3940,
41,
96,
4168,
535,
490,
6,
96,
4663,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
382,
155,
109,
121,
21680,
953,
834,
357,
3420,
3940,
549,
17444,
427,
96,
382,
400,
6610,
455,
121,
3274,
3,
31,
134,
4305,
427,
4542,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who won the game where the Challenge Leader is ACC (2-1)? | CREATE TABLE table_1672976_6 (
winner VARCHAR,
challenge_leader VARCHAR
) | SELECT winner FROM table_1672976_6 WHERE challenge_leader = "ACC (2-1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27650,
3166,
3959,
834,
948,
41,
4668,
584,
4280,
28027,
6,
1921,
834,
22900,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
751,
8,
467,
213,
8,
7729,
10310,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4668,
21680,
953,
834,
27650,
3166,
3959,
834,
948,
549,
17444,
427,
1921,
834,
22900,
3274,
96,
14775,
41,
17234,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What team did team carlton play while away? | CREATE TABLE table_name_42 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_42 WHERE away_team = "carlton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
234,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
410,
372,
443,
7377,
577,
298,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
550,
834,
11650,
3274,
96,
1720,
7377,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river? | CREATE TABLE table_name_36 (
against INTEGER,
draws VARCHAR,
wins VARCHAR,
golden_rivers VARCHAR
) | SELECT SUM(against) FROM table_name_36 WHERE wins < 12 AND golden_rivers = "moulamein" AND draws < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
581,
3,
21342,
17966,
6,
14924,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
6,
7069,
834,
5927,
277,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
9204,
3,
2,
586,
3430,
7069,
834,
5927,
277,
3274,
96,
51,
7115,
265,
2455,
121,
3430,
14924,
3,
2,
3,
632,
1,
-100,
-100,
... |
How many Against has Byes smaller than 2? | CREATE TABLE table_name_15 (
against INTEGER,
byes INTEGER
) | SELECT AVG(against) FROM table_name_15 WHERE byes < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
581,
3,
21342,
17966,
6,
57,
15,
7,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
20749,
65,
938,
15,
7,
2755,
145,
204,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
9,
16720,
7,
17,
61,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
57,
15,
7,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the most touchdowns for norcross | CREATE TABLE table_14342592_8 (
touchdowns INTEGER,
player VARCHAR
) | SELECT MAX(touchdowns) FROM table_14342592_8 WHERE player = "Norcross" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
3710,
1828,
4508,
834,
927,
41,
19396,
7,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
167,
19396,
7,
21,
3701,
11465,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
17681,
3035,
7,
61,
21680,
953,
834,
2534,
3710,
1828,
4508,
834,
927,
549,
17444,
427,
1959,
3274,
96,
567,
127,
11465,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
If the till aligarh is 150, what the mac till mathura? | CREATE TABLE table_23320 (
"Vehicle Category" text,
"Till Aligarh" real,
"Till Mathura" real,
"Till Agra" real,
"For Round Trip" real
) | SELECT MAX("Till Mathura") FROM table_23320 WHERE "Till Aligarh" = '150' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
15003,
41,
96,
553,
15,
107,
23,
2482,
17459,
121,
1499,
6,
96,
382,
1092,
5429,
1478,
107,
121,
490,
6,
96,
382,
1092,
9762,
2414,
121,
490,
6,
96,
382,
1092,
71,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
382,
1092,
9762,
2414,
8512,
21680,
953,
834,
2773,
15003,
549,
17444,
427,
96,
382,
1092,
5429,
1478,
107,
121,
3274,
3,
31,
12278,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many patients were discharged from hospitals during this year? | CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
50,
9824,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
7690,
4350,
1499,
6,
50,
1999,
7,
83,
17,
381,
6,
50,
1999,
7,
83,
17,
715,
97,
3,
61,
3,
32102,
32103,
32102,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
1868,
5,
202,
1495,
12417,
61,
21680,
1868,
549,
17444,
427,
4486,
1868,
5,
31386,
26,
159,
7993,
715,
6827,
13046,
10376,
3430,
309,
6048,
382,
15382,
599,
10061,
5,
31386,
26,
1... |
Who has a time of 3:50.90? | CREATE TABLE table_name_35 (
name VARCHAR,
time VARCHAR
) | SELECT name FROM table_name_35 WHERE time = "3:50.90" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
564,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
65,
3,
9,
97,
13,
220,
10,
1752,
5,
2394,
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,
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,
564,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
97,
3274,
96,
519,
10,
1752,
5,
2394,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Location when Canada was the runner-up and Australia was the winner? | CREATE TABLE table_41366 (
"Year" real,
"Venue" text,
"Location" text,
"Winners" text,
"Runners-up" text
) | SELECT "Location" FROM table_41366 WHERE "Runners-up" = 'canada' AND "Winners" = 'australia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2368,
3539,
41,
96,
476,
2741,
121,
490,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
18455,
687,
7,
121,
1499,
6,
96,
23572,
7,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
591,
2368,
3539,
549,
17444,
427,
96,
23572,
7,
18,
413,
121,
3274,
3,
31,
658,
18089,
31,
3430,
96,
18455,
687,
7,
121,
3274,
3,
31,
2064,
8792,
23,
9,
31,
1,
-100,... |
What is the lowest laps that has an on lap less than 4, with 35 as a class pos.? | CREATE TABLE table_63970 (
"Class" text,
"Class Pos." real,
"Driver" text,
"Team/Car" text,
"Laps" real,
"Best Lap" text,
"On Lap" real
) | SELECT MIN("Laps") FROM table_63970 WHERE "On Lap" < '4' AND "Class Pos." = '35' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3288,
2518,
41,
96,
21486,
121,
1499,
6,
96,
21486,
13995,
535,
490,
6,
96,
20982,
52,
121,
1499,
6,
96,
18699,
87,
6936,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
3612,
102,
7,
8512,
21680,
953,
834,
948,
3288,
2518,
549,
17444,
427,
96,
7638,
325,
102,
121,
3,
2,
3,
31,
591,
31,
3430,
96,
21486,
13995,
535,
3274,
3,
31,
2469,
31,
1,
-100,
-100,
-100,
... |
How many grids had a Time/Retired of +4 laps? | CREATE TABLE table_43494 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT COUNT("Grid") FROM table_43494 WHERE "Time/Retired" = '+4 laps' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3710,
4240,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
13313,
26,
8512,
21680,
953,
834,
591,
3710,
4240,
549,
17444,
427,
96,
13368,
87,
1649,
11809,
26,
121,
3274,
3,
31,
1220,
591,
14941,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
On what date did ke eaumoku p pa iahiahi leave office? | CREATE TABLE table_8043 (
"Name" text,
"Death" text,
"Assumed Office" text,
"Left Office" text,
"Years in office" text,
"Monarch" text
) | SELECT "Left Office" FROM table_8043 WHERE "Name" = 'ke ʻ eaumoku pāpa ʻ iahiahi' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
4906,
41,
96,
23954,
121,
1499,
6,
96,
2962,
9,
189,
121,
1499,
6,
96,
188,
7,
4078,
15,
26,
2126,
121,
1499,
6,
96,
2796,
89,
17,
2126,
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,
2796,
89,
17,
2126,
121,
21680,
953,
834,
2079,
4906,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
1050,
3,
2,
3,
1607,
51,
18512,
3,
102,
2,
102,
9,
3,
2,
3,
23,
9,
107,
23,
9,
107,
23,
31,
1,
-100,
... |
If the decision was by Lalime, when in January was it made? | CREATE TABLE table_3777 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Location/Attendance" text,
"Record" text
) | SELECT "January" FROM table_3777 WHERE "Decision" = 'Lalime' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
4013,
41,
96,
23055,
121,
490,
6,
96,
30404,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
6,
96,
434,
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,
30404,
121,
21680,
953,
834,
4118,
4013,
549,
17444,
427,
96,
2962,
18901,
121,
3274,
3,
31,
3612,
4941,
15,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what date was the venue at Brisbane Cricket Ground? | CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_23 WHERE venue = "brisbane cricket ground" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
5522,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
833,
47,
8,
5669,
44,
19286,
24661,
13908,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
5669,
3274,
96,
2160,
7,
3478,
15,
18096,
1591,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What's the 1981 census of Livorno? | CREATE TABLE table_15978 (
"#" real,
"City" text,
"1981 Census" real,
"1991 Census" real,
"2001 Census" real,
"2010 Est." real,
"Region" text
) | SELECT "1981 Census" FROM table_15978 WHERE "City" = 'Livorno' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
21441,
41,
96,
4663,
121,
490,
6,
96,
254,
485,
121,
1499,
6,
96,
2294,
4959,
23086,
121,
490,
6,
96,
2294,
4729,
23086,
121,
490,
6,
96,
23658,
23086,
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,
96,
2294,
4959,
23086,
121,
21680,
953,
834,
1808,
21441,
549,
17444,
427,
96,
254,
485,
121,
3274,
3,
31,
434,
23,
1967,
29,
32,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the result when the score was 5-1? | CREATE TABLE table_62839 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Result" FROM table_62839 WHERE "Score" = '5-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2577,
3288,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
948,
2577,
3288,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
755,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What are the names of all colleges that have two or more players? | CREATE TABLE country (
country_id number,
country_name text,
capital text,
official_native_language text
)
CREATE TABLE match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_number number,
draft_class text,
college text
)
CREA... | SELECT college FROM match_season GROUP BY college HAVING COUNT(*) >= 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
684,
41,
684,
834,
23,
26,
381,
6,
684,
834,
4350,
1499,
6,
1784,
1499,
6,
2314,
834,
29,
1528,
834,
24925,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1900,
21680,
1588,
834,
9476,
350,
4630,
6880,
272,
476,
1900,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
2490,
2423,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients whose year of death is less than or equal to 2155 and diagnoses icd9 code is 4240? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2155.0" AND diagnoses.icd9_code = "4240" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
What is the compound name listed where marine organism α is worm | CREATE TABLE table_12715053_1 (compound_name VARCHAR, marine_organism_α VARCHAR) | SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22367,
12278,
4867,
834,
536,
41,
287,
8861,
834,
4350,
584,
4280,
28027,
6,
8769,
834,
11127,
159,
51,
834,
2,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12771,
834,
4350,
21680,
953,
834,
22367,
12278,
4867,
834,
536,
549,
17444,
427,
8769,
834,
11127,
159,
51,
834,
2,
3274,
96,
518,
127,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which team was the visitor on January 10? | CREATE TABLE table_77554 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) | SELECT "Visitor" FROM table_77554 WHERE "Date" = 'january 10' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
3769,
591,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
159,
155,
127,
121,
21680,
953,
834,
4013,
3769,
591,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7066,
76,
1208,
335,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Money ($) has a Score of 70-66-73-69=278? | CREATE TABLE table_47468 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT AVG("Money ( $ )") FROM table_47468 WHERE "Score" = '70-66-73-69=278' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
591,
3651,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
9168,
15,
63,
41,
1514,
3,
61,
8512,
21680,
953,
834,
4177,
591,
3651,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
2518,
5783,
25302,
25342,
1298,
2423,
357,
3940,
31,
1,
-100,
-100,
-10... |
Name the total number of golds when total is 1 and silver is 1 | CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_50 WHERE total = 1 AND silver = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
14910,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
2045,
7,
116,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
14910,
61,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
792,
3274,
209,
3430,
4294,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
After 1996, what is the average position? | CREATE TABLE table_name_96 (position INTEGER, year INTEGER) | SELECT AVG(position) FROM table_name_96 WHERE year > 1996 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
4718,
3,
21342,
17966,
6,
215,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
621,
6911,
6,
125,
19,
8,
1348,
1102,
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,
71,
17217,
599,
4718,
61,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
215,
2490,
6911,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Colliery has a Death toll of 7? | CREATE TABLE table_61879 (
"Colliery" text,
"Location" text,
"Date" text,
"Year" real,
"Death toll" real,
"cause" text
) | SELECT "Colliery" FROM table_61879 WHERE "Death toll" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2606,
4440,
41,
96,
9939,
3299,
63,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
2962,
9,
189,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9939,
3299,
63,
121,
21680,
953,
834,
948,
2606,
4440,
549,
17444,
427,
96,
2962,
9,
189,
12,
195,
121,
3274,
3,
31,
940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the replaced by where date of vacancy is 31 december 2008 where position in table is 1st | CREATE TABLE table_1571 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
) | SELECT "Replaced by" FROM table_1571 WHERE "Date of vacancy" = '31 December 2008' AND "Position in table" = '1st' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4450,
41,
96,
18699,
121,
1499,
6,
96,
15767,
9545,
2743,
121,
1499,
6,
96,
7296,
687,
13,
12028,
121,
1499,
6,
96,
308,
342,
13,
3,
29685,
121,
1499,
6,
96,
1649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
4687,
26,
57,
121,
21680,
953,
834,
1808,
4450,
549,
17444,
427,
96,
308,
342,
13,
3,
29685,
121,
3274,
3,
31,
3341,
1882,
2628,
31,
3430,
96,
345,
32,
7,
4749,
16,
953,
121,
3274,
3,
31,
536,
7,
17,... |
What was the date of the game with a decision of Lehtonen and attended by more than 17,731 people? | CREATE TABLE table_name_70 (
date VARCHAR,
decision VARCHAR,
attendance VARCHAR
) | SELECT date FROM table_name_70 WHERE decision = "lehtonen" AND attendance > 17 OFFSET 731 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
833,
584,
4280,
28027,
6,
1357,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
833,
13,
8,
467,
28,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
1357,
3274,
96,
109,
107,
6948,
29,
121,
3430,
11364,
2490,
1003,
3,
15316,
20788,
489,
3341,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Kemmerode has a Gersforf of 39? | CREATE TABLE table_14772 (
"Gersdorf" text,
"Gershausen" text,
"Heddersdorf" text,
"Kemmerode" text,
"Kirchheim" text,
"Reckerode ****" text,
"Reimboldsh." text,
"Rotterterode" text,
"Willingshain" text
) | SELECT "Kemmerode" FROM table_14772 WHERE "Gersdorf" = '39' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24719,
5865,
41,
96,
517,
277,
8716,
121,
1499,
6,
96,
517,
277,
18535,
121,
1499,
6,
96,
3845,
26,
588,
7,
8716,
121,
1499,
6,
96,
439,
15,
635,
29145,
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,
439,
15,
635,
29145,
121,
21680,
953,
834,
24719,
5865,
549,
17444,
427,
96,
517,
277,
8716,
121,
3274,
3,
31,
3288,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
List the number of enrolment students in each day and bin date of enrolment by weekday with a bar chart. | CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Courses (
course_id INTEGER,
author_... | SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4375,
41,
1236,
834,
23,
26,
3,
21342,
17966,
6,
833,
834,
858,
834,
5200,
257,
309,
6048,
382,
15382,
6,
833,
834,
858,
834,
521,
4377,
834,
2152,
106,
309,
6048,
382,
15382,
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,
1... | [
3,
23143,
14196,
833,
834,
858,
834,
35,
3491,
297,
6,
2847,
17161,
599,
5522,
834,
858,
834,
35,
3491,
297,
61,
21680,
6341,
834,
3881,
3589,
15,
834,
8532,
3491,
297,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the IHSAA Class when the mascot was the Musketeers? | CREATE TABLE table_65725 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text
) | SELECT "IHSAA Class" FROM table_65725 WHERE "Mascot" = 'musketeers' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3436,
1828,
41,
96,
29364,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
329,
9,
7,
4310,
121,
1499,
6,
96,
8532,
4046,
297,
121,
490,
6,
96,
196,
4950,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4950,
5498,
4501,
121,
21680,
953,
834,
948,
3436,
1828,
549,
17444,
427,
96,
329,
9,
7,
4310,
121,
3274,
3,
31,
3252,
8044,
15,
277,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is every entry for Tuesday August 23 when Thursday August 25 is 24' 31.87 92.282mph? | CREATE TABLE table_30058355_3 (
tues_23_aug VARCHAR,
thurs_25_aug VARCHAR
) | SELECT tues_23_aug FROM table_30058355_3 WHERE thurs_25_aug = "24' 31.87 92.282mph" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5426,
3449,
2469,
755,
834,
519,
41,
3,
17,
76,
15,
7,
834,
2773,
834,
402,
122,
584,
4280,
28027,
6,
3,
189,
3589,
834,
1828,
834,
402,
122,
584,
4280,
28027,
3,
61,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17,
76,
15,
7,
834,
2773,
834,
402,
122,
21680,
953,
834,
5426,
3449,
2469,
755,
834,
519,
549,
17444,
427,
3,
189,
3589,
834,
1828,
834,
402,
122,
3274,
96,
2266,
31,
2664,
5,
4225,
668,
15300,
4613,
7656,
1... |
Which League Cup has a Total smaller than 1? | CREATE TABLE table_name_3 (league_cup INTEGER, total INTEGER) | SELECT SUM(league_cup) FROM table_name_3 WHERE total < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
29512,
834,
4658,
3,
21342,
17966,
6,
792,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
4073,
3815,
3802,
65,
3,
9,
9273,
2755,
145,
209,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
29512,
834,
4658,
61,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
792,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Can you tell me the average December rhat has the Opponent of @ toronto maple leafs? | CREATE TABLE table_name_18 (
december INTEGER,
opponent VARCHAR
) | SELECT AVG(december) FROM table_name_18 WHERE opponent = "@ toronto maple leafs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
20,
75,
18247,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
817,
140,
8,
1348,
1882,
3,
52,
547,
65,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
221,
75,
18247,
61,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
15264,
3274,
96,
1741,
12,
4438,
32,
22007,
8384,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show the times used by climbers to climb mountains in Country Uganda. | CREATE TABLE mountain (Mountain_ID VARCHAR, Country VARCHAR); CREATE TABLE climber (Time VARCHAR, Mountain_ID VARCHAR) | SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = "Uganda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4180,
41,
329,
32,
14016,
77,
834,
4309,
584,
4280,
28027,
6,
6993,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
8147,
49,
41,
13368,
584,
4280,
28027,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
13368,
21680,
8147,
49,
6157,
332,
536,
3,
15355,
3162,
4180,
6157,
332,
357,
9191,
332,
5411,
329,
32,
14016,
77,
834,
4309,
3274,
332,
4416,
329,
32,
14016,
77,
834,
4309,
549,
17444,
427,
332,
4416,
10... |
How many tourists visited the country that had 2.5 million tourists in 2011? | CREATE TABLE table_34550 (
"Rank" real,
"Country" text,
"International tourist arrivals (2012)" text,
"International tourist arrivals (2011)" text,
"Change (2011 to 2012)" text,
"Change (2010 to 2011)" text
) | SELECT "International tourist arrivals (2012)" FROM table_34550 WHERE "International tourist arrivals (2011)" = '2.5 million' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
17147,
41,
96,
22557,
121,
490,
6,
96,
10628,
651,
121,
1499,
6,
96,
27490,
8548,
6870,
7,
24705,
121,
1499,
6,
96,
27490,
8548,
6870,
7,
25163,
121,
1499,
6,
96,
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,
27490,
8548,
6870,
7,
24705,
121,
21680,
953,
834,
3710,
17147,
549,
17444,
427,
96,
27490,
8548,
6870,
7,
25163,
121,
3274,
3,
31,
15967,
770,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients whose days of hospital stay is greater than 8 and procedure long title is other cystoscopy? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "8" AND procedures.long_title = "Other cystoscopy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
what is the attendance when the week is 5? | CREATE TABLE table_name_28 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_28 WHERE week = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
15116,
663,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
11364,
116,
8,
471,
19,
305,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
471,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many patients who had emergency admission have procedure icd9 code 5198? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "5198" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Give me the MHz Frequency of Allapattah, Florida. | CREATE TABLE table_name_28 (
frequency_mhz VARCHAR,
city_of_license VARCHAR
) | SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
7321,
834,
51,
107,
172,
584,
4280,
28027,
6,
690,
834,
858,
834,
28062,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
6434,
140,
8,
3,
20210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7321,
834,
51,
107,
172,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
690,
834,
858,
834,
28062,
3274,
96,
138,
8478,
14748,
107,
6,
12215,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country is the athlete moving from Everton from? | CREATE TABLE table_name_32 (
country VARCHAR,
moving_from VARCHAR
) | SELECT country FROM table_name_32 WHERE moving_from = "everton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
684,
584,
4280,
28027,
6,
1735,
834,
7152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
19,
8,
17893,
1735,
45,
6381,
17,
106,
45,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
684,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
1735,
834,
7152,
3274,
96,
15,
3027,
106,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Tell me the sum of rank for australia when points are less than 79 | CREATE TABLE table_name_58 (
rank INTEGER,
nationality VARCHAR,
points VARCHAR
) | SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
11003,
3,
21342,
17966,
6,
1157,
485,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
4505,
13,
11003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6254,
61,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
1157,
485,
3274,
96,
2064,
8792,
23,
9,
121,
3430,
979,
3,
2,
3,
4440,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What school joined the conference in 1996-97 and left it in 2011-12? | CREATE TABLE table_262560_2 (institution VARCHAR, joined VARCHAR, left VARCHAR) | SELECT institution FROM table_262560_2 WHERE joined = "1996-97" AND left = "2011-12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
1828,
3328,
834,
357,
41,
77,
17448,
584,
4280,
28027,
6,
3311,
584,
4280,
28027,
6,
646,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
496,
3311,
8,
2542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6568,
21680,
953,
834,
2688,
1828,
3328,
834,
357,
549,
17444,
427,
3311,
3274,
96,
2294,
4314,
18,
4327,
121,
3430,
646,
3274,
96,
13907,
5947,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
provide the number of patients whose days of hospital stay is greater than 4 and diagnoses long title is candidiasis of skin and nails? | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "4" AND diagnoses.long_title = "Candidiasis of skin and nails" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
how many patients below 71 years of age have delta lab test abnormal status? | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "71" AND lab.flag = "delta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
Scatter plot to show avg(weight) on x axis and minimal weight on y axis. | CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight re... | SELECT AVG(Weight), MIN(Weight) FROM people GROUP BY Sex | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4775,
41,
25833,
17,
15,
834,
4309,
16,
17,
6,
2449,
834,
4309,
16,
17,
6,
14457,
834,
23799,
1499,
6,
7678,
1499,
6,
4224,
834,
2206,
490,
6,
9151,
834,
2206,
490,
6,
4495,
2748,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1326,
2632,
201,
3,
17684,
599,
1326,
2632,
61,
21680,
151,
350,
4630,
6880,
272,
476,
679,
226,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the largest vote result if loss/gain is -0.5%? | CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR) | SELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = "-0.5%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4959,
3840,
1458,
834,
536,
41,
60,
7,
83,
17,
834,
834,
834,
1621,
1422,
3,
21342,
17966,
6,
1453,
834,
16720,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
60,
7,
83,
17,
834,
834,
834,
1621,
1422,
61,
21680,
953,
834,
1828,
4959,
3840,
1458,
834,
536,
549,
17444,
427,
1453,
834,
16720,
3274,
96,
18,
12100,
1454,
121,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the most common types of interactions between enzymes and medicine, and how many types are there? | CREATE TABLE medicine (
id number,
name text,
trade_name text,
fda_approved text
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id number,
medicine_id number,
interaction_type text
)
CREATE TABLE enzyme (
id number,
name text,
location text,
product text,
chromosom... | SELECT interaction_type, COUNT(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4404,
41,
3,
23,
26,
381,
6,
564,
1499,
6,
1668,
834,
4350,
1499,
6,
3,
89,
26,
9,
834,
24496,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4404,
834,
35,
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,
6565,
834,
6137,
6,
2847,
17161,
599,
1935,
61,
21680,
4404,
834,
35,
4164,
526,
834,
3870,
4787,
350,
4630,
6880,
272,
476,
6565,
834,
6137,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,... |
Name the number of class aa for bridgeport and 1999-2000 | CREATE TABLE table_14601528_2 (
class_aA VARCHAR,
class_aAA VARCHAR,
Bridgeport VARCHAR,
school_year VARCHAR
) | SELECT COUNT(class_aA) FROM table_14601528_2 WHERE class_aAA = Bridgeport AND school_year = "1999-2000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
3328,
1808,
2577,
834,
357,
41,
853,
834,
9,
188,
584,
4280,
28027,
6,
853,
834,
9,
5498,
584,
4280,
28027,
6,
6132,
1493,
584,
4280,
28027,
6,
496,
834,
1201,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
4057,
834,
9,
188,
61,
21680,
953,
834,
2534,
3328,
1808,
2577,
834,
357,
549,
17444,
427,
853,
834,
9,
5498,
3274,
6132,
1493,
3430,
496,
834,
1201,
3274,
96,
2294,
3264,
18,
13527,
121,
1,
-100,
... |
Name the island with age ma of 1.0 | CREATE TABLE table_name_73 (
island VARCHAR,
age___ma__ VARCHAR
) | SELECT island FROM table_name_73 WHERE age___ma__ = "1.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
3368,
584,
4280,
28027,
6,
1246,
834,
834,
834,
51,
9,
834,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3368,
28,
1246,
954,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3368,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
1246,
834,
834,
834,
51,
9,
834,
834,
3274,
96,
12734,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which political party party has had the most mayors of austevoll ? | CREATE TABLE table_201_10 (
id number,
"#" number,
"name" text,
"office" text,
"political party" text,
"occupation" text
) | SELECT "political party" FROM table_201_10 GROUP BY "political party" ORDER BY COUNT("name") DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22772,
834,
1714,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
19632,
121,
1499,
6,
96,
3003,
17,
1950,
1088,
121,
1499,
6,
96,
24911,
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,
3003,
17,
1950,
1088,
121,
21680,
953,
834,
22772,
834,
1714,
350,
4630,
6880,
272,
476,
96,
3003,
17,
1950,
1088,
121,
4674,
11300,
272,
476,
2847,
17161,
599,
121,
4350,
8512,
309,
25067,
8729,
12604,
209,
1,
... |
What Percentage did the First game of 1998 have? | CREATE TABLE table_67399 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
) | SELECT "Percentage" FROM table_67399 WHERE "First game" = '1998' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
519,
3264,
41,
96,
25171,
467,
121,
490,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
121,
490,
6,
96,
434,
3481,
121,
490,
6,
96,
12988,
3728,
545,
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,
12988,
3728,
545,
121,
21680,
953,
834,
3708,
519,
3264,
549,
17444,
427,
96,
25171,
467,
121,
3274,
3,
31,
2294,
3916,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What players had teh score of 64-71-67-67=269? | CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR) | SELECT player FROM table_18862490_2 WHERE score = 64 - 71 - 67 - 67 = 269 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
3840,
2266,
2394,
834,
357,
41,
20846,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1508,
141,
3,
17,
15,
107,
2604,
13,
6687,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
2606,
3840,
2266,
2394,
834,
357,
549,
17444,
427,
2604,
3274,
6687,
3,
18,
3,
4450,
3,
18,
3,
3708,
3,
18,
3,
3708,
3274,
204,
3951,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What team has a national league in 2001? | CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR) | SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
11650,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
65,
3,
9,
1157,
5533,
16,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
5533,
3274,
96,
16557,
121,
3430,
215,
3274,
4402,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Format has a Catalog of 561 445-1? | CREATE TABLE table_33818 (
"Date" text,
"Label" text,
"Region" text,
"Format" text,
"Catalog" text
) | SELECT "Format" FROM table_33818 WHERE "Catalog" = '561 445-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3747,
2606,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
17748,
23,
106,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
18610,
9,
2152,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3809,
3357,
121,
21680,
953,
834,
519,
3747,
2606,
549,
17444,
427,
96,
18610,
9,
2152,
121,
3274,
3,
31,
4834,
536,
314,
2128,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who was drafted to the Vancouver Canucks? | CREATE TABLE table_2897457_8 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2897457_8 WHERE nhl_team = "Vancouver Canucks" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3914,
4581,
3436,
834,
927,
41,
20846,
584,
4280,
28027,
6,
3,
29,
107,
40,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
3,
23505,
12,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
357,
3914,
4581,
3436,
834,
927,
549,
17444,
427,
3,
29,
107,
40,
834,
11650,
3274,
96,
553,
152,
3422,
624,
1072,
4636,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What team has a location and attendance at the Seattle Center Coliseum 12,591? | CREATE TABLE table_name_22 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_name_22 WHERE location_attendance = "seattle center coliseum 12,591" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
11650,
584,
4280,
28027,
6,
1128,
834,
15116,
663,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
65,
3,
9,
1128,
11,
11364,
44,
8,
885... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
1128,
834,
15116,
663,
3274,
96,
7,
15,
9,
8692,
1530,
3,
9044,
7,
15,
440,
10440,
3390,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the score of the match with a 3-0 result? | CREATE TABLE table_77943 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Score" FROM table_77943 WHERE "Result" = '3-0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
4240,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
4013,
4240,
519,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
22773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was release date in 1992 with the ISBN #0? | CREATE TABLE table_54409 (
"Year" real,
"Title" text,
"Publisher" text,
"Release Date" text,
"Copyright Information" text,
"ISBN" real
) | SELECT "Release Date" FROM table_54409 WHERE "ISBN" = '0' AND "Year" = '1992' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3628,
4198,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
31009,
49,
121,
1499,
6,
96,
1649,
40,
14608,
7678,
121,
1499,
6,
96,
3881,
20455,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40,
14608,
7678,
121,
21680,
953,
834,
755,
3628,
4198,
549,
17444,
427,
96,
4555,
19174,
121,
3274,
3,
31,
632,
31,
3430,
96,
476,
2741,
121,
3274,
3,
31,
19479,
357,
31,
1,
-100,
-100,
-100,
-100,
-100... |
What is the name of the road race held in Omsk, Russia? | CREATE TABLE table_26166836_3 (
road_race VARCHAR,
location VARCHAR
) | SELECT road_race FROM table_26166836_3 WHERE location = "Omsk" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2938,
3651,
3420,
834,
519,
41,
1373,
834,
12614,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
1373,
196... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1373,
834,
12614,
21680,
953,
834,
2688,
2938,
3651,
3420,
834,
519,
549,
17444,
427,
1128,
3274,
96,
667,
51,
7,
157,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia? | CREATE TABLE table_name_15 (
no_7 VARCHAR,
no_4 VARCHAR,
no_10 VARCHAR
) | SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
150,
834,
940,
584,
4280,
28027,
6,
150,
834,
591,
584,
4280,
28027,
6,
150,
834,
1714,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
150,
834,
940,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
150,
834,
591,
3274,
96,
11374,
23,
739,
121,
3430,
150,
834,
1714,
3274,
96,
265,
13240,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which player won in 1993? | CREATE TABLE table_79045 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
) | SELECT "Player" FROM table_79045 WHERE "Year(s) won" = '1993' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2394,
2128,
41,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
476,
2741,
599,
7,
61,
751,
121,
1499,
6,
96,
3696,
1947,
121,
490,
6,
96,
3696,
260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
96,
15800,
49,
121,
21680,
953,
834,
940,
2394,
2128,
549,
17444,
427,
96,
476,
2741,
599,
7,
61,
751,
121,
3274,
3,
31,
2294,
4271,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What type of school is Stratford University? | CREATE TABLE table_2076608_1 (
type VARCHAR,
school VARCHAR
) | SELECT type FROM table_2076608_1 WHERE school = "Stratford University" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26426,
3539,
4018,
834,
536,
41,
686,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
686,
13,
496,
19,
3,
19928,
2590,
636,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
686,
21680,
953,
834,
26426,
3539,
4018,
834,
536,
549,
17444,
427,
496,
3274,
96,
19928,
2590,
636,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On what day did Dirk Nowitzki (14) have a high rebound? | CREATE TABLE table_17288869_7 (
date VARCHAR,
high_rebounds VARCHAR
) | SELECT date FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (14)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27156,
10927,
3951,
834,
940,
41,
833,
584,
4280,
28027,
6,
306,
834,
23768,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
239,
410,
7454,
157,
852,
5615,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27156,
10927,
3951,
834,
940,
549,
17444,
427,
306,
834,
23768,
3274,
96,
308,
12546,
852,
5615,
2168,
4077,
7256,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2? | CREATE TABLE table_19398910_4 (
bout_1 VARCHAR,
bout_5 VARCHAR
) | SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3288,
3914,
1714,
834,
591,
41,
9338,
834,
536,
584,
4280,
28027,
6,
9338,
834,
755,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
130,
8,
9338,
209,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9338,
834,
536,
21680,
953,
834,
2294,
3288,
3914,
1714,
834,
591,
549,
17444,
427,
9338,
834,
755,
3274,
96,
7175,
60,
15,
208,
41,
391,
3063,
3,
61,
549,
3,
24279,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the game of the game against the White Sox with a record of 81-48? | CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT date FROM table_name_75 WHERE opponent = "white sox" AND record = "81-48" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
5522,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
467,
13,
8,
467,
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,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
15264,
3274,
96,
13698,
78,
226,
121,
3430,
1368,
3274,
96,
4959,
18,
3707,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Opposition in the First Round of the UEFA Cup with a Score of 3 1 (h), 2 0 (a)? | CREATE TABLE table_name_66 (
opposition VARCHAR,
score VARCHAR,
round VARCHAR,
competition VARCHAR
) | SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
8263,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
8263,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
1751,
3274,
96,
14672,
1751,
121,
3430,
2259,
3274,
96,
76,
15,
89,
9,
4119,
121,
3430,
2604,
3274,
96,
519,
104,
536,
41,
107,
201,
204,
104,
632,
41,
9,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.