NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What region has a 2002 population greater than 132,798, an area larger than 5,528.3, and the cachapoal province? | CREATE TABLE table_42069 (
"Region" text,
"Province" text,
"Capital" text,
"No. of Communes" real,
"Area" real,
"2002 Population" real
) | SELECT "Region" FROM table_42069 WHERE "2002 Population" > '132,798' AND "Area" > '5,528.3' AND "Province" = 'cachapoal' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
21899,
3951,
41,
96,
17748,
23,
106,
121,
1499,
6,
96,
3174,
2494,
565,
121,
1499,
6,
96,
19566,
9538,
121,
1499,
6,
96,
4168,
5,
13,
3,
10205,
444,
7,
121,
490,
6,
96,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
17748,
23,
106,
121,
21680,
953,
834,
21899,
3951,
549,
17444,
427,
96,
24898,
29659,
121,
2490,
3,
31,
23757,
6,
940,
3916,
31,
3430,
96,
188,
864,
121,
2490,
3,
31,
11116,
755,
2577,
5,
519,
31,
3430,
96,
... |
Name the colors for north canton | CREATE TABLE table_26466528_1 (
colors VARCHAR,
location VARCHAR
) | SELECT colors FROM table_26466528_1 WHERE location = "North Canton" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
4448,
4122,
2577,
834,
536,
41,
2602,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2602,
21,
3457,
26652,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2602,
21680,
953,
834,
2688,
4448,
4122,
2577,
834,
536,
549,
17444,
427,
1128,
3274,
96,
22969,
1336,
6992,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
For each denomination, return the denomination and the count of schools with that denomination. Visualize by pie chart. | CREATE TABLE school_performance (
School_Id int,
School_Year text,
Class_A text,
Class_AA text
)
CREATE TABLE school (
School_ID int,
School text,
Location text,
Enrollment real,
Founded real,
Denomination text,
Boys_or_Girls text,
Day_or_Boarding text,
Year_Entered_... | SELECT Denomination, COUNT(*) FROM school GROUP BY Denomination | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
496,
834,
18558,
41,
1121,
834,
196,
26,
16,
17,
6,
1121,
834,
476,
2741,
1499,
6,
4501,
834,
188,
1499,
6,
4501,
834,
5498,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
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,
3128,
32,
14484,
6,
2847,
17161,
599,
1935,
61,
21680,
496,
350,
4630,
6880,
272,
476,
3128,
32,
14484,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins? | CREATE TABLE table_63957 (
"Wimmera FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT MIN("Against") FROM table_63957 WHERE "Wins" < '16' AND "Wimmera FL" = 'warrack eagles' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3288,
3436,
41,
96,
518,
12174,
9,
7212,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
279,
10070,
121,
490,
6,
96,
434,
13526,
7,
121,
490,
6,
96,
308,
10936,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
20749,
8512,
21680,
953,
834,
948,
3288,
3436,
549,
17444,
427,
96,
18455,
7,
121,
3,
2,
3,
31,
2938,
31,
3430,
96,
518,
12174,
9,
7212,
121,
3274,
3,
31,
2910,
16729,
3,
15,
9,
3537,
7,
31... |
Name the player for ol | CREATE TABLE table_20649850_1 (
player VARCHAR,
position VARCHAR
) | SELECT player FROM table_20649850_1 WHERE position = "OL" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24643,
3647,
17246,
834,
536,
41,
1959,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1959,
21,
3,
32,
40,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
24643,
3647,
17246,
834,
536,
549,
17444,
427,
1102,
3274,
96,
5194,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Venue has a Year smaller than 2009, and an Event of 3000 m, and a Competition of world youth championships? | CREATE TABLE table_64739 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
) | SELECT "Venue" FROM table_64739 WHERE "Year" < '2009' AND "Event" = '3000 m' AND "Competition" = 'world youth championships' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
4177,
3288,
41,
96,
476,
2741,
121,
490,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
427,
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,
553,
35,
76,
15,
121,
21680,
953,
834,
948,
4177,
3288,
549,
17444,
427,
96,
476,
2741,
121,
3,
2,
3,
31,
16660,
31,
3430,
96,
427,
2169,
121,
3274,
3,
31,
519,
2313,
3,
51,
31,
3430,
96,
5890,
4995,
4749,... |
What is the average wins in 250cc class for Bultaco with 8 points later than 1966? | CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR) | SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = 8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
3757,
7,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
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,
71,
17217,
599,
3757,
7,
61,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
853,
3274,
96,
11434,
75,
75,
121,
3430,
372,
3274,
96,
6724,
17,
9,
509,
121,
3430,
215,
2490,
20658,
3430,
979,
3274,
505,
1,
-100,... |
What is every score at the location of Verizon Center and points of 68? | CREATE TABLE table_23486853_8 (
score VARCHAR,
location VARCHAR,
points VARCHAR
) | SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3707,
3651,
4867,
834,
927,
41,
2604,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
334,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
2773,
3707,
3651,
4867,
834,
927,
549,
17444,
427,
1128,
3274,
96,
5000,
23,
8892,
1166,
121,
3430,
979,
3274,
3,
3651,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the result of game 3? | CREATE TABLE table_8231 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Result" FROM table_8231 WHERE "Game" = 'game 3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4613,
3341,
41,
96,
23055,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
19040,
2271,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
448,
32,
9,
26,
2271,
121,
1499,
3,
61,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
4613,
3341,
549,
17444,
427,
96,
23055,
121,
3274,
3,
31,
7261,
220,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the sum of the to par with a 76-77-74-75=302 score? | CREATE TABLE table_name_88 (to_par INTEGER, score VARCHAR) | SELECT SUM(to_par) FROM table_name_88 WHERE score = 76 - 77 - 74 - 75 = 302 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
235,
834,
1893,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
8,
12,
260,
28,
3,
9,
3,
3959,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
235,
834,
1893,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
2604,
3274,
3,
3959,
3,
18,
3,
4013,
3,
18,
3,
4581,
3,
18,
6374,
3274,
604,
357,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the aircraft for 21 crews? | CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR) | SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = "21" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25174,
4018,
26937,
834,
755,
41,
6137,
834,
858,
834,
2256,
6696,
584,
4280,
28027,
6,
381,
834,
858,
834,
5045,
210,
7,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
686,
834,
858,
834,
2256,
6696,
21680,
953,
834,
25174,
4018,
26937,
834,
755,
549,
17444,
427,
381,
834,
858,
834,
5045,
210,
7,
3274,
96,
2658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
which residential neighborhood has the least area ? | CREATE TABLE table_203_642 (
id number,
"name" text,
"quadrant" text,
"sector" text,
"ward" text,
"type" text,
"2012\npopulation\nrank" number,
"population\n(2012)" number,
"population\n(2011)" number,
"% change" number,
"dwellings\n(2012)" number,
"area\n(km2)" number,
... | SELECT "name" FROM table_203_642 ORDER BY "area\n(km2)" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
4389,
357,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
4960,
26,
3569,
121,
1499,
6,
96,
7,
15,
5317,
121,
1499,
6,
96,
2239,
121,
1499,
6,
96,
613... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4350,
121,
21680,
953,
834,
23330,
834,
4389,
357,
4674,
11300,
272,
476,
96,
498,
2,
29,
599,
5848,
7318,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the number of region 4 for the series of the complete seventh series? | CREATE TABLE table_18079 (
"Complete Series" text,
"Region 1" text,
"Region 2" text,
"Region 4" text,
"DVD Extras and Bonus Features" text,
"Number Of Discs" real
) | SELECT COUNT("Region 4") FROM table_18079 WHERE "Complete Series" = 'The Complete Seventh Series' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
4440,
41,
96,
5890,
29014,
4531,
121,
1499,
6,
96,
17748,
23,
106,
209,
121,
1499,
6,
96,
17748,
23,
106,
204,
121,
1499,
6,
96,
17748,
23,
106,
3,
20364,
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,
17748,
23,
106,
314,
8512,
21680,
953,
834,
20829,
4440,
549,
17444,
427,
96,
5890,
29014,
4531,
121,
3274,
3,
31,
634,
9480,
13065,
189,
4531,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the result of the game versus Tulsa? | CREATE TABLE table_14310 (
"Date" text,
"Opponent" text,
"City" text,
"Result" text,
"Score" text
) | SELECT "Result" FROM table_14310 WHERE "Opponent" = 'tulsa' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
19947,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
254,
485,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
134,
9022,
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,
20119,
121,
21680,
953,
834,
2534,
19947,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
2520,
7,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What's the Gold that also has Bronze of Kim Sun-Bin? | CREATE TABLE table_name_61 (
gold VARCHAR,
bronze VARCHAR
) | SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
2045,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
2540,
24,
92,
65,
20841,
13,
6777,
3068,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2045,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
13467,
3274,
96,
19754,
1997,
18,
4517,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps? | CREATE TABLE table_name_74 (
grid INTEGER,
manufacturer VARCHAR,
laps VARCHAR
) | SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = "ktm" AND laps > 20 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
8634,
3,
21342,
17966,
6,
4818,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
8634,
381,
24,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
3,
17684,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
4818,
3274,
96,
157,
17,
51,
121,
3430,
14941,
7,
2490,
460,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the lowest start in a year after 2008? | CREATE TABLE table_62783 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" real,
"Finish" real,
"Team" text
) | SELECT MIN("Start") FROM table_62783 WHERE "Year" > '2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
3940,
519,
41,
96,
476,
2741,
121,
490,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
7681,
17,
121,
490,
6,
96,
371,
77,
1273,
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,
3,
17684,
599,
121,
7681,
17,
8512,
21680,
953,
834,
4056,
3940,
519,
549,
17444,
427,
96,
476,
2741,
121,
2490,
3,
31,
16128,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
When the earning per share is listed as 22.0 what is the year to april? | CREATE TABLE table_18077713_1 (
year_to_april VARCHAR,
earnings_per_share__¢_ VARCHAR
) | SELECT COUNT(year_to_april) FROM table_18077713_1 WHERE earnings_per_share__¢_ = "22.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20829,
26225,
2368,
834,
536,
41,
215,
834,
235,
834,
9,
2246,
40,
584,
4280,
28027,
6,
8783,
834,
883,
834,
12484,
834,
834,
2,
834,
584,
4280,
28027,
3,
61,
3,
32102,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
834,
235,
834,
9,
2246,
40,
61,
21680,
953,
834,
20829,
26225,
2368,
834,
536,
549,
17444,
427,
8783,
834,
883,
834,
12484,
834,
834,
2,
834,
3274,
96,
357,
24273,
121,
1,
-100,
-100,
-100,
... |
How many bronze medals are there when there are fewer than 3 silver medals and 7 medals total? | CREATE TABLE table_name_69 (
bronze VARCHAR,
silver VARCHAR,
total VARCHAR
) | SELECT bronze FROM table_name_69 WHERE silver < 3 AND total = 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
13467,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
13467,
9365,
7,
33,
132,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13467,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
4294,
3,
2,
220,
3430,
792,
3274,
489,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the population (2010 census) if s barangay is 51? | CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR) | SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
4906,
3710,
834,
357,
41,
9791,
7830,
834,
834,
14926,
834,
75,
35,
7,
302,
834,
584,
4280,
28027,
6,
3,
7,
834,
1047,
1468,
9,
63,
584,
4280,
28027,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
9791,
7830,
834,
834,
14926,
834,
75,
35,
7,
302,
834,
61,
21680,
953,
834,
2606,
4906,
3710,
834,
357,
549,
17444,
427,
3,
7,
834,
1047,
1468,
9,
63,
3274,
11696,
1,
-100,
-100,
-100,
-100,
-100... |
What is the Date with a Set 1 with 15 1? | CREATE TABLE table_name_79 (
date VARCHAR,
set_1 VARCHAR
) | SELECT date FROM table_name_79 WHERE set_1 = "15–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
833,
584,
4280,
28027,
6,
356,
834,
536,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7678,
28,
3,
9,
2821,
209,
28,
627,
209,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4440,
549,
17444,
427,
356,
834,
536,
3274,
96,
1808,
104,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the grand prix with a driver of Michael Schumacher and a round of 7? | CREATE TABLE table_195 (
"Round" real,
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
) | SELECT "Grand Prix" FROM table_195 WHERE "Winning Driver" = 'Michael Schumacher' AND "Fastest Lap" = 'Michael Schumacher' AND "Round" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22464,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
4744,
727,
12942,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
371,
9,
7,
4377,
325,
102,
121,
1499,
6,
96,
518,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4744,
727,
12942,
121,
21680,
953,
834,
22464,
549,
17444,
427,
96,
518,
10503,
10546,
121,
3274,
3,
31,
329,
362,
9,
15,
40,
6824,
24113,
31,
3430,
96,
371,
9,
7,
4377,
325,
102,
121,
3274,
3,
31,
329,
362,... |
With a parallel bars score of 14.625 what is the average total? | CREATE TABLE table_64215 (
"Position" real,
"Gymnast" text,
"Floor" text,
"Pommel Horse" text,
"Rings" text,
"Vault" text,
"Parallel Bars" text,
"Horizontal Bar" text,
"Total" real
) | SELECT AVG("Total") FROM table_64215 WHERE "Parallel Bars" = '14.625' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4389,
357,
1808,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
517,
63,
51,
29,
9,
7,
17,
121,
1499,
6,
96,
11251,
127,
121,
1499,
6,
96,
345,
7649,
40,
13538,
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,
71,
17217,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
4389,
357,
1808,
549,
17444,
427,
96,
13212,
13701,
40,
1386,
7,
121,
3274,
3,
31,
536,
25652,
1828,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which player from the Ironi Nahariya club was born in 1980? | CREATE TABLE table_70056 (
"Player" text,
"Height" real,
"Position" text,
"Year born" real,
"Current Club" text
) | SELECT "Player" FROM table_70056 WHERE "Current Club" = 'ironi nahariya' AND "Year born" = '1980' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9295,
4834,
41,
96,
15800,
49,
121,
1499,
6,
96,
3845,
2632,
121,
490,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
2170,
121,
490,
6,
96,
254,
450,
5320,
1949... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9295,
4834,
549,
17444,
427,
96,
254,
450,
5320,
1949,
121,
3274,
3,
31,
17773,
23,
3,
8607,
9,
26038,
31,
3430,
96,
476,
2741,
2170,
121,
3274,
3,
31,
2294,
2079,
31,
1,
-10... |
in what year did yelena slesarenko accumulate the most ` top 5 ' finishes ? | CREATE TABLE table_203_300 (
id number,
"year" number,
"tournament" text,
"venue" text,
"result" text,
"extra" text
) | SELECT "year" FROM table_203_300 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
5426,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
17,
1211,
20205,
17,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
60,
7,
83,
17,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
23330,
834,
5426,
350,
4630,
6880,
272,
476,
96,
1201,
121,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Can you give me the age of the Significant Relationship of Family? | CREATE TABLE table_name_41 (approximate_age VARCHAR, significant_relationship VARCHAR) | SELECT approximate_age FROM table_name_41 WHERE significant_relationship = "family" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
12497,
226,
23,
5058,
834,
545,
584,
4280,
28027,
6,
1516,
834,
60,
6105,
2009,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
428,
140,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
24672,
834,
545,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
1516,
834,
60,
6105,
2009,
3274,
96,
15474,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total with a 25-19 set 2 on Jun 17? | CREATE TABLE table_40021 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Set 4" text,
"Set 5" text,
"Total" text
) | SELECT "Total" FROM table_40021 WHERE "Set 2" = '25-19' AND "Date" = 'jun 17' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5548,
2658,
41,
96,
308,
342,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
17175,
209,
121,
1499,
6,
96,
17175,
204,
121,
1499,
6,
96,
17175,
220,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
1947,
121,
21680,
953,
834,
5548,
2658,
549,
17444,
427,
96,
17175,
204,
121,
3274,
3,
31,
1828,
4481,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
6959,
1003,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
provide the number of patients whose admission location is phys referral/normal deli and drug code is cefe1i? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND prescriptions.formulary_drug_cd = "CEFE1I" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
What are the top 10 customers' first and last names with the highest gross sales, and also what are the sales? | CREATE TABLE artists (
id number,
name text
)
CREATE TABLE media_types (
id number,
name text
)
CREATE TABLE invoices (
id number,
customer_id number,
invoice_date time,
billing_address text,
billing_city text,
billing_state text,
billing_country text,
billing_postal_co... | SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3153,
41,
3,
23,
26,
381,
6,
564,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
783,
834,
6137,
7,
41,
3,
23,
26,
381,
6,
564,
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,
332,
5411,
14672,
834,
4350,
6,
332,
5411,
5064,
834,
4350,
6,
180,
6122,
599,
382,
4416,
235,
1947,
61,
21680,
722,
6157,
332,
536,
3,
15355,
3162,
10921,
7,
6157,
332,
357,
9191,
332,
4416,
25697,
49,
834,
23,
2... |
What publisher created Crysis Warhead? | CREATE TABLE table_name_35 (publisher VARCHAR, title VARCHAR) | SELECT publisher FROM table_name_35 WHERE title = "crysis warhead" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
29337,
49,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
14859,
990,
205,
651,
7,
159,
1602,
3313,
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,
14859,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
2233,
3274,
96,
75,
651,
7,
159,
615,
3313,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
In what Venue was the Away Team Score 19.13 (127)? | CREATE TABLE table_52064 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_52064 WHERE "Away team score" = '19.13 (127)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25356,
4389,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
25356,
4389,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
2294,
5,
2368,
16465,
12703,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which type had an unknown manufacturer? | CREATE TABLE table_name_57 (
type VARCHAR,
manufacturer VARCHAR
) | SELECT type FROM table_name_57 WHERE manufacturer = "unknown" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
686,
584,
4280,
28027,
6,
4818,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
686,
141,
46,
7752,
4818,
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,
686,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
4818,
3274,
96,
202,
5661,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What college did the player for the Hamilton Tiger-Cats go to? | CREATE TABLE table_21321804_3 (
college VARCHAR,
cfl_team VARCHAR
) | SELECT college FROM table_21321804_3 WHERE cfl_team = "Hamilton Tiger-Cats" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
2668,
2606,
6348,
834,
519,
41,
1900,
584,
4280,
28027,
6,
3,
75,
89,
40,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1900,
410,
8,
1959,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1900,
21680,
953,
834,
2658,
2668,
2606,
6348,
834,
519,
549,
17444,
427,
3,
75,
89,
40,
834,
11650,
3274,
96,
566,
3690,
7377,
11804,
18,
18610,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who had the high assists when the score was l 85–118 (ot) | CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2266,
4060,
3951,
834,
927,
41,
6739,
834,
6500,
7,
17,
7,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
141,
8,
306,
13041,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
306,
834,
6500,
7,
17,
7,
21680,
953,
834,
2773,
2266,
4060,
3951,
834,
927,
549,
17444,
427,
2604,
3274,
96,
434,
11989,
104,
20056,
41,
6951,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the lowest round number for the fight that had a time of 1:09? | CREATE TABLE table_name_12 (round INTEGER, time VARCHAR) | SELECT MIN(round) FROM table_name_12 WHERE time = "1:09" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
7775,
3,
21342,
17966,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
1751,
381,
21,
8,
2870,
24,
141,
3,
9,
97,
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,
3,
17684,
599,
7775,
61,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
97,
3274,
96,
536,
10,
4198,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many delegates in each committee? Return a bar chart. | CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE election (
... | SELECT Committee, COUNT(Committee) FROM election GROUP BY Committee | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1088,
41,
3450,
834,
4309,
16,
17,
6,
2929,
490,
6,
3450,
1499,
6,
10510,
1499,
6,
30943,
834,
27304,
127,
1499,
6,
4961,
17,
4046,
49,
1499,
6,
10154,
834,
20857,
1499,
6,
837,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3201,
6,
2847,
17161,
599,
10205,
155,
17,
15,
15,
61,
21680,
4356,
350,
4630,
6880,
272,
476,
3201,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the type of Guangjia? | CREATE TABLE table_name_50 (
type VARCHAR,
name__pinyin_ VARCHAR
) | SELECT type FROM table_name_50 WHERE name__pinyin_ = "guangjia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
686,
584,
4280,
28027,
6,
564,
834,
834,
3180,
63,
77,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
686,
13,
2846,
1468,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
686,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
564,
834,
834,
3180,
63,
77,
834,
3274,
96,
1744,
1468,
354,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
count the number of patients whose diagnoses short title is respiratory distress syn and drug type is main? | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Respiratory distress syn" AND prescriptions.drug_type = "MAIN" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
give me the number of patients whose diagnoses icd9 code is 29281 and lab test fluid is ascites? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "29281" AND lab.fluid = "Ascites" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
What is the name of the minister from the party of minister for community safety and legal affairs? | CREATE TABLE table_68221 (
"Name" text,
"Entered office" text,
"Left office" text,
"Party" text,
"First Minister" text
) | SELECT "Name" FROM table_68221 WHERE "Party" = 'minister for community safety and legal affairs' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
357,
2658,
41,
96,
23954,
121,
1499,
6,
96,
16924,
3737,
828,
121,
1499,
6,
96,
2796,
89,
17,
828,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
3271,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
3651,
357,
2658,
549,
17444,
427,
96,
13725,
63,
121,
3274,
3,
31,
17791,
21,
573,
1455,
11,
1281,
12748,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
When salt of this sea is the english title who is the director? | CREATE TABLE table_26555737_1 (
director VARCHAR,
english_title VARCHAR
) | SELECT director FROM table_26555737_1 WHERE english_title = "Salt of this Sea" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
28803,
27931,
834,
536,
41,
2090,
584,
4280,
28027,
6,
22269,
834,
21869,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
3136,
13,
48,
2805,
19,
8,
22269,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2090,
21680,
953,
834,
2688,
28803,
27931,
834,
536,
549,
17444,
427,
22269,
834,
21869,
3274,
96,
134,
2920,
13,
48,
3319,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many games were played in the season? | CREATE TABLE table_15873014_3 (game INTEGER) | SELECT MAX(game) FROM table_15873014_3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4225,
1458,
2534,
834,
519,
41,
7261,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1031,
130,
1944,
16,
8,
774,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
7261,
61,
21680,
953,
834,
1808,
4225,
1458,
2534,
834,
519,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the score of the game with a record of 81-60? | CREATE TABLE table_68503 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Score" FROM table_68503 WHERE "Record" = '81-60' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
1752,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
3651,
1752,
519,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
4959,
19516,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many points when John Vopni won a season before 1977? | CREATE TABLE table_name_58 (points VARCHAR, season VARCHAR, winner VARCHAR) | SELECT points FROM table_name_58 WHERE season < 1977 AND winner = "john vopni" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
2700,
7,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
979,
116,
1079,
3152,
102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
979,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
774,
3,
2,
16433,
3430,
4668,
3274,
96,
27341,
3,
1621,
102,
29,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the result on 16 November 2003? | CREATE TABLE table_name_34 (
result VARCHAR,
date VARCHAR
) | SELECT result FROM table_name_34 WHERE date = "16 november 2003" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
741,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
30,
898,
1671,
3888,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
833,
3274,
96,
2938,
3,
5326,
18247,
3888,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What date was the game with loss of Aker (3 8)? | CREATE TABLE table_name_4 (
date VARCHAR,
loss VARCHAR
) | SELECT date FROM table_name_4 WHERE loss = "aker (3–8)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
833,
584,
4280,
28027,
6,
1453,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
8,
467,
28,
1453,
13,
71,
2304,
6918,
3,
13520,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
591,
549,
17444,
427,
1453,
3274,
96,
9,
2304,
6918,
104,
13520,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how many of the patients were discharged to rehab/distinct part hosp for other phototherapy? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND procedures.long_title = "Other phototherapy" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
report the number of patients admitted before 2177 who had left internal jugular vein thrombosis; left arm edema primary disease. | 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.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA" AND demographic.admityear < "2177" | [
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,
25930,
4844,
159,
3274,
96,
3765,
6245,
3,
21342,
11840,
434,
446,
19046,
4254,
4280,
3,
8575,
316... |
What Points have a Song of 'this time' and a Draw smaller than 5? | CREATE TABLE table_41322 (
"Draw" real,
"Song" text,
"Performer" text,
"Points" real,
"Rank" text
) | SELECT COUNT("Points") FROM table_41322 WHERE "Song" = 'this time' AND "Draw" < '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2368,
2884,
41,
96,
308,
10936,
121,
490,
6,
96,
134,
2444,
121,
1499,
6,
96,
12988,
2032,
49,
121,
1499,
6,
96,
22512,
7,
121,
490,
6,
96,
22557,
121,
1499,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
22512,
7,
8512,
21680,
953,
834,
591,
2368,
2884,
549,
17444,
427,
96,
134,
2444,
121,
3274,
3,
31,
8048,
97,
31,
3430,
96,
308,
10936,
121,
3,
2,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100... |
Show the names of members and names of colleges they go to. | CREATE TABLE round (
round_id number,
member_id number,
decoration_theme text,
rank_in_round number
)
CREATE TABLE member (
member_id number,
name text,
country text,
college_id number
)
CREATE TABLE college (
college_id number,
name text,
leader_name text,
college_loca... | SELECT T2.name, T1.name FROM college AS T1 JOIN member AS T2 ON T1.college_id = T2.college_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1751,
41,
1751,
834,
23,
26,
381,
6,
1144,
834,
23,
26,
381,
6,
11649,
834,
532,
526,
1499,
6,
11003,
834,
77,
834,
7775,
381,
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,
4416,
4350,
6,
332,
5411,
4350,
21680,
1900,
6157,
332,
536,
3,
15355,
3162,
1144,
6157,
332,
357,
9191,
332,
5411,
3297,
7883,
834,
23,
26,
3274,
332,
4416,
3297,
7883,
834,
23,
26,
1,
-100,
-100,
-100,
-100,
... |
Give me a bar chart to show the names and revenue of the company that earns the highest revenue in each headquarter city. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT Name, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15248,
7,
41,
3636,
3,
21342,
17966,
6,
5570,
584,
4280,
28027,
599,
25502,
201,
3642,
19973,
584,
4280,
28027,
599,
25502,
201,
3,
19145,
584,
4280,
28027,
599,
25502,
201,
19764,
17833... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
1649,
15098,
61,
21680,
15248,
7,
350,
4630,
6880,
272,
476,
3642,
19973,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which vehicle has a class 6c3g? | CREATE TABLE table_name_20 (
vehicle VARCHAR,
class VARCHAR
) | SELECT vehicle FROM table_name_20 WHERE class = "6c3g" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
1689,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1689,
65,
3,
9,
853,
431,
75,
519,
122,
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,
1689,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
853,
3274,
96,
948,
75,
519,
122,
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 to par that has ernie els as the player? | CREATE TABLE table_34819 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" text
) | SELECT "To par" FROM table_34819 WHERE "Player" = 'ernie els' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3707,
2294,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3696,
260,
121,
21680,
953,
834,
519,
3707,
2294,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
15,
23752,
3,
3573,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.? | CREATE TABLE table_name_10 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR) | SELECT intergiro_classification FROM table_name_10 WHERE trofeo_fast_team = "asics-c.g.a." AND stage = "13" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
3870,
9427,
32,
834,
4057,
2420,
584,
4280,
28027,
6,
10968,
89,
15,
32,
834,
11584,
834,
11650,
584,
4280,
28027,
6,
1726,
584,
4280,
28027,
61,
3,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1413,
9427,
32,
834,
4057,
2420,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
10968,
89,
15,
32,
834,
11584,
834,
11650,
3274,
96,
9,
7,
447,
7,
18,
75,
5,
122,
5,
9,
535,
3430,
1726,
3274,
96,
2368,
121,
... |
Who is the director for the witman boys? | CREATE TABLE table_14975415_1 (
director VARCHAR,
english_title VARCHAR
) | SELECT director FROM table_14975415_1 WHERE english_title = "The Witman Boys" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4327,
5062,
1808,
834,
536,
41,
2090,
584,
4280,
28027,
6,
22269,
834,
21869,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
2090,
21,
8,
3,
782... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2090,
21680,
953,
834,
2534,
4327,
5062,
1808,
834,
536,
549,
17444,
427,
22269,
834,
21869,
3274,
96,
634,
2142,
17,
348,
16575,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For the NBC network, what was the new/returning/same network status? | CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, previous_network VARCHAR) | SELECT new_returning_same_network FROM table_169766_13 WHERE previous_network = "NBC" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4327,
3539,
834,
2368,
41,
5534,
834,
60,
7535,
53,
834,
7,
265,
15,
834,
1582,
1981,
584,
4280,
28027,
6,
1767,
834,
1582,
1981,
584,
4280,
28027,
61,
3,
32102,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
126,
834,
60,
7535,
53,
834,
7,
265,
15,
834,
1582,
1981,
21680,
953,
834,
2938,
4327,
3539,
834,
2368,
549,
17444,
427,
1767,
834,
1582,
1981,
3274,
96,
15829,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what is the total number of building for address on 201 1st avenue south | CREATE TABLE table_13397394_1 (building VARCHAR, address VARCHAR) | SELECT COUNT(building) FROM table_13397394_1 WHERE address = "201 1st Avenue South" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3288,
4552,
4240,
834,
536,
41,
10905,
584,
4280,
28027,
6,
1115,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
792,
381,
13,
740,
21,
1115,
30,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
10905,
61,
21680,
953,
834,
2368,
3288,
4552,
4240,
834,
536,
549,
17444,
427,
1115,
3274,
96,
22772,
209,
7,
17,
6916,
1013,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
who is the constructor when the driver is jenson button? | CREATE TABLE table_55672 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
) | SELECT "Constructor" FROM table_55672 WHERE "Driver" = 'jenson button' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3769,
3708,
357,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
1499,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4302,
7593,
127,
121,
21680,
953,
834,
3769,
3708,
357,
549,
17444,
427,
96,
20982,
52,
121,
3274,
3,
31,
354,
35,
739,
2218,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show the names of editors and the theme of journals for which they serve on committees. | CREATE TABLE journal_committee (
Editor_ID VARCHAR,
Journal_ID VARCHAR
)
CREATE TABLE journal (
Theme VARCHAR,
Journal_ID VARCHAR
)
CREATE TABLE editor (
Name VARCHAR,
Editor_ID VARCHAR
) | SELECT T2.Name, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6378,
834,
287,
1538,
17,
15,
15,
41,
11953,
834,
4309,
584,
4280,
28027,
6,
3559,
834,
4309,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6378,
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,
332,
4416,
23954,
6,
332,
5787,
634,
526,
21680,
6378,
834,
287,
1538,
17,
15,
15,
6157,
332,
536,
3,
15355,
3162,
6005,
6157,
332,
357,
9191,
332,
5411,
26527,
127,
834,
4309,
3274,
332,
4416,
26527,
127,
834,
4309... |
Which writer had a producer DKA, JL, AS? | CREATE TABLE table_name_85 (writer VARCHAR, producer_executive_producer VARCHAR) | SELECT writer FROM table_name_85 WHERE producer_executive_producer = "dka, jl, as" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
12756,
584,
4280,
28027,
6,
8211,
834,
6667,
3044,
757,
834,
1409,
4817,
49,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4346,
141,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4346,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
8211,
834,
6667,
3044,
757,
834,
1409,
4817,
49,
3274,
96,
26,
1258,
6,
3,
354,
40,
6,
38,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
when roberts 86' is the scorer what is the round? | CREATE TABLE table_30372 (
"Date" text,
"Round" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Scorers" text,
"Attendance" real,
"Match Report" text
) | SELECT "Round" FROM table_30372 WHERE "Scorers" = 'Roberts 86' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23335,
5865,
41,
96,
308,
342,
121,
1499,
6,
96,
448,
32,
1106,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
553,
35,
76,
15,
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,
121,
21680,
953,
834,
23335,
5865,
549,
17444,
427,
96,
134,
5715,
277,
121,
3274,
3,
31,
24372,
49,
17,
7,
3,
3840,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27? | CREATE TABLE table_name_44 (built INTEGER, entered_service VARCHAR, knots VARCHAR) | SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 27 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
16152,
3,
21342,
17966,
6,
5136,
834,
5114,
584,
4280,
28027,
6,
12705,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
167,
1100,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16152,
61,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
5136,
834,
5114,
2490,
3888,
3430,
12705,
7,
3,
2,
2307,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How large was the crowd when the away team was melbourne? | CREATE TABLE table_name_77 (
crowd VARCHAR,
away_team VARCHAR
) | SELECT crowd FROM table_name_77 WHERE away_team = "melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
4374,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
508,
47,
8,
4374,
116,
8,
550,
372,
47,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4374,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
550,
834,
11650,
3274,
96,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
who had the least aggregate wins ? | CREATE TABLE table_203_269 (
id number,
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
) | SELECT "club" FROM table_203_269 ORDER BY "aggregate" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
3951,
41,
3,
23,
26,
381,
6,
96,
9476,
121,
1499,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
7775,
121,
1499,
6,
96,
13442,
121,
1499,
6,
96,
5515,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13442,
121,
21680,
953,
834,
23330,
834,
357,
3951,
4674,
11300,
272,
476,
96,
31761,
15,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who is the candidate in the 2008 (2) election? | CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR) | SELECT candidate FROM table_name_20 WHERE election = "2008 (2)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
1608,
12416,
342,
584,
4280,
28027,
6,
4356,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
4775,
16,
8,
2628,
6499,
4356,
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,
4775,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
4356,
3274,
96,
16128,
6499,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What 2009 has 3r as the 1999, and w as 2002? | CREATE TABLE table_12855 (
"Tournament" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text... | SELECT "2009" FROM table_12855 WHERE "1999" = '3r' AND "2002" = 'w' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
536,
2577,
3769,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
2294,
4327,
121,
1499,
6,
96,
2294,
3916,
121,
1499,
6,
96,
2294,
3264,
121,
1499,
6,
96,
13527,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
16660,
121,
21680,
953,
834,
536,
2577,
3769,
549,
17444,
427,
96,
2294,
3264,
121,
3274,
3,
31,
519,
52,
31,
3430,
96,
24898,
121,
3274,
3,
31,
210,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many weeks are teams playing agains the Barcelona dragons? | CREATE TABLE table_24918268_2 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_24918268_2 WHERE opponent = "Barcelona Dragons" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
4729,
4613,
3651,
834,
357,
41,
8041,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1274,
33,
2323,
1556,
541,
7,
8,
11869,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
8041,
61,
21680,
953,
834,
2266,
4729,
4613,
3651,
834,
357,
549,
17444,
427,
15264,
3274,
96,
14851,
7125,
106,
9,
10282,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
provide the number of patients whose procedure icd9 code is 3607? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "3607" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner? | CREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR) | SELECT name FROM table_name_45 WHERE length = "2.40km" AND winner = "s. loeb" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
4350,
584,
4280,
28027,
6,
2475,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5570,
13,
8,
3608,
13578,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
2475,
3274,
96,
4416,
2445,
5848,
121,
3430,
4668,
3274,
96,
7,
5,
6899,
15,
115,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which leading scorer has a Home of grizzlies, and a Record of 10 28? | CREATE TABLE table_name_66 (
leading_scorer VARCHAR,
home VARCHAR,
record VARCHAR
) | SELECT leading_scorer FROM table_name_66 WHERE home = "grizzlies" AND record = "10–28" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
1374,
834,
7,
5715,
49,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1374,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
1374,
834,
7,
5715,
49,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
234,
3274,
96,
3496,
5271,
4664,
121,
3430,
1368,
3274,
96,
1714,
104,
2577,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
which magazine was founded the earliest ? | CREATE TABLE table_203_241 (
id number,
"name" text,
"founded" number,
"defunct" number,
"country" text,
"publisher" text,
"topics" text,
"external link" text
) | SELECT "name" FROM table_203_241 WHERE "founded" = (SELECT MIN("founded") FROM table_203_241) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2266,
536,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
23329,
121,
381,
6,
96,
221,
25322,
17,
121,
381,
6,
96,
17529,
121,
1499,
6,
96,
29337,
49,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4350,
121,
21680,
953,
834,
23330,
834,
2266,
536,
549,
17444,
427,
96,
23329,
121,
3274,
41,
23143,
14196,
3,
17684,
599,
121,
23329,
8512,
21680,
953,
834,
23330,
834,
2266,
6982,
1,
-100,
-100,
-100,
-100,
-100... |
List the names of all distinct wines that have scores higher than 90. | CREATE TABLE WINE (
Name VARCHAR,
score INTEGER
) | SELECT Name FROM WINE WHERE score > 90 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
549,
9730,
41,
5570,
584,
4280,
28027,
6,
2604,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
6792,
8,
3056,
13,
66,
6746,
10992,
24,
43,
7586,
1146,
145,
2777,
5,
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,
5570,
21680,
549,
9730,
549,
17444,
427,
2604,
2490,
2777,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What mountains classification corresponds to Mark Cavendish and the Garmin-Chipotle-H30? | CREATE TABLE table_41121 (
"Stage (Winner)" text,
"General Classification" text,
"Young Classification" text,
"Mountains Classification" text,
"Sprint Classification" text,
"Team Classification" text
) | SELECT "Mountains Classification" FROM table_41121 WHERE "General Classification" = 'mark cavendish' AND "Team Classification" = 'garmin-chipotle-h30' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
22011,
41,
96,
134,
6505,
41,
18455,
687,
61,
121,
1499,
6,
96,
20857,
4501,
2420,
121,
1499,
6,
96,
3774,
1725,
4501,
2420,
121,
1499,
6,
96,
329,
32,
14016,
77,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
32,
14016,
77,
7,
4501,
2420,
121,
21680,
953,
834,
4853,
22011,
549,
17444,
427,
96,
20857,
4501,
2420,
121,
3274,
3,
31,
3920,
9634,
727,
1273,
31,
3430,
96,
18699,
4501,
2420,
121,
3274,
3,
31,
1478,
1... |
What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner? | CREATE TABLE table_name_86 (score_in_final VARCHAR, partnering VARCHAR, opponents_in_final VARCHAR) | SELECT score_in_final FROM table_name_86 WHERE partnering = "robin ammerlaan" AND opponents_in_final = "shingo kunieda maikel scheffers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
7,
9022,
834,
77,
834,
12406,
584,
4280,
28027,
6,
3,
26361,
584,
4280,
28027,
6,
16383,
834,
77,
834,
12406,
584,
4280,
28027,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2604,
834,
77,
834,
12406,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
3,
26361,
3274,
96,
5840,
77,
183,
935,
521,
152,
121,
3430,
16383,
834,
77,
834,
12406,
3274,
96,
9525,
32,
3,
157,
202,
5973,
9,
187,... |
Visualize a bar chart about the distribution of cName and enr . | CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
) | SELECT cName, enr FROM College ORDER BY enr | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5263,
670,
41,
3,
102,
4309,
206,
17552,
599,
11116,
632,
201,
3,
75,
23954,
3,
4331,
4059,
599,
1755,
201,
3,
102,
345,
32,
7,
3,
4331,
4059,
28007,
6,
1357,
3,
4331,
4059,
17867,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23954,
6,
3,
35,
52,
21680,
1888,
4674,
11300,
272,
476,
3,
35,
52,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many airlines are from USA? | CREATE TABLE AIRLINES (Country VARCHAR) | SELECT COUNT(*) FROM AIRLINES WHERE Country = "USA" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
18375,
20006,
134,
41,
10628,
651,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
19184,
33,
45,
2312,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
3,
18375,
20006,
134,
549,
17444,
427,
6993,
3274,
96,
17663,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the total number of tracks produced by phd ? | CREATE TABLE table_204_238 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer (s)" text,
"time" text
) | SELECT COUNT("title") FROM table_204_238 WHERE "producer(s)" = 'phd' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
357,
3747,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
21869,
121,
1499,
6,
96,
1409,
4817,
49,
599,
7,
61,
121,
1499,
6,
96,
883,
2032,
49,
41,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
21869,
8512,
21680,
953,
834,
26363,
834,
357,
3747,
549,
17444,
427,
96,
1409,
4817,
49,
599,
7,
61,
121,
3274,
3,
31,
102,
107,
26,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many people attended the game against the pittsburgh steelers? | CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_21 WHERE opponent = "pittsburgh steelers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
15116,
663,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
151,
5526,
8,
467,
581,
8,
7688,
17,
7289,
107,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11364,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
15264,
3274,
96,
5230,
17,
7289,
107,
2470,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which High rebounds have High points of chris bosh (18)? | CREATE TABLE table_50275 (
"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_50275 WHERE "High points" = 'chris bosh (18)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
25988,
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,
1752,
25988,
549,
17444,
427,
96,
21417,
979,
121,
3274,
3,
31,
524,
52,
159,
3005,
7,
107,
9323,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
In what category was Herself nominated? | CREATE TABLE table_78591 (
"Year" text,
"Award" text,
"Category" text,
"Nominated" text,
"Result" text
) | SELECT "Category" FROM table_78591 WHERE "Nominated" = 'herself' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
3390,
536,
41,
96,
476,
2741,
121,
1499,
6,
96,
188,
2239,
121,
1499,
6,
96,
18610,
6066,
651,
121,
1499,
6,
96,
4168,
1109,
920,
121,
1499,
6,
96,
20119,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
18610,
6066,
651,
121,
21680,
953,
834,
3940,
3390,
536,
549,
17444,
427,
96,
4168,
1109,
920,
121,
3274,
3,
31,
760,
7703,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What numbered measure had a 58.29% yes%? | CREATE TABLE table_27919 (
"meas. num" real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
) | SELECT "meas. num" FROM table_27919 WHERE "% YES" = '58.29%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4440,
2294,
41,
96,
526,
9,
7,
5,
3,
5525,
121,
490,
6,
96,
3968,
15,
26,
121,
1499,
6,
96,
476,
3205,
11839,
121,
490,
6,
96,
7400,
11839,
121,
490,
6,
96,
1454... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
526,
9,
7,
5,
3,
5525,
121,
21680,
953,
834,
357,
4440,
2294,
549,
17444,
427,
96,
1454,
3,
476,
3205,
121,
3274,
3,
31,
3449,
5,
357,
7561,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What year was the building completed that has 10 floors? | CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR) | SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
1201,
834,
25288,
26,
3,
21342,
17966,
6,
8242,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
47,
8,
740,
2012,
24,
65,
335,
8242,
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,
71,
17217,
599,
1201,
834,
25288,
26,
61,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
8242,
3274,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which opponent has a record of 3 1? | CREATE TABLE table_name_94 (
opponent VARCHAR,
record VARCHAR
) | SELECT opponent FROM table_name_94 WHERE record = "3–1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
15264,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
15264,
65,
3,
9,
1368,
13,
220,
209,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
1368,
3274,
96,
519,
104,
536,
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 name of the dreamworks experience from Ferrari? | CREATE TABLE table_name_30 (
name VARCHAR,
themed_area VARCHAR,
manufacturer VARCHAR
) | SELECT name FROM table_name_30 WHERE themed_area = "dreamworks experience" AND manufacturer = "ferrari" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
564,
584,
4280,
28027,
6,
18594,
834,
498,
584,
4280,
28027,
6,
4818,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
18594,
834,
498,
3274,
96,
26066,
13631,
351,
121,
3430,
4818,
3274,
96,
1010,
52,
1665,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method? | CREATE TABLE table_name_75 (
time VARCHAR,
method VARCHAR,
record VARCHAR
) | SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3072,
41,
97,
584,
4280,
28027,
6,
1573,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
97,
13,
8,
1588,
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,
97,
21680,
953,
834,
4350,
834,
3072,
549,
17444,
427,
1573,
3274,
96,
17,
157,
32,
41,
26,
32,
5317,
1190,
6492,
61,
121,
3430,
1368,
3274,
96,
1298,
18,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many towns exist on the government area with a surface of 110 square kilometers? | CREATE TABLE table_26267 (
"Local Government Area" text,
"Type" text,
"Major Town" text,
"Land Area (km\u00b2)" text,
"Pop. 2006" real,
"Density km \u22122" real,
"Towns" real,
"Est." real
) | SELECT MIN("Towns") FROM table_26267 WHERE "Land Area (km\u00b2)" = '110' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
357,
3708,
41,
96,
434,
32,
1489,
3141,
5690,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
329,
9,
12775,
4463,
121,
1499,
6,
96,
434,
232,
5690,
41,
5848,
2,
76,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
382,
9197,
7,
8512,
21680,
953,
834,
2688,
357,
3708,
549,
17444,
427,
96,
434,
232,
5690,
41,
5848,
2,
76,
1206,
115,
7318,
121,
3274,
3,
31,
19277,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where was the game with a result of won 5-0? | CREATE TABLE table_name_6 (
venue VARCHAR,
result VARCHAR
) | SELECT venue FROM table_name_6 WHERE result = "won 5-0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
5669,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
467,
28,
3,
9,
741,
13,
751,
3,
29325,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
741,
3274,
96,
210,
106,
3,
29325,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many wins did he have with carlin motorsport? | CREATE TABLE table_23128286_1 (
wins VARCHAR,
team_name VARCHAR
) | SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = "Carlin Motorsport" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2122,
4613,
3840,
834,
536,
41,
9204,
584,
4280,
28027,
6,
372,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
9204,
410,
3,
88,
43,
28,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
3757,
7,
61,
21680,
953,
834,
2773,
2122,
4613,
3840,
834,
536,
549,
17444,
427,
372,
834,
4350,
3274,
96,
6936,
40,
77,
30045,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the most stolen ends? | CREATE TABLE table_29704430_1 (
stolen_ends INTEGER
) | SELECT MAX(stolen_ends) FROM table_29704430_1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
2518,
3628,
1458,
834,
536,
41,
14244,
834,
989,
7,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
167,
14244,
5542,
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,
4800,
4,
599,
7,
235,
40,
35,
834,
989,
7,
61,
21680,
953,
834,
3166,
2518,
3628,
1458,
834,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who has the high assists when 0-1 is the series? | CREATE TABLE table_25464 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) | SELECT "High assists" FROM table_25464 WHERE "Series" = '0-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
591,
4389,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
13041,
121,
21680,
953,
834,
1828,
591,
4389,
549,
17444,
427,
96,
12106,
7,
121,
3274,
3,
31,
632,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than 3? | CREATE TABLE table_32125 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT MIN("Wins") FROM table_32125 WHERE "Tournament" = 'totals' AND "Top-25" > '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2668,
10124,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
18,
17395,
490,
6,
96,
22481,
14855,
121,
490,
6,
96,
427,
2169,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
18455,
7,
8512,
21680,
953,
834,
2668,
10124,
549,
17444,
427,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
235,
1947,
7,
31,
3430,
96,
22481,
14855,
121,
2490,
3,
31,
519,
31,
1,
-100,
-100,
... |
name all the winnings that the start appears to be 7 | CREATE TABLE table_1671401_3 (
winnings VARCHAR,
starts VARCHAR
) | SELECT winnings FROM table_1671401_3 WHERE starts = 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4450,
20016,
834,
519,
41,
3447,
7,
584,
4280,
28027,
6,
3511,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
564,
66,
8,
3447,
7,
24,
8,
456,
3475,
12,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3447,
7,
21680,
953,
834,
2938,
4450,
20016,
834,
519,
549,
17444,
427,
3511,
3274,
489,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
did alex polita finish above or below lorenzo lanzi ? | CREATE TABLE table_203_142 (
id number,
"pos" text,
"no" number,
"rider" text,
"bike" text,
"laps" number,
"time" text,
"grid" number,
"points" number
) | SELECT (SELECT "pos" FROM table_203_142 WHERE "rider" = 'alex polita') < (SELECT "pos" FROM table_203_142 WHERE "rider" = 'lorenzo lanzi') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
24978,
41,
3,
23,
26,
381,
6,
96,
2748,
121,
1499,
6,
96,
29,
32,
121,
381,
6,
96,
4055,
49,
121,
1499,
6,
96,
15214,
121,
1499,
6,
96,
8478,
7,
121,
381,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
41,
23143,
14196,
96,
2748,
121,
21680,
953,
834,
23330,
834,
24978,
549,
17444,
427,
96,
4055,
49,
121,
3274,
3,
31,
138,
994,
3,
21631,
31,
61,
3,
2,
41,
23143,
14196,
96,
2748,
121,
21680,
953,
834,
23330,
834,... |
What are the average Laps on Grid 15? | CREATE TABLE table_name_88 (
laps INTEGER,
grid VARCHAR
) | SELECT AVG(laps) FROM table_name_88 WHERE grid = 15 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
14941,
7,
3,
21342,
17966,
6,
8634,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
1348,
325,
102,
7,
30,
23644,
627,
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,
71,
17217,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
8634,
3274,
627,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
WHO WAS THE CENTERFOLD MODEL IN THE ISSUE WHERE OSCAR DE LA HOYA ANSWERED THE 20 QUESTIONS? | CREATE TABLE table_20221 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
) | SELECT "Centerfold model" FROM table_20221 WHERE "20 Questions" = 'Oscar de la Hoya' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19818,
2658,
41,
96,
308,
342,
121,
1499,
6,
96,
254,
1890,
825,
121,
1499,
6,
96,
24382,
10533,
825,
121,
1499,
6,
96,
17555,
4576,
1426,
121,
1499,
6,
96,
1755,
14218,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
24382,
10533,
825,
121,
21680,
953,
834,
19818,
2658,
549,
17444,
427,
96,
1755,
14218,
121,
3274,
3,
31,
667,
7,
1720,
20,
50,
1546,
63,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Winning score when the To par was −21? | CREATE TABLE table_name_21 (winning_score VARCHAR, to_par VARCHAR) | SELECT winning_score FROM table_name_21 WHERE to_par = "−21" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
8163,
834,
7,
9022,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
549,
10503,
2604,
116,
8,
304,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3447,
834,
7,
9022,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
12,
834,
1893,
3274,
96,
2,
2658,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Akira when Tiger Mask IV is Akira (10:05)? | CREATE TABLE table_52612 (
"Block A" text,
"Akira" text,
"Atsushi Aoki" text,
"Black Tiger V" text,
"Jado" text,
"Milano Collection A.T." text,
"Prince Devitt" text,
"Tiger Mask IV" text
) | SELECT "Akira" FROM table_52612 WHERE "Tiger Mask IV" = 'akira (10:05)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2688,
2122,
41,
96,
279,
4029,
71,
121,
1499,
6,
96,
188,
18413,
9,
121,
1499,
6,
96,
188,
17,
7,
8489,
23,
71,
1825,
23,
121,
1499,
6,
96,
20096,
11804,
584,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
18413,
9,
121,
21680,
953,
834,
755,
2688,
2122,
549,
17444,
427,
96,
382,
4424,
23709,
10869,
121,
3274,
3,
31,
9,
18413,
9,
11704,
10,
3076,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which tournament had Richard Krajicek as a finalist? | CREATE TABLE table_name_85 (
tournament VARCHAR,
finalist VARCHAR
) | SELECT tournament FROM table_name_85 WHERE finalist = "richard krajicek" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
5892,
584,
4280,
28027,
6,
804,
343,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
5892,
141,
4117,
7356,
354,
867,
157,
38,
3,
9,
804,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5892,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
804,
343,
3274,
96,
3723,
986,
3,
157,
9655,
867,
157,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many races did he do in the year he had 8 points? | CREATE TABLE table_76416 (
"Season" text,
"Series" text,
"Team" text,
"Races" text,
"Wins" text,
"Poles" text,
"F/Laps" text,
"Podiums" text,
"Points" text,
"Position" text
) | SELECT "Races" FROM table_76416 WHERE "Points" = '8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
591,
2938,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
12106,
7,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
448,
9,
2319,
121,
1499,
6,
96,
18455,
7,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
448,
9,
2319,
121,
21680,
953,
834,
3959,
591,
2938,
549,
17444,
427,
96,
22512,
7,
121,
3274,
3,
31,
927,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country has sa/b as the notes, and a time of 5:51.30? | CREATE TABLE table_79427 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
) | SELECT "Country" FROM table_79427 WHERE "Notes" = 'sa/b' AND "Time" = '5:51.30' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
591,
2555,
41,
96,
22557,
121,
490,
6,
96,
448,
2381,
277,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
10358,
15,
7,
121,
1499,
3,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
10628,
651,
121,
21680,
953,
834,
4440,
591,
2555,
549,
17444,
427,
96,
10358,
15,
7,
121,
3274,
3,
31,
7,
9,
87,
115,
31,
3430,
96,
13368,
121,
3274,
3,
31,
755,
10,
5553,
5,
1458,
31,
1,
-100,
-100,
-100... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.