NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Who was the winner when Katsuyuki Hiranaka had the fastest lap? | CREATE TABLE table_name_89 (
winner VARCHAR,
fastest_lap VARCHAR
) | SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
4668,
584,
4280,
28027,
6,
10391,
834,
8478,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
4668,
116,
480,
23766,
63,
1598,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4668,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
10391,
834,
8478,
3274,
96,
157,
23766,
63,
1598,
23,
3,
9288,
152,
5667,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
provide the number of patients whose ethnicity is white and drug type is additive? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.drug_type = "ADDITIVE" | [
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... |
How many entries are listed for party during the 69th congress? | CREATE TABLE table_2841865_2 (
party VARCHAR,
congress VARCHAR
) | SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4608,
2606,
4122,
834,
357,
41,
1088,
584,
4280,
28027,
6,
27197,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
10066,
33,
2616,
21,
1088,
383,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8071,
61,
21680,
953,
834,
357,
4608,
2606,
4122,
834,
357,
549,
17444,
427,
27197,
3274,
96,
3951,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which capital has a Hangul of ? | CREATE TABLE table_name_97 (
capital VARCHAR,
hangul_chosongul VARCHAR
) | SELECT capital FROM table_name_97 WHERE hangul_chosongul = "경상남도" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
1784,
584,
4280,
28027,
6,
5168,
83,
834,
3995,
739,
6106,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1784,
65,
3,
9,
15280,
83,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1784,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
5168,
83,
834,
3995,
739,
6106,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which FA Division has a length of 2704 km? | CREATE TABLE table_45437 (
"Concessionaire" text,
"FA Division(s)" text,
"Gauge" text,
"Length, km" real,
"Takeover Date" text
) | SELECT "FA Division(s)" FROM table_45437 WHERE "Length, km" = '2704' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
591,
4118,
41,
96,
4302,
19988,
2378,
121,
1499,
6,
96,
4795,
6022,
599,
7,
61,
121,
1499,
6,
96,
517,
9,
12972,
121,
1499,
6,
96,
434,
4606,
189,
6,
2280,
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,
4795,
6022,
599,
7,
61,
121,
21680,
953,
834,
2128,
591,
4118,
549,
17444,
427,
96,
434,
4606,
189,
6,
2280,
121,
3274,
3,
31,
17485,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What award was Denis Lawson nominated for in the Best Actor in a Musical category? | CREATE TABLE table_55031 (
"Year" real,
"Award" text,
"Category" text,
"Nominee" text,
"Result" text
) | SELECT "Award" FROM table_55031 WHERE "Category" = 'best actor in a musical' AND "Nominee" = 'denis lawson' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17147,
3341,
41,
96,
476,
2741,
121,
490,
6,
96,
188,
2239,
121,
1499,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
4168,
8695,
15,
121,
1499,
6,
96,
20119,
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,
188,
2239,
121,
21680,
953,
834,
17147,
3341,
549,
17444,
427,
96,
18610,
6066,
651,
121,
3274,
3,
31,
9606,
7556,
16,
3,
9,
4183,
31,
3430,
96,
4168,
8695,
15,
121,
3274,
3,
31,
537,
159,
3786,
106,
31,
1,
... |
What is the total for 1986 with a to par higher than 6? | CREATE TABLE table_name_87 (
total VARCHAR,
year_s__won VARCHAR,
to_par VARCHAR
) | SELECT COUNT(total) FROM table_name_87 WHERE year_s__won = "1986" AND to_par > 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
792,
584,
4280,
28027,
6,
215,
834,
7,
834,
834,
210,
106,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
215,
834,
7,
834,
834,
210,
106,
3274,
96,
2294,
3840,
121,
3430,
12,
834,
1893,
2490,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver? | CREATE TABLE table_name_31 (
grid INTEGER,
laps VARCHAR,
driver VARCHAR
) | SELECT MIN(grid) FROM table_name_31 WHERE laps = 10 AND driver = "jonathan summerton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
8634,
3,
21342,
17966,
6,
14941,
7,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
17924,
8634,
381,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
14941,
7,
3274,
335,
3430,
2535,
3274,
96,
15429,
9,
6736,
1248,
17,
106,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the latest Year, when the Venue is L bker Golf Resort? | CREATE TABLE table_14572 (
"Year" real,
"Venue" text,
"Winner" text,
"Country" text,
"Score" text
) | SELECT MAX("Year") FROM table_14572 WHERE "Venue" = 'lübker golf resort' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20987,
5865,
41,
96,
476,
2741,
121,
490,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
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,
4800,
4,
599,
121,
476,
2741,
8512,
21680,
953,
834,
20987,
5865,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
40,
1272,
115,
2304,
4319,
4631,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the shuttle time for the level where the speed is 15.5 km/h? | CREATE TABLE table_1751142_2 (
shuttle_time__seconds_ VARCHAR,
speed__km_h_ VARCHAR
) | SELECT shuttle_time__seconds_ FROM table_1751142_2 WHERE speed__km_h_ = "15.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
5553,
24978,
834,
357,
41,
19317,
834,
715,
834,
834,
12091,
7,
834,
584,
4280,
28027,
6,
1634,
834,
834,
5848,
834,
107,
834,
584,
4280,
28027,
3,
61,
3,
32102,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
19317,
834,
715,
834,
834,
12091,
7,
834,
21680,
953,
834,
2517,
5553,
24978,
834,
357,
549,
17444,
427,
1634,
834,
834,
5848,
834,
107,
834,
3274,
96,
1808,
5,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the highest number of goals for 1922–1935? | CREATE TABLE table_name_18 (goals INTEGER, years VARCHAR) | SELECT MAX(goals) FROM table_name_18 WHERE years = "1922–1935" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
839,
5405,
3,
21342,
17966,
6,
203,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2030,
381,
13,
1766,
21,
957,
2884,
104,
2294,
246... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
203,
3274,
96,
2294,
2884,
104,
2294,
2469,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the title of the album that has Popup has the original label? | CREATE TABLE table_name_25 (album_title VARCHAR, original_label VARCHAR) | SELECT album_title FROM table_name_25 WHERE original_label = "popup" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
23703,
834,
21869,
584,
4280,
28027,
6,
926,
834,
40,
10333,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2233,
13,
8,
2306,
24,
65... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2306,
834,
21869,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
926,
834,
40,
10333,
3274,
96,
9791,
413,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogot , and a Score of 6 0, 6 4? | CREATE TABLE table_name_51 (
opponent VARCHAR,
score VARCHAR,
tournament VARCHAR,
surface VARCHAR,
outcome VARCHAR
) | SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
15264,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
6,
6138,
584,
4280,
28027,
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,
15264,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
1774,
3274,
96,
4651,
63,
121,
3430,
6138,
3274,
96,
3757,
687,
121,
3430,
5892,
3274,
96,
12247,
32,
17,
2975,
121,
3430,
2604,
3274,
96,
948,
104,
632,
6,
... |
what is the name of the organism that was found in the last other test of patient 031-3355 during the current hospital encounter? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid numb... | SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.cultur... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7757,
41,
7757,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
17166,
1499,
6,
2981,
20466,
29,
1499,
6,
2672,
10208,
715,
97,
6,
4845,
2916,
715,
97,
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,
2179,
9339,
5,
11127,
159,
51,
21680,
2179,
9339,
549,
17444,
427,
2179,
9339,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061... |
Which Venue has a Result of 2 2 and Attendances of 5,760? | CREATE TABLE table_name_58 (
venue VARCHAR,
result VARCHAR,
attendance VARCHAR
) | SELECT venue FROM table_name_58 WHERE result = "2–2" AND attendance = "5,760" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
5669,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
29940,
65,
3,
9,
3,
20119,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
741,
3274,
96,
357,
104,
357,
121,
3430,
11364,
3274,
96,
11116,
28212,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Third has a Nation of scotland? | CREATE TABLE table_75137 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
) | SELECT "Third" FROM table_75137 WHERE "Nation" = 'scotland' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
24636,
41,
96,
567,
257,
121,
1499,
6,
96,
134,
2168,
102,
121,
1499,
6,
96,
382,
9288,
26,
121,
1499,
6,
96,
134,
15,
1018,
26,
121,
1499,
6,
96,
2796,
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,
96,
382,
9288,
26,
121,
21680,
953,
834,
3072,
24636,
549,
17444,
427,
96,
567,
257,
121,
3274,
3,
31,
7,
4310,
40,
232,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What position did the player from Rice College play who was picked under 15? | CREATE TABLE table_name_24 (position VARCHAR, pick VARCHAR, college VARCHAR) | SELECT position FROM table_name_24 WHERE pick < 15 AND college = "rice" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
4718,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
410,
8,
1959,
45,
16869,
1888... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
1432,
3,
2,
627,
3430,
1900,
3274,
96,
4920,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the score on october 17, 2007? | CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_33 WHERE date = "october 17, 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
30,
3,
32,
75,
235,
1152,
12864,
4101,
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,
4201,
549,
17444,
427,
833,
3274,
96,
32,
75,
235,
1152,
12864,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
give me a restaurant on buchanan in san francisco that serves good arabic food ? | CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varchar,
rating "decimal
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varchar,
city_name varchar
)
CREATE TABLE geographic (
city_name varchar,
county varchar,
reg... | SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'san francisco' AND location.street_name = 'buchanan' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2062,
41,
3,
23,
26,
16,
17,
6,
564,
3,
4331,
4059,
6,
542,
834,
6137,
3,
4331,
4059,
6,
690,
834,
4350,
3,
4331,
4059,
6,
5773,
96,
24223,
1982,
3,
61,
3,
32102,
32103,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1128,
5,
1840,
834,
5525,
1152,
6,
2062,
5,
4350,
21680,
1128,
6,
2062,
549,
17444,
427,
1128,
5,
6726,
834,
4350,
3274,
3,
31,
7,
152,
2515,
11389,
3523,
31,
3430,
1128,
5,
22967,
834,
4350,
3274,
3,
31,
5671,
... |
Which event had a prize of $2,434,061? | CREATE TABLE table_14973 (
"Rank" text,
"Event" text,
"Place" text,
"Name" text,
"Prize" text
) | SELECT "Name" FROM table_14973 WHERE "Prize" = '$2,434,061' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24816,
4552,
41,
96,
22557,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
345,
11706,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
7855,
776,
121,
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,
0,
0... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
24816,
4552,
549,
17444,
427,
96,
7855,
776,
121,
3274,
3,
31,
3229,
4482,
4906,
8525,
632,
4241,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1 | CREATE TABLE table_name_61 (
fencing_victories__pts_ VARCHAR,
shooting_score__pts_ VARCHAR,
total VARCHAR
) | SELECT fencing_victories__pts_ FROM table_name_61 WHERE shooting_score__pts_ = "187 (1180)" AND total < 5640 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
24141,
834,
7287,
235,
2593,
834,
834,
102,
17,
7,
834,
584,
4280,
28027,
6,
5262,
834,
7,
9022,
834,
834,
102,
17,
7,
834,
584,
4280,
28027,
6,
792,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
24141,
834,
7287,
235,
2593,
834,
834,
102,
17,
7,
834,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
5262,
834,
7,
9022,
834,
834,
102,
17,
7,
834,
3274,
96,
25828,
4077,
20829,
61,
121,
3430,
792,
3,
2,
3... |
Who was the Away team on the result of 1-5 aet? | CREATE TABLE table_6773 (
"Season" text,
"Round" text,
"Date" text,
"Home" text,
"Away" text,
"Result" text
) | SELECT "Away" FROM table_6773 WHERE "Result" = '1-5 aet' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
4552,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
188,
1343,
121,
1499,
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,
188,
1343,
121,
21680,
953,
834,
3708,
4552,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
536,
4525,
3,
9,
15,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What position did the player who was picked in round 3 play? | CREATE TABLE table_name_18 (
position VARCHAR,
round VARCHAR
) | SELECT position FROM table_name_18 WHERE round = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
1102,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
410,
8,
1959,
113,
47,
4758,
16,
1751,
220,
577,
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,
1102,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
1751,
3274,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the lowest Total, when Silver is greater than 7, and when Gold is greater than 73? | CREATE TABLE table_name_99 (
total INTEGER,
silver VARCHAR,
gold VARCHAR
) | SELECT MIN(total) FROM table_name_99 WHERE silver > 7 AND gold > 73 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
792,
3,
21342,
17966,
6,
4294,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
9273,
6,
116,
5642,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
4294,
2490,
489,
3430,
2045,
2490,
3,
4552,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the pos for west ham united | CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR) | SELECT MIN(pos) FROM table_226619_12 WHERE club = "West Ham United" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
3539,
2294,
834,
2122,
41,
2748,
3,
21342,
17966,
6,
1886,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3,
2748,
21,
4653,
3,
1483,
18279,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
2748,
61,
21680,
953,
834,
2884,
3539,
2294,
834,
2122,
549,
17444,
427,
1886,
3274,
96,
19069,
5845,
907,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show institution names along with the number of proteins for each institution. Plot them as pie chart. | CREATE TABLE Institution (
Institution_id text,
Institution text,
Location text,
Founded real,
Type text,
Enrollment int,
Team text,
Primary_Conference text,
building_id text
)
CREATE TABLE protein (
common_name text,
protein_name text,
divergence_from_human_lineage real... | SELECT Institution, COUNT(*) FROM Institution AS T1 JOIN protein AS T2 ON T1.Institution_id = T2.Institution_id GROUP BY T1.Institution_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14932,
41,
14932,
834,
23,
26,
1499,
6,
14932,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
6632,
1499,
6,
695,
4046,
297,
16,
17,
6,
2271,
1499,
6,
14542,
834,
4302,
11788,
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,
14932,
6,
2847,
17161,
599,
1935,
61,
21680,
14932,
6157,
332,
536,
3,
15355,
3162,
3619,
6157,
332,
357,
9191,
332,
5411,
1570,
17448,
834,
23,
26,
3274,
332,
4416,
1570,
17448,
834,
23,
26,
350,
4630,
6880,
272,
4... |
Which Tie has a Score of 5 1? | CREATE TABLE table_7605 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Tie no" FROM table_7605 WHERE "Score" = '5–1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
3076,
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,
308,
342,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
382,
23,
15,
150,
121,
21680,
953,
834,
3959,
3076,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
755,
104,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the record for the date of June 14? | CREATE TABLE table_name_84 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_84 WHERE date = "june 14" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
60,
7621,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1368,
21,
8,
833,
13,
1515,
968,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
833,
3274,
96,
6959,
15,
968,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
provide the number of patients with the diagnoses of ostium secundum type atrial septal defect who were hospitalized for more than 8 days. | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "8" AND diagnoses.long_title = "Ostium secundum type atrial septal defect" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
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... |
count the number of patients whose primary disease is sdh and procedure icd9 code is 309. | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "SDH" AND procedures.icd9_code = "309" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What grid has 23 laps done by Josh Brookes? | CREATE TABLE table_name_1 (
grid VARCHAR,
laps VARCHAR,
rider VARCHAR
) | SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
8634,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
2564,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
8634,
65,
1902,
14941,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8634,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
14941,
7,
3274,
1902,
3430,
2564,
52,
3274,
96,
1927,
7,
107,
3,
14370,
15,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Return a bar chart on what is the average base price of different bed type? List bed type and average base price, and show in asc by the Y-axis. | CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adul... | SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType ORDER BY AVG(basePrice) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4181,
7,
41,
4181,
196,
26,
3,
3463,
4,
382,
6,
562,
23954,
3,
3463,
4,
382,
6,
8326,
3,
21342,
17966,
6,
1953,
25160,
3,
3463,
4,
382,
6,
9858,
667,
75,
4658,
6833,
3,
21342,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1953,
25160,
6,
71,
17217,
599,
10925,
345,
4920,
61,
21680,
4181,
7,
350,
4630,
6880,
272,
476,
1953,
25160,
4674,
11300,
272,
476,
71,
17217,
599,
10925,
345,
4920,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where does Iceland rank with under 19 silvers? | CREATE TABLE table_name_12 (rank INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MAX(rank) FROM table_name_12 WHERE nation = "iceland" AND silver < 19 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
6254,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
405,
20910,
11003,
28,
365,
957,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
2982,
3274,
96,
867,
40,
232,
121,
3430,
4294,
3,
2,
957,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the lowest vuelta wins when the rank is 19 and combo is more than 0? | CREATE TABLE table_64148 (
"Rank" text,
"Country" text,
"Jerseys" real,
"Vuelta Wins" real,
"Points" real,
"Combo'" real,
"Different holders" real
) | SELECT MIN("Vuelta Wins") FROM table_64148 WHERE "Rank" = '19' AND "Combo'" > '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4389,
24748,
41,
96,
22557,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
683,
277,
15,
63,
7,
121,
490,
6,
96,
553,
76,
15,
40,
17,
9,
4871,
7,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
553,
76,
15,
40,
17,
9,
4871,
7,
8512,
21680,
953,
834,
4389,
24748,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
2294,
31,
3430,
96,
3881,
6310,
31,
121,
2490,
3,
31,
632,
31,
1,
-100,
-1... |
what had a score of 70-71-68-72=281? | CREATE TABLE table_36092 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT "Country" FROM table_36092 WHERE "Score" = '70-71-68-72=281' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19208,
4508,
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,
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,
10628,
651,
121,
21680,
953,
834,
19208,
4508,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
2518,
18,
4450,
18,
3651,
18,
5865,
2423,
2577,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many titles are listed with 8.44 million viewers? | CREATE TABLE table_24910733_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(title) FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3647,
18057,
4201,
834,
536,
41,
21869,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
21869,
61,
21680,
953,
834,
357,
3647,
18057,
4201,
834,
536,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
3274,
96,
927,
5,
3628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Combination classification has a Stage of 14? | CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR) | SELECT combination_classification FROM table_name_17 WHERE stage = "14" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
9763,
77,
257,
834,
4057,
2420,
584,
4280,
28027,
6,
1726,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
20578,
257,
13774,
65,
3,
9,
13578,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2711,
834,
4057,
2420,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
1726,
3274,
96,
2534,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the smallest ERP for allentown, pennsylvania? | CREATE TABLE table_name_66 (
erp_w INTEGER,
city_of_license VARCHAR
) | SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
3,
49,
102,
834,
210,
3,
21342,
17966,
6,
690,
834,
858,
834,
28062,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
17924,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
49,
102,
834,
210,
61,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
690,
834,
858,
834,
28062,
3274,
96,
1748,
35,
3540,
6,
4550,
29,
7,
63,
40,
16658,
9,
121,
1,
-100,
-100,
-100,
-100,
-10... |
On how many different dates did the episode with series number 35 air for the first time? | CREATE TABLE table_20046379_3 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT COUNT(original_air_date) FROM table_20046379_3 WHERE no_in_series = "35" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21653,
3891,
4440,
834,
519,
41,
21878,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
150,
834,
77,
834,
10833,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
21878,
834,
2256,
834,
5522,
61,
21680,
953,
834,
21653,
3891,
4440,
834,
519,
549,
17444,
427,
150,
834,
77,
834,
10833,
7,
3274,
96,
2469,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
make a count of the number of patients who are discharged from the hospital until 1 year ago. | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE lab (
labid numbe... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime) <= DATETIME(CURRENT_TIME(), '-1 year') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
1868,
5,
202,
1495,
12417,
61,
21680,
1868,
549,
17444,
427,
4486,
1868,
5,
31386,
26,
159,
7993,
715,
6827,
13046,
10376,
3430,
309,
6048,
382,
15382,
599,
10061,
5,
31386,
26,
1... |
Which celebrity was famous for finishing 9th? | CREATE TABLE table_6582 (
"Celebrity" text,
"Famous for" text,
"Entered" text,
"Exited" text,
"Finished" text
) | SELECT "Famous for" FROM table_6582 WHERE "Finished" = '9th' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
4613,
41,
96,
254,
400,
2160,
17,
63,
121,
1499,
6,
96,
371,
265,
1162,
21,
121,
1499,
6,
96,
16924,
3737,
121,
1499,
6,
96,
5420,
23,
1054,
121,
1499,
6,
96,
311... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
371,
265,
1162,
21,
121,
21680,
953,
834,
4122,
4613,
549,
17444,
427,
96,
31135,
121,
3274,
3,
31,
1298,
189,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
A bar chart for how many competitions for each country, and rank by the the number of country in desc. | CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real,
Silver real,
Bronze real,
Total real
)
CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE club (
Club_ID int,
name text,
Region text,
Start_yea... | SELECT Country, COUNT(Country) FROM competition GROUP BY Country ORDER BY COUNT(Country) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1886,
834,
6254,
41,
3,
22557,
490,
6,
1949,
834,
4309,
16,
17,
6,
2540,
490,
6,
5642,
490,
6,
20841,
490,
6,
9273,
490,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6993,
6,
2847,
17161,
599,
10628,
651,
61,
21680,
2259,
350,
4630,
6880,
272,
476,
6993,
4674,
11300,
272,
476,
2847,
17161,
599,
10628,
651,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the venue when Jerran Hart won? | CREATE TABLE table_67873 (
"Year" real,
"Venue" text,
"Winner" text,
"Runner-Up" text,
"Third" text
) | SELECT "Venue" FROM table_67873 WHERE "Winner" = 'jerran hart' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
4225,
519,
41,
96,
476,
2741,
121,
490,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
18455,
687,
121,
1499,
6,
96,
23572,
18,
11161,
121,
1499,
6,
96,
382,
9288,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
3708,
4225,
519,
549,
17444,
427,
96,
18455,
687,
121,
3274,
3,
31,
12488,
2002,
12479,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the fewest floors for the building that has a height of 116 meters? | CREATE TABLE table_8313 (
"Years as tallest" text,
"Name" text,
"Height (m)" real,
"Height (ft)" real,
"Floors" real,
"Location" text
) | SELECT MIN("Floors") FROM table_8313 WHERE "Height (m)" = '116' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4591,
2368,
41,
96,
476,
2741,
7,
38,
5065,
222,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
3845,
2632,
41,
51,
61,
121,
490,
6,
96,
3845,
2632,
41,
89,
17,
61,
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,
3,
17684,
599,
121,
11251,
127,
7,
8512,
21680,
953,
834,
4591,
2368,
549,
17444,
427,
96,
3845,
2632,
41,
51,
61,
121,
3274,
3,
31,
20159,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the to par for the winnings of 232500? | CREATE TABLE table_30547 (
"#" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Winnings ($)" real,
"After" real,
"Before" real
) | SELECT "To par" FROM table_30547 WHERE "Winnings ($)" = '232500' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26724,
4177,
41,
96,
4663,
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,
96,
518,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
260,
121,
21680,
953,
834,
26724,
4177,
549,
17444,
427,
96,
518,
10503,
7,
8785,
61,
121,
3274,
3,
31,
23188,
2560,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What Nationality has a Time of 9:01.70? | CREATE TABLE table_name_58 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_58 WHERE time = "9:01.70" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
16557,
485,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
868,
485,
65,
3,
9,
2900,
13,
668,
10,
10068,
2518,
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,
1157,
485,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
97,
3274,
96,
1298,
10,
10068,
2518,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who has a Jersey number of 31? | CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR) | SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
20846,
584,
4280,
28027,
6,
13426,
834,
5525,
1152,
834,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
65,
3,
9,
5092,
381,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
13426,
834,
5525,
1152,
834,
7,
834,
3274,
96,
3341,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Display a bar chart for what is the name of each aircraft and how many flights does each one complete?, rank from high to low by the y-axis. | CREATE TABLE aircraft (
aid number(9,0),
name varchar2(30),
distance number(6,0)
)
CREATE TABLE employee (
eid number(9,0),
name varchar2(30),
salary number(10,2)
)
CREATE TABLE certificate (
eid number(9,0),
aid number(9,0)
)
CREATE TABLE flight (
flno number(4,0),
origin var... | SELECT name, COUNT(*) FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid ORDER BY COUNT(*) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6442,
41,
3052,
381,
599,
1298,
6,
632,
201,
564,
3,
4331,
4059,
357,
599,
1458,
201,
2357,
381,
599,
11071,
632,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
1935,
61,
21680,
3777,
6157,
332,
536,
3,
15355,
3162,
6442,
6157,
332,
357,
9191,
332,
5411,
6146,
3274,
332,
4416,
6146,
350,
4630,
6880,
272,
476,
332,
5411,
6146,
4674,
11300,
272,
476,
... |
What is Prize, when Name is 'Valdemar Kwaysser'? | CREATE TABLE table_43940 (
"Rank" text,
"Event" text,
"Place" text,
"Name" text,
"Prize" text
) | SELECT "Prize" FROM table_43940 WHERE "Name" = 'valdemar kwaysser' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3288,
2445,
41,
96,
22557,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
345,
11706,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
7855,
776,
121,
1499,
3,
61,
3,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
7855,
776,
121,
21680,
953,
834,
591,
3288,
2445,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
2165,
221,
1635,
3,
157,
6415,
7,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What college did the player who was drafted by Calgary go to? | CREATE TABLE table_28059992_6 (
college VARCHAR,
cfl_team VARCHAR
) | SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3076,
19446,
357,
834,
948,
41,
1900,
584,
4280,
28027,
6,
3,
75,
89,
40,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1900,
410,
8,
1959,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1900,
21680,
953,
834,
2577,
3076,
19446,
357,
834,
948,
549,
17444,
427,
3,
75,
89,
40,
834,
11650,
3274,
96,
14318,
1478,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
At what location was the score W 82-76? | CREATE TABLE table_47036 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) | SELECT "Location" FROM table_47036 WHERE "Score" = 'w 82-76' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27760,
3420,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
75,
257,
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,
434,
32,
75,
257,
121,
21680,
953,
834,
27760,
3420,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
210,
3,
4613,
18,
3959,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the opponent from September 28? | CREATE TABLE table_6600 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Opponent" FROM table_6600 WHERE "Date" = 'september 28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
1206,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
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,
96,
667,
102,
9977,
121,
21680,
953,
834,
3539,
1206,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7,
6707,
18247,
2059,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the 4th day in the year before 2012 that the finish is 33rd? | CREATE TABLE table_name_52 (year VARCHAR, finish_position VARCHAR) | SELECT 4 AS th_day FROM table_name_52 WHERE year < 2012 AND finish_position = "33rd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1201,
584,
4280,
28027,
6,
1992,
834,
4718,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
314,
189,
239,
16,
8,
215,
274,
1673,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
314,
6157,
3,
189,
834,
1135,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
215,
3,
2,
1673,
3430,
1992,
834,
4718,
3274,
96,
4201,
52,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What position does the player from malvern prep play? | CREATE TABLE table_name_40 (
position VARCHAR,
high_school VARCHAR
) | SELECT position FROM table_name_40 WHERE high_school = "malvern prep" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
1102,
584,
4280,
28027,
6,
306,
834,
6646,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
405,
8,
1959,
45,
1460,
624,
29,
13422,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
306,
834,
6646,
3274,
96,
1982,
624,
29,
13422,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
List all directors when Brad Radnitz was the writer? | CREATE TABLE table_26054 (
"Episode #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text,
"Production code #" real
) | SELECT "Directed by" FROM table_26054 WHERE "Written by" = 'Brad Radnitz' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18365,
5062,
41,
96,
427,
102,
159,
32,
221,
1713,
121,
490,
6,
96,
134,
15,
9,
739,
1713,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
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,
1... | [
3,
23143,
14196,
96,
23620,
15,
26,
57,
121,
21680,
953,
834,
18365,
5062,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
18304,
26,
6324,
29,
5615,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many times did an episode with a production code of 12003 was aired? | CREATE TABLE table_27250813_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT COUNT(original_air_date) FROM table_27250813_1 WHERE production_code = 12003 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
1828,
4018,
2368,
834,
536,
41,
21878,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
21878,
834,
2256,
834,
5522,
61,
21680,
953,
834,
2555,
1828,
4018,
2368,
834,
536,
549,
17444,
427,
999,
834,
4978,
3274,
209,
23948,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the total number of round for against the netherlands | CREATE TABLE table_22825058_23 (
round VARCHAR,
against VARCHAR
) | SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2577,
11434,
3449,
834,
2773,
41,
1751,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
1751,
21,
581,
8,
3134... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7775,
61,
21680,
953,
834,
357,
2577,
11434,
3449,
834,
2773,
549,
17444,
427,
581,
3274,
96,
634,
12023,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
In what City/State did the ATCC Round 4 series take place? | CREATE TABLE table_name_62 (
city___state VARCHAR,
series VARCHAR
) | SELECT city___state FROM table_name_62 WHERE series = "atcc round 4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
690,
834,
834,
834,
5540,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
896,
87,
134,
4748,
410,
8,
8043,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
690,
834,
834,
834,
5540,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
939,
3274,
96,
144,
75,
75,
1751,
3,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest total value when bask and base are each 3? | CREATE TABLE table_name_37 (total INTEGER, bask VARCHAR, base VARCHAR) | SELECT MAX(total) FROM table_name_37 WHERE bask = "3" AND base = "3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
235,
1947,
3,
21342,
17966,
6,
3905,
157,
584,
4280,
28027,
6,
1247,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
792,
701,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
3905,
157,
3274,
96,
519,
121,
3430,
1247,
3274,
96,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
which place has more jews , durdevo or zabalj ? | CREATE TABLE table_204_693 (
id number,
"place" text,
"total" number,
"men" number,
"women" number,
"children" number,
"elderly" number,
"serbs" number,
"jews" number,
"romani" number,
"rusyns" number,
"hungarians" number,
"russians" number
) | SELECT "place" FROM table_204_693 WHERE "place" IN ('đurđevo', 'zabalj') ORDER BY "jews" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3951,
519,
41,
3,
23,
26,
381,
6,
96,
4687,
121,
1499,
6,
96,
235,
1947,
121,
381,
6,
96,
904,
121,
381,
6,
96,
210,
32,
904,
121,
381,
6,
96,
25782,
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,
4687,
121,
21680,
953,
834,
26363,
834,
3951,
519,
549,
17444,
427,
96,
4687,
121,
3388,
41,
31,
2,
450,
2,
15,
1621,
31,
6,
3,
31,
1629,
3849,
354,
31,
61,
4674,
11300,
272,
476,
96,
1924,
210,
7,
121,
30... |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday. | 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),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMENT_ID decimal(... | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1652,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
30085,
834,
567,
17683,
3,
4331,
4059,
599,
1755,
201,
301,
12510,
834,
567,
17683,
3,
4331,
4059,
59... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
180,
4090,
24721,
272,
7969,
518,
23394,
3,
25129,
3430,
586,
2313,
3430,
3,
6657,
329,
16994,
... |
What is the average Laps that shows spun off for time? | CREATE TABLE table_name_56 (
laps INTEGER,
time VARCHAR
) | SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
14941,
7,
3,
21342,
17966,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
325,
102,
7,
24,
1267,
5955,
326,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
97,
3274,
96,
7,
6225,
326,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
tell me the four most common output events in 2104? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREA... | SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%output%' AND STRFTIME('%y', intakeoutput.intakeoutputtime) = '2104' GROUP BY intakeoutput.celllabel) AS t1 WHERE t1.c1 <= 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1058,
41,
1058,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1058,
4350,
1499,
6,
1058,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
7757,
41,
7757,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17,
5411,
8725,
40,
10333,
21680,
41,
23143,
14196,
11963,
670,
2562,
5,
8725,
40,
10333,
6,
3,
22284,
4132,
834,
16375,
439,
9960,
3,
23288,
41,
2990,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
61,... |
Find the id of the customers who have order status both 'On Road' and 'Shipped'. | CREATE TABLE customers (
customer_id VARCHAR
)
CREATE TABLE orders (
customer_id VARCHAR,
order_status VARCHAR
) | SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
722,
41,
884,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
5022,
41,
884,
834,
23,
26,
584,
4280,
28027,
6,
455,
834,
8547,
302,
584,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
25697,
49,
834,
23,
26,
21680,
722,
6157,
332,
536,
3,
15355,
3162,
5022,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
4416,
25697,
49,
834,
23,
26,
549,
17444,
427,
332,
4416,
93... |
Name the number of location for 22-1 | CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR) | SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2884,
4225,
4867,
3951,
834,
519,
41,
14836,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
1128,
21,
1630,
2292,
1,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
14836,
61,
21680,
953,
834,
2884,
4225,
4867,
3951,
834,
519,
549,
17444,
427,
1368,
3274,
96,
2884,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which skipper has a combine elapsed time of 174d 01h 11m 59s? | CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR) | SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
4009,
8153,
584,
4280,
28027,
6,
3334,
834,
15,
16543,
26,
834,
715,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
26205,
52,
65,
3,
9,
51... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
26205,
52,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
3334,
834,
15,
16543,
26,
834,
715,
3274,
96,
27693,
26,
7088,
107,
850,
51,
3,
3390,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the sum of wins when events is 13 and top-5 is less than 1? | CREATE TABLE table_name_15 (
wins INTEGER,
events VARCHAR,
top_5 VARCHAR
) | SELECT SUM(wins) FROM table_name_15 WHERE events = 13 AND top_5 < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
9204,
3,
21342,
17966,
6,
984,
584,
4280,
28027,
6,
420,
834,
755,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
4505,
13,
9204,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
3757,
7,
61,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
984,
3274,
1179,
3430,
420,
834,
755,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals? | CREATE TABLE table_name_34 (
bronze VARCHAR,
total VARCHAR,
gold VARCHAR,
nation VARCHAR
) | SELECT COUNT(bronze) FROM table_name_34 WHERE gold < 2 AND nation = "uganda" AND total > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
13467,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
13711,
776,
61,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
2045,
3,
2,
204,
3430,
2982,
3274,
96,
12204,
727,
9,
121,
3430,
792,
2490,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15? | CREATE TABLE table_42933 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | SELECT "Lost" FROM table_42933 WHERE "Position" > '2' AND "Drawn" > '0' AND "Against" > '15' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3166,
4201,
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,
434,
3481,
121,
21680,
953,
834,
591,
3166,
4201,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
2490,
3,
31,
357,
31,
3430,
96,
308,
10936,
29,
121,
2490,
3,
31,
632,
31,
3430,
96,
20749,
121,
2490,
3,
31,
1... |
What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270? | CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR) | SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
1201,
3,
21342,
17966,
6,
4668,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3,
16454,
215,
383,
84,
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,
3,
17684,
599,
1201,
61,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
4668,
3274,
96,
3357,
532,
210,
3,
1765,
121,
3430,
2604,
2490,
3,
17485,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Proto-Oceanic has a Proto-Polynesian of *lima? | CREATE TABLE table_41800 (
"Number" text,
"Proto-Austronesian" text,
"Proto-Malayo-Polynesian" text,
"Proto-Oceanic" text,
"Proto-Polynesian" text
) | SELECT "Proto-Oceanic" FROM table_41800 WHERE "Proto-Polynesian" = '*lima' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
6192,
41,
96,
567,
5937,
49,
121,
1499,
6,
96,
3174,
235,
18,
14934,
6255,
15,
10488,
121,
1499,
6,
96,
3174,
235,
18,
329,
9,
5595,
32,
18,
8931,
63,
29,
15,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3174,
235,
18,
667,
8433,
2532,
121,
21680,
953,
834,
4853,
6192,
549,
17444,
427,
96,
3174,
235,
18,
8931,
63,
29,
15,
10488,
121,
3274,
3,
31,
1935,
4941,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which steal/intercept ball has no for both the sliding tackle and dump tackle? | CREATE TABLE table_name_37 (
steal_intercept_ball VARCHAR,
sliding_tackle VARCHAR,
dump_tackle VARCHAR
) | SELECT steal_intercept_ball FROM table_name_37 WHERE sliding_tackle = "no" AND dump_tackle = "no" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
11332,
834,
3870,
6873,
834,
3184,
584,
4280,
28027,
6,
13441,
834,
17,
9,
19376,
584,
4280,
28027,
6,
11986,
834,
17,
9,
19376,
584,
4280,
28027,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
11332,
834,
3870,
6873,
834,
3184,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
13441,
834,
17,
9,
19376,
3274,
96,
29,
32,
121,
3430,
11986,
834,
17,
9,
19376,
3274,
96,
29,
32,
121,
1,
-100,
-100,
-100,
-1... |
What is augusta's low rank? | CREATE TABLE table_name_58 (
rank INTEGER,
location VARCHAR
) | SELECT MIN(rank) FROM table_name_58 WHERE location = "augusta" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
11003,
3,
21342,
17966,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
14663,
9,
31,
7,
731,
11003,
58,
1,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
1128,
3274,
96,
402,
17198,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Final has a Run 2 of 1:27.58? | CREATE TABLE table_77472 (
"Team" text,
"Athletes" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Run 4" text,
"Final" text
) | SELECT "Final" FROM table_77472 WHERE "Run 2" = '1:27.58' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
4177,
357,
41,
96,
18699,
121,
1499,
6,
96,
188,
189,
109,
1422,
121,
1499,
6,
96,
448,
202,
209,
121,
1499,
6,
96,
448,
202,
204,
121,
1499,
6,
96,
448,
202,
220... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
371,
10270,
121,
21680,
953,
834,
4013,
4177,
357,
549,
17444,
427,
96,
448,
202,
204,
121,
3274,
3,
31,
536,
10,
2555,
5,
3449,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show all director names who have a movie in both year 1999 and 2000. | CREATE TABLE movie (
director VARCHAR,
YEAR VARCHAR
) | SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1974,
41,
2090,
584,
4280,
28027,
6,
30431,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
66,
2090,
3056,
113,
43,
3,
9,
1974,
16,
321,
215,
5247,
11,
2766,
5,
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,
2090,
21680,
1974,
549,
17444,
427,
30431,
3274,
2766,
3,
21342,
5249,
14196,
3,
23143,
14196,
2090,
21680,
1974,
549,
17444,
427,
30431,
3274,
5247,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the title with representative edward h. strobel | CREATE TABLE table_name_21 (title VARCHAR, representative VARCHAR) | SELECT title FROM table_name_21 WHERE representative = "edward h. strobel" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
21869,
584,
4280,
28027,
6,
6978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2233,
28,
6978,
3,
15,
26,
2239,
3,
107,
5,
3,
6626,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2233,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
6978,
3274,
96,
15,
26,
2239,
3,
107,
5,
3,
6626,
2370,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the D44 when D43 is R 14? | CREATE TABLE table_name_64 (
d_44 VARCHAR,
d_43 VARCHAR
) | SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
3,
26,
834,
3628,
584,
4280,
28027,
6,
3,
26,
834,
4906,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
309,
3628,
116,
309,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
3628,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
3,
26,
834,
4906,
3274,
96,
52,
968,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the highest Pick, when Round is greater than 15, and when College is "Tennessee"? | CREATE TABLE table_name_19 (pick INTEGER, round VARCHAR, college VARCHAR) | SELECT MAX(pick) FROM table_name_19 WHERE round > 15 AND college = "tennessee" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
17967,
3,
21342,
17966,
6,
1751,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
8356,
6,
116,
9609,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
17967,
61,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
1751,
2490,
627,
3430,
1900,
3274,
96,
324,
655,
15,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What results has a week smaller than 2? | CREATE TABLE table_34873 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" real
) | SELECT "Result" FROM table_34873 WHERE "Week" < '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
4225,
519,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
23055,
353,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
3710,
4225,
519,
549,
17444,
427,
96,
518,
10266,
121,
3,
2,
3,
31,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total? | CREATE TABLE table_name_59 (
gold VARCHAR,
bronze VARCHAR,
total VARCHAR
) | SELECT COUNT(gold) FROM table_name_59 WHERE bronze > 27 AND total < 305 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
2045,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
381,
13,
2045,
936... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
2847,
17161,
599,
14910,
61,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
13467,
2490,
2307,
3430,
792,
3,
2,
3,
26724,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the sum of Year opened when steel was the material with a Span feet of 1476? | CREATE TABLE table_name_75 (
year_opened INTEGER,
material VARCHAR,
span_feet VARCHAR
) | SELECT SUM(year_opened) FROM table_name_75 WHERE material = "steel" AND span_feet = 1476 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
215,
834,
26940,
3,
21342,
17966,
6,
1037,
584,
4280,
28027,
6,
8438,
834,
89,
15,
15,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
1201,
834,
26940,
61,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
1037,
3274,
96,
849,
15,
40,
121,
3430,
8438,
834,
89,
15,
15,
17,
3274,
968,
3959,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was segment D when segment B was jeans? | CREATE TABLE table_19893 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) | SELECT "Segment D" FROM table_19893 WHERE "Segment B" = 'Jeans' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24151,
4271,
41,
96,
12106,
7,
10395,
535,
1499,
6,
96,
427,
102,
159,
32,
221,
121,
490,
6,
96,
9688,
89,
17591,
121,
1499,
6,
96,
134,
15,
122,
297,
71,
121,
1499,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
15,
122,
297,
309,
121,
21680,
953,
834,
24151,
4271,
549,
17444,
427,
96,
134,
15,
122,
297,
272,
121,
3274,
3,
31,
7851,
3247,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who did the fastest lap when pole position was damon hill and the location was magny-cours? | CREATE TABLE table_name_33 (fastest_lap VARCHAR, pole_position VARCHAR, location VARCHAR) | SELECT fastest_lap FROM table_name_33 WHERE pole_position = "damon hill" AND location = "magny-cours" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
11584,
222,
834,
8478,
584,
4280,
28027,
6,
11148,
834,
4718,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
410,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
10391,
834,
8478,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
11148,
834,
4718,
3274,
96,
7812,
106,
9956,
121,
3430,
1128,
3274,
96,
7493,
29,
63,
18,
18346,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What years have claudia ruffo as the actor? | CREATE TABLE table_name_18 (years VARCHAR, actor VARCHAR) | SELECT years FROM table_name_18 WHERE actor = "claudia ruffo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
1201,
7,
584,
4280,
28027,
6,
7556,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
203,
43,
3,
4651,
5291,
9,
3,
52,
2999,
32,
38,
8,
7556... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
203,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
7556,
3274,
96,
4651,
5291,
9,
3,
52,
2999,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the highest Labour with Lib Dem larger than 21? | CREATE TABLE table_name_86 (
labour INTEGER,
lib_dem INTEGER
) | SELECT MAX(labour) FROM table_name_86 WHERE lib_dem > 21 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
12568,
3,
21342,
17966,
6,
3,
6856,
834,
1778,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2030,
16117,
28,
3,
14615,
10007,
2186,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
9339,
1211,
61,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
3,
6856,
834,
1778,
2490,
1401,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many different games had David Lee (13) with High rebounds? | CREATE TABLE table_1580 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT COUNT("Score") FROM table_1580 WHERE "High rebounds" = 'David Lee (13)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
2079,
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,
2847,
17161,
599,
121,
134,
9022,
8512,
21680,
953,
834,
1808,
2079,
549,
17444,
427,
96,
21417,
3,
23768,
121,
3274,
3,
31,
308,
9,
6961,
5531,
4077,
5268,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the total number of Caps Aca Ratuva, a flanker, has? | CREATE TABLE table_name_40 (caps VARCHAR, position VARCHAR, player VARCHAR) | SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
4010,
7,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
381,
13,
4000,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
4010,
7,
61,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
1102,
3274,
96,
89,
1618,
2304,
121,
3430,
1959,
3274,
96,
9,
658,
3,
1795,
76,
900,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the lowest round of the position de player with an overall less than 84? | CREATE TABLE table_name_51 (
round INTEGER,
position VARCHAR,
overall VARCHAR
) | SELECT MIN(round) FROM table_name_51 WHERE position = "de" AND overall < 84 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
1751,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
1751,
13,
8,
1102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7775,
61,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
1102,
3274,
96,
221,
121,
3430,
1879,
3,
2,
3,
4608,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what were the total number of drivers that had contact listed under their time ? | CREATE TABLE table_203_761 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) | SELECT COUNT("driver") FROM table_203_761 WHERE "time/retired" = 'contact' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3959,
536,
41,
3,
23,
26,
381,
6,
96,
2748,
121,
381,
6,
96,
29,
32,
121,
381,
6,
96,
13739,
52,
121,
1499,
6,
96,
11650,
121,
1499,
6,
96,
8478,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
13739,
52,
8512,
21680,
953,
834,
23330,
834,
3959,
536,
549,
17444,
427,
96,
715,
87,
10682,
1271,
121,
3274,
3,
31,
27608,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What number episode was Week 4, Part 1? | CREATE TABLE table_3266 (
"Episode Number" text,
"Episode" text,
"Original Airdate" text,
"Rating" text,
"Share" text,
"Rating/Share (18\u201349)" text,
"Viewers (millions)" text,
"Weekly Rank" real
) | SELECT "Episode Number" FROM table_3266 WHERE "Episode" = 'Week 4, Part 1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2668,
3539,
41,
96,
427,
102,
159,
32,
221,
7720,
121,
1499,
6,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
667,
3380,
10270,
1761,
5522,
121,
1499,
6,
96,
448,
1014,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
102,
159,
32,
221,
7720,
121,
21680,
953,
834,
2668,
3539,
549,
17444,
427,
96,
427,
102,
159,
32,
221,
121,
3274,
3,
31,
518,
10266,
6464,
2733,
209,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what team did not complete a single lap ? | CREATE TABLE table_203_218 (
id number,
"pos" number,
"class" text,
"no" number,
"team" text,
"drivers" text,
"chassis" text,
"engine" text,
"laps" number
) | SELECT "team" FROM table_203_218 WHERE "laps" = 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
2606,
41,
3,
23,
26,
381,
6,
96,
2748,
121,
381,
6,
96,
4057,
121,
1499,
6,
96,
29,
32,
121,
381,
6,
96,
11650,
121,
1499,
6,
96,
13739,
52,
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,
11650,
121,
21680,
953,
834,
23330,
834,
357,
2606,
549,
17444,
427,
96,
8478,
7,
121,
3274,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the years when the authority was state integrated and a decile of 9? | CREATE TABLE table_name_45 (
years VARCHAR,
authority VARCHAR,
decile VARCHAR
) | SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
203,
584,
4280,
28027,
6,
5015,
584,
4280,
28027,
6,
7908,
109,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
203,
116,
8,
5015,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
203,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
5015,
3274,
96,
5540,
4580,
121,
3430,
7908,
109,
3274,
96,
1298,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who was team 1 when team 2 was Young Africans? | CREATE TABLE table_name_65 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_65 WHERE team_2 = "young africans" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
11650,
834,
536,
584,
4280,
28027,
6,
372,
834,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
372,
209,
116,
372,
204,
47,
5209,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
834,
536,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
372,
834,
357,
3274,
96,
4188,
1725,
24040,
29,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the population (2008) when the capital was Sanniquellie, created later than 1964? | CREATE TABLE table_name_1 (population__2008_ INTEGER, capital VARCHAR, created VARCHAR) | SELECT SUM(population__2008_) FROM table_name_1 WHERE capital = "sanniquellie" AND created > 1964 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
9791,
7830,
834,
834,
16128,
834,
3,
21342,
17966,
6,
1784,
584,
4280,
28027,
6,
990,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
9791,
7830,
834,
834,
16128,
834,
61,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
1784,
3274,
96,
7,
14431,
4479,
1896,
121,
3430,
990,
2490,
18969,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Away team score for mcg? | CREATE TABLE table_name_26 (
away_team VARCHAR,
venue VARCHAR
) | SELECT away_team AS score FROM table_name_26 WHERE venue = "mcg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2688,
41,
550,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
71,
1343,
372,
2604,
21,
3,
51,
75,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
2688,
549,
17444,
427,
5669,
3274,
96,
51,
75,
122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the fewest points that Roger Dutton/Tony Wright have received? | CREATE TABLE table_41372 (
"Place" real,
"Rider" text,
"Country" text,
"Machine" text,
"Speed" text,
"Time" text,
"Points" real
) | SELECT MIN("Points") FROM table_41372 WHERE "Rider" = 'roger dutton/tony wright' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
4118,
357,
41,
96,
345,
11706,
121,
490,
6,
96,
448,
23,
588,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
329,
1836,
630,
121,
1499,
6,
96,
28328,
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,
3,
17684,
599,
121,
22512,
7,
8512,
21680,
953,
834,
4853,
4118,
357,
549,
17444,
427,
96,
448,
23,
588,
121,
3274,
3,
31,
3822,
49,
3,
26,
12499,
87,
17,
106,
63,
3,
210,
3535,
31,
1,
-100,
-100,
-100,
-100,
... |
Which Constructor has Pergusa in the Circuit? | CREATE TABLE table_name_49 (
constructor VARCHAR,
circuit VARCHAR
) | SELECT constructor FROM table_name_49 WHERE circuit = "pergusa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
6774,
127,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1193,
7593,
127,
65,
1915,
1744,
7,
9,
16,
8,
17007... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6774,
127,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
4558,
3274,
96,
883,
1744,
7,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What location and state has a circuit of Phillip Island Grand Prix Circuit? | CREATE TABLE table_name_59 (
location___state VARCHAR,
circuit VARCHAR
) | SELECT location___state FROM table_name_59 WHERE circuit = "phillip island grand prix circuit" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
1128,
834,
834,
834,
5540,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1128,
11,
538,
65,
3,
9,
4558,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
834,
834,
834,
5540,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
4558,
3274,
96,
18118,
7446,
3368,
1907,
3407,
4558,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the status for district georgia's 10th? | CREATE TABLE table_27021001_1 (status VARCHAR, district VARCHAR) | SELECT status FROM table_27021001_1 WHERE district = "Georgia's 10th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17485,
2658,
17465,
834,
536,
41,
8547,
302,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2637,
21,
3939,
873,
1677,
23,
9,
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,
2637,
21680,
953,
834,
17485,
2658,
17465,
834,
536,
549,
17444,
427,
3939,
3274,
96,
517,
15,
1677,
23,
9,
31,
7,
335,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Station Ownership of eicb tv, and a Call sign of ktcj-ld is what virtual network? | CREATE TABLE table_75027 (
"Call sign" text,
"Analog channel" text,
"Digital channel" text,
"Virtual channel" text,
"Network" text,
"Station Ownership" text
) | SELECT "Virtual channel" FROM table_75027 WHERE "Station Ownership" = 'eicb tv' AND "Call sign" = 'ktcj-ld' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9979,
2555,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
188,
29,
9,
2152,
4245,
121,
1499,
6,
96,
30225,
4245,
121,
1499,
6,
96,
21031,
17,
3471,
4245,
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,
21031,
17,
3471,
4245,
121,
21680,
953,
834,
9979,
2555,
549,
17444,
427,
96,
134,
6821,
13307,
2009,
121,
3274,
3,
31,
15,
447,
115,
3,
17,
208,
31,
3430,
96,
254,
1748,
1320,
121,
3274,
3,
31,
157,
17,
75,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.