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 country for fabiana beltrame? | CREATE TABLE table_66212 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
) | SELECT "Country" FROM table_66212 WHERE "Athlete" = 'fabiana beltrame' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
24837,
41,
96,
22557,
121,
490,
6,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
10358,
15,
7,
121,
1499,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
96,
10628,
651,
121,
21680,
953,
834,
3539,
24837,
549,
17444,
427,
96,
188,
189,
1655,
15,
121,
3274,
3,
31,
12644,
13662,
6782,
2375,
15,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the score for set 2 when the time is 18:00 and the score of set 1 is 18 25? | CREATE TABLE table_name_48 (
set_2 VARCHAR,
time VARCHAR,
set_1 VARCHAR
) | SELECT set_2 FROM table_name_48 WHERE time = "18:00" AND set_1 = "18–25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
356,
834,
357,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
6,
356,
834,
536,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
356,
834,
357,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
97,
3274,
96,
536,
15692,
121,
3430,
356,
834,
536,
3274,
96,
2606,
104,
1828,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the opponent in the final in which the court surface was hard and the score was 6 3, 3 6, 7 5? | CREATE TABLE table_name_89 (
opponent_in_the_final VARCHAR,
surface VARCHAR,
score VARCHAR
) | SELECT opponent_in_the_final FROM table_name_89 WHERE surface = "hard" AND score = "6–3, 3–6, 7–5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
15264,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
834,
77,
834,
532,
834,
12406,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
1774,
3274,
96,
5651,
121,
3430,
2604,
3274,
96,
948,
104,
6355,
220,
104,
11071,
489,
104,
17395,
1,
-100,
-100,
-100,
-100,
... |
Which Games is the lowest one that has a Position of wlb? | CREATE TABLE table_name_88 (
games INTEGER,
position VARCHAR
) | SELECT MIN(games) AS ↑ FROM table_name_88 WHERE position = "wlb" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
1031,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
5880,
19,
8,
7402,
80,
24,
65,
3,
9,
14258,
13,
3,
210,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7261,
7,
61,
6157,
3,
2,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
1102,
3274,
96,
210,
40,
115,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the game for l 111 126 | CREATE TABLE table_31448 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Game" FROM table_31448 WHERE "Score" = 'L 111–126' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
2534,
3707,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23055,
121,
21680,
953,
834,
519,
2534,
3707,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
434,
3,
15866,
104,
21976,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which attendance has 9 as the tie no.? | CREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_43 WHERE tie_no = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
15116,
663,
584,
4280,
28027,
6,
6177,
834,
29,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
11364,
65,
668,
38,
8,
6177,
150,
5,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
6177,
834,
29,
32,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the date of the game at Junction Oval? | CREATE TABLE table_name_3 (
date VARCHAR,
venue VARCHAR
) | SELECT date FROM table_name_3 WHERE venue = "junction oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
833,
13,
8,
467,
44,
29092,
411,
2165,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
5669,
3274,
96,
6959,
4985,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Visualize a bar chart for how many rooms cost more than 120, for each different decor?, and list by the names in ascending. | CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adults INTEGER,
Kids INTEGER
)
CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
baseP... | SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor ORDER BY decor | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
27659,
7,
41,
3636,
3,
21342,
17966,
6,
4181,
3,
3463,
4,
382,
6,
1972,
1570,
3,
3463,
4,
382,
6,
1972,
15767,
3,
3463,
4,
382,
6,
13002,
17833,
6,
2506,
23954,
3,
3463,
4,
382,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4469,
6,
2847,
17161,
599,
1935,
61,
21680,
4181,
7,
549,
17444,
427,
1247,
345,
4920,
2490,
5864,
350,
4630,
6880,
272,
476,
4469,
4674,
11300,
272,
476,
4469,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what's the computing mechanbeingm with name being atanasoff–berry computer (us) | CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, name VARCHAR) | SELECT computing_mechanism FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23459,
3420,
834,
536,
41,
287,
2562,
53,
834,
526,
3441,
14378,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
10937,
140,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
10937,
834,
526,
3441,
14378,
21680,
953,
834,
23459,
3420,
834,
536,
549,
17444,
427,
564,
3274,
96,
188,
17,
152,
9,
7,
1647,
104,
279,
49,
651,
5491,
41,
3063,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the nationality of the C? | CREATE TABLE table_11338 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
) | SELECT "Nationality" FROM table_11338 WHERE "Position" = 'c' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20522,
3747,
41,
96,
448,
32,
1106,
121,
1499,
6,
96,
345,
3142,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24732,
485,
121,
21680,
953,
834,
20522,
3747,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
75,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What average has 1 as rhe rank? | CREATE TABLE table_name_61 (
average VARCHAR,
rank VARCHAR
) | SELECT average FROM table_name_61 WHERE rank = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
1348,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1348,
65,
209,
38,
3,
52,
88,
11003,
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,
1348,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
11003,
3274,
96,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country did Jonas Geirnaert direct a film in? | CREATE TABLE table_name_30 (
country VARCHAR,
director_s_ VARCHAR
) | SELECT country FROM table_name_30 WHERE director_s_ = "jonas geirnaert" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
684,
584,
4280,
28027,
6,
2090,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
410,
8178,
9,
7,
961,
23,
52,
29,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
2090,
834,
7,
834,
3274,
96,
15429,
9,
7,
873,
23,
52,
29,
9,
49,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk | CREATE TABLE table_52907 (
"Ship" text,
"Date Commissioned" real,
"Gross Tonnage" real,
"Propulsion" text,
"Material" text
) | SELECT SUM("Gross Tonnage") FROM table_52907 WHERE "Material" = 'wood' AND "Date Commissioned" > '1846' AND "Ship" = 'esk' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3166,
4560,
41,
96,
134,
10462,
121,
1499,
6,
96,
308,
342,
3527,
15,
26,
121,
490,
6,
96,
517,
1859,
7,
8475,
9761,
121,
490,
6,
96,
3174,
20567,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
517,
1859,
7,
8475,
9761,
8512,
21680,
953,
834,
755,
3166,
4560,
549,
17444,
427,
96,
329,
342,
12042,
121,
3274,
3,
31,
2037,
31,
3430,
96,
308,
342,
3527,
15,
26,
121,
2490,
3,
31,
2606,
... |
What is the sum of Average, when 2006 is '36/40', and when Played is greater than 126? | CREATE TABLE table_44715 (
"Team" text,
"Average" real,
"Points" real,
"Played" real,
"2006" text,
"2007" text,
"2008" text
) | SELECT SUM("Average") FROM table_44715 WHERE "2006" = '36/40' AND "Played" > '126' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4177,
1808,
41,
96,
18699,
121,
1499,
6,
96,
188,
624,
545,
121,
490,
6,
96,
22512,
7,
121,
490,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
21196,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
188,
624,
545,
8512,
21680,
953,
834,
591,
4177,
1808,
549,
17444,
427,
96,
21196,
121,
3274,
3,
31,
3420,
87,
2445,
31,
3430,
96,
15800,
15,
26,
121,
2490,
3,
31,
21976,
31,
1,
-100,
-100,
... |
List the dates and vote percents of elections in a bar chart. | CREATE TABLE representative (
Representative_ID int,
Name text,
State text,
Party text,
Lifespan text
)
CREATE TABLE election (
Election_ID int,
Representative_ID int,
Date text,
Votes real,
Vote_Percent real,
Seats real,
Place real
) | SELECT Date, Vote_Percent FROM election | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6978,
41,
13517,
834,
4309,
16,
17,
6,
5570,
1499,
6,
1015,
1499,
6,
3450,
1499,
6,
2330,
7,
2837,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4356,
41,
19488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7678,
6,
3152,
17,
15,
834,
12988,
3728,
21680,
4356,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11? | CREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR) | SELECT COUNT(scottish_cup) FROM table_name_22 WHERE league < 561 AND years = "1989–1995 1997–2001" AND europe < 11 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
7,
10405,
1273,
834,
4658,
584,
4280,
28027,
6,
3,
28188,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
6,
203,
584,
4280,
28027,
61,
3,
32102,
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,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
7,
10405,
1273,
834,
4658,
61,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
5533,
3,
2,
305,
4241,
3430,
203,
3274,
96,
2294,
3914,
104,
2294,
3301,
6622,
104,
23658,
121,
3430,
3,
28188,
3,
... |
What album was the song My Chariot on? | CREATE TABLE table_23667534_1 (
album_s_ VARCHAR,
song_s__title VARCHAR
) | SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3539,
3072,
3710,
834,
536,
41,
2306,
834,
7,
834,
584,
4280,
28027,
6,
2324,
834,
7,
834,
834,
21869,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2306,
834,
7,
834,
21680,
953,
834,
2773,
3539,
3072,
3710,
834,
536,
549,
17444,
427,
2324,
834,
7,
834,
834,
21869,
3274,
96,
7008,
3643,
12884,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound? | CREATE TABLE table_name_11 (
pci_express VARCHAR,
memory VARCHAR,
sound VARCHAR
) | SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
3,
102,
75,
23,
834,
994,
4715,
584,
4280,
28027,
6,
2594,
584,
4280,
28027,
6,
1345,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
102,
75,
23,
834,
994,
4715,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
2594,
3274,
96,
26,
26,
52,
204,
3539,
87,
23360,
87,
5548,
3366,
87,
15,
75,
75,
121,
3430,
1345,
3274,
96,
35,
107,
663,
26,
... |
Which player has West Virginia listed as their school/country? | CREATE TABLE table_33083 (
"Player" text,
"Nationality" text,
"Position" text,
"From" text,
"School/Country" text
) | SELECT "Player" FROM table_33083 WHERE "School/Country" = 'west virginia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17225,
4591,
41,
96,
15800,
49,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
22674,
121,
1499,
6,
96,
29364,
87,
10628,
651,
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,
15800,
49,
121,
21680,
953,
834,
17225,
4591,
549,
17444,
427,
96,
29364,
87,
10628,
651,
121,
3274,
3,
31,
12425,
24556,
23,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
On what Date was Henry I Latin Commander of the Battle of Boruy? | CREATE TABLE table_78640 (
"Battle" text,
"Date" text,
"Bulgarian Commander" text,
"Latin Commander" text,
"Result" text
) | SELECT "Date" FROM table_78640 WHERE "Latin Commander" = 'henry i' AND "Battle" = 'battle of boruy' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
23714,
41,
96,
279,
9,
8692,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
279,
83,
122,
6855,
24934,
121,
1499,
6,
96,
3612,
17,
77,
24934,
121,
1499,
6,
96,
201... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3940,
23714,
549,
17444,
427,
96,
3612,
17,
77,
24934,
121,
3274,
3,
31,
3225,
651,
3,
23,
31,
3430,
96,
279,
9,
8692,
121,
3274,
3,
31,
115,
9,
8692,
13,
3,
6693,
76,
63,
... |
Name the most pick number for guard and kansas city chiefs | CREATE TABLE table_2508633_2 (
pick__number INTEGER,
position VARCHAR,
nfl_team VARCHAR
) | SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11434,
3840,
4201,
834,
357,
41,
1432,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
3,
29,
89,
40,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
4800,
4,
599,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
11434,
3840,
4201,
834,
357,
549,
17444,
427,
1102,
3274,
96,
9105,
986,
121,
3430,
3,
29,
89,
40,
834,
11650,
3274,
96,
439,
3247,
9,
7,
896,
5116,
... |
Which college has any student who is a goalie and succeeded in the tryout. | CREATE TABLE tryout (
cName VARCHAR,
decision VARCHAR,
pPos VARCHAR
) | SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
653,
670,
41,
3,
75,
23954,
584,
4280,
28027,
6,
1357,
584,
4280,
28027,
6,
3,
102,
345,
32,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1900,
65,
136,
1236,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
75,
23954,
21680,
653,
670,
549,
17444,
427,
1357,
3274,
3,
31,
10070,
31,
3430,
3,
102,
345,
32,
7,
3274,
3,
31,
839,
9,
1896,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What destination has the fewest number of flights? | CREATE TABLE certificate (
eid number,
aid number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
salary number
)
... | SELECT destination FROM flight GROUP BY destination ORDER BY COUNT(*) LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6017,
41,
3,
15,
23,
26,
381,
6,
3052,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3777,
41,
3,
89,
40,
29,
32,
381,
6,
5233,
1499,
6,
3954,
1499,
6,
2357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3954,
21680,
3777,
350,
4630,
6880,
272,
476,
3954,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the custody level of the facility in Shelton? | CREATE TABLE table_25346763_1 (
custody_level_s_ VARCHAR,
location VARCHAR
) | SELECT custody_level_s_ FROM table_25346763_1 WHERE location = "Shelton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3710,
3708,
3891,
834,
536,
41,
16701,
834,
4563,
834,
7,
834,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
16701,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
16701,
834,
4563,
834,
7,
834,
21680,
953,
834,
1828,
3710,
3708,
3891,
834,
536,
549,
17444,
427,
1128,
3274,
96,
12736,
7377,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was the opposing team at the match played at the Arden Street Oval? | CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_64 WHERE venue = "arden street oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
10720,
53,
372,
44,
8,
1588,
1944,
44,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
5669,
3274,
96,
986,
35,
2815,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What city is 103.3 FM licensed in? | CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR) | SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
6726,
834,
858,
834,
28062,
584,
4280,
28027,
6,
7321,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
690,
19,
335,
19660,
13409,
6681,
16,
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,
690,
834,
858,
834,
28062,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
7321,
3274,
96,
1714,
19660,
3,
89,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the sum of credits of courses that have more than one prerequisite for each title with a bar chart. | CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeric(2),
end_hr numeric(2),
end_min numeric(2)
)
CREATE TABLE prereq (
... | SELECT title, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10617,
41,
4699,
3,
4331,
4059,
15757,
6,
564,
3,
4331,
4059,
599,
1755,
201,
20,
102,
17,
834,
4350,
3,
4331,
4059,
599,
1755,
201,
9090,
206,
17552,
599,
11864,
7318,
3,
61,
3,
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,
2233,
6,
180,
6122,
599,
15547,
7,
61,
21680,
503,
6157,
332,
536,
3,
15355,
3162,
554,
60,
1824,
6157,
332,
357,
9191,
332,
5411,
19221,
834,
23,
26,
3274,
332,
4416,
19221,
834,
23,
26,
350,
4630,
6880,
272,
476... |
Who is the player from Houston, TX? | CREATE TABLE table_57587 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
) | SELECT "Player" FROM table_57587 WHERE "Hometown" = 'houston, tx' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3072,
4225,
41,
96,
15800,
49,
121,
1499,
6,
96,
3845,
2632,
121,
1499,
6,
96,
29364,
121,
1499,
6,
96,
19040,
3540,
121,
1499,
6,
96,
9939,
7883,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
755,
3072,
4225,
549,
17444,
427,
96,
19040,
3540,
121,
3274,
3,
31,
9492,
4411,
6,
3,
17,
226,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many appearances by Meek Mill? | CREATE TABLE table_4180 (
"Position" real,
"Top MC" text,
"Year inducted" real,
"Appearances" real,
"Peak ranking" real
) | SELECT MAX("Appearances") FROM table_4180 WHERE "Top MC" = 'Meek Mill' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
2079,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
22481,
3,
3698,
121,
1499,
6,
96,
476,
2741,
16,
21336,
121,
490,
6,
96,
9648,
2741,
663,
7,
121,
490,
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,
4800,
4,
599,
121,
9648,
2741,
663,
7,
8512,
21680,
953,
834,
4853,
2079,
549,
17444,
427,
96,
22481,
3,
3698,
121,
3274,
3,
31,
329,
10266,
4185,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
kaija mustonen was the number one speed skiing contender at the 1968 winter olympics , what country is she from ? | CREATE TABLE table_204_120 (
id number,
"rank" number,
"athlete" text,
"country" text,
"time" text,
"notes" text
) | SELECT "country" FROM table_204_120 WHERE "athlete" = 'kaija mustonen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
15518,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
26170,
15,
121,
1499,
6,
96,
17529,
121,
1499,
6,
96,
715,
121,
1499,
6,
96,
7977,
7,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
17529,
121,
21680,
953,
834,
26363,
834,
15518,
549,
17444,
427,
96,
26170,
15,
121,
3274,
3,
31,
1258,
23,
1191,
398,
106,
35,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Against when the drawn is 5? | CREATE TABLE table_75776 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | SELECT "Against" FROM table_75776 WHERE "Drawn" = '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
940,
3959,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
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,
96,
20749,
121,
21680,
953,
834,
3072,
940,
3959,
549,
17444,
427,
96,
308,
10936,
29,
121,
3274,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show me about the distribution of Days and the sum of Instructor , and group by attribute Days in a bar chart. | CREATE TABLE Course (
CID VARCHAR(7),
CName VARCHAR(40),
Credits INTEGER,
Instructor INTEGER,
Days VARCHAR(5),
Hours VARCHAR(11),
DNO INTEGER
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
... | SELECT Days, SUM(Instructor) FROM Course GROUP BY Days ORDER BY Credits | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8670,
41,
205,
4309,
584,
4280,
28027,
24358,
6,
205,
23954,
584,
4280,
28027,
599,
2445,
201,
6529,
7,
3,
21342,
17966,
6,
24562,
3,
21342,
17966,
6,
13992,
584,
4280,
28027,
15757,
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,
13992,
6,
180,
6122,
599,
1570,
7593,
127,
61,
21680,
8670,
350,
4630,
6880,
272,
476,
13992,
4674,
11300,
272,
476,
6529,
7,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When was the episode with Amy Williams as Andrew and Jack's guest broadcast? | CREATE TABLE table_29141354_7 (
first_broadcast VARCHAR,
andrew_and_jacks_guest VARCHAR
) | SELECT first_broadcast FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Amy Williams" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
2534,
2368,
5062,
834,
940,
41,
166,
834,
115,
8635,
5254,
584,
4280,
28027,
6,
11,
60,
210,
834,
232,
834,
9325,
7,
834,
15991,
17,
584,
4280,
28027,
3,
61,
3,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
166,
834,
115,
8635,
5254,
21680,
953,
834,
3166,
2534,
2368,
5062,
834,
940,
549,
17444,
427,
11,
60,
210,
834,
232,
834,
9325,
7,
834,
15991,
17,
3274,
96,
188,
2258,
6060,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the capacity for the Home Venue of the New Zealand Breakers club? | CREATE TABLE table_283203_1 (
capacity VARCHAR,
club VARCHAR
) | SELECT capacity FROM table_283203_1 WHERE club = "New Zealand Breakers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
15003,
519,
834,
536,
41,
2614,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2614,
21,
8,
1210,
29940,
13,
8,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2614,
21680,
953,
834,
2577,
15003,
519,
834,
536,
549,
17444,
427,
1886,
3274,
96,
6861,
5725,
11429,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest year with tyres in g and less than 0 points? | CREATE TABLE table_name_32 (year INTEGER, tyres VARCHAR, points VARCHAR) | SELECT MIN(year) FROM table_name_32 WHERE tyres = "g" AND points < 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
1201,
3,
21342,
17966,
6,
3,
17,
63,
60,
7,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
215,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
3,
17,
63,
60,
7,
3274,
96,
122,
121,
3430,
979,
3,
2,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What neon has an Argon of 4.203? | CREATE TABLE table_name_89 (
neon VARCHAR,
argon VARCHAR
) | SELECT neon FROM table_name_89 WHERE argon = "4.203" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
22432,
584,
4280,
28027,
6,
3,
8240,
106,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
22432,
65,
46,
1533,
5307,
13,
2853,
23330,
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,
22432,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
3,
8240,
106,
3274,
96,
19765,
4928,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which team plays at the Arden Street Oval? | CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_97 WHERE venue = "arden street oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
372,
4805,
44,
8,
22635,
35,
1887,
411,
2165,
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,
550,
834,
11650,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
5669,
3274,
96,
986,
35,
2815,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What CD has a catalog # of PCR 502? | CREATE TABLE table_name_12 (
title VARCHAR,
catalog__number VARCHAR
) | SELECT title FROM table_name_12 WHERE catalog__number = "pcr 502" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
2233,
584,
4280,
28027,
6,
10173,
834,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
3190,
65,
3,
9,
10173,
1713,
13,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2233,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
10173,
834,
834,
5525,
1152,
3274,
96,
102,
75,
52,
943,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the number of stations for 15 minutes travel time | CREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR) | SELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = "15 minutes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
4433,
25991,
834,
536,
41,
6682,
7,
584,
4280,
28027,
6,
1111,
834,
715,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
6991,
21,
627,
676,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
6682,
7,
61,
21680,
953,
834,
2773,
4433,
25991,
834,
536,
549,
17444,
427,
1111,
834,
715,
3274,
96,
1808,
676,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the 20-year peak with emanuel lasker, 2816 as the 15-year peak? | CREATE TABLE table_49638 (
"Rank" real,
"1-year peak" text,
"5-year peak" text,
"10-year peak" text,
"15-year peak" text,
"20-year peak" text
) | SELECT "20-year peak" FROM table_49638 WHERE "15-year peak" = 'emanuel lasker, 2816' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4314,
3747,
41,
96,
22557,
121,
490,
6,
96,
536,
18,
1201,
6734,
121,
1499,
6,
96,
755,
18,
1201,
6734,
121,
1499,
6,
96,
1714,
18,
1201,
6734,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1755,
18,
1201,
6734,
121,
21680,
953,
834,
591,
4314,
3747,
549,
17444,
427,
96,
1808,
18,
1201,
6734,
121,
3274,
3,
31,
15,
348,
76,
15,
40,
50,
7,
2304,
6,
2059,
2938,
31,
1,
-100,
-100,
-100,
-100,
-100,... |
What score has grays athletic as the home team? | CREATE TABLE table_name_27 (
score VARCHAR,
home_team VARCHAR
) | SELECT score FROM table_name_27 WHERE home_team = "grays athletic" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
2604,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2604,
65,
9954,
7,
12217,
38,
8,
234,
372,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
234,
834,
11650,
3274,
96,
3484,
63,
7,
12217,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many days had a score of 4 6, 4 6? | CREATE TABLE table_name_39 (
date VARCHAR,
score_in_the_final VARCHAR
) | SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
833,
584,
4280,
28027,
6,
2604,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
477,
141,
3,
9,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5522,
61,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
2604,
834,
77,
834,
532,
834,
12406,
3274,
96,
591,
104,
11071,
314,
104,
948,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Find the average room count of the apartments that have the 'Studio' type code. | CREATE TABLE apartment_facilities (
apt_id number,
facility_code text
)
CREATE TABLE apartment_bookings (
apt_booking_id number,
apt_id number,
guest_id number,
booking_status_code text,
booking_start_date time,
booking_end_date time
)
CREATE TABLE guests (
guest_id number,
gen... | SELECT AVG(room_count) FROM apartments WHERE apt_type_code = "Studio" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4579,
834,
89,
9,
13067,
3010,
41,
3,
6789,
834,
23,
26,
381,
6,
3064,
834,
4978,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
4579,
834,
2567,
53,
7,
41,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
3082,
834,
13362,
61,
21680,
10424,
549,
17444,
427,
3,
6789,
834,
6137,
834,
4978,
3274,
96,
13076,
26,
23,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many patients whose drug code is lora2i? | 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LORA2I" | [
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,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
Name the district for mike rogers | CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11434,
1458,
24163,
834,
591,
41,
26,
23,
20066,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3939,
21,
3,
20068,
15,
3,
3822,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3939,
21680,
953,
834,
11434,
1458,
24163,
834,
591,
549,
17444,
427,
28406,
3274,
96,
329,
5208,
9099,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What district has Riley Joseph Wilson as the incumbent? | CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2773,
3341,
834,
2606,
41,
26,
23,
20066,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
3939,
65,
26766,
6187,
9439,
38,
8,
284... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3939,
21680,
953,
834,
23747,
2773,
3341,
834,
2606,
549,
17444,
427,
28406,
3274,
96,
448,
23,
1306,
6187,
9439,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the venue of teh carfax 250 race? | CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR) | SELECT venue FROM table_name_62 WHERE race = "carfax 250" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
15098,
584,
4280,
28027,
6,
1964,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5669,
13,
3,
17,
15,
107,
443,
11517,
5986,
1964,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
1964,
3274,
96,
1720,
11517,
5986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the latest episode in season 2 directed by jamie babbit? | CREATE TABLE table_20783 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) | SELECT MAX("No. in season") FROM table_20783 WHERE "Directed by" = 'Jamie Babbit' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26426,
4591,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4168,
5,
16,
774,
8512,
21680,
953,
834,
26426,
4591,
549,
17444,
427,
96,
23620,
15,
26,
57,
121,
3274,
3,
31,
683,
9,
2720,
11563,
2360,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the average T score when the E score was larger than 9.6 and the team was from Spain? | CREATE TABLE table_38233 (
"Nation" text,
"T Score" real,
"A Score" real,
"E Score" real,
"Total" real
) | SELECT AVG("T Score") FROM table_38233 WHERE "Nation" = 'spain' AND "E Score" > '9.6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3747,
20879,
41,
96,
567,
257,
121,
1499,
6,
96,
382,
17763,
121,
490,
6,
96,
188,
17763,
121,
490,
6,
96,
427,
17763,
121,
490,
6,
96,
3696,
1947,
121,
490,
3,
61,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
382,
17763,
8512,
21680,
953,
834,
3747,
20879,
549,
17444,
427,
96,
567,
257,
121,
3274,
3,
31,
14147,
77,
31,
3430,
96,
427,
17763,
121,
2490,
3,
31,
8797,
948,
31,
1,
-100,
-100,
-100,
-100... |
in what year were there the least number of images ? | CREATE TABLE table_204_843 (
id number,
"volume" number,
"year" text,
"names" text,
"articles" number,
"pages" number,
"images" number,
"maps" number,
"number of copies" number
) | SELECT "year" FROM table_204_843 ORDER BY "images" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4608,
519,
41,
3,
23,
26,
381,
6,
96,
23439,
121,
381,
6,
96,
1201,
121,
1499,
6,
96,
4350,
7,
121,
1499,
6,
96,
8372,
7,
121,
381,
6,
96,
6492,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
26363,
834,
4608,
519,
4674,
11300,
272,
476,
96,
8221,
7,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
For the strategy game in 1992, how many players were allowed per console? | CREATE TABLE table_68980 (
"Title" text,
"Year" real,
"Developer" text,
"Publisher" text,
"Players per Console" text,
"Genre" text
) | SELECT "Players per Console" FROM table_68980 WHERE "Genre" = 'strategy' AND "Year" = '1992' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3914,
2079,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
2962,
162,
8745,
49,
121,
1499,
6,
96,
31009,
49,
121,
1499,
6,
96,
15800,
277,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
277,
399,
27513,
121,
21680,
953,
834,
948,
3914,
2079,
549,
17444,
427,
96,
13714,
60,
121,
3274,
3,
31,
7,
17,
2206,
122,
63,
31,
3430,
96,
476,
2741,
121,
3274,
3,
31,
19479,
357,
31,
1,
-100,
-100... |
Return a bar chart on how many eliminations did each team have? | CREATE TABLE wrestler (
Wrestler_ID int,
Name text,
Reign text,
Days_held text,
Location text,
Event text
)
CREATE TABLE Elimination (
Elimination_ID text,
Wrestler_ID text,
Team text,
Eliminated_By text,
Elimination_Move text,
Time text
) | SELECT Team, COUNT(*) FROM Elimination GROUP BY Team | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
26033,
52,
41,
549,
6216,
1171,
834,
4309,
16,
17,
6,
5570,
1499,
6,
419,
3191,
1499,
6,
13992,
834,
14796,
1499,
6,
10450,
1499,
6,
8042,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6,
2847,
17161,
599,
1935,
61,
21680,
7495,
14484,
350,
4630,
6880,
272,
476,
2271,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the away team score for geelong away team | CREATE TABLE table_53274 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
) | SELECT "Away team score" FROM table_53274 WHERE "Away team" = 'geelong' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
2555,
591,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
2604,
121,
21680,
953,
834,
4867,
2555,
591,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
397,
15,
2961,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the marital status and days of hospital stay of subject id 3343? | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT demographic.marital_status, demographic.days_stay FROM demographic WHERE demographic.subject_id = "3343" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
1635,
9538,
834,
8547,
302,
6,
14798,
5,
1135,
7,
834,
21545,
21680,
14798,
549,
17444,
427,
14798,
5,
7304,
11827,
834,
23,
26,
3274,
96,
4201,
4906,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which team raced at Amaroo Park? | CREATE TABLE table_50892 (
"Race Title" text,
"Circuit" text,
"City / State" text,
"Date" text,
"Winner" text,
"Team" text
) | SELECT "Team" FROM table_50892 WHERE "Circuit" = 'amaroo park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
3914,
357,
41,
96,
448,
3302,
11029,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
254,
485,
3,
87,
1015,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
121,
21680,
953,
834,
1752,
3914,
357,
549,
17444,
427,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
9,
1635,
32,
32,
2447,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Notes, when Year is '2010'? | CREATE TABLE table_62003 (
"Year" real,
"Gold" text,
"Silver" text,
"Bronze" text,
"Notes" text
) | SELECT "Notes" FROM table_62003 WHERE "Year" = '2010' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
23948,
41,
96,
476,
2741,
121,
490,
6,
96,
23576,
121,
1499,
6,
96,
134,
173,
624,
121,
1499,
6,
96,
22780,
29,
776,
121,
1499,
6,
96,
10358,
15,
7,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
10358,
15,
7,
121,
21680,
953,
834,
948,
23948,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
14926,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the score of the game where stafford rangers was the away team? | CREATE TABLE table_66641 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
) | SELECT "Score" FROM table_66641 WHERE "Away team" = 'stafford rangers' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4389,
536,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
17,
324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
3539,
4389,
536,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
26416,
127,
26,
620,
52,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
when did the first drop in the experiment fall ? | CREATE TABLE table_200_47 (
id number,
"date" text,
"event" text,
"duration\t\n(months)" text,
"duration\t\t\n(years)" text
) | SELECT "date" FROM table_200_47 WHERE "event" = '1st drop fell' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3632,
834,
4177,
41,
3,
23,
26,
381,
6,
96,
5522,
121,
1499,
6,
96,
15,
2169,
121,
1499,
6,
96,
1259,
2661,
2,
17,
2,
29,
599,
7393,
7,
61,
121,
1499,
6,
96,
1259,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5522,
121,
21680,
953,
834,
3632,
834,
4177,
549,
17444,
427,
96,
15,
2169,
121,
3274,
3,
31,
536,
7,
17,
2328,
4728,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the longest length of mandatory secondary school? | CREATE TABLE table_1831309_1 (
length_of_mandatory_secondary_school INTEGER
) | SELECT MAX(length_of_mandatory_secondary_school) FROM table_1831309_1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24361,
2368,
4198,
834,
536,
41,
2475,
834,
858,
834,
348,
26,
6546,
834,
12091,
1208,
834,
6646,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
14783,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
19457,
834,
858,
834,
348,
26,
6546,
834,
12091,
1208,
834,
6646,
61,
21680,
953,
834,
24361,
2368,
4198,
834,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For which constructor does Juan Manuel Fangio drive? | CREATE TABLE table_name_59 (
constructor VARCHAR,
driver VARCHAR
) | SELECT constructor FROM table_name_59 WHERE driver = "juan manuel fangio" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
6774,
127,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
242,
84,
6774,
127,
405,
15597,
21630,
8362,
10253,
1262,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6774,
127,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
2535,
3274,
96,
2047,
152,
19901,
1819,
10253,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the first name and last name of all customers. | CREATE TABLE vehicles (
vehicle_id number,
vehicle_details text
)
CREATE TABLE customers (
customer_id number,
customer_address_id number,
customer_status_code text,
date_became_customer time,
date_of_birth time,
first_name text,
last_name text,
amount_outstanding number,
em... | SELECT first_name, last_name FROM customers | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3203,
41,
1689,
834,
23,
26,
381,
6,
1689,
834,
221,
5756,
7,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
722,
41,
884,
834,
23,
26,
381,
6,
884,
834,
9,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
166,
834,
4350,
6,
336,
834,
4350,
21680,
722,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
4512 is the enrollment what is the team nickname? | CREATE TABLE table_28211213_2 (team_nickname VARCHAR, enrollment VARCHAR) | SELECT team_nickname FROM table_28211213_2 WHERE enrollment = 4512 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2658,
2122,
2368,
834,
357,
41,
11650,
834,
11191,
4350,
584,
4280,
28027,
6,
17938,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3479,
2122,
19,
8,
17938,
125,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
11191,
4350,
21680,
953,
834,
2577,
2658,
2122,
2368,
834,
357,
549,
17444,
427,
17938,
3274,
3479,
2122,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who had highest points during game against the Utah Jazz? | CREATE TABLE table_3927 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High points" FROM table_3927 WHERE "Team" = 'Utah Jazz' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
2555,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
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,
96,
21417,
979,
121,
21680,
953,
834,
3288,
2555,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
1265,
17,
9,
107,
12313,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the sum of the attendance on November 24? | CREATE TABLE table_49586 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
) | SELECT SUM("Attendance") FROM table_49586 WHERE "Date" = 'november 24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3301,
3840,
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,
188,
17,
324,
26,
663,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
188,
17,
324,
26,
663,
8512,
21680,
953,
834,
591,
3301,
3840,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
5326,
18247,
997,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the largest crowd for North Melbourne home games? | CREATE TABLE table_name_48 (
crowd INTEGER,
home_team VARCHAR
) | SELECT MAX(crowd) FROM table_name_48 WHERE home_team = "north melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
4374,
3,
21342,
17966,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2015,
4374,
21,
1117,
9396,
234,
1031,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
234,
834,
11650,
3274,
96,
29,
127,
189,
3,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Can you tell me the lowest React that has the Lane of 5? | CREATE TABLE table_name_50 (react INTEGER, lane VARCHAR) | SELECT MIN(react) FROM table_name_50 WHERE lane = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
60,
2708,
3,
21342,
17966,
6,
3,
8102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
817,
140,
8,
7402,
419,
2708,
24,
65,
8,
11834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
60,
2708,
61,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
3,
8102,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the rank/s of Eddie Guerrero? | CREATE TABLE table_2305948_1 (_number VARCHAR, name VARCHAR) | SELECT _number FROM table_2305948_1 WHERE name = "Eddie Guerrero" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
3390,
3707,
834,
536,
41,
834,
5525,
1152,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
11003,
87,
7,
13,
25227,
28926,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
834,
5525,
1152,
21680,
953,
834,
13427,
3390,
3707,
834,
536,
549,
17444,
427,
564,
3274,
96,
427,
26,
2498,
28926,
52,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What country has the score og 66-70-69-71=276? | CREATE TABLE table_76821 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT "Country" FROM table_76821 WHERE "Score" = '66-70-69-71=276' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3651,
2658,
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,
96,
10628,
651,
121,
21680,
953,
834,
940,
3651,
2658,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
3539,
18,
2518,
18,
3951,
18,
4450,
2423,
357,
3959,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the number of the game in which Carlos Boozer (8) did the high rebounds? | CREATE TABLE table_23286223_5 (
game VARCHAR,
high_rebounds VARCHAR
) | SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (8)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2577,
4056,
2773,
834,
755,
41,
467,
584,
4280,
28027,
6,
306,
834,
23768,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
381,
13,
8,
467,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
21680,
953,
834,
2773,
2577,
4056,
2773,
834,
755,
549,
17444,
427,
306,
834,
23768,
3274,
96,
6936,
2298,
1491,
32,
2558,
3,
28007,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Year has a Competition of commonwealth youth games? | CREATE TABLE table_name_94 (year INTEGER, competition VARCHAR) | SELECT AVG(year) FROM table_name_94 WHERE competition = "commonwealth youth games" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
1201,
3,
21342,
17966,
6,
2259,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2929,
65,
3,
9,
15571,
13,
1017,
1123,
138,
189,
4192,
1031,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
1201,
61,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
2259,
3274,
96,
287,
2157,
1123,
138,
189,
4192,
1031,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the result of the game versus Tulsa? | CREATE TABLE table_name_80 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_80 WHERE opponent = "tulsa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
13,
8,
467,
3,
8911,
332,
83,
7,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
15264,
3274,
96,
2520,
7,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the status of the building with more than 28 floor and a year of 2013? | CREATE TABLE table_name_57 (status VARCHAR, floors VARCHAR, year VARCHAR) | SELECT status FROM table_name_57 WHERE floors > 28 AND year = 2013 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
8547,
302,
584,
4280,
28027,
6,
8242,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2637,
13,
8,
740,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2637,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
8242,
2490,
2059,
3430,
215,
3274,
2038,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Find the first names and offices of all instructors who have taught some course and also find the course description. | CREATE TABLE professor (
emp_num number,
dept_code text,
prof_office text,
prof_extension text,
prof_high_degree text
)
CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,... | SELECT T2.emp_fname, T4.prof_office, T3.crs_description FROM class AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5812,
41,
8943,
834,
5525,
381,
6,
20,
102,
17,
834,
4978,
1499,
6,
7108,
834,
19632,
1499,
6,
7108,
834,
994,
13177,
1499,
6,
7108,
834,
6739,
834,
19706,
1499,
3,
61,
3,
32102,
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,
332,
4416,
15,
1167,
834,
89,
4350,
6,
332,
7984,
1409,
89,
834,
19632,
6,
332,
5787,
75,
52,
7,
834,
221,
11830,
21680,
853,
6157,
332,
536,
3,
15355,
3162,
3490,
6157,
332,
357,
9191,
332,
5411,
1409,
89,
834,
... |
which patients have cyclosporine (sandimmune) prescription? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "CycloSPORINE (Sandimmune)" | [
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,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
What is the Catalog with a Format of lp, a Country of us, a Label of sundazed, and a Date of 2006? | CREATE TABLE table_name_46 (
catalog VARCHAR,
date VARCHAR,
label VARCHAR,
format VARCHAR,
country VARCHAR
) | SELECT catalog FROM table_name_46 WHERE format = "lp" AND country = "us" AND label = "sundazed" AND date = "2006" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
10173,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
3783,
584,
4280,
28027,
6,
1910,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
10173,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
1910,
3274,
96,
40,
102,
121,
3430,
684,
3274,
96,
302,
121,
3430,
3783,
3274,
96,
7,
1106,
9,
776,
26,
121,
3430,
833,
3274,
96,
21196,
121,
1,
-100,
-100... |
Where was the player born when the appearances were greater than 40 and made 17 goals? | CREATE TABLE table_name_39 (nationality VARCHAR, apps VARCHAR, goals VARCHAR) | SELECT nationality FROM table_name_39 WHERE apps > 40 AND goals = 17 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
16557,
485,
584,
4280,
28027,
6,
4050,
584,
4280,
28027,
6,
1766,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
1959,
2170,
116,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1157,
485,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
4050,
2490,
1283,
3430,
1766,
3274,
1003,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the total party for north carolina 7 | CREATE TABLE table_23265 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT COUNT("Party") FROM table_23265 WHERE "District" = 'North Carolina 7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23188,
4122,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
13725,
63,
8512,
21680,
953,
834,
23188,
4122,
549,
17444,
427,
96,
308,
23,
20066,
121,
3274,
3,
31,
22969,
5089,
489,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Record has an Opponent of twins, and a Date of july 25? | CREATE TABLE table_name_10 (
record VARCHAR,
opponent VARCHAR,
date VARCHAR
) | SELECT record FROM table_name_10 WHERE opponent = "twins" AND date = "july 25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
1368,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
11392,
65,
46,
4495,
9977,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
15264,
3274,
96,
17,
3757,
7,
121,
3430,
833,
3274,
96,
2047,
120,
944,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many shader models have a 900 core clock ( mhz )? | CREATE TABLE table_25839957_5 (shader_model VARCHAR, core_clock___mhz__ VARCHAR) | SELECT COUNT(shader_model) FROM table_25839957_5 WHERE core_clock___mhz__ = "900" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4591,
3264,
3436,
834,
755,
41,
7,
8399,
49,
834,
21770,
584,
4280,
28027,
6,
2583,
834,
17407,
834,
834,
834,
51,
107,
172,
834,
834,
584,
4280,
28027,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
7,
8399,
49,
834,
21770,
61,
21680,
953,
834,
1828,
4591,
3264,
3436,
834,
755,
549,
17444,
427,
2583,
834,
17407,
834,
834,
834,
51,
107,
172,
834,
834,
3274,
96,
7015,
121,
1,
-100,
-100,
-100,
... |
Name the highest Profits (billion $) which has a Company of walmart? | CREATE TABLE table_76162 (
"Rank" real,
"Company" text,
"Headquarters" text,
"Industry" text,
"Sales (billion $)" real,
"Profits (billion $)" real,
"Assets (billion $)" real,
"Market Value (billion $)" real
) | SELECT MAX("Profits (billion $)") FROM table_76162 WHERE "Company" = 'walmart' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
2938,
357,
41,
96,
22557,
121,
490,
6,
96,
5890,
2837,
63,
121,
1499,
6,
96,
3845,
9,
26,
19973,
7,
121,
1499,
6,
96,
1570,
8655,
8224,
121,
1499,
6,
96,
134,
452... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23057,
7085,
41,
115,
14916,
1514,
61,
8512,
21680,
953,
834,
3959,
2938,
357,
549,
17444,
427,
96,
5890,
2837,
63,
121,
3274,
3,
31,
5380,
1635,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Semifinalists have a Finalist of andrei chesnokov? | CREATE TABLE table_50565 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
) | SELECT "Semifinalists" FROM table_50565 WHERE "Finalist" = 'andrei chesnokov' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
755,
4122,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
518,
10266,
121,
1499,
6,
96,
18455,
687,
11,
2604,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
15,
51,
23,
28077,
121,
21680,
953,
834,
1752,
755,
4122,
549,
17444,
427,
96,
371,
10270,
343,
121,
3274,
3,
31,
232,
60,
23,
3,
2951,
29,
32,
9789,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
The driver Jacky Ickx had what time/retired? | CREATE TABLE table_name_64 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_64 WHERE driver = "jacky ickx" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
715,
834,
10682,
1271,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
2535,
4496,
63,
27,
2406,
226,
141,
125,
97,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
97,
834,
10682,
1271,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
2535,
3274,
96,
9325,
63,
3,
3142,
226,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Tournament's Score was 6–2, 4–6, 6–4? | CREATE TABLE table_name_14 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_14 WHERE score = "6–2, 4–6, 6–4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
20502,
31,
7,
17763,
47,
431,
104,
4482,
314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5892,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
2604,
3274,
96,
948,
104,
4482,
314,
104,
11071,
431,
104,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the guest on the episode where The Word was 'P.R.-mageddon'? | CREATE TABLE table_3379 (
"Episode #" real,
"The W\u00f8rd" text,
"Guest" text,
"Introductory phrase" text,
"Original airdate" text,
"Production code" real
) | SELECT "Guest" FROM table_3379 WHERE "The W\u00f8rd" = 'P.R.-mageddon' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4201,
4440,
41,
96,
427,
102,
159,
32,
221,
1713,
121,
490,
6,
96,
634,
549,
2,
76,
1206,
89,
927,
52,
26,
121,
1499,
6,
96,
9105,
222,
121,
1499,
6,
96,
1570,
17,
52... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9105,
222,
121,
21680,
953,
834,
4201,
4440,
549,
17444,
427,
96,
634,
549,
2,
76,
1206,
89,
927,
52,
26,
121,
3274,
3,
31,
345,
5,
448,
5,
18,
51,
11438,
2029,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show a bar chart about how many employees does each role have? | CREATE TABLE Circulation_History (
document_id INTEGER,
draft_number INTEGER,
copy_number INTEGER,
employee_id INTEGER
)
CREATE TABLE Ref_Document_Types (
document_type_code CHAR(15),
document_type_description VARCHAR(255)
)
CREATE TABLE Documents_Mailed (
document_id INTEGER,
mailed_t... | SELECT role_description, COUNT(*) FROM Roles AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code GROUP BY T2.role_code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
13054,
1497,
257,
834,
12146,
13029,
41,
1708,
834,
23,
26,
3,
21342,
17966,
6,
6488,
834,
5525,
1152,
3,
21342,
17966,
6,
2405,
834,
5525,
1152,
3,
21342,
17966,
6,
3490,
834,
23,
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,
1075,
834,
221,
11830,
6,
2847,
17161,
599,
1935,
61,
21680,
2158,
965,
6157,
332,
536,
3,
15355,
3162,
15871,
7,
6157,
332,
357,
9191,
332,
5411,
3491,
15,
834,
4978,
3274,
332,
4416,
3491,
15,
834,
4978,
350,
4630... |
Who was the cover model in the 7-86 issue? | CREATE TABLE table_20218 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
) | SELECT "Cover model" FROM table_20218 WHERE "Date" = '7-86' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19818,
2606,
41,
96,
308,
342,
121,
1499,
6,
96,
254,
1890,
825,
121,
1499,
6,
96,
24382,
10533,
825,
121,
1499,
6,
96,
17555,
4576,
1426,
121,
1499,
6,
96,
1755,
14218,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
1890,
825,
121,
21680,
953,
834,
19818,
2606,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
25580,
948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What company built the car driven by Tony Brooks? | CREATE TABLE table_53229 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT "Constructor" FROM table_53229 WHERE "Driver" = 'tony brooks' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
357,
3166,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4302,
7593,
127,
121,
21680,
953,
834,
4867,
357,
3166,
549,
17444,
427,
96,
20982,
52,
121,
3274,
3,
31,
17,
106,
63,
3,
14370,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
For those products with a price between 60 and 120, give me the comparison about manufacturer over the name . | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
6,
15248,
21680,
7554,
549,
17444,
427,
5312,
272,
7969,
518,
23394,
1640,
3430,
5864,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo? | CREATE TABLE table_name_5 (hanja___kanji VARCHAR, korean_name VARCHAR) | SELECT hanja___kanji FROM table_name_5 WHERE korean_name = "chungcheong-bukdo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
2618,
1191,
834,
834,
834,
1258,
21391,
584,
4280,
28027,
6,
3,
5543,
15,
152,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
2618,
1191,
834,
834,
834,
1258,
21391,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
3,
5543,
15,
152,
834,
4350,
3274,
96,
23131,
1033,
2444,
18,
115,
1598,
26,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-... |
Which Year has a Position of 4th? | CREATE TABLE table_name_6 (
year INTEGER,
position VARCHAR
) | SELECT SUM(year) FROM table_name_6 WHERE position = "4th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
215,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2929,
65,
3,
9,
14258,
13,
314,
189,
58,
1,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
1201,
61,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
1102,
3274,
96,
591,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the altitude (or elevation) of the airports in the city of New York? Show me a bar chart, and I want to sort from low to high by the x axis. | CREATE TABLE routes (
rid integer,
dst_apid integer,
dst_ap varchar(4),
src_apid bigint,
src_ap varchar(4),
alid bigint,
airline varchar(4),
codeshare text
)
CREATE TABLE airlines (
alid integer,
name text,
iata varchar(2),
icao varchar(3),
callsign text,
country... | SELECT name, elevation FROM airports WHERE city = 'New York' ORDER BY name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
9729,
41,
5413,
30278,
6,
3,
26,
7,
17,
834,
9,
12417,
30278,
6,
3,
26,
7,
17,
834,
9,
102,
3,
4331,
4059,
10820,
6,
3,
7,
52,
75,
834,
9,
12417,
600,
77,
17,
6,
3,
7,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
564,
6,
16417,
21680,
3761,
7,
549,
17444,
427,
690,
3274,
3,
31,
6861,
1060,
31,
4674,
11300,
272,
476,
564,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many patients whose marital status is single and diagnoses long title is depressive disorder, not elsewhere classified? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.long_title = "Depressive disorder, not elsewhere classified" | [
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,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
What is HDTV, when Television Service is MTV Rocks? | CREATE TABLE table_41067 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
) | SELECT "HDTV" FROM table_41067 WHERE "Television service" = 'mtv rocks' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24175,
3708,
41,
96,
382,
400,
6610,
313,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
434,
1468,
76,
545,
121,
1499,
6,
96,
4302,
4669,
121,
1499,
6,
96,
11083,
4562,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
11083,
4562,
121,
21680,
953,
834,
24175,
3708,
549,
17444,
427,
96,
382,
400,
6610,
313,
121,
3274,
3,
31,
51,
17,
208,
12288,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Name has a Championship larger than 2, and a Total larger than 4, and an FA Cup larger than 0? | CREATE TABLE table_name_72 (name VARCHAR, fa_cup VARCHAR, championship VARCHAR, total VARCHAR) | SELECT name FROM table_name_72 WHERE championship > 2 AND total > 4 AND fa_cup > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
4350,
584,
4280,
28027,
6,
3,
89,
9,
834,
4658,
584,
4280,
28027,
6,
10183,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
10183,
2490,
204,
3430,
792,
2490,
314,
3430,
3,
89,
9,
834,
4658,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many patients admitted before the year 2139 undertook drug route nu? | 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2139" AND prescriptions.route = "NU" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
Who was the opponent when Steven Smith had 3.3 overs? | CREATE TABLE table_68117 (
"Player" text,
"Overs" real,
"Figures" text,
"Opponent" text,
"Ground" text
) | SELECT "Opponent" FROM table_68117 WHERE "Overs" = '3.3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
20275,
41,
96,
15800,
49,
121,
1499,
6,
96,
23847,
7,
121,
490,
6,
96,
16691,
7,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
517,
7775,
121,
1499,
3,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
102,
9977,
121,
21680,
953,
834,
3651,
20275,
549,
17444,
427,
96,
23847,
7,
121,
3274,
3,
31,
19660,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the Against when the Opposing Team was sheffield wednesday? | CREATE TABLE table_name_24 (
against VARCHAR,
opposing_team VARCHAR
) | SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
581,
584,
4280,
28027,
6,
10720,
53,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3,
20749,
116,
8,
4495,
2748,
53,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
581,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
10720,
53,
834,
11650,
3274,
96,
7,
88,
89,
1846,
62,
26,
1496,
1135,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the date the successor was seated for the georgia 6th district? | CREATE TABLE table_1446600_4 (
date_successor_seated VARCHAR,
district VARCHAR
) | SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4448,
6007,
834,
591,
41,
833,
834,
7,
17431,
24901,
834,
22933,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
834,
7,
17431,
24901,
834,
22933,
21680,
953,
834,
2534,
4448,
6007,
834,
591,
549,
17444,
427,
3939,
3274,
96,
517,
15,
1677,
23,
9,
431,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what team was the opponent in the first game with over 35,000 attendees ? | CREATE TABLE table_203_673 (
id number,
"#" number,
"date" text,
"opponent" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" number,
"record" text
) | SELECT "opponent" FROM table_203_673 WHERE "attendance" > 35000 ORDER BY "date" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3708,
519,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
3757,
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,
32,
102,
9977,
121,
21680,
953,
834,
23330,
834,
3708,
519,
549,
17444,
427,
96,
15116,
663,
121,
2490,
220,
12814,
4674,
11300,
272,
476,
96,
5522,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For those employees who was hired before 2002-06-21, find hire_date and the amount of hire_date bin hire_date by time, and visualize them by a bar chart, and sort by the Y from low to high. | CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
... | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY COUNT(HIRE_DATE) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1440,
41,
2847,
17161,
11824,
834,
4309,
3,
4331,
4059,
16426,
6,
2847,
17161,
11824,
834,
567,
17683,
3,
4331,
4059,
599,
2445,
201,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
1714,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
2847,
17161,
599,
566,
14132,
834,
308,
6048,
61,
21680,
1652,
549,
17444,
427,
454,
14132,
834,
308,
6048,
3,
2,
3,
31,
24898,
18,
5176,
16539,
31,
4674,
11300,
272,
476,
2847,
17161,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.