NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
How many times was the score 6 7(5), 6 2, 6 3? | CREATE TABLE table_1920271_2 (
opponents VARCHAR,
score VARCHAR
) | SELECT COUNT(opponents) FROM table_1920271_2 WHERE score = "6–7(5), 6–2, 6–3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
19818,
4450,
834,
357,
41,
16383,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
47,
8,
2604,
431,
489,
15757,
6,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
32,
102,
9977,
7,
61,
21680,
953,
834,
2294,
19818,
4450,
834,
357,
549,
17444,
427,
2604,
3274,
96,
948,
104,
940,
15757,
6,
431,
104,
4482,
431,
104,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
Which Game has an Opponent of phoenix suns? | CREATE TABLE table_name_22 (game VARCHAR, opponent VARCHAR) | SELECT game FROM table_name_22 WHERE opponent = "phoenix suns" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
7261,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4435,
65,
46,
4495,
9977,
13,
3,
9553,
35,
2407,
1997,
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,
467,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
15264,
3274,
96,
9553,
35,
2407,
1997,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the average of code , and group by attribute name, could you display by the y axis in ascending? | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7554,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
5312,
3396,
254,
26330,
434,
6,
15248,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23954,
6,
332,
5411,
22737,
21680,
7554,
6157,
332,
536,
3,
15355,
3162,
15248,
7,
6157,
332,
357,
9191,
332,
5411,
7296,
76,
8717,
450,
49,
3274,
332,
4416,
22737,
350,
4630,
6880,
272,
476,
332,
5411,
2... |
Who was the high rebound for the high assists of d. j. augustin (8)? | CREATE TABLE table_21196 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High rebounds" FROM table_21196 WHERE "High assists" = 'D. J. Augustin (8)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
26937,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
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,
21417,
3,
23768,
121,
21680,
953,
834,
2658,
26937,
549,
17444,
427,
96,
21417,
13041,
121,
3274,
3,
31,
308,
5,
446,
5,
1660,
77,
3,
28007,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many prescriptions have been written for oxycodone-acetaminophen 5-325 mg po tabs since 2103? | CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TAB... | SELECT COUNT(*) FROM medication WHERE medication.drugname = 'oxycodone-acetaminophen 5-325 mg po tabs' AND STRFTIME('%y', medication.drugstarttime) >= '2103' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
583,
41,
583,
23,
26,
381,
6,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
605,
6137,
1499,
6,
605,
23,
26,
381,
6,
1567,
715,
97,
6,
583,
381,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
7757,
549,
17444,
427,
7757,
5,
26,
13534,
4350,
3274,
3,
31,
9773,
509,
2029,
15,
18,
3302,
17,
9,
1109,
10775,
35,
305,
3486,
1828,
5453,
1977,
3808,
7,
31,
3430,
3,
13733,
624... |
How many were the shares when the viewers reached 3.11 million? | CREATE TABLE table_16993379_1 (share VARCHAR, viewers__millions_ VARCHAR) | SELECT COUNT(share) FROM table_16993379_1 WHERE viewers__millions_ = "3.11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
3264,
4201,
4440,
834,
536,
41,
12484,
584,
4280,
28027,
6,
13569,
834,
834,
17030,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
130,
8,
4776,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
12484,
61,
21680,
953,
834,
2938,
3264,
4201,
4440,
834,
536,
549,
17444,
427,
13569,
834,
834,
17030,
7,
834,
3274,
96,
18495,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who is the away side at windy hill? | CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_35 WHERE venue = "windy hill" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
550,
596,
44,
2943,
63,
9956,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
5669,
3274,
96,
5165,
63,
9956,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total medals Austria and those with larger than rank 4 have? | CREATE TABLE table_name_76 (
total VARCHAR,
nation VARCHAR,
rank VARCHAR
) | SELECT COUNT(total) FROM table_name_76 WHERE nation = "austria" AND rank > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
792,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
9365,
7,
9652,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
235,
1947,
61,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
2982,
3274,
96,
402,
23387,
121,
3430,
11003,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the since year for the player with more than 3 goals and a transfer fee of 400k? | CREATE TABLE table_name_24 (
since VARCHAR,
goals VARCHAR,
transfer_fee VARCHAR
) | SELECT since FROM table_name_24 WHERE goals > 3 AND transfer_fee = "£400k" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
437,
584,
4280,
28027,
6,
1766,
584,
4280,
28027,
6,
2025,
834,
89,
15,
15,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
437,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
437,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
1766,
2490,
220,
3430,
2025,
834,
89,
15,
15,
3274,
96,
19853,
5548,
157,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total average for long 10? | CREATE TABLE table_56189 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real,
"Long" real
) | SELECT COUNT("Avg.") FROM table_56189 WHERE "Long" = '10' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
25312,
41,
96,
15800,
49,
121,
1499,
6,
96,
1649,
75,
535,
490,
6,
96,
476,
986,
7,
121,
490,
6,
96,
188,
208,
122,
535,
490,
6,
96,
10494,
31,
7,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
188,
208,
122,
5,
8512,
21680,
953,
834,
4834,
25312,
549,
17444,
427,
96,
434,
2444,
121,
3274,
3,
31,
1714,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many teachers does the student named MADLOCK RAY have? | CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
)
CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
) | SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "MADLOCK" AND T1.lastname = "RAY" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
570,
41,
336,
4350,
1499,
6,
166,
4350,
1499,
6,
2769,
381,
6,
4858,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3081,
41,
336,
4350,
1499,
6,
166,
4350,
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,
1935,
61,
21680,
570,
6157,
332,
536,
3,
15355,
3162,
3081,
6157,
332,
357,
9191,
332,
5411,
4057,
3082,
3274,
332,
4416,
4057,
3082,
549,
17444,
427,
332,
5411,
14672,
4350,
3274,
96,
4148,
308,
501... |
what are the names of the technicians and how many machines are they assigned to repair? | CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team text,
Machine_series text,
value_points real,
quality_rank int
)
CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE repair (
repair_I... | SELECT Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_id = T2.technician_id GROUP BY T2.Name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1437,
41,
5879,
834,
4309,
16,
17,
6,
9918,
834,
476,
2741,
16,
17,
6,
4501,
1499,
6,
2271,
1499,
6,
5879,
834,
10833,
7,
1499,
6,
701,
834,
2700,
7,
490,
6,
463,
834,
6254,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
6,
2847,
17161,
599,
1935,
61,
21680,
2096,
834,
9,
7,
6732,
297,
6157,
332,
536,
3,
15355,
3162,
17730,
6157,
332,
357,
9191,
332,
5411,
3470,
7742,
152,
834,
23,
26,
3274,
332,
4416,
3470,
7742,
152,
834,
... |
What are the nationalities and their average ages of journalists Show me a bar chart, order total number in desc order please. | CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
Work_Type ... | SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY AVG(Age) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
9994,
41,
9994,
834,
4309,
16,
17,
6,
5570,
1499,
6,
868,
485,
1499,
6,
7526,
1499,
6,
13825,
834,
9238,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
605,
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,
868,
485,
6,
71,
17217,
599,
188,
397,
61,
21680,
9994,
350,
4630,
6880,
272,
476,
868,
485,
4674,
11300,
272,
476,
71,
17217,
599,
188,
397,
61,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played? | CREATE TABLE table_45229 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" real
) | SELECT AVG("Goals For") FROM table_45229 WHERE "Drawn" > '7' AND "Goals Against" < '86' AND "Lost" > '11' AND "Played" > '42' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
357,
3166,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
121,
490,
6,
96,
434,
3481,
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,
71,
17217,
599,
121,
6221,
5405,
242,
8512,
21680,
953,
834,
2128,
357,
3166,
549,
17444,
427,
96,
308,
10936,
29,
121,
2490,
3,
31,
940,
31,
3430,
96,
6221,
5405,
3,
20749,
121,
3,
2,
3,
31,
3840,
31,
3430,
96,... |
What are the highest cost, lowest cost and average cost of procedures? | CREATE TABLE procedures (
cost INTEGER
) | SELECT MAX(cost), MIN(cost), AVG(cost) FROM procedures | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
583,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
2030,
583,
6,
7402,
583,
11,
1348,
583,
13,
4293,
58,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
11290,
201,
3,
17684,
599,
11290,
201,
71,
17217,
599,
11290,
61,
21680,
4293,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest round in which a player was picked for the Center position? | CREATE TABLE table_name_24 (round INTEGER, position VARCHAR) | SELECT MAX(round) FROM table_name_24 WHERE position = "center" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
7775,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
1751,
16,
84,
3,
9,
1959,
47,
4758,
21,
8,
116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
7775,
61,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
1102,
3274,
96,
13866,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many patients with congestive heart failure stayed in the hospital for more than 13 days? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CONGESTIVE HEART FAILURE" AND demographic.days_stay > "13" | [
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,
25930,
4844,
159,
3274,
96,
254,
15628,
6038,
8087,
3,
6021,
8241,
377,
22862,
18290,
121,
3430,
1... |
Which Proto-Polynesian has a Proto-Malayo-Polynesian of *telu? | CREATE TABLE table_41803 (
"Number" text,
"Proto-Austronesian" text,
"Proto-Malayo-Polynesian" text,
"Proto-Oceanic" text,
"Proto-Polynesian" text
) | SELECT "Proto-Polynesian" FROM table_41803 WHERE "Proto-Malayo-Polynesian" = '*telu' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
2079,
519,
41,
96,
567,
5937,
49,
121,
1499,
6,
96,
3174,
235,
18,
14934,
6255,
15,
10488,
121,
1499,
6,
96,
3174,
235,
18,
329,
9,
5595,
32,
18,
8931,
63,
29,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3174,
235,
18,
8931,
63,
29,
15,
10488,
121,
21680,
953,
834,
4853,
2079,
519,
549,
17444,
427,
96,
3174,
235,
18,
329,
9,
5595,
32,
18,
8931,
63,
29,
15,
10488,
121,
3274,
3,
31,
1935,
1625,
76,
31,
1,
-1... |
What competition took place in a year later than 2009 with team notes? | CREATE TABLE table_name_8 (
competition VARCHAR,
year VARCHAR,
notes VARCHAR
) | SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
2259,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
3358,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2259,
808,
286,
16,
3,
9,
215,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2259,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
215,
2490,
2464,
3430,
3358,
3274,
96,
11650,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the original NFL team when the POS is S and college is Georgia Tech? | CREATE TABLE table_59103 (
"Original NFL team" text,
"Player" text,
"Pos." text,
"College" text,
"Conf." text
) | SELECT "Original NFL team" FROM table_59103 WHERE "Pos." = 's' AND "College" = 'georgia tech' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
17864,
41,
96,
667,
3380,
10270,
10439,
372,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
535,
1499,
6,
96,
9939,
7883,
121,
1499,
6,
96,
4302,
89,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
10439,
372,
121,
21680,
953,
834,
3390,
17864,
549,
17444,
427,
96,
345,
32,
7,
535,
3274,
3,
31,
7,
31,
3430,
96,
9939,
7883,
121,
3274,
3,
31,
397,
1677,
23,
9,
5256,
31,
1,
-100,
-100,
... |
How many points have a percentage of possible points of 67.22%? | CREATE TABLE table_name_92 (
points INTEGER,
percentage_of_possible_points VARCHAR
) | SELECT SUM(points) FROM table_name_92 WHERE percentage_of_possible_points = "67.22%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
979,
3,
21342,
17966,
6,
5294,
834,
858,
834,
2748,
7,
2317,
834,
2700,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
43,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
5294,
834,
858,
834,
2748,
7,
2317,
834,
2700,
7,
3274,
96,
948,
25791,
5406,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest child sex ratio in groups where employment is 31.3%? | CREATE TABLE table_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR) | SELECT MIN(sex_ratio__child_) FROM table_10710364_2 WHERE work_participation___percentage_ = "31.3%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
18057,
17864,
4389,
834,
357,
41,
7,
994,
834,
6850,
32,
834,
834,
11495,
834,
3,
21342,
17966,
6,
161,
834,
2274,
23,
3389,
257,
834,
834,
834,
883,
3728,
545,
834,
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,
3,
17684,
599,
7,
994,
834,
6850,
32,
834,
834,
11495,
834,
61,
21680,
953,
834,
18057,
17864,
4389,
834,
357,
549,
17444,
427,
161,
834,
2274,
23,
3389,
257,
834,
834,
834,
883,
3728,
545,
834,
3274,
96,
3341,
5,... |
How many picks were from Lamar College? | CREATE TABLE table_name_34 (
pick__number VARCHAR,
college VARCHAR
) | SELECT COUNT(pick__number) FROM table_name_34 WHERE college = "lamar" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
1900,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1432,
7,
130,
45,
325,
1635,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
17967,
834,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
1900,
3274,
96,
521,
1635,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many are in the Green Party with a Fine Gael of less than 4 and a Fianna Fail of less than 2 in Athy? | CREATE TABLE table_name_41 (
green_party INTEGER,
town VARCHAR,
fine_gael VARCHAR,
fianna_fáil VARCHAR
) | SELECT SUM(green_party) FROM table_name_41 WHERE fine_gael < 4 AND fianna_fáil < 2 AND town = "athy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
1442,
834,
8071,
3,
21342,
17966,
6,
1511,
584,
4280,
28027,
6,
1399,
834,
122,
9,
15,
40,
584,
4280,
28027,
6,
361,
10878,
834,
89,
2975,
173,
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,
180,
6122,
599,
9423,
834,
8071,
61,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
1399,
834,
122,
9,
15,
40,
3,
2,
314,
3430,
361,
10878,
834,
89,
2975,
173,
3,
2,
204,
3430,
1511,
3274,
96,
9,
189,
63,
... |
Who directed the show that was viewed by 2.06 million U.S. people? | CREATE TABLE table_11694832_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_11694832_1 WHERE us_viewers__millions_ = "2.06" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
3951,
3707,
2668,
834,
536,
41,
22955,
834,
969,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
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,
1,
0,
0,
0... | [
3,
23143,
14196,
6640,
834,
969,
21680,
953,
834,
2596,
3951,
3707,
2668,
834,
536,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
7,
834,
3274,
96,
4416,
5176,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is lab test fluid of subject id 25543? | 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 demographic (
subject_id text,
hadm_id t... | SELECT lab.fluid FROM lab WHERE lab.subject_id = "25543" | [
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,
7690,
5,
6947,
23,
26,
21680,
7690,
549,
17444,
427,
7690,
5,
7304,
11827,
834,
23,
26,
3274,
96,
25502,
4906,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the girl on week 5 that came after week 3's Shelly Louise? | CREATE TABLE table_name_21 (
week_5 VARCHAR,
week_3 VARCHAR
) | SELECT week_5 FROM table_name_21 WHERE week_3 = "shelly louise" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
471,
834,
755,
584,
4280,
28027,
6,
471,
834,
519,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
3202,
30,
471,
305,
24,
764,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
471,
834,
755,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
471,
834,
519,
3274,
96,
17346,
63,
16585,
159,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who has the lowest league total goals with 0 FA cup goals and no FA cup appearances, plays the DF position and has appeared in total of 3 times? | CREATE TABLE table_name_84 (league_goals INTEGER, total_apps VARCHAR, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT MIN(league_goals) FROM table_name_84 WHERE fa_cup_goals = "0" AND fa_cup_apps = "0" AND position = "df" AND total_apps = "3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
29512,
834,
839,
5405,
3,
21342,
17966,
6,
792,
834,
3096,
7,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
3,
89,
9,
834,
4658,
834,
839,
5405,
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,
3,
17684,
599,
29512,
834,
839,
5405,
61,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
3,
89,
9,
834,
4658,
834,
839,
5405,
3274,
96,
632,
121,
3430,
3,
89,
9,
834,
4658,
834,
3096,
7,
3274,
96,
632,
121,
... |
What rounds did Roy Salvadori drive for David Brown Corporation? | CREATE TABLE table_55204 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
) | SELECT "Rounds" FROM table_55204 WHERE "Entrant" = 'david brown corporation' AND "Driver" = 'roy salvadori' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3769,
26363,
41,
96,
16924,
3569,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
382,
63,
60,
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,
448,
32,
1106,
7,
121,
21680,
953,
834,
3769,
26363,
549,
17444,
427,
96,
16924,
3569,
121,
3274,
3,
31,
26,
9,
6961,
4216,
11861,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
8170,
18770,
26,
2057,
31,
1,
-10... |
Which rider had a time of 1:54.26.6? | CREATE TABLE table_name_17 (
rider VARCHAR,
time VARCHAR
) | SELECT rider FROM table_name_17 WHERE time = "1:54.26.6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
2564,
52,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2564,
52,
141,
3,
9,
97,
13,
209,
10,
755,
19765,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2564,
52,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
97,
3274,
96,
536,
10,
755,
19765,
28833,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Owner Delivered the T415? | CREATE TABLE table_name_70 (
owner VARCHAR,
delivered_as VARCHAR
) | SELECT owner FROM table_name_70 WHERE delivered_as = "t415" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
2527,
584,
4280,
28027,
6,
3566,
834,
9,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
13307,
23691,
15,
26,
8,
332,
591,
1808,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2527,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
3566,
834,
9,
7,
3274,
96,
17,
4853,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
how many delegates represented allegany ? | CREATE TABLE table_203_247 (
id number,
"district" text,
"counties represented" text,
"delegate" text,
"party" text,
"first elected" number,
"committee" text
) | SELECT COUNT("delegate") FROM table_203_247 WHERE "counties represented" = 'allegany' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
4177,
41,
3,
23,
26,
381,
6,
96,
26,
23,
20066,
121,
1499,
6,
96,
13362,
725,
7283,
121,
1499,
6,
96,
221,
8791,
121,
1499,
6,
96,
8071,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
221,
8791,
8512,
21680,
953,
834,
23330,
834,
357,
4177,
549,
17444,
427,
96,
13362,
725,
7283,
121,
3274,
3,
31,
13701,
2565,
63,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many losses are there for team tembetary? | CREATE TABLE table_18703133_6 (losses VARCHAR, team VARCHAR) | SELECT losses FROM table_18703133_6 WHERE team = "Tembetary" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25828,
4928,
22974,
834,
948,
41,
2298,
2260,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
8467,
33,
132,
21,
372,
3,
3524,
346,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8467,
21680,
953,
834,
25828,
4928,
22974,
834,
948,
549,
17444,
427,
372,
3274,
96,
382,
15,
51,
346,
17,
1208,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the frequency with 900w power? | CREATE TABLE table_name_81 (
frequency VARCHAR,
power VARCHAR
) | SELECT frequency FROM table_name_81 WHERE power = "900w" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
7321,
584,
4280,
28027,
6,
579,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7321,
28,
3,
7015,
210,
579,
58,
1,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7321,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
579,
3274,
96,
7015,
210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Find the name of students who took some course offered by Statistics department. | CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE takes (course_id VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR) | SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
4350,
584,
4280,
28027,
6,
3,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1217,
41,
19221,
834,
23,
26,
584,
4280,
28027,
6,
3,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5787,
4350,
21680,
503,
6157,
332,
536,
3,
15355,
3162,
1217,
6157,
332,
357,
9191,
332,
5411,
19221,
834,
23,
26,
3274,
332,
4416,
19221,
834,
23,
26,
3,
15355,
3162,
1236,
6157,
332,
519,
9191,
332,
4416,
23,... |
What is the score March 27? | CREATE TABLE table_name_55 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_55 WHERE date = "march 27" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
1332,
2307,
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,
2604,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
833,
3274,
96,
51,
7064,
2307,
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 cardinal direction associated with Venus? | CREATE TABLE table_14850099_18 (cardinal_direction VARCHAR, planet VARCHAR) | SELECT cardinal_direction FROM table_14850099_18 WHERE planet = "Venus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24748,
2560,
3264,
834,
2606,
41,
6043,
10270,
834,
10258,
4985,
584,
4280,
28027,
6,
4345,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
895,
10270,
2212,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
895,
10270,
834,
10258,
4985,
21680,
953,
834,
24748,
2560,
3264,
834,
2606,
549,
17444,
427,
4345,
3274,
96,
553,
35,
302,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the trigger pack on the Colt 602 with the a1 rear sight type? | CREATE TABLE table_19901_1 (
trigger_pack VARCHAR,
rear_sight_type VARCHAR,
colt_model_no VARCHAR
) | SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19479,
4542,
834,
536,
41,
7294,
834,
5745,
584,
4280,
28027,
6,
4091,
834,
7,
2632,
834,
6137,
584,
4280,
28027,
6,
7632,
17,
834,
21770,
834,
29,
32,
584,
4280,
28027,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7294,
834,
5745,
21680,
953,
834,
19479,
4542,
834,
536,
549,
17444,
427,
4091,
834,
7,
2632,
834,
6137,
3274,
96,
188,
536,
121,
3430,
7632,
17,
834,
21770,
834,
29,
32,
3274,
96,
3328,
357,
121,
1,
-100,
-100,
-... |
What was the total Attendance for Games while Chicago was the visiting Team? | CREATE TABLE table_52448 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) | SELECT SUM("Attendance") FROM table_52448 WHERE "Visitor" = 'chicago' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2266,
3707,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
188,
17,
324,
26,
663,
8512,
21680,
953,
834,
755,
2266,
3707,
549,
17444,
427,
96,
553,
159,
155,
127,
121,
3274,
3,
31,
1436,
658,
839,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who was the Republican in the district more than 4? | CREATE TABLE table_name_49 (republican VARCHAR, district INTEGER) | SELECT republican FROM table_name_49 WHERE district > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
60,
15727,
152,
584,
4280,
28027,
6,
3939,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
8994,
16,
8,
3939,
72,
145,
314,
58,
1,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
20237,
152,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
3939,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
When Yale is listed as the regular season winner, what tournament venue is given? | CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) | SELECT tournament_venue__city_ FROM table_28365816_2 WHERE regular_season_winner = "Yale" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
10402,
927,
2938,
834,
357,
41,
17,
1211,
20205,
17,
834,
15098,
834,
834,
6726,
834,
584,
4280,
28027,
6,
1646,
834,
9476,
834,
3757,
687,
584,
4280,
28027,
61,
3,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
5892,
834,
15098,
834,
834,
6726,
834,
21680,
953,
834,
2577,
10402,
927,
2938,
834,
357,
549,
17444,
427,
1646,
834,
9476,
834,
3757,
687,
3274,
96,
476,
9,
109,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When has a Source of rasmussen reports? | CREATE TABLE table_name_39 (date VARCHAR, source VARCHAR) | SELECT date FROM table_name_39 WHERE source = "rasmussen reports" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
5522,
584,
4280,
28027,
6,
1391,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
65,
3,
9,
9149,
13,
3,
52,
9,
7,
3252,
7,
35,
2279,
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,
833,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
1391,
3274,
96,
52,
9,
7,
3252,
7,
35,
2279,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which points have an Overall place of 9=, and a Skipper of nick fenton? | CREATE TABLE table_70392 (
"Overall place" text,
"Yacht name" text,
"Skipper" text,
"Points" text,
"Combined elapsed time" text
) | SELECT "Points" FROM table_70392 WHERE "Overall place" = '9=' AND "Skipper" = 'nick fenton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
3288,
357,
41,
96,
23847,
1748,
286,
121,
1499,
6,
96,
476,
9,
3997,
564,
121,
1499,
6,
96,
134,
2168,
8153,
121,
1499,
6,
96,
22512,
7,
121,
1499,
6,
96,
28257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22512,
7,
121,
21680,
953,
834,
2518,
3288,
357,
549,
17444,
427,
96,
23847,
1748,
286,
121,
3274,
3,
31,
1298,
2423,
31,
3430,
96,
134,
2168,
8153,
121,
3274,
3,
31,
11191,
3,
89,
295,
106,
31,
1,
-100,
-10... |
What was the comment on the Denali area? | CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR) | SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
21441,
3076,
357,
834,
357,
41,
287,
297,
584,
4280,
28027,
6,
3,
12823,
834,
127,
834,
75,
35,
7,
302,
834,
498,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1670,
21680,
953,
834,
2517,
21441,
3076,
357,
834,
357,
549,
17444,
427,
3,
12823,
834,
127,
834,
75,
35,
7,
302,
834,
498,
3274,
96,
308,
35,
4288,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
In connecticut the school/club team/country had a set height in ft. what is true for them? | CREATE TABLE table_11734041_10 (height_in_ft VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_11734041_10 WHERE school_club_team_country = "Connecticut" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20275,
21129,
4853,
834,
1714,
41,
88,
2632,
834,
77,
834,
89,
17,
584,
4280,
28027,
6,
496,
834,
13442,
834,
11650,
834,
17529,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3902,
834,
77,
834,
89,
17,
21680,
953,
834,
20275,
21129,
4853,
834,
1714,
549,
17444,
427,
496,
834,
13442,
834,
11650,
834,
17529,
3274,
96,
25772,
23,
3044,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What vehicle has an epa highway fuel economy of 109 mpg-e? | CREATE TABLE table_73210 (
"Vehicle" text,
"Model year" text,
"Type of powertrain" text,
"Operating mode" text,
"EPA rated Combined fuel economy" text,
"EPA rated City fuel economy" text,
"EPA rated Highway fuel economy" text,
"Cost to drive 25 miles" text,
"Annual fuel cost" text,
... | SELECT "Vehicle" FROM table_73210 WHERE "EPA rated Highway fuel economy" = '109 mpg-e' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
15239,
41,
96,
553,
15,
107,
23,
2482,
121,
1499,
6,
96,
24663,
215,
121,
1499,
6,
96,
25160,
13,
579,
9719,
121,
1499,
6,
96,
667,
883,
1014,
2175,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
15,
107,
23,
2482,
121,
21680,
953,
834,
4552,
15239,
549,
17444,
427,
96,
13986,
3,
4094,
11428,
2914,
2717,
121,
3274,
3,
31,
17304,
3,
1167,
122,
18,
15,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Show the average price of hotels for different pet policy. | CREATE TABLE HOTELS (pets_allowed_yn VARCHAR, price_range INTEGER) | SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
27739,
3577,
134,
41,
4995,
7,
834,
138,
22411,
834,
63,
29,
584,
4280,
28027,
6,
594,
834,
5517,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
1348,
594,
13,
5694,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
8636,
834,
138,
22411,
834,
63,
29,
6,
71,
17217,
599,
102,
4920,
834,
5517,
61,
21680,
27739,
3577,
134,
350,
4630,
6880,
272,
476,
8636,
834,
138,
22411,
834,
63,
29,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When (v kha) is the belarusian how many slovaks are there? | CREATE TABLE table_26757_4 (
slovak VARCHAR,
belarusian VARCHAR
) | SELECT COUNT(slovak) FROM table_26757_4 WHERE belarusian = "вуха (vúkha)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3708,
3436,
834,
591,
41,
3,
7,
5850,
1639,
584,
4280,
28027,
6,
36,
521,
4502,
23,
152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
41,
208,
3,
182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7,
5850,
1639,
61,
21680,
953,
834,
357,
3708,
3436,
834,
591,
549,
17444,
427,
36,
521,
4502,
23,
152,
3274,
96,
6609,
3700,
2,
2533,
41,
208,
2,
18276,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,... |
Show the number of the musical nominee with award 'Bob Fosse' or 'Cleavant Derricks'. | CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
) | SELECT Nominee, COUNT(Nominee) FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks" GROUP BY Nominee | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4183,
41,
22307,
834,
4309,
16,
17,
6,
5570,
1499,
6,
2929,
16,
17,
6,
3677,
1499,
6,
17459,
1499,
6,
465,
8695,
15,
1499,
6,
3,
20119,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
465,
8695,
15,
6,
2847,
17161,
599,
4168,
8695,
15,
61,
21680,
4183,
549,
17444,
427,
3677,
3274,
96,
382,
106,
63,
3677,
121,
4674,
3677,
3274,
96,
254,
109,
15990,
660,
5206,
7,
121,
350,
4630,
6880,
272,
476,
4... |
What shows for Scorers when the Opponent was west germany on October 7? | CREATE TABLE table_name_31 (
scorers VARCHAR,
opponent VARCHAR,
date VARCHAR
) | SELECT scorers FROM table_name_31 WHERE opponent = "west germany" AND date = "october 7" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
14056,
277,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1267,
21,
17763,
52,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
14056,
277,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
15264,
3274,
96,
12425,
13692,
63,
121,
3430,
833,
3274,
96,
32,
75,
235,
1152,
489,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What's the Result listed that has a Date of June 12, 1997? | CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_76 WHERE date = "june 12, 1997" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
3,
20119,
2616,
24,
65,
3,
9,
7678,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
833,
3274,
96,
6959,
15,
10440,
6622,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the greatest number of rushing yards for a runner who had 283 rushes and less than 10 rushing TDs? | CREATE TABLE table_name_16 (rushing_yards INTEGER, rushes VARCHAR, rushing_tds VARCHAR) | SELECT MAX(rushing_yards) FROM table_name_16 WHERE rushes = 283 AND rushing_tds < 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
15842,
834,
6636,
7,
3,
21342,
17966,
6,
10505,
15,
7,
584,
4280,
28027,
6,
3,
15842,
834,
17,
26,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
15842,
834,
6636,
7,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
10505,
15,
7,
3274,
204,
4591,
3430,
3,
15842,
834,
17,
26,
7,
3,
2,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which School is located in Winter Park, FL (Hometown)? | CREATE TABLE table_name_65 (
school VARCHAR,
hometown VARCHAR
) | SELECT school FROM table_name_65 WHERE hometown = "winter park, fl" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
496,
584,
4280,
28027,
6,
22295,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1121,
19,
1069,
16,
4272,
1061,
6,
7212,
41,
19040,
3540,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
496,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
22295,
3274,
96,
210,
3870,
2447,
6,
3,
89,
40,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What Country is David Toms from? | CREATE TABLE table_name_84 (
country VARCHAR,
player VARCHAR
) | SELECT country FROM table_name_84 WHERE player = "david toms" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
684,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
6993,
19,
1955,
3059,
7,
45,
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,
684,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
1959,
3274,
96,
26,
9,
6961,
12,
51,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What Country has a Player with Playoff Money with a Score of 72-69-73-73=287? | CREATE TABLE table_name_8 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
17529,
584,
4280,
28027,
6,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
6993,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
540,
834,
834,
834,
3229,
834,
834,
3274,
96,
4895,
1647,
121,
3430,
2604,
3274,
9455,
3,
18,
3,
3951,
3,
18,
3,
4552,
3,
18,
3,
4552,
3274,
204,
4225,
1,
... |
How much money does player ben crenshaw, who has a t4 place, have? | CREATE TABLE table_name_36 (
money___$__ VARCHAR,
place VARCHAR,
player VARCHAR
) | SELECT money___$__ FROM table_name_36 WHERE place = "t4" AND player = "ben crenshaw" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
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,
540,
834,
834,
834,
3229,
834,
834,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
286,
3274,
96,
17,
20364,
3430,
1959,
3274,
96,
115,
35,
3935,
29,
15622,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many patients whose admission type is newborn and insurance is self pay? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.insurance = "Self Pay" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
9,
26,
5451,
834,
6137,
3274,
96,
4171,
518,
8471,
14151,
121,
3430,
14798,
5,
29441,
3274,
96,
... |
What is the Elimination for Candice? | CREATE TABLE table_name_96 (
elimination VARCHAR,
wrestler VARCHAR
) | SELECT elimination FROM table_name_96 WHERE wrestler = "candice" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
23458,
584,
4280,
28027,
6,
26033,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7495,
14484,
21,
12959,
867,
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,
23458,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
26033,
52,
3274,
96,
75,
232,
867,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the owners for prairie public | CREATE TABLE table_14623167_1 (
owner VARCHAR,
branding VARCHAR
) | SELECT COUNT(owner) FROM table_14623167_1 WHERE branding = "Prairie Public" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24300,
2773,
27650,
834,
536,
41,
2527,
584,
4280,
28027,
6,
14282,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2713,
21,
30631,
452,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
13238,
61,
21680,
953,
834,
24300,
2773,
27650,
834,
536,
549,
17444,
427,
14282,
3274,
96,
345,
7253,
1753,
2575,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When the final position/round is group stage, when is the last match? | CREATE TABLE table_name_60 (
last_match VARCHAR,
final_position___round VARCHAR
) | SELECT last_match FROM table_name_60 WHERE final_position___round = "group stage" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
336,
834,
19515,
584,
4280,
28027,
6,
804,
834,
4718,
834,
834,
834,
7775,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
804,
1102,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
336,
834,
19515,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
804,
834,
4718,
834,
834,
834,
7775,
3274,
96,
10739,
1726,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON? | CREATE TABLE table_name_57 (
date VARCHAR,
game VARCHAR,
team VARCHAR
) | SELECT date FROM table_name_57 WHERE game < 58 AND team = "boston" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
833,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
21665,
309,
6048,
454,
6762,
71,
350,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
467,
3,
2,
3,
3449,
3430,
372,
3274,
96,
115,
32,
4411,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the number of US Viewers in the episode directed by Steve Shill and having a production code of E2102? | CREATE TABLE table_24600 (
"Season no." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. Viewers (millions)" text
) | SELECT "U.S. Viewers (millions)" FROM table_24600 WHERE "Directed by" = 'Steve Shill' AND "Production code" = 'E2102' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
6007,
41,
96,
134,
15,
9,
739,
150,
535,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
667... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1265,
5,
134,
5,
4197,
277,
41,
17030,
7,
61,
121,
21680,
953,
834,
2266,
6007,
549,
17444,
427,
96,
23620,
15,
26,
57,
121,
3274,
3,
31,
14337,
162,
4804,
195,
31,
3430,
96,
3174,
8291,
1081,
121,
3274,
3,
... |
What is the name for the regional county municipality of d'autray and a code less than 52017? | CREATE TABLE table_11759 (
"Code" real,
"Type" text,
"Name" text,
"Regional County Municipality" text,
"Region" real
) | SELECT "Name" FROM table_11759 WHERE "Regional County Municipality" = 'd''autray' AND "Code" < '52017' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20275,
3390,
41,
96,
22737,
121,
490,
6,
96,
25160,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
17748,
6318,
1334,
16492,
485,
121,
1499,
6,
96,
17748,
23,
106,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
20275,
3390,
549,
17444,
427,
96,
17748,
6318,
1334,
16492,
485,
121,
3274,
3,
31,
26,
31,
31,
402,
17,
2866,
31,
3430,
96,
22737,
121,
3,
2,
3,
31,
755,
9887,
31,
1,
-100,
-100,... |
What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2? | CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR) | SELECT set_2 FROM table_name_6 WHERE total = "45–12" AND set_3 = "15–2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
2244,
834,
357,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
356,
834,
519,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2821,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
356,
834,
357,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
792,
3274,
96,
2128,
104,
2122,
121,
3430,
356,
834,
519,
3274,
96,
1808,
104,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which division was the Rampage in when they were in the 2nd round in the Open Cup? | CREATE TABLE table_name_39 (division VARCHAR, open_cup VARCHAR) | SELECT division FROM table_name_39 WHERE open_cup = "2nd round" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
26,
23,
6610,
584,
4280,
28027,
6,
539,
834,
4658,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4889,
47,
8,
4425,
6492,
16,
116,
79,
130... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4889,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
539,
834,
4658,
3274,
96,
357,
727,
1751,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
If the name is Steamboat, what is the top elevation? | CREATE TABLE table_73849 (
"Name" text,
"Nearest city" text,
"Skiable area (acres)" real,
"Top elevation (feet)" real,
"Base elevation (feet)" real,
"Vertical (feet)" real,
"Runs" text,
"Lifts" real,
"Snowfall (in/year)" real
) | SELECT "Top elevation (feet)" FROM table_73849 WHERE "Name" = 'Steamboat' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3747,
3647,
41,
96,
23954,
121,
1499,
6,
96,
567,
2741,
222,
690,
121,
1499,
6,
96,
134,
2168,
179,
616,
41,
10610,
7,
61,
121,
490,
6,
96,
22481,
16417,
41,
89,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22481,
16417,
41,
89,
15,
15,
17,
61,
121,
21680,
953,
834,
940,
3747,
3647,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
134,
11650,
14131,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the name of the diety for the river of sone? | CREATE TABLE table_name_16 (
name_of_deity VARCHAR,
name_of_the_river VARCHAR
) | SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
564,
834,
858,
834,
221,
485,
584,
4280,
28027,
6,
564,
834,
858,
834,
532,
834,
5927,
49,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
834,
858,
834,
221,
485,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
564,
834,
858,
834,
532,
834,
5927,
49,
3274,
96,
7,
782,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What type entered service in 2000? | CREATE TABLE table_38839 (
"Name" text,
"Type" text,
"Entered service" text,
"Water depth" text,
"Location" text
) | SELECT "Type" FROM table_38839 WHERE "Entered service" = '2000' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
4060,
3288,
41,
96,
23954,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
16924,
3737,
313,
121,
1499,
6,
96,
28632,
4963,
121,
1499,
6,
96,
434,
32,
75,
257,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
25160,
121,
21680,
953,
834,
519,
4060,
3288,
549,
17444,
427,
96,
16924,
3737,
313,
121,
3274,
3,
31,
13527,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the number of laps for the Time/Retired of +16.445? | CREATE TABLE table_name_76 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_76 WHERE time_retired = "+16.445" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
8478,
7,
584,
4280,
28027,
6,
97,
834,
10682,
1271,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
381,
13,
14941,
7,
21,
8,
2900,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14941,
7,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
97,
834,
10682,
1271,
3274,
96,
18446,
27869,
2128,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the percentage for all 2008 when all in 2007 is 69%? | CREATE TABLE table_79756 (
"Exam" text,
"2006 First Time" text,
"2006 All" text,
"2007 First Time" text,
"2007 All" text,
"2008 First Time" text,
"2008 All" text,
"2009 First Time" text,
"2009 All" text,
"2010 First Time" text,
"2011 First Time" text,
"2012 First Time" te... | SELECT "2008 All" FROM table_79756 WHERE "2007 All" = '69%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
3072,
948,
41,
96,
5420,
265,
121,
1499,
6,
96,
21196,
1485,
2900,
121,
1499,
6,
96,
21196,
432,
121,
1499,
6,
96,
20615,
1485,
2900,
121,
1499,
6,
96,
20615,
432,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16128,
432,
121,
21680,
953,
834,
4440,
3072,
948,
549,
17444,
427,
96,
20615,
432,
121,
3274,
3,
31,
3951,
1454,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the height of the person born before 1975? | CREATE TABLE table_name_57 (height VARCHAR, year_born INTEGER) | SELECT height FROM table_name_57 WHERE year_born < 1975 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
88,
2632,
584,
4280,
28027,
6,
215,
834,
7473,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3902,
13,
8,
568,
2170,
274,
16312,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3902,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
215,
834,
7473,
3,
2,
16312,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
In what Place was the Silver won by vladimir vesselov ( urs )? | CREATE TABLE table_59276 (
"Year" real,
"Place" text,
"Gold" text,
"Silver" text,
"Bronze" text
) | SELECT "Place" FROM table_59276 WHERE "Silver" = 'vladimir vesselov ( urs )' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
357,
3959,
41,
96,
476,
2741,
121,
490,
6,
96,
345,
11706,
121,
1499,
6,
96,
23576,
121,
1499,
6,
96,
134,
173,
624,
121,
1499,
6,
96,
22780,
29,
776,
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,
345,
11706,
121,
21680,
953,
834,
3390,
357,
3959,
549,
17444,
427,
96,
134,
173,
624,
121,
3274,
3,
31,
208,
521,
26,
23,
5884,
12662,
32,
208,
41,
3,
3589,
3,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
What's the year that has a Baden Freiburger FC? | CREATE TABLE table_63704 (
"Year" real,
"Baden" text,
"W\u00fcrttemberg" text,
"Nordbayern" text,
"S\u00fcdbayern" text
) | SELECT COUNT("Year") FROM table_63704 WHERE "Baden" = 'freiburger fc' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
2518,
591,
41,
96,
476,
2741,
121,
490,
6,
96,
279,
9,
537,
121,
1499,
6,
96,
518,
2,
76,
1206,
89,
75,
52,
17,
3524,
2235,
121,
1499,
6,
96,
567,
127,
26,
1111... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
476,
2741,
8512,
21680,
953,
834,
3891,
2518,
591,
549,
17444,
427,
96,
279,
9,
537,
121,
3274,
3,
31,
9477,
9079,
3,
89,
75,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what's the result with record being 0 1 | CREATE TABLE table_14984126_1 (
result VARCHAR,
record VARCHAR
) | SELECT result FROM table_14984126_1 WHERE record = "0–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24816,
4608,
21976,
834,
536,
41,
741,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
741,
28,
1368,
271,
3,
632,
209,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
24816,
4608,
21976,
834,
536,
549,
17444,
427,
1368,
3274,
96,
632,
104,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How much Loss has an Avg/G larger than 129.2? | CREATE TABLE table_name_87 (loss VARCHAR, avg_g INTEGER) | SELECT COUNT(loss) FROM table_name_87 WHERE avg_g > 129.2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
2298,
7,
584,
4280,
28027,
6,
3,
9,
208,
122,
834,
122,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
571,
231,
3144,
7,
65,
46,
71,
208,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2298,
7,
61,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
3,
9,
208,
122,
834,
122,
2490,
3,
22174,
5,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? | CREATE TABLE table_39559 (
"Paul McCartney" text,
"Stuart" text,
"McIntosh" text,
"Whitten" text,
"Linda McCartney" text
) | SELECT "McIntosh" FROM table_39559 WHERE "Stuart" = 'bass' AND "Linda McCartney" = 'keyboards or drum' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3301,
3390,
41,
96,
23183,
7040,
1408,
3186,
121,
1499,
6,
96,
13076,
1408,
121,
1499,
6,
96,
329,
75,
27201,
7,
107,
121,
1499,
6,
96,
518,
10536,
324,
121,
1499,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
75,
27201,
7,
107,
121,
21680,
953,
834,
519,
3301,
3390,
549,
17444,
427,
96,
13076,
1408,
121,
3274,
3,
31,
4883,
7,
31,
3430,
96,
434,
77,
26,
9,
7040,
1408,
3186,
121,
3274,
3,
31,
4397,
1976,
7,
... |
What is the largest events number for more than 2 wins and less than $446,893 in earnings? | CREATE TABLE table_name_65 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR) | SELECT MAX(events) FROM table_name_65 WHERE wins > 2 AND earnings___$__ < 446 OFFSET 893 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
15,
2169,
7,
3,
21342,
17966,
6,
9204,
584,
4280,
28027,
6,
8783,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
15,
2169,
7,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
9204,
2490,
204,
3430,
8783,
834,
834,
834,
3229,
834,
834,
3,
2,
314,
4448,
3,
15316,
20788,
505,
4271,
1,
-100,
-100,
-100,
-100,... |
Which Season has a Score of 3 – 3 aet , 4–3 pen | CREATE TABLE table_name_31 (season VARCHAR, score VARCHAR) | SELECT season FROM table_name_31 WHERE score = "3 – 3 aet , 4–3 pen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
9476,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7960,
65,
3,
9,
17763,
13,
220,
3,
104,
220,
3,
9,
15,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
774,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
2604,
3274,
96,
519,
3,
104,
220,
3,
9,
15,
17,
3,
6,
314,
104,
519,
4550,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 00017 17? | CREATE TABLE table_name_30 (
population VARCHAR,
height__m_ VARCHAR,
area___ha__ VARCHAR
) | SELECT population FROM table_name_30 WHERE height__m_ = 15 AND area___ha__ = "00017 17" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
2074,
584,
4280,
28027,
6,
3902,
834,
834,
51,
834,
584,
4280,
28027,
6,
616,
834,
834,
834,
1024,
834,
834,
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,
2074,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
3902,
834,
834,
51,
834,
3274,
627,
3430,
616,
834,
834,
834,
1024,
834,
834,
3274,
96,
2313,
2517,
1003,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Player has a Place of T2 and a Country listed as Fiji? | CREATE TABLE table_6841 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "Player" FROM table_6841 WHERE "Place" = 't2' AND "Country" = 'fiji' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
4853,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
490,
6,
96,
3696,
260,
121,
1499,
3,
61,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
3651,
4853,
549,
17444,
427,
96,
345,
11706,
121,
3274,
3,
31,
17,
357,
31,
3430,
96,
10628,
651,
121,
3274,
3,
31,
89,
17279,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Winning Driver has a Round of 9? | CREATE TABLE table_name_45 (
winning_driver VARCHAR,
round VARCHAR
) | SELECT winning_driver FROM table_name_45 WHERE round = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
3447,
834,
13739,
52,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
549,
10503,
10546,
65,
3,
9,
9609,
13,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3447,
834,
13739,
52,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
1751,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was at home on april 14? | CREATE TABLE table_53055 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Series" text
) | SELECT "Home" FROM table_53055 WHERE "Date" = 'april 14' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26918,
3769,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
121,
21680,
953,
834,
26918,
3769,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
9,
2246,
40,
968,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who are all of the candidates in elections where Dennis Kucinich was a candidate? | CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1805191_36 WHERE incumbent = "Dennis Kucinich" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
5553,
4729,
834,
3420,
41,
1608,
12416,
6203,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
33,
66,
13,
8,
4341,
16,
9768,
213... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4341,
21680,
953,
834,
20829,
5553,
4729,
834,
3420,
549,
17444,
427,
28406,
3274,
96,
308,
35,
29,
159,
3695,
20694,
524,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1? | CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT SUM(total) FROM table_name_87 WHERE silver > 1 AND nation = "germany (ger)" AND gold < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
235,
1947,
3,
21342,
17966,
6,
2045,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
235,
1947,
61,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
4294,
2490,
209,
3430,
2982,
3274,
96,
1304,
348,
63,
41,
1304,
61,
121,
3430,
2045,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
What is Opening, when White is Kramnik, when Year is less than 2001, and when Tournament is 'Siemens Giants'? | CREATE TABLE table_59336 (
"White" text,
"Black" text,
"Year" real,
"Result" text,
"Moves" real,
"Tournament" text,
"Opening" text
) | SELECT "Opening" FROM table_59336 WHERE "White" = 'kramnik' AND "Year" < '2001' AND "Tournament" = 'siemens giants' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
519,
3420,
41,
96,
25571,
121,
1499,
6,
96,
20096,
121,
1499,
6,
96,
476,
2741,
121,
490,
6,
96,
20119,
121,
1499,
6,
96,
329,
32,
162,
7,
121,
490,
6,
96,
382,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22696,
53,
121,
21680,
953,
834,
3390,
519,
3420,
549,
17444,
427,
96,
25571,
121,
3274,
3,
31,
157,
2375,
4953,
31,
3430,
96,
476,
2741,
121,
3,
2,
3,
31,
23658,
31,
3430,
96,
382,
1211,
20205,
17,
121,
327... |
give me the number of patients whose admission type is emergency and procedure icd9 code is 5188? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "5188" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What are the actual delivery dates of orders with quantity 1? | CREATE TABLE Customer_Orders (
Actual_Delivery_Date VARCHAR,
Order_ID VARCHAR
)
CREATE TABLE ORDER_ITEMS (
Order_ID VARCHAR,
Order_Quantity VARCHAR
) | SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID WHERE T2.Order_Quantity = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7327,
834,
7395,
588,
7,
41,
24193,
834,
2962,
7591,
651,
834,
308,
342,
584,
4280,
28027,
6,
5197,
834,
4309,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23312,
3471,
834,
2962,
7591,
651,
834,
308,
342,
21680,
7327,
834,
7395,
588,
7,
6157,
332,
536,
3,
15355,
3162,
4674,
11300,
834,
14871,
4211,
6157,
332,
357,
9191,
332,
5411,
7395,
588,
834,
4309,
3274,
... |
last time patient 018-20179 was diagnosed with coagulopathy - heparin administration? | CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
c... | SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-20179')) AND diagnosis.diagnosisname = 'coagulopathy - hepari... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2179,
9339,
41,
2179,
521,
9824,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1543,
3585,
1499,
6,
9329,
1499,
6,
1543,
4914,
29,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
8209,
5,
25930,
4844,
159,
715,
21680,
8209,
549,
17444,
427,
8209,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
15878,
37... |
What is the city of txdot har? | CREATE TABLE table_69195 (
"Frequency" real,
"Callsign" text,
"Brand" text,
"City of License" text,
"Website" text,
"Webcast" text
) | SELECT "City of License" FROM table_69195 WHERE "Brand" = 'txdot har' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
22464,
41,
96,
371,
60,
835,
11298,
121,
490,
6,
96,
254,
1748,
6732,
121,
1499,
6,
96,
18304,
727,
121,
1499,
6,
96,
254,
485,
13,
16452,
121,
1499,
6,
96,
15805,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
485,
13,
16452,
121,
21680,
953,
834,
3951,
22464,
549,
17444,
427,
96,
18304,
727,
121,
3274,
3,
31,
17,
226,
26,
32,
17,
3,
3272,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who is the author for the malasaurus? | CREATE TABLE table_name_65 (authors VARCHAR, name VARCHAR) | SELECT authors FROM table_name_65 WHERE name = "malasaurus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
17415,
7,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
2291,
21,
8,
1460,
9,
7348,
4502,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5921,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
564,
3274,
96,
1982,
9,
7348,
4502,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which couple danced a jive and received a score of 21 (6, 7, 8)? | CREATE TABLE table_name_98 (couple VARCHAR, dance VARCHAR, score VARCHAR) | SELECT couple FROM table_name_98 WHERE dance = "jive" AND score = "21 (6, 7, 8)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
15976,
109,
584,
4280,
28027,
6,
2595,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1158,
2595,
26,
3,
9,
3,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1158,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
2595,
3274,
96,
354,
757,
121,
3430,
2604,
3274,
96,
2658,
11372,
6,
7973,
3,
13520,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What winner has royal st george's golf club as the venue, and 1969 as the year? | CREATE TABLE table_name_70 (winner VARCHAR, venue VARCHAR, year VARCHAR) | SELECT winner FROM table_name_70 WHERE venue = "royal st george's golf club" AND year = "1969" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
3757,
687,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
4668,
65,
11268,
3,
7,
17,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
4668,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
5669,
3274,
96,
8170,
138,
3,
7,
17,
873,
1677,
15,
31,
7,
4319,
1886,
121,
3430,
215,
3274,
96,
2294,
3951,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what's the currency name with highest monthly inflation rate being 29,500% | CREATE TABLE table_13681_2 (
currency_name VARCHAR,
highest_monthly_inflation_rate VARCHAR
) | SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23459,
4959,
834,
357,
41,
7481,
834,
4350,
584,
4280,
28027,
6,
2030,
834,
7393,
120,
834,
77,
89,
6105,
834,
2206,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7481,
834,
4350,
21680,
953,
834,
23459,
4959,
834,
357,
549,
17444,
427,
2030,
834,
7393,
120,
834,
77,
89,
6105,
834,
2206,
3274,
96,
3166,
6,
2560,
1454,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the modern house title of the 1st house? | CREATE TABLE table_name_27 (modern_title_of_house VARCHAR, house VARCHAR) | SELECT modern_title_of_house FROM table_name_27 WHERE house = "1st" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
18306,
834,
21869,
834,
858,
834,
1840,
584,
4280,
28027,
6,
629,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
941,
629,
2233,
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,
941,
834,
21869,
834,
858,
834,
1840,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
629,
3274,
96,
536,
7,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What chassis has the year 1987? | CREATE TABLE table_name_87 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_87 WHERE year = 1987 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
524,
6500,
7,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
22836,
65,
8,
215,
12701,
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,
22836,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
215,
3274,
12701,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman? | CREATE TABLE table_name_18 (year INTEGER, role VARCHAR, title VARCHAR) | SELECT MIN(year) FROM table_name_18 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "alvin and the chipmunks meet the wolfman" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
1201,
3,
21342,
17966,
6,
1075,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
3,
16454,
215,
28,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
1075,
3274,
96,
138,
2494,
142,
1420,
108,
2157,
142,
1420,
836,
6961,
3,
31,
26,
9,
162,
31,
142,
1420,
121,
3430,
2233,
3274,
96,
138,
... |
Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%? | CREATE TABLE table_name_89 (
csa_5_20_09 VARCHAR,
ifop__la_croix_5_15_09 VARCHAR
) | SELECT csa_5_20_09 FROM table_name_89 WHERE ifop__la_croix_5_15_09 = "26%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
3,
75,
7,
9,
834,
755,
834,
1755,
834,
4198,
584,
4280,
28027,
6,
3,
99,
32,
102,
834,
834,
521,
834,
2771,
2407,
834,
755,
834,
1808,
834,
4198,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
75,
7,
9,
834,
755,
834,
1755,
834,
4198,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
3,
99,
32,
102,
834,
834,
521,
834,
2771,
2407,
834,
755,
834,
1808,
834,
4198,
3274,
96,
357,
6370,
121,
1,
-100,
... |
What was the result of the election when someone was first elected in 1960? | CREATE TABLE table_1341640_14 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_1341640_14 WHERE first_elected = 1960 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2938,
2445,
834,
2534,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
166,
834,
19971,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
13,
8,
4356,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
21680,
953,
834,
23747,
2938,
2445,
834,
2534,
549,
17444,
427,
166,
834,
19971,
3274,
8754,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the format for the United States dated July 23, 2002? | CREATE TABLE table_name_84 (
format VARCHAR,
region VARCHAR,
date VARCHAR
) | SELECT format FROM table_name_84 WHERE region = "united states" AND date = "july 23, 2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
1910,
584,
4280,
28027,
6,
1719,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1910,
21,
8,
907,
1323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1910,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
1719,
3274,
96,
15129,
15,
26,
2315,
121,
3430,
833,
3274,
96,
2047,
120,
12992,
4407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which year did enrolled Gambier members leave? | CREATE TABLE table_73910 (
"Institution" text,
"Location (all in Ohio)" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" text,
"Joined" real,
"Left" real,
"Current Conference" text
) | SELECT MIN("Left") FROM table_73910 WHERE "Location (all in Ohio)" = 'Gambier' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3288,
1714,
41,
96,
1570,
17448,
121,
1499,
6,
96,
434,
32,
75,
257,
41,
1748,
16,
6167,
61,
121,
1499,
6,
96,
567,
3142,
4350,
121,
1499,
6,
96,
20100,
121,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
2796,
89,
17,
8512,
21680,
953,
834,
940,
3288,
1714,
549,
17444,
427,
96,
434,
32,
75,
257,
41,
1748,
16,
6167,
61,
121,
3274,
3,
31,
517,
11379,
49,
31,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.