NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Tell me the overall rank for heat rank of 8 | CREATE TABLE table_name_60 (
overall_rank VARCHAR,
heat_rank VARCHAR
) | SELECT overall_rank FROM table_name_60 WHERE heat_rank = 8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
1879,
834,
6254,
584,
4280,
28027,
6,
1678,
834,
6254,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
1879,
11003,
21,
1678,
11003... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1879,
834,
6254,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
1678,
834,
6254,
3274,
505,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Representative has a Termination of Mission as May 24, 1905? | CREATE TABLE table_name_10 (
representative VARCHAR,
termination_of_mission VARCHAR
) | SELECT representative FROM table_name_10 WHERE termination_of_mission = "may 24, 1905" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
6978,
584,
4280,
28027,
6,
18739,
834,
858,
834,
5451,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
13517,
65,
3,
9,
10181,
257,
13,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6978,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
18739,
834,
858,
834,
5451,
3274,
96,
13726,
14320,
3,
11776,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What event did Patti Lank have the winning skip? | CREATE TABLE table_64220 (
"Event" text,
"Date" text,
"Location" text,
"Winning skip" text,
"Runner-up skip" text
) | SELECT "Event" FROM table_64220 WHERE "Winning skip" = 'patti lank' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4389,
357,
1755,
41,
96,
427,
2169,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
518,
10503,
11202,
121,
1499,
6,
96,
23572,
18,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
2169,
121,
21680,
953,
834,
4389,
357,
1755,
549,
17444,
427,
96,
518,
10503,
11202,
121,
3274,
3,
31,
102,
15817,
3,
40,
5979,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who is the second member when RT Hon. Edward Stanley is the first member? | CREATE TABLE table_name_14 (second_member VARCHAR, first_member VARCHAR) | SELECT second_member FROM table_name_14 WHERE first_member = "rt hon. edward stanley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
12091,
834,
12066,
584,
4280,
28027,
6,
166,
834,
12066,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
511,
1144,
116,
3,
5934,
11772... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
511,
834,
12066,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
166,
834,
12066,
3274,
96,
52,
17,
3534,
29,
5,
3,
15,
26,
2239,
3,
5627,
1306,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Can you tell me the highest DCSF number that has the Name of field, and the Ofsted number larger than 117160? | CREATE TABLE table_name_52 (
dcsf_number INTEGER,
name VARCHAR,
ofsted_number VARCHAR
) | SELECT MAX(dcsf_number) FROM table_name_52 WHERE name = "field" AND ofsted_number > 117160 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
3,
26,
75,
7,
89,
834,
5525,
1152,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
6,
13,
6265,
834,
5525,
1152,
584,
4280,
28027,
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,
4800,
4,
599,
26,
75,
7,
89,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
564,
3274,
96,
1846,
121,
3430,
13,
6265,
834,
5525,
1152,
2490,
3,
20275,
19129,
1,
-100,
-100,
-100,
-100,
-10... |
What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there? | CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) | SELECT T1.Name, T3.Visit_Date FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" OR T2.Tourist_Details = "Vivian" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
20186,
3177,
22500,
41,
382,
1211,
343,
834,
4309,
584,
4280,
28027,
6,
21375,
834,
2962,
5756,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
2018... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23954,
6,
332,
5787,
553,
159,
155,
834,
308,
342,
21680,
21375,
834,
188,
17,
10559,
7,
6157,
332,
536,
3,
15355,
3162,
3,
20186,
3177,
22500,
6157,
332,
357,
3,
15355,
3162,
3,
20186,
21273,
6157,
332,
... |
What is the sum of cents that has 53ET cents less than 113.21, and a harmonic more than 1? | CREATE TABLE table_62396 (
"Harmonic" real,
"Ratio" text,
"Cents" real,
"12ET Cents" text,
"53ET Commas" real,
"53ET Cents" real
) | SELECT SUM("Cents") FROM table_62396 WHERE "53ET Cents" < '113.21' AND "Harmonic" > '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
519,
4314,
41,
96,
15537,
51,
4554,
121,
490,
6,
96,
448,
144,
23,
32,
121,
1499,
6,
96,
254,
295,
7,
121,
490,
6,
96,
2122,
7969,
18434,
7,
121,
1499,
6,
96,
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,
180,
6122,
599,
121,
254,
295,
7,
8512,
21680,
953,
834,
4056,
519,
4314,
549,
17444,
427,
96,
4867,
7969,
18434,
7,
121,
3,
2,
3,
31,
20522,
5,
2658,
31,
3430,
96,
15537,
51,
4554,
121,
2490,
3,
31,
536,
31,
... |
How many Games have an Average smaller than 46,864, and a W-L-T of 2-3-0, and an Attendance smaller than 98,776, and a Season larger than 1958? | CREATE TABLE table_14130 (
"Season" real,
"Games" real,
"W-L-T" text,
"Attendance" real,
"Average" real
) | SELECT SUM("Games") FROM table_14130 WHERE "Average" < '46,864' AND "W-L-T" = '2-3-0' AND "Attendance" < '98,776' AND "Season" > '1958' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26059,
1458,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
23055,
7,
121,
490,
6,
96,
518,
18,
434,
18,
382,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
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,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
23055,
7,
8512,
21680,
953,
834,
26059,
1458,
549,
17444,
427,
96,
188,
624,
545,
121,
3,
2,
3,
31,
4448,
6,
3840,
591,
31,
3430,
96,
518,
18,
434,
18,
382,
121,
3274,
3,
31,
7412,
22773,
... |
How many sets were played in the 2011 tournament, in which 2R were played in 2008? | CREATE TABLE table_14544 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2011" text,
"2012" text,
"2013" text
) | SELECT "2011" FROM table_14544 WHERE "2008" = '2r' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20987,
3628,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
20615,
121,
1499,
6,
96,
16128,
121,
1499,
6,
96,
16660,
121,
1499,
6,
96,
13907,
121,
1499,
6,
96,
12172,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13907,
121,
21680,
953,
834,
20987,
3628,
549,
17444,
427,
96,
16128,
121,
3274,
3,
31,
357,
52,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which tie number had a home team of Derby County? | CREATE TABLE table_63467 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Tie no" FROM table_63467 WHERE "Home team" = 'derby county' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
591,
3708,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
591,
3708,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
588,
969,
5435,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many people attended the game against athletics with the record of 9-12? | CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = "athletics" AND record = "9-12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
15116,
663,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
151,
5526,
8,
467,
581,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15116,
663,
61,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
15264,
3274,
96,
26170,
447,
7,
121,
3430,
1368,
3274,
96,
1298,
5947,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the total number of patients discharged to snf? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" | [
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,
549,
17444,
427,
14798,
5,
26,
159,
7993,
834,
14836,
3274,
96,
134,
12619,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which flag is most widely used among all ships? | CREATE TABLE ship (flag VARCHAR) | SELECT flag FROM ship GROUP BY flag ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4383,
41,
89,
5430,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5692,
19,
167,
5456,
261,
859,
66,
10911,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5692,
21680,
4383,
350,
4630,
6880,
272,
476,
5692,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What kind of Ground has a Home team score of 13.14 (92)? | CREATE TABLE table_48418 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
) | SELECT "Ground" FROM table_48418 WHERE "Home team score" = '13.14 (92)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3707,
591,
2606,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
517,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
517,
7775,
121,
21680,
953,
834,
3707,
591,
2606,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
2368,
5,
2534,
14156,
7318,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the high assists for 1-2 series | CREATE TABLE table_23284271_11 (high_assists VARCHAR, series VARCHAR) | SELECT high_assists FROM table_23284271_11 WHERE series = "1-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2577,
4165,
4450,
834,
2596,
41,
6739,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
306,
13041,
21,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
2773,
2577,
4165,
4450,
834,
2596,
549,
17444,
427,
939,
3274,
96,
9596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is days of hospital stay of subject name bruce harris? | 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 demographic.days_stay FROM demographic WHERE demographic.name = "Bruce Harris" | [
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,
14798,
5,
1135,
7,
834,
21545,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
9465,
565,
12551,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many gold did netherlands | CREATE TABLE table_204_107 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT "gold" FROM table_204_107 WHERE "nation" = 'netherlands' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
18057,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
29,
257,
121,
1499,
6,
96,
14910,
121,
381,
6,
96,
7,
173,
624,
121,
381,
6,
96,
13711,
776,
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,
14910,
121,
21680,
953,
834,
26363,
834,
18057,
549,
17444,
427,
96,
29,
257,
121,
3274,
3,
31,
29,
16764,
6347,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is No? | CREATE TABLE table_name_95 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) | SELECT reserved_instruments FROM table_name_95 WHERE conduct_of_litigation = "yes" AND probate_activities = "no" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
60,
3473,
15,
26,
834,
25232,
7,
584,
4280,
28027,
6,
3498,
834,
858,
834,
40,
23,
2880,
257,
584,
4280,
28027,
6,
12361,
342,
834,
8463,
2197,
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,
14040,
834,
25232,
7,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
3498,
834,
858,
834,
40,
23,
2880,
257,
3274,
96,
10070,
121,
3430,
12361,
342,
834,
8463,
2197,
3274,
96,
29,
32,
121,
1,
-100,
-100,
-100,
... |
Where is the Westfield State University located? | CREATE TABLE table_1974545_2 (location VARCHAR, institution VARCHAR) | SELECT location FROM table_1974545_2 WHERE institution = "Westfield State University" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
2128,
2128,
834,
357,
41,
14836,
584,
4280,
28027,
6,
6568,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
19,
8,
1244,
1846,
1015,
636,
1069,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1128,
21680,
953,
834,
27181,
2128,
2128,
834,
357,
549,
17444,
427,
6568,
3274,
96,
19069,
1846,
1015,
636,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the statuses of the platelet counts for the conditions where the prothrombin time and partial thromboblastin time is unaffected? | CREATE TABLE table_20592988_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR) | SELECT platelet_count FROM table_20592988_1 WHERE prothrombin_time = "Unaffected" AND partial_thromboplastin_time = "Unaffected" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
3390,
3166,
4060,
834,
536,
41,
17628,
1655,
834,
13362,
584,
4280,
28027,
6,
813,
8514,
51,
4517,
834,
715,
584,
4280,
28027,
6,
11807,
834,
8514,
6310,
23918,
77,
834... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3829,
1655,
834,
13362,
21680,
953,
834,
1755,
3390,
3166,
4060,
834,
536,
549,
17444,
427,
813,
8514,
51,
4517,
834,
715,
3274,
96,
5110,
9,
27488,
121,
3430,
11807,
834,
8514,
6310,
23918,
77,
834,
715,
3274,
96,
... |
Which Year is the lowest when the Viewers are 13.7 million? | CREATE TABLE table_78358 (
"Year" real,
"Network" text,
"Lap-by-lap" text,
"s Color commentator" text,
"Pre-Race Host" text,
"Pre-Race Analyst(s)" text,
"Ratings" text,
"Viewers" text
) | SELECT MIN("Year") FROM table_78358 WHERE "Viewers" = '13.7 million' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
519,
3449,
41,
96,
476,
2741,
121,
490,
6,
96,
9688,
1981,
121,
1499,
6,
96,
3612,
102,
18,
969,
18,
8478,
121,
1499,
6,
96,
7,
6088,
1670,
1016,
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,
3,
17684,
599,
121,
476,
2741,
8512,
21680,
953,
834,
3940,
519,
3449,
549,
17444,
427,
96,
15270,
277,
121,
3274,
3,
31,
536,
25168,
770,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the categorie in 2002 at the Berlin international Film Festival that Danielle Darrieux was in? | CREATE TABLE table_name_39 (
categorie VARCHAR,
year VARCHAR,
awards VARCHAR
) | SELECT categorie FROM table_name_39 WHERE year = 2002 AND awards = "berlin international film festival" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
25543,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
6120,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
25543,
16,
4407,
44,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
25543,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
215,
3274,
4407,
3430,
6120,
3274,
96,
27995,
1038,
814,
3994,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How big (in km2) is the voivodenship also known by the abbreviation KN? | CREATE TABLE table_17006 (
"Abbreviation" text,
"Voivodeship" text,
"Capital" text,
"Area km\u00b2 (1998)" text,
"Population (1980)" text,
"No. of cities" real,
"No. of communes" real
) | SELECT "Area km\u00b2 (1998)" FROM table_17006 WHERE "Abbreviation" = 'kn' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26774,
948,
41,
96,
8952,
1999,
2099,
257,
121,
1499,
6,
96,
553,
32,
23,
1621,
221,
2009,
121,
1499,
6,
96,
19566,
9538,
121,
1499,
6,
96,
188,
864,
2280,
2,
76,
1206,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
864,
2280,
2,
76,
1206,
115,
357,
41,
29430,
121,
21680,
953,
834,
26774,
948,
549,
17444,
427,
96,
8952,
1999,
2099,
257,
121,
3274,
3,
31,
157,
29,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who scored 68-73-66=207 in South Africa? | CREATE TABLE table_name_70 (
place VARCHAR,
country VARCHAR,
score VARCHAR
) | SELECT place FROM table_name_70 WHERE country = "south africa" AND score = 68 - 73 - 66 = 207 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
286,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
5799,
3,
3651,
18,
4552,
18,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
684,
3274,
96,
7,
670,
107,
24040,
121,
3430,
2604,
3274,
3,
3651,
3,
18,
3,
4552,
3,
18,
3,
3539,
3274,
3,
26426,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What Player's Score is 69-68-66-70=273? | CREATE TABLE table_62157 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT "Player" FROM table_62157 WHERE "Score" = '69-68-66-70=273' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
27452,
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,
15800,
49,
121,
21680,
953,
834,
4056,
27452,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
3951,
18,
3651,
18,
3539,
18,
2518,
2423,
2555,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which ERP W has a Frequency MHz of 88.5 FM? | CREATE TABLE table_name_15 (erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT erp_w FROM table_name_15 WHERE frequency_mhz = "88.5 fm" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
49,
102,
834,
210,
584,
4280,
28027,
6,
7321,
834,
51,
107,
172,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
22568,
549,
65,
3,
9,
5532,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
49,
102,
834,
210,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
7321,
834,
51,
107,
172,
3274,
96,
927,
19253,
3,
89,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the 1944 result for the U.S. Championships? | CREATE TABLE table_name_52 (tournament VARCHAR) | SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
21930,
741,
21,
8,
412,
5,
134,
5,
7666,
7,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21930,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
5892,
3274,
96,
76,
5,
7,
5,
10183,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which wheel arrangement made in year 1900? | CREATE TABLE table_name_3 (wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
14074,
834,
291,
5517,
297,
584,
4280,
28027,
6,
215,
834,
4725,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5094,
8641,
263,
16,
215,
1903... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5094,
834,
291,
5517,
297,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
215,
834,
4725,
3274,
96,
2294,
1206,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the result F_A on 17 December 2002? | CREATE TABLE table_name_60 (
result_f_a VARCHAR,
date VARCHAR
) | SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
741,
834,
89,
834,
9,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
741,
377,
834,
188,
30,
1003,
188... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
834,
89,
834,
9,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
833,
3274,
96,
2517,
20,
75,
18247,
4407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the nationality of Livio Berruti? | CREATE TABLE table_65938 (
"Time" text,
"Athlete" text,
"Nationality" text,
"Location of race" text,
"Date" text
) | SELECT "Nationality" FROM table_65938 WHERE "Athlete" = 'livio berruti' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3390,
3747,
41,
96,
13368,
121,
1499,
6,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
434,
32,
75,
257,
13,
1964,
121,
1499,
6,
96,
308,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24732,
485,
121,
21680,
953,
834,
948,
3390,
3747,
549,
17444,
427,
96,
188,
189,
1655,
15,
121,
3274,
3,
31,
40,
11687,
32,
3,
1152,
6830,
23,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
For each player, what are their name, season, and country that they belong to? | CREATE TABLE team (
team_id number,
name text
)
CREATE TABLE country (
country_id number,
country_name text,
capital text,
official_native_language text
)
CREATE TABLE match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_numb... | SELECT T2.season, T2.player, T1.country_name FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
372,
41,
372,
834,
23,
26,
381,
6,
564,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
684,
41,
684,
834,
23,
26,
381,
6,
684,
834,
4350,
1499,
6,
1784,
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,
332,
4416,
9476,
6,
332,
4416,
20846,
6,
332,
5411,
17529,
834,
4350,
21680,
684,
6157,
332,
536,
3,
15355,
3162,
1588,
834,
9476,
6157,
332,
357,
9191,
332,
5411,
17529,
834,
23,
26,
3274,
332,
4416,
17529,
1,
-100... |
What was the score for the record 20-14 when the attendance was over 35,196 and the Indians were opponents? | CREATE TABLE table_57544 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Score" FROM table_57544 WHERE "Attendance" > '35,196' AND "Opponent" = 'indians' AND "Record" = '20-14' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3072,
3628,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
755,
3072,
3628,
549,
17444,
427,
96,
188,
17,
324,
26,
663,
121,
2490,
3,
31,
2469,
6,
26937,
31,
3430,
96,
667,
102,
9977,
121,
3274,
3,
31,
8482,
3247,
31,
3430,
96,
1649,... |
What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6? | CREATE TABLE table_name_3 (
played INTEGER,
lost VARCHAR,
position VARCHAR,
against VARCHAR
) | SELECT AVG(played) FROM table_name_3 WHERE position > 3 AND against < 27 AND lost < 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
1944,
3,
21342,
17966,
6,
1513,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
4895,
15,
26,
61,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
1102,
2490,
220,
3430,
581,
3,
2,
2307,
3430,
1513,
3,
2,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which R.A. (J2000) has a Name of ngc 1543? | CREATE TABLE table_name_68 (
ra___j2000__ VARCHAR,
name VARCHAR
) | SELECT ra___j2000__ FROM table_name_68 WHERE name = "ngc 1543" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3651,
41,
3,
52,
9,
834,
834,
834,
354,
13527,
834,
834,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
391,
5,
188,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
52,
9,
834,
834,
834,
354,
13527,
834,
834,
21680,
953,
834,
4350,
834,
3651,
549,
17444,
427,
564,
3274,
96,
1725,
75,
627,
4906,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Date when MARTIN had 8%? | CREATE TABLE table_36883 (
"Source" text,
"Date" text,
"MARTIN" text,
"GR\u00dcNE" text,
"Others" text,
"Undecided" text
) | SELECT "Date" FROM table_36883 WHERE "MARTIN" = '8%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3420,
4060,
519,
41,
96,
23799,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
13845,
25424,
121,
1499,
6,
96,
8727,
2,
76,
1206,
26,
75,
4171,
121,
1499,
6,
96,
667,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3420,
4060,
519,
549,
17444,
427,
96,
13845,
25424,
121,
3274,
3,
31,
5953,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the engine type when the max torque at rpm is n m ( lbf ft ) @ 4,800 Answers:? | CREATE TABLE table_1147705_1 (
engine_type VARCHAR,
max_torque_at_rpm VARCHAR
) | SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18959,
4013,
3076,
834,
536,
41,
1948,
834,
6137,
584,
4280,
28027,
6,
9858,
834,
17,
127,
835,
834,
144,
834,
52,
2028,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
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,
1948,
834,
6137,
21680,
953,
834,
18959,
4013,
3076,
834,
536,
549,
17444,
427,
9858,
834,
17,
127,
835,
834,
144,
834,
52,
2028,
3274,
96,
567,
2,
51,
41,
3,
40,
115,
89,
2,
89,
17,
3,
61,
3320,
6464,
6192,
1... |
What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9? | CREATE TABLE table_name_31 (
total_tenure_time VARCHAR,
name VARCHAR,
uninterrupted_rank VARCHAR,
total_tenure_rank VARCHAR
) | SELECT total_tenure_time FROM table_name_31 WHERE uninterrupted_rank > 4 AND total_tenure_rank > 9 AND name = "warren magnuson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
792,
834,
324,
1462,
834,
715,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
29574,
834,
6254,
584,
4280,
28027,
6,
792,
834,
324,
1462,
834,
6254,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
792,
834,
324,
1462,
834,
715,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
29574,
834,
6254,
2490,
314,
3430,
792,
834,
324,
1462,
834,
6254,
2490,
668,
3430,
564,
3274,
96,
2910,
1536,
6396,
29,
302,
106,
12... |
What district has Dan Crane as incumbent? | CREATE TABLE table_1341598_14 (
district VARCHAR,
incumbent VARCHAR
) | SELECT district FROM table_1341598_14 WHERE incumbent = "Dan Crane" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
1808,
3916,
834,
2534,
41,
3939,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
3939,
65,
2744,
18630,
15,
38,
28406,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3939,
21680,
953,
834,
23747,
1808,
3916,
834,
2534,
549,
17444,
427,
28406,
3274,
96,
308,
152,
18630,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the candidates for first elected 1914 | CREATE TABLE table_784 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Candidates" FROM table_784 WHERE "First elected" = '1914' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
591,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
14050,
12416,
6203,
121,
21680,
953,
834,
3940,
591,
549,
17444,
427,
96,
25171,
8160,
121,
3274,
3,
31,
2294,
2534,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
sinusal rhythm | CREATE TABLE table_train_1 (
"id" int,
"sinusal_rhythm" bool,
"severe_sepsis" bool,
"hemodynamic_instability" bool,
"social_security" bool,
"septic_shock" bool,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_1 WHERE sinusal_rhythm = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
536,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7,
77,
302,
138,
834,
30793,
121,
3,
12840,
40,
6,
96,
7,
3258,
15,
834,
7,
15,
102,
7,
159,
121,
3,
12840,
40,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
536,
549,
17444,
427,
23353,
138,
834,
30793,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show different teams of technicians and the number of technicians in each team. | CREATE TABLE technician (Team VARCHAR) | SELECT Team, COUNT(*) FROM technician GROUP BY Team | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
17730,
41,
18699,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3111,
315,
2323,
13,
11225,
11,
8,
381,
13,
11225,
16,
284,
372,
5,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2271,
6,
2847,
17161,
599,
1935,
61,
21680,
17730,
350,
4630,
6880,
272,
476,
2271,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many u.s. viewers (million) have 6 as the #? | CREATE TABLE table_2866456_1 (us_viewers__million_ VARCHAR, _number VARCHAR) | SELECT us_viewers__million_ FROM table_2866456_1 WHERE _number = 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3539,
2128,
948,
834,
536,
41,
302,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
6,
3,
834,
5525,
1152,
584,
4280,
28027,
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,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
178,
834,
4576,
277,
834,
834,
17030,
834,
21680,
953,
834,
2577,
3539,
2128,
948,
834,
536,
549,
17444,
427,
3,
834,
5525,
1152,
3274,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which club has a try bonus of 9 and 43 tries against? | CREATE TABLE table_66832 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Club" FROM table_66832 WHERE "Tries against" = '43' AND "Try bonus" = '9' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4591,
357,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
22512,
7,
21,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
11158,
121,
21680,
953,
834,
3539,
4591,
357,
549,
17444,
427,
96,
382,
2593,
581,
121,
3274,
3,
31,
4906,
31,
3430,
96,
382,
651,
4023,
121,
3274,
3,
31,
1298,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who drive the car that retired due to engine failure and a grid of less than 9? | CREATE TABLE table_name_91 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_91 WHERE time_retired = "engine" AND grid < 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
13739,
52,
584,
4280,
28027,
6,
97,
834,
10682,
1271,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
1262,
8,
443,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2535,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
97,
834,
10682,
1271,
3274,
96,
20165,
121,
3430,
8634,
3,
2,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
List the names of countries whose language is not 'German'. | CREATE TABLE country (
country_id number,
name text,
population number,
area number,
languages text
)
CREATE TABLE roller_coaster (
roller_coaster_id number,
name text,
park text,
country_id number,
length number,
height number,
speed text,
opened text,
status te... | SELECT name FROM country WHERE languages <> "German" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
684,
41,
684,
834,
23,
26,
381,
6,
564,
1499,
6,
2074,
381,
6,
616,
381,
6,
8024,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
10866,
834,
25500,
49,
41,
10866... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
684,
549,
17444,
427,
8024,
3,
2,
3155,
96,
24518,
121,
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,
-1... |
how many patients had the diagnosis short title encephalopathy nos | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Encephalopathy NOS" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
Find the last name and age of the student who has allergy to both milk and cat. Show a bar chart. | CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
... | SELECT LName, Age FROM Student WHERE StuID IN (SELECT StuID FROM Has_Allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_Allergy WHERE Allergy = "Cat") | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4498,
834,
6838,
49,
122,
63,
41,
3,
13076,
4309,
3,
21342,
17966,
6,
432,
49,
122,
63,
584,
4280,
28027,
599,
1755,
61,
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,
301,
23954,
6,
7526,
21680,
6341,
549,
17444,
427,
3,
13076,
4309,
3388,
41,
23143,
14196,
3,
13076,
4309,
21680,
4498,
834,
6838,
49,
122,
63,
549,
17444,
427,
432,
49,
122,
63,
3274,
96,
329,
173,
157,
121,
3,
2... |
how many patients whose insurance is private and diagnoses long title is shock, unspecified? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.long_title = "Shock, unspecified" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
Name the 1st match for brisbane bears | CREATE TABLE table_71865 (
"Team" text,
"1st Match" text,
"Matches" text,
"Lost" text,
"% Won" text
) | SELECT "1st Match" FROM table_71865 WHERE "Team" = 'brisbane bears' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2606,
4122,
41,
96,
18699,
121,
1499,
6,
96,
536,
7,
17,
12296,
121,
1499,
6,
96,
329,
144,
2951,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
1454,
549,
106,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
536,
7,
17,
12296,
121,
21680,
953,
834,
940,
2606,
4122,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
2160,
7,
3478,
15,
4595,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Regarding the seats that casted 8.1% of the vote how many seats were held? | CREATE TABLE table_74659 (
"Party" text,
"Seats" text,
"Net gain/loss" text,
"% of seats" text,
"% of votes" text
) | SELECT "Seats" FROM table_74659 WHERE "% of votes" = '8.1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
4448,
3390,
41,
96,
13725,
63,
121,
1499,
6,
96,
134,
1544,
7,
121,
1499,
6,
96,
9688,
2485,
87,
2298,
7,
121,
1499,
6,
96,
1454,
13,
6116,
121,
1499,
6,
96,
1454,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1544,
7,
121,
21680,
953,
834,
940,
4448,
3390,
549,
17444,
427,
96,
1454,
13,
11839,
121,
3274,
3,
31,
20677,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the engine that saw a Chassis of porsche 718, and 0 points, prior to 1964? | CREATE TABLE table_name_57 (
engine VARCHAR,
year VARCHAR,
chassis VARCHAR,
points VARCHAR
) | SELECT engine FROM table_name_57 WHERE chassis = "porsche 718" AND points = 0 AND year < 1964 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
1948,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1948,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
22836,
3274,
96,
102,
127,
3992,
489,
2606,
121,
3430,
979,
3274,
3,
632,
3430,
215,
3,
2,
18969,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969? | CREATE TABLE table_name_83 (start INTEGER, year VARCHAR, finish VARCHAR, manufacturer VARCHAR) | SELECT MAX(start) FROM table_name_83 WHERE finish > 3 AND manufacturer = "ford" AND year > 1969 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
10208,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
6,
1992,
584,
4280,
28027,
6,
4818,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10208,
61,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
1992,
2490,
220,
3430,
4818,
3274,
96,
2590,
121,
3430,
215,
2490,
17185,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the value of D 42 , when the value of D 45 O is d 32 ? | CREATE TABLE table_name_47 (
d_42_√ VARCHAR,
d_45_o VARCHAR
) | SELECT d_42_√ FROM table_name_47 WHERE d_45_o = "d 32 √" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
3,
26,
834,
4165,
834,
2,
584,
4280,
28027,
6,
3,
26,
834,
2128,
834,
32,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
3,
26,
834,
4165,
834,
2,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
3,
26,
834,
2128,
834,
32,
3274,
96,
26,
3538,
3,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show origin and destination for flights with price higher than 300. | CREATE TABLE Flight (
origin VARCHAR,
destination VARCHAR,
price INTEGER
) | SELECT origin, destination FROM Flight WHERE price > 300 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16736,
41,
5233,
584,
4280,
28027,
6,
3954,
584,
4280,
28027,
6,
594,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
5233,
11,
3954,
21,
7534,
28,
594,
1146,
145,
3147,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5233,
6,
3954,
21680,
16736,
549,
17444,
427,
594,
2490,
3147,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
In the round that lasted 0:20, what was the Res? | CREATE TABLE table_name_1 (res VARCHAR, time VARCHAR) | SELECT res FROM table_name_1 WHERE time = "0:20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
60,
7,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
8,
1751,
24,
3,
19054,
3,
632,
10,
1755,
6,
125,
47,
8,
712... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
60,
7,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
97,
3274,
96,
632,
10,
1755,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What brand is model I7-8xx? | CREATE TABLE table_73605 (
"Code name" text,
"Brand name" text,
"Model (list)" text,
"Frequency" text,
"Cores/Threads" text,
"Max Memory Speed" text
) | SELECT "Brand name" FROM table_73605 WHERE "Model (list)" = 'i7-8xx' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3420,
3076,
41,
96,
22737,
564,
121,
1499,
6,
96,
18304,
727,
564,
121,
1499,
6,
96,
24663,
41,
3350,
61,
121,
1499,
6,
96,
371,
60,
835,
11298,
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,
18304,
727,
564,
121,
21680,
953,
834,
940,
3420,
3076,
549,
17444,
427,
96,
24663,
41,
3350,
61,
121,
3274,
3,
31,
23,
25580,
19230,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the rank number that aired october 26, 2007? | CREATE TABLE table_11251109_3 (_number VARCHAR, air_date VARCHAR) | SELECT RANK(_number) FROM table_11251109_3 WHERE air_date = "October 26, 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
1828,
2596,
4198,
834,
519,
41,
834,
5525,
1152,
584,
4280,
28027,
6,
799,
834,
5522,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11003,
381,
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,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
16375,
439,
599,
834,
5525,
1152,
61,
21680,
953,
834,
2596,
1828,
2596,
4198,
834,
519,
549,
17444,
427,
799,
834,
5522,
3274,
96,
28680,
13597,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the away team that played when the home team scored 10.17 (77)? | CREATE TABLE table_57156 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_57156 WHERE "Home team score" = '10.17 (77)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
25463,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
121,
21680,
953,
834,
3436,
25463,
549,
17444,
427,
96,
19040,
372,
2604,
121,
3274,
3,
31,
10415,
2517,
41,
4013,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
on january 7 what is home? | CREATE TABLE table_6561 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) | SELECT "Home" FROM table_6561 WHERE "Date" = 'january 7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
4241,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
96,
19040,
121,
21680,
953,
834,
4122,
4241,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7066,
76,
1208,
489,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
count the number of patients whose insurance is medicaid? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
29441,
3274,
96,
15789,
6146,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country is Tiger Woods from? | CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_22 WHERE player = "tiger woods" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
17529,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
19,
11804,
2985,
7,
45,
58,
1,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
1959,
3274,
96,
17,
4424,
1679,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Club name what shows 405 for the Points against? | CREATE TABLE table_name_11 (
club VARCHAR,
points_against VARCHAR
) | SELECT club FROM table_name_11 WHERE points_against = "405" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
1886,
584,
4280,
28027,
6,
979,
834,
9,
16720,
7,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1949,
564,
125,
1267,
314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1886,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
979,
834,
9,
16720,
7,
17,
3274,
96,
2445,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the average number of silver medals won among nations that won 9 medals total? | CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR) | SELECT AVG(silver) FROM table_name_88 WHERE total = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
7,
173,
624,
3,
21342,
17966,
6,
792,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
381,
13,
4294,
9365,
7,
751,
859,
9352,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
792,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how much taller in oliver venno than rait rikberg ? | CREATE TABLE table_203_116 (
id number,
"no." number,
"player" text,
"birth date" text,
"weight" number,
"height" number,
"position" text,
"current club" text
) | SELECT (SELECT "height" FROM table_203_116 WHERE "player" = 'oliver venno') - (SELECT "height" FROM table_203_116 WHERE "player" = 'rait rikberg') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
20159,
41,
3,
23,
26,
381,
6,
96,
29,
32,
535,
381,
6,
96,
20846,
121,
1499,
6,
96,
20663,
833,
121,
1499,
6,
96,
9378,
121,
381,
6,
96,
88,
2632,
121,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
41,
23143,
14196,
96,
88,
2632,
121,
21680,
953,
834,
23330,
834,
20159,
549,
17444,
427,
96,
20846,
121,
3274,
3,
31,
4172,
624,
3,
1926,
29,
32,
31,
61,
3,
18,
41,
23143,
14196,
96,
88,
2632,
121,
21680,
953,
... |
What is the To Par of winning score 71-66-70-67=274? | CREATE TABLE table_40989 (
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text
) | SELECT "To par" FROM table_40989 WHERE "Winning score" = '71-66-70-67=274' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4198,
3914,
41,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
518,
10503,
2604,
121,
1499,
6,
96,
3696,
260,
121,
1499,
6,
96,
7286,
122,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
591,
4198,
3914,
549,
17444,
427,
96,
518,
10503,
2604,
121,
3274,
3,
31,
4450,
5783,
25302,
9498,
3708,
2423,
2555,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What party is the member that has an electorate of Lindsay? | CREATE TABLE table_name_34 (party VARCHAR, electorate VARCHAR) | SELECT party FROM table_name_34 WHERE electorate = "lindsay" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
8071,
584,
4280,
28027,
6,
11924,
127,
342,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1088,
19,
8,
1144,
24,
65,
46,
11924,
127,
342,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1088,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
11924,
127,
342,
3274,
96,
9230,
8735,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who's the incumbent of Indiana 4 district? | CREATE TABLE table_18393 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
) | SELECT "Incumbent" FROM table_18393 WHERE "District" = 'Indiana 4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24361,
4271,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
1499,
6,
96,
20119,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1570,
75,
5937,
295,
121,
21680,
953,
834,
24361,
4271,
549,
17444,
427,
96,
308,
23,
20066,
121,
3274,
3,
31,
22126,
29,
9,
314,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the segment A for netflix of s05e01 | CREATE TABLE table_name_89 (
segment_a VARCHAR,
netflix VARCHAR
) | SELECT segment_a FROM table_name_89 WHERE netflix = "s05e01" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
5508,
834,
9,
584,
4280,
28027,
6,
3134,
89,
17591,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
5508,
71,
21,
3134,
89,
17591,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5508,
834,
9,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
3134,
89,
17591,
3274,
96,
7,
3076,
15,
4542,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What venue is in the city of Durham? | CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR) | SELECT venue FROM table_name_95 WHERE city = "durham" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
15098,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
5669,
19,
16,
8,
690,
13,
25215,
58,
1,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
690,
3274,
96,
13629,
1483,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the date for the release with a catalogue number of WARPCDD333? | CREATE TABLE table_6505 (
"Country/Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue number" text
) | SELECT "Date" FROM table_6505 WHERE "Catalogue number" = 'warpcdd333' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4122,
3076,
41,
96,
10628,
651,
87,
17748,
23,
106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
434,
10333,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
18610,
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,
308,
342,
121,
21680,
953,
834,
4122,
3076,
549,
17444,
427,
96,
18610,
9,
10384,
381,
121,
3274,
3,
31,
2910,
102,
75,
26,
26,
23360,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Nationality has a School/Club Team of louisiana state? | CREATE TABLE table_name_63 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_63 WHERE school_club_team = "louisiana state" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
16557,
485,
584,
4280,
28027,
6,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
868,
485,
65,
3,
9,
1121,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1157,
485,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
496,
834,
13442,
834,
11650,
3274,
96,
40,
1063,
159,
13662,
538,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Mongolian has a Tamil of p r am ? | CREATE TABLE table_35104 (
"Sanskrit \u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d" text,
"Tamil \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text,
"Telugu \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text,
"Kannada \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text,
"Malayalam \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02" text,
... | SELECT "Mongolian" FROM table_35104 WHERE "Tamil \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" = 'pūrāṭam பூராடம்' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
15442,
41,
96,
134,
3247,
10648,
17,
3,
2,
76,
4198,
3747,
2,
76,
4198,
4305,
2,
76,
4198,
3747,
2,
76,
4198,
591,
26,
2,
76,
4198,
1808,
2,
76,
4198,
4906,
2,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
9168,
839,
9928,
121,
21680,
953,
834,
2469,
15442,
549,
17444,
427,
96,
382,
265,
173,
3,
2,
76,
632,
115,
9,
591,
2,
76,
632,
115,
9,
15,
2,
76,
632,
115,
115,
89,
2,
76,
632,
115,
115,
591,
2,
76,
6... |
who had high rebounds when score is w 111–92 (ot) | CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_13762472_4 WHERE score = "W 111–92 (OT)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3959,
2266,
5865,
834,
591,
41,
6739,
834,
23768,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
113,
141,
306,
3,
23768,
116,
2604,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
23768,
21680,
953,
834,
2368,
3959,
2266,
5865,
834,
591,
549,
17444,
427,
2604,
3274,
96,
518,
3,
15866,
104,
4508,
41,
6951,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Video has an Aspect of 16:9? | CREATE TABLE table_name_14 (video VARCHAR, aspect VARCHAR) | SELECT video FROM table_name_14 WHERE aspect = "16:9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
17241,
584,
4280,
28027,
6,
2663,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3953,
65,
46,
71,
5628,
13,
898,
10,
1298,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
671,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
2663,
3274,
96,
2938,
10,
1298,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who is the opponent of the match with an attendance larger than 59,000? | CREATE TABLE table_name_89 (
opponent VARCHAR,
attendance INTEGER
) | SELECT opponent FROM table_name_89 WHERE attendance > 59 OFFSET 000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
15264,
584,
4280,
28027,
6,
11364,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
15264,
13,
8,
1588,
28,
46,
11364,
2186,
145,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
11364,
2490,
3,
3390,
3,
15316,
20788,
6078,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which institutions have higher enrollment than carthage college ? | CREATE TABLE table_204_842 (
id number,
"institution" text,
"city" text,
"state" text,
"team name" text,
"affiliation" text,
"enrollment" number,
"home conference" text
) | SELECT "institution" FROM table_204_842 WHERE "enrollment" > (SELECT "enrollment" FROM table_204_842 WHERE "institution" = 'carthage college') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4608,
357,
41,
3,
23,
26,
381,
6,
96,
77,
17448,
121,
1499,
6,
96,
6726,
121,
1499,
6,
96,
5540,
121,
1499,
6,
96,
11650,
564,
121,
1499,
6,
96,
4127,
173,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
77,
17448,
121,
21680,
953,
834,
26363,
834,
4608,
357,
549,
17444,
427,
96,
35,
4046,
297,
121,
2490,
41,
23143,
14196,
96,
35,
4046,
297,
121,
21680,
953,
834,
26363,
834,
4608,
357,
549,
17444,
427,
96,
77,
... |
How many games have November 7 as the date, and points greater than 17? | CREATE TABLE table_39157 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) | SELECT COUNT("Game") FROM table_39157 WHERE "November" = '7' AND "Points" > '17' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
27452,
41,
96,
23055,
121,
490,
6,
96,
28635,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
22512,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23055,
8512,
21680,
953,
834,
3288,
27452,
549,
17444,
427,
96,
28635,
121,
3274,
3,
31,
940,
31,
3430,
96,
22512,
7,
121,
2490,
3,
31,
2517,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what's the competition where 1st leg is 4-1 (h) | CREATE TABLE table_72104 (
"Season" text,
"Competition" text,
"Round" text,
"Opponents" text,
"1st leg" text,
"2nd leg" text,
"Aggregate" text
) | SELECT "Competition" FROM table_72104 WHERE "1st leg" = '4-1 (h)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5865,
15442,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
667,
102,
9977,
7,
121,
1499,
6,
96,
536,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5890,
4995,
4749,
121,
21680,
953,
834,
5865,
15442,
549,
17444,
427,
96,
536,
7,
17,
4553,
121,
3274,
3,
31,
591,
2292,
41,
107,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which member has an Electorate of kennedy? | CREATE TABLE table_name_50 (
member VARCHAR,
electorate VARCHAR
) | SELECT member FROM table_name_50 WHERE electorate = "kennedy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
1144,
584,
4280,
28027,
6,
11924,
127,
342,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1144,
65,
46,
3,
21543,
127,
342,
13,
3,
9376... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1144,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
11924,
127,
342,
3274,
96,
9376,
15,
26,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the high point toal for martine foubert placing below 2? | CREATE TABLE table_name_32 (points INTEGER, artist VARCHAR, place VARCHAR) | SELECT MAX(points) FROM table_name_32 WHERE artist = "martine foubert" AND place > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
2700,
7,
3,
21342,
17966,
6,
2377,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
306,
500,
12,
138,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2700,
7,
61,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
2377,
3274,
96,
1635,
4070,
21114,
7041,
121,
3430,
286,
2490,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
give me the number of patients whose death status is 0 and year of birth is less than 2137? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.dob_year < "2137" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
994,
2388,
15,
834,
89,
5430,
3274,
96,
632,
121,
3430,
14798,
5,
26,
32,
115,
834,
1201,
3,
2... |
What is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27? | CREATE TABLE table_name_89 (location VARCHAR, date VARCHAR, television VARCHAR, time VARCHAR) | SELECT location FROM table_name_89 WHERE television = "espnu" AND time = "7:15 pm" AND date = "tue., nov. 27" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
14836,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
6,
4390,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1128,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
4390,
3274,
96,
15,
7,
102,
29,
76,
121,
3430,
97,
3274,
96,
940,
10,
1808,
6366,
121,
3430,
833,
3274,
96,
17,
76,
15,
5,
6,
3,
5326,
5,
2307,
121,
1,
... |
Scatter. how many students does one classroom have? | CREATE TABLE list (
LastName TEXT,
FirstName TEXT,
Grade INTEGER,
Classroom INTEGER
)
CREATE TABLE teachers (
LastName TEXT,
FirstName TEXT,
Classroom INTEGER
) | SELECT COUNT(*), Classroom FROM list GROUP BY Classroom | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
570,
41,
2506,
23954,
3,
3463,
4,
382,
6,
1485,
23954,
3,
3463,
4,
382,
6,
13027,
3,
21342,
17966,
6,
29546,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
201,
29546,
21680,
570,
350,
4630,
6880,
272,
476,
29546,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which City has a Lead of steve gould? | CREATE TABLE table_name_52 (
city VARCHAR,
lead VARCHAR
) | SELECT city FROM table_name_52 WHERE lead = "steve gould" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
690,
584,
4280,
28027,
6,
991,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
896,
65,
3,
9,
12208,
13,
3,
849,
162,
281,
83,
26,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
690,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
991,
3274,
96,
849,
162,
281,
83,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many days did Hawthorn play as a home team? | CREATE TABLE table_20727 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Time" text
) | SELECT COUNT("Date") FROM table_20727 WHERE "Home team" = 'Hawthorn' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26426,
2555,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
517,
7775... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
308,
342,
8512,
21680,
953,
834,
26426,
2555,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
566,
9,
210,
17,
6293,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which group has a weight (kg) less than 55? | CREATE TABLE table_name_18 (group VARCHAR, weight__kg_ INTEGER) | SELECT group FROM table_name_18 WHERE weight__kg_ < 55 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
10739,
584,
4280,
28027,
6,
1293,
834,
834,
8711,
834,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
4073,
563,
65,
3,
9,
1293,
41,
8711,
61,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
563,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
1293,
834,
834,
8711,
834,
3,
2,
6897,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the lowest year represented? | CREATE TABLE table_177273_2 (
year INTEGER
) | SELECT MIN(year) FROM table_177273_2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26793,
2555,
519,
834,
357,
41,
215,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
7402,
215,
7283,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
26793,
2555,
519,
834,
357,
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,
... |
Who wrote the film Jehovah's Witness? | CREATE TABLE table_name_5 (
writer_s_ VARCHAR,
film VARCHAR
) | SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
4346,
834,
7,
834,
584,
4280,
28027,
6,
814,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
2832,
8,
814,
1022,
23304,
9,
107,
31,
7,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4346,
834,
7,
834,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
814,
3274,
96,
1924,
23304,
9,
107,
31,
7,
9051,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which episode/s were written by Evan Gore? | CREATE TABLE table_30937 (
"Series #" real,
"Production Code" real,
"Title" text,
"Directed by" text,
"Written by" text,
"United States Original Airdate" text,
"Canada Original Airdate" text
) | SELECT "Series #" FROM table_30937 WHERE "Written by" = 'Evan Gore' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1458,
4271,
940,
41,
96,
12106,
7,
1713,
121,
490,
6,
96,
3174,
8291,
3636,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
12106,
7,
1713,
121,
21680,
953,
834,
1458,
4271,
940,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
427,
2132,
1263,
60,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the attendance when they played the New Orleans Saints? | CREATE TABLE table_name_93 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_93 WHERE opponent = "new orleans saints" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
15116,
663,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
11364,
116,
79,
1944,
8,
368,
14433,
2788,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
15264,
3274,
96,
5534,
42,
109,
3247,
15528,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many points when 15 is scored is considered the minimum? | CREATE TABLE table_14889048_2 (points INTEGER, scored VARCHAR) | SELECT MIN(points) FROM table_14889048_2 WHERE scored = 15 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4060,
2394,
3707,
834,
357,
41,
2700,
7,
3,
21342,
17966,
6,
5799,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
116,
627,
19,
5799,
19,
1702,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
2700,
7,
61,
21680,
953,
834,
2534,
4060,
2394,
3707,
834,
357,
549,
17444,
427,
5799,
3274,
627,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When olympikus is the main sponsor who is the secondary sponsor? | CREATE TABLE table_187239_1 (
secondary_sponsor VARCHAR,
main_sponsor VARCHAR
) | SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Olympikus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
357,
3288,
834,
536,
41,
6980,
834,
7,
5041,
7,
127,
584,
4280,
28027,
6,
711,
834,
7,
5041,
7,
127,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
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,
0,
0,
0... | [
3,
23143,
14196,
6980,
834,
7,
5041,
7,
127,
21680,
953,
834,
25828,
357,
3288,
834,
536,
549,
17444,
427,
711,
834,
7,
5041,
7,
127,
3274,
96,
667,
120,
1167,
23,
2729,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the record of the game that has a result of w 45–17? | CREATE TABLE table_name_31 (record VARCHAR, result VARCHAR) | SELECT record FROM table_name_31 WHERE result = "w 45–17" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
60,
7621,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1368,
13,
8,
467,
24,
65,
3,
9,
741,
13,
3,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1368,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
741,
3274,
96,
210,
3479,
104,
2517,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
find the number of iv drug route patients whose diagnosis icd9 code is 7907. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "7907" AND prescriptions.route = "IV" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
Find the top 3 wineries with the greatest number of wines made of white color grapes. | CREATE TABLE GRAPES (GRAPE VARCHAR, Color VARCHAR); CREATE TABLE WINE (Winery VARCHAR, GRAPE VARCHAR) | SELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE = T2.GRAPE WHERE T1.Color = "White" GROUP BY T2.Winery ORDER BY COUNT(*) DESC LIMIT 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
23194,
5668,
134,
41,
8727,
188,
5668,
584,
4280,
28027,
6,
6088,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
549,
9730,
41,
18455,
4203,
584,
4280,
28027,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
18455,
4203,
21680,
23194,
5668,
134,
6157,
332,
536,
3,
15355,
3162,
549,
9730,
6157,
332,
357,
9191,
332,
5411,
8727,
188,
5668,
3274,
332,
4416,
8727,
188,
5668,
549,
17444,
427,
332,
5411,
3881,
322,
32... |
What Average Pick # has an Overall of 296? | CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR) | SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
17967,
834,
834,
5525,
1152,
3,
21342,
17966,
6,
1879,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
23836,
8356,
1713,
65,
46,
9126,
13,
204,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
1879,
3274,
204,
4314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is listed under tor floysvik when couple is maria & asmund? | CREATE TABLE table_28677723_10 (
tor_fløysvik INTEGER,
couple VARCHAR
) | SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE couple = "Maria & Asmund" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
3708,
4013,
2773,
834,
1714,
41,
12,
52,
834,
89,
40,
2,
63,
7,
21346,
3,
21342,
17966,
6,
1158,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
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,
0... | [
3,
23143,
14196,
3,
17684,
599,
17,
127,
834,
89,
40,
2,
63,
7,
21346,
61,
21680,
953,
834,
2577,
3708,
4013,
2773,
834,
1714,
549,
17444,
427,
1158,
3274,
96,
329,
6286,
3,
184,
282,
51,
1106,
121,
1,
-100,
-100,
-100,
-100,
-1... |
What is the Style of the dance Choreographed by Nacho Pop with result of safe? | CREATE TABLE table_name_12 (style VARCHAR, results VARCHAR, choreographer VARCHAR) | SELECT style FROM table_name_12 WHERE results = "safe" AND choreographer = "nacho pop" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
4084,
584,
4280,
28027,
6,
772,
584,
4280,
28027,
6,
15030,
19891,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7936,
13,
8,
2595,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
869,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
772,
3274,
96,
15233,
121,
3430,
15030,
19891,
3274,
96,
6359,
32,
2783,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Site when the Result was w52-0? | CREATE TABLE table_34943 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
) | SELECT "Site" FROM table_34943 WHERE "Result" = 'w52-0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3710,
4240,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
4663,
121,
1499,
6,
96,
26030,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
663,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26030,
121,
21680,
953,
834,
3710,
4240,
519,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
210,
755,
19423,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Car numbers have a First used of currently on order? | CREATE TABLE table_name_37 (
car_numbers VARCHAR,
first_used VARCHAR
) | SELECT car_numbers FROM table_name_37 WHERE first_used = "currently on order" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
443,
834,
5525,
1152,
7,
584,
4280,
28027,
6,
166,
834,
10064,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1184,
2302,
43,
3,
9,
1485... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
443,
834,
5525,
1152,
7,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
166,
834,
10064,
3274,
96,
14907,
120,
30,
455,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.