NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is the diameter of the coin with a € equivalence of 0.60? | CREATE TABLE table_name_80 (diameter VARCHAR, €_equiv VARCHAR) | SELECT diameter FROM table_name_80 WHERE €_equiv = "0.60" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
26,
23,
9,
4401,
584,
4280,
28027,
6,
3416,
834,
15,
1169,
208,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
9260,
13,
8,
7485,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9260,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
3416,
834,
15,
1169,
208,
3274,
96,
22787,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the year began for the site with free userpics cost of $1 and a userpics paid value of N/A? | CREATE TABLE table_name_92 (
year_began VARCHAR,
userpics_paid VARCHAR,
userpics_free VARCHAR
) | SELECT year_began FROM table_name_92 WHERE userpics_paid = "n/a" AND userpics_free = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
215,
834,
346,
2565,
584,
4280,
28027,
6,
1139,
6174,
7,
834,
12760,
584,
4280,
28027,
6,
1139,
6174,
7,
834,
2113,
584,
4280,
28027,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
215,
834,
346,
2565,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
1139,
6174,
7,
834,
12760,
3274,
96,
29,
87,
9,
121,
3430,
1139,
6174,
7,
834,
2113,
3274,
96,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
list the names of the companies with more than 200 sales in the descending order of sales and profits. | CREATE TABLE company (
company_id number,
name text,
headquarters text,
industry text,
sales_in_billion number,
profits_in_billion number,
assets_in_billion number,
market_value_in_billion number
)
CREATE TABLE employment (
company_id number,
people_id number,
year_working n... | SELECT name FROM company WHERE sales_in_billion > 200 ORDER BY sales_in_billion, profits_in_billion DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
349,
41,
349,
834,
23,
26,
381,
6,
564,
1499,
6,
13767,
1499,
6,
681,
1499,
6,
1085,
834,
77,
834,
115,
14916,
381,
6,
9613,
834,
77,
834,
115,
14916,
381,
6,
4089,
834,
77,
834,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
349,
549,
17444,
427,
1085,
834,
77,
834,
115,
14916,
2490,
2382,
4674,
11300,
272,
476,
1085,
834,
77,
834,
115,
14916,
6,
9613,
834,
77,
834,
115,
14916,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
For the teams that had less than 1 loss, what was the average number of Wins? | CREATE TABLE table_43366 (
"Ballarat FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) | SELECT AVG("Wins") FROM table_43366 WHERE "Losses" < '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4906,
519,
3539,
41,
96,
279,
1748,
9,
1795,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18455,
7,
8512,
21680,
953,
834,
4906,
519,
3539,
549,
17444,
427,
96,
434,
13526,
7,
121,
3,
2,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the title of the episode with a production code of ad1b04? | CREATE TABLE table_name_50 (
title VARCHAR,
production_code VARCHAR
) | SELECT title FROM table_name_50 WHERE production_code = "ad1b04" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
2233,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2233,
13,
8,
5640,
28,
3,
9,
999,
1081... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
999,
834,
4978,
3274,
96,
9,
26,
536,
115,
6348,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what was the score for the game on 14 april 2001? | CREATE TABLE table_name_67 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_67 WHERE date = "14 april 2001" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
47,
8,
2604,
21,
8,
467,
30,
968,
3,
9,
2246,
40,
4402,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
833,
3274,
96,
2534,
3,
9,
2246,
40,
4402,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the listed year that has a rank smaller than 8 and moving from Olympiacos? | CREATE TABLE table_66766 (
"Rank" real,
"Year" real,
"Name" text,
"Moving from" text,
"Moving to" text
) | SELECT "Year" FROM table_66766 WHERE "Rank" < '8' AND "Moving from" = 'olympiacos' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
940,
3539,
41,
96,
22557,
121,
490,
6,
96,
476,
2741,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
329,
32,
3745,
45,
121,
1499,
6,
96,
329,
32,
3745,
12,
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,
476,
2741,
121,
21680,
953,
834,
3539,
940,
3539,
549,
17444,
427,
96,
22557,
121,
3,
2,
3,
31,
927,
31,
3430,
96,
329,
32,
3745,
45,
121,
3274,
3,
31,
32,
120,
1167,
23,
9,
509,
7,
31,
1,
-100,
-100,
-1... |
How many different release dates are there for the audio book with a story number 7? | CREATE TABLE table_23575 (
"Story #" real,
"Target #" text,
"Title" text,
"Author" text,
"Reader" text,
"Format" text,
"Company" text,
"Release Date" text,
"Notes" text
) | SELECT COUNT("Release Date") FROM table_23575 WHERE "Story #" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25174,
3072,
41,
96,
134,
10972,
1713,
121,
490,
6,
96,
382,
291,
2782,
1713,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23602,
127,
121,
1499,
6,
96,
19915,
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,
2847,
17161,
599,
121,
1649,
40,
14608,
7678,
8512,
21680,
953,
834,
25174,
3072,
549,
17444,
427,
96,
134,
10972,
1713,
121,
3274,
3,
31,
940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the rank where the events is 31? | CREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR) | SELECT rank FROM table_name_65 WHERE events = 31 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
6254,
584,
4280,
28027,
6,
984,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11003,
213,
8,
984,
19,
2664,
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,
11003,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
984,
3274,
2664,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Visualize a bar chart about the distribution of All_Home and the average of Team_ID , and group by attribute All_Home, and sort by the X in descending. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
19040,
6,
71,
17217,
599,
18699,
834,
4309,
61,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
432,
834,
19040,
4674,
11300,
272,
476,
432,
834,
19040,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the winning score in 1980? | CREATE TABLE table_name_51 (
winning_score VARCHAR,
year VARCHAR
) | SELECT winning_score FROM table_name_51 WHERE year = 1980 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
3447,
834,
7,
9022,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3447,
2604,
16,
6694,
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,
3447,
834,
7,
9022,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
215,
3274,
6694,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the attendance of tie no. 23? | CREATE TABLE table_8246 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
) | SELECT "Attendance" FROM table_8246 WHERE "Tie no" = '23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4613,
4448,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
17,
324,
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,
188,
17,
324,
26,
663,
121,
21680,
953,
834,
4613,
4448,
549,
17444,
427,
96,
382,
23,
15,
150,
121,
3274,
3,
31,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Harry l Stephen rides a Norton machine on what date? | CREATE TABLE table_name_56 (
date VARCHAR,
machine VARCHAR,
rider VARCHAR
) | SELECT date FROM table_name_56 WHERE machine = "norton" AND rider = "harry l stephen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
833,
584,
4280,
28027,
6,
1437,
584,
4280,
28027,
6,
2564,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8929,
3,
40,
7872,
14432,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
1437,
3274,
96,
29,
32,
17330,
121,
3430,
2564,
52,
3274,
96,
3272,
651,
3,
40,
1147,
3225,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the score of the game with a loss of Mercedes (0-1)? | CREATE TABLE table_name_47 (
score VARCHAR,
loss VARCHAR
) | SELECT score FROM table_name_47 WHERE loss = "mercedes (0-1)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
2604,
584,
4280,
28027,
6,
1453,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
467,
28,
3,
9,
1453,
13,
11808,
174... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
1453,
3274,
96,
935,
565,
1395,
17482,
18,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Country of the Player with a To par of +1 and a Score of 72-71=143? | CREATE TABLE table_12518 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Country" FROM table_12518 WHERE "To par" = '+1' AND "Score" = '72-71=143' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
10124,
2606,
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,
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,
10124,
2606,
549,
17444,
427,
96,
3696,
260,
121,
3274,
3,
31,
18446,
31,
3430,
96,
134,
9022,
121,
3274,
3,
31,
5865,
18,
4450,
2423,
25133,
31,
1,
-100,
-100,
-100,
-100,
-1... |
Which player was D past Round 3? | CREATE TABLE table_name_88 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_88 WHERE position = "d" AND round > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
20846,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1959,
47,
309,
657,
9609,
220,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
1102,
3274,
96,
26,
121,
3430,
1751,
2490,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Find all information about student addresses, and sort by monthly rental in descending order. | CREATE TABLE Student_Addresses (monthly_rental VARCHAR) | SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6341,
834,
20773,
9377,
15,
7,
41,
7393,
120,
834,
5320,
138,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2588,
66,
251,
81,
1236,
7181,
6,
11,
1843,
57,
3718,
3571,
16,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1429,
21680,
6341,
834,
20773,
9377,
15,
7,
4674,
11300,
272,
476,
3718,
834,
5320,
138,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which countries did participated in both Friendly and Tournament type competitions. | CREATE TABLE competition (
country VARCHAR,
competition_type VARCHAR
) | SELECT country FROM competition WHERE competition_type = 'Friendly' INTERSECT SELECT country FROM competition WHERE competition_type = 'Tournament' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2259,
41,
684,
584,
4280,
28027,
6,
2259,
834,
6137,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
84,
1440,
410,
10627,
16,
321,
27105,
11,
20502,
686,
2259,
7,
5,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
2259,
549,
17444,
427,
2259,
834,
6137,
3274,
3,
31,
17701,
120,
31,
3,
21342,
5249,
14196,
3,
23143,
14196,
684,
21680,
2259,
549,
17444,
427,
2259,
834,
6137,
3274,
3,
31,
382,
1211,
20205,
17,
31,
1,
... |
Name the total number of years for chassis of ensign n175 | CREATE TABLE table_name_2 (year VARCHAR, chassis VARCHAR) | SELECT COUNT(year) FROM table_name_2 WHERE chassis = "ensign n175" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
1201,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
203,
21,
22836,
13,
3,
35,
6732,
3,
29,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
61,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
22836,
3274,
96,
35,
6732,
3,
29,
2517,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the high rebounds for record 7-1 | CREATE TABLE table_22669 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location/Attendance" text,
"Record" text
) | SELECT "High rebounds" FROM table_22669 WHERE "Record" = '7-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2688,
3951,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
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,
21417,
3,
23768,
121,
21680,
953,
834,
357,
2688,
3951,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
940,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385? | CREATE TABLE table_name_88 (
rider VARCHAR,
time VARCHAR,
bike VARCHAR,
laps VARCHAR,
grid VARCHAR
) | SELECT rider FROM table_name_88 WHERE laps > 5 AND grid > 29 AND bike = "honda cbr600rr" AND time = "+1:27.385" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
2564,
52,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
6,
3724,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
3,
61,
3,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2564,
52,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
14941,
7,
2490,
305,
3430,
8634,
2490,
2838,
3430,
3724,
3274,
96,
31782,
3,
75,
115,
52,
6007,
52,
52,
121,
3430,
97,
3274,
96,
18446,
10,
2555,
5,
374... |
Name the D 43 when it has D 45 of d 25 | CREATE TABLE table_name_45 (d_43 VARCHAR, d_45 VARCHAR) | SELECT d_43 FROM table_name_45 WHERE d_45 = "d 25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
26,
834,
4906,
584,
4280,
28027,
6,
3,
26,
834,
2128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
309,
8838,
116,
34,
65,
309,
3479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
4906,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
3,
26,
834,
2128,
3274,
96,
26,
944,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is the date when the round is qf? | CREATE TABLE table_name_80 (
date VARCHAR,
round VARCHAR
) | SELECT date FROM table_name_80 WHERE round = "qf" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
833,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
833,
116,
8,
1751,
19,
3,
1824,
89,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
1751,
3274,
96,
1824,
89,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
In which week # was the original artist of Barreto's song choice was Leila Pinheiro? | CREATE TABLE table_27614571_1 (
week__number VARCHAR,
original_artist VARCHAR
) | SELECT week__number FROM table_27614571_1 WHERE original_artist = "Leila Pinheiro" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4241,
2128,
4450,
834,
536,
41,
471,
834,
834,
5525,
1152,
584,
4280,
28027,
6,
926,
834,
1408,
343,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
84,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
471,
834,
834,
5525,
1152,
21680,
953,
834,
2555,
4241,
2128,
4450,
834,
536,
549,
17444,
427,
926,
834,
1408,
343,
3274,
96,
2796,
173,
9,
8050,
17265,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Name has a Round smaller than 5, and a Pick # larger than 13? | CREATE TABLE table_name_50 (name VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT name FROM table_name_50 WHERE round < 5 AND pick__number > 13 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
4350,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
6,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
5570,
65,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
1751,
3,
2,
305,
3430,
1432,
834,
834,
5525,
1152,
2490,
1179,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
count the number of patients whose procedure long title is thoracentesis. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Thoracentesis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
which teams were in the first replay match ? | CREATE TABLE table_203_620 (
id number,
"tie no" number,
"home team" text,
"score" text,
"away team" text,
"attendance" number
) | SELECT "home team", "away team" FROM table_203_620 WHERE "tie no" = 'replay' ORDER BY id LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
26898,
41,
3,
23,
26,
381,
6,
96,
17,
23,
15,
150,
121,
381,
6,
96,
5515,
372,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
8006,
372,
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,
5515,
372,
1686,
96,
8006,
372,
121,
21680,
953,
834,
23330,
834,
26898,
549,
17444,
427,
96,
17,
23,
15,
150,
121,
3274,
3,
31,
60,
4895,
31,
4674,
11300,
272,
476,
3,
23,
26,
8729,
12604,
209,
1,
-100,
-10... |
Name the date for oliver stone | CREATE TABLE table_1566852_5 (date VARCHAR, interview_subject VARCHAR) | SELECT date FROM table_1566852_5 WHERE interview_subject = "Oliver Stone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25463,
3651,
5373,
834,
755,
41,
5522,
584,
4280,
28027,
6,
2772,
834,
7304,
11827,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
833,
21,
7994,
52,
3372,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
25463,
3651,
5373,
834,
755,
549,
17444,
427,
2772,
834,
7304,
11827,
3274,
96,
667,
7591,
52,
5614,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the type of the printer ports included in the EX Plus3 model number? | CREATE TABLE table_611 (
"Model number" text,
"Printer ports" text,
"Network ports" text,
"Network protocols" text,
"Firmware" text,
"Notes" text
) | SELECT "Printer ports" FROM table_611 WHERE "Model number" = 'EX Plus3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
536,
41,
96,
24663,
381,
121,
1499,
6,
96,
28592,
49,
13897,
121,
1499,
6,
96,
9688,
1981,
13897,
121,
1499,
6,
96,
9688,
1981,
18870,
121,
1499,
6,
96,
3183,
52,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
28592,
49,
13897,
121,
21680,
953,
834,
4241,
536,
549,
17444,
427,
96,
24663,
381,
121,
3274,
3,
31,
427,
4,
2477,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the number of rounds on the Hidden Valley Raceway? | CREATE TABLE table_19079 (
"Rd." real,
"Race Title" text,
"Circuit" text,
"City / State" text,
"Date" text,
"Winner" text,
"Team" text,
"Report" text
) | SELECT COUNT("Rd.") FROM table_19079 WHERE "Circuit" = 'Hidden Valley Raceway' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11776,
4440,
41,
96,
448,
26,
535,
490,
6,
96,
448,
3302,
11029,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
254,
485,
3,
87,
1015,
121,
1499,
6,
96,
308,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
448,
26,
5,
8512,
21680,
953,
834,
11776,
4440,
549,
17444,
427,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
12146,
26,
537,
3460,
10949,
1343,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the athlete from egypt with q in the notes? | CREATE TABLE table_name_50 (
athlete VARCHAR,
notes VARCHAR,
country VARCHAR
) | SELECT athlete FROM table_name_50 WHERE notes = "q" AND country = "egypt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
17893,
584,
4280,
28027,
6,
3358,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
17893,
45,
3,
15,
122,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
17893,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
3358,
3274,
96,
1824,
121,
3430,
684,
3274,
96,
15,
122,
63,
102,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is Points, when Points is 60, and when Club is Bedwas RFC? | CREATE TABLE table_46322 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Bonus Points" text,
"Points" text
) | SELECT "Points for" FROM table_46322 WHERE "Points" = '60' AND "Club" = 'bedwas rfc' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
2668,
357,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
22512,
7,
21,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
22512,
7,
21,
121,
21680,
953,
834,
4448,
2668,
357,
549,
17444,
427,
96,
22512,
7,
121,
3274,
3,
31,
3328,
31,
3430,
96,
254,
11158,
121,
3274,
3,
31,
4143,
9491,
3,
52,
89,
75,
31,
1,
-100,
-100,
-100,
-... |
What was the date of the game with a score of W 106-100? | CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_2 WHERE score = "w 106-100" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
5522,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
833,
13,
8,
467,
28,
3,
9,
2604,
13,
549,
3,
16431,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
2604,
3274,
96,
210,
3,
16431,
18,
2915,
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 runs where the average is less than 27.22? | CREATE TABLE table_name_87 (
runs VARCHAR,
average INTEGER
) | SELECT COUNT(runs) FROM table_name_87 WHERE average < 27.22 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
3154,
584,
4280,
28027,
6,
1348,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
381,
13,
3154,
213,
8,
1348,
19,
705,
145,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
4312,
7,
61,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
1348,
3,
2,
2307,
5,
2884,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the district with more than 1,246,756 electorates and a constituency number of 191? | CREATE TABLE table_66371 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2009)" real
) | SELECT "District" FROM table_66371 WHERE "Number of electorates (2009)" > '1,246,756' AND "Constituency number" = '191' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4118,
536,
41,
96,
4302,
2248,
17,
76,
4392,
381,
121,
1499,
6,
96,
23954,
121,
1499,
6,
96,
1649,
3473,
15,
26,
21,
41,
6508,
3,
87,
5097,
3,
87,
567,
782,
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,
308,
23,
20066,
121,
21680,
953,
834,
3539,
4118,
536,
549,
17444,
427,
96,
567,
5937,
49,
13,
11924,
127,
6203,
3,
25812,
121,
2490,
3,
31,
4347,
2266,
11071,
3072,
948,
31,
3430,
96,
4302,
2248,
17,
76,
4392... |
What is the player that went to st. benedict's prep? | CREATE TABLE table_name_61 (player VARCHAR, school VARCHAR) | SELECT player FROM table_name_61 WHERE school = "st. benedict's prep" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
20846,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1959,
24,
877,
12,
3,
7,
17,
5,
3,
15719,
12194,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
496,
3274,
96,
7,
17,
5,
3,
15719,
12194,
31,
7,
13422,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Find the name of department has the highest amount of students? | CREATE TABLE course (
course_id text,
title text,
dept_name text,
credits number
)
CREATE TABLE department (
dept_name text,
building text,
budget number
)
CREATE TABLE prereq (
course_id text,
prereq_id text
)
CREATE TABLE section (
course_id text,
sec_id text,
semest... | SELECT dept_name FROM student GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
503,
41,
503,
834,
23,
26,
1499,
6,
2233,
1499,
6,
20,
102,
17,
834,
4350,
1499,
6,
11893,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3066,
41,
20,
102,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
20,
102,
17,
834,
4350,
21680,
1236,
350,
4630,
6880,
272,
476,
20,
102,
17,
834,
4350,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
geriatric depression scale score of less than or equal to 6 | CREATE TABLE table_train_117 (
"id" int,
"mini_mental_state_examination_mmse" int,
"systolic_blood_pressure_sbp" int,
"renal_disease" bool,
"total_serum_protein" int,
"diastolic_blood_pressure_dbp" int,
"geriatric_depression_scale_gds" int,
"serum_creatinine" float,
"uncontrolled_blo... | SELECT * FROM table_train_117 WHERE geriatric_depression_scale_gds <= 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
20275,
41,
96,
23,
26,
121,
16,
17,
6,
96,
7619,
834,
13974,
834,
5540,
834,
994,
9,
14484,
834,
635,
7,
15,
121,
16,
17,
6,
96,
7,
63,
7,
235,
2176,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
20275,
549,
17444,
427,
3,
122,
4476,
3929,
834,
221,
8243,
834,
6649,
834,
122,
26,
7,
3,
2,
2423,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the former school of the player from Detroit, MI? | CREATE TABLE table_29418619_1 (
former_school VARCHAR,
hometown VARCHAR
) | SELECT former_school FROM table_29418619_1 WHERE hometown = "Detroit, MI" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4240,
25398,
2294,
834,
536,
41,
1798,
834,
6646,
584,
4280,
28027,
6,
22295,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1798,
496,
13,
8,
195... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1798,
834,
6646,
21680,
953,
834,
357,
4240,
25398,
2294,
834,
536,
549,
17444,
427,
22295,
3274,
96,
308,
15252,
155,
6,
8161,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many times was the time 19' 38.87 115.219mph on Fri Aug 27? | CREATE TABLE table_26986076_1 (mon_23_aug VARCHAR, fri_27_aug VARCHAR) | SELECT COUNT(mon_23_aug) FROM table_26986076_1 WHERE fri_27_aug = "19' 38.87 115.219mph" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3916,
3328,
3959,
834,
536,
41,
2157,
834,
2773,
834,
402,
122,
584,
4280,
28027,
6,
9030,
834,
2555,
834,
402,
122,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2157,
834,
2773,
834,
402,
122,
61,
21680,
953,
834,
2688,
3916,
3328,
3959,
834,
536,
549,
17444,
427,
9030,
834,
2555,
834,
402,
122,
3274,
96,
2294,
31,
6654,
5,
4225,
850,
24342,
2294,
7656,
12... |
What pick was used to select a Defensive End in round 8? | CREATE TABLE table_name_70 (
pick INTEGER,
position VARCHAR,
round VARCHAR
) | SELECT SUM(pick) FROM table_name_70 WHERE position = "defensive end" AND round = 8 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
1432,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1432,
47,
261,
12,
1738,
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,
180,
6122,
599,
17967,
61,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
1102,
3274,
96,
221,
23039,
15,
414,
121,
3430,
1751,
3274,
505,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the lowest Rank, when Nation is Great Britain, and when Bronze is less than 1? | CREATE TABLE table_name_40 (
rank INTEGER,
nation VARCHAR,
bronze VARCHAR
) | SELECT MIN(rank) FROM table_name_40 WHERE nation = "great britain" AND bronze < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2445,
41,
11003,
3,
21342,
17966,
6,
2982,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
3,
22557,
6,
116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
6254,
61,
21680,
953,
834,
4350,
834,
2445,
549,
17444,
427,
2982,
3274,
96,
20288,
3,
115,
10694,
77,
121,
3430,
13467,
3,
2,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
When are all dates in the year 2006? | CREATE TABLE table_20000 (
"Year" text,
"Dates" text,
"Champion" text,
"Country" text,
"Score" text,
"Tournament location" text,
"Purse ($)" real,
"Winners share ($)" real
) | SELECT COUNT("Dates") FROM table_20000 WHERE "Year" = '2006' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
2313,
41,
96,
476,
2741,
121,
1499,
6,
96,
308,
6203,
121,
1499,
6,
96,
254,
1483,
12364,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
308,
6203,
8512,
21680,
953,
834,
1755,
2313,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
21196,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What the air dates for the episodes are episode 3 in the series? | CREATE TABLE table_70928 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
) | SELECT "Original air date" FROM table_70928 WHERE "No. in series" > '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
1298,
2577,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
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,
667,
3380,
10270,
799,
833,
121,
21680,
953,
834,
2518,
1298,
2577,
549,
17444,
427,
96,
4168,
5,
16,
939,
121,
2490,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many different titles does the representative whose mission was terminated on August 5, 1984 have? | CREATE TABLE table_23513 (
"Representative" text,
"State" text,
"Training" text,
"Title" text,
"Appointment" text,
"Presentation of Credentials" text,
"Termination of Mission" text,
"Reason" text
) | SELECT COUNT("Title") FROM table_23513 WHERE "Termination of Mission" = 'August 5, 1984' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25174,
2368,
41,
96,
1649,
12640,
1528,
121,
1499,
6,
96,
134,
4748,
121,
1499,
6,
96,
9402,
77,
53,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
188,
102,
2700,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
382,
155,
109,
8512,
21680,
953,
834,
25174,
2368,
549,
17444,
427,
96,
11679,
77,
257,
13,
8960,
121,
3274,
3,
31,
26579,
7836,
13480,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average number lost for hyde united when they had a smaller position than 17, 8 draws, and more than 57 goals against? | CREATE TABLE table_43783 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" text
) | SELECT AVG("Lost") FROM table_43783 WHERE "Goals Against" > '57' AND "Position" < '17' AND "Drawn" = '8' AND "Team" = 'hyde united' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4906,
3940,
519,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
18699,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
308,
10936,
29,
121,
490,
6,
96,
434,
3481,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
434,
3481,
8512,
21680,
953,
834,
4906,
3940,
519,
549,
17444,
427,
96,
6221,
5405,
3,
20749,
121,
2490,
3,
31,
3436,
31,
3430,
96,
345,
32,
7,
4749,
121,
3,
2,
3,
31,
2517,
31,
3430,
96,
... |
What is the college/junior/club team (league) of the player who was pick number 130? | CREATE TABLE table_14209245_9 (
college_junior_club_team__league_ VARCHAR,
pick__number VARCHAR
) | SELECT college_junior_club_team__league_ FROM table_14209245_9 WHERE pick__number = "130" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
1755,
4508,
2128,
834,
1298,
41,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
834,
834,
29512,
834,
584,
4280,
28027,
6,
1432,
834,
834,
5525,
1152,
584,
4280,
280... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
834,
834,
29512,
834,
21680,
953,
834,
2534,
1755,
4508,
2128,
834,
1298,
549,
17444,
427,
1432,
834,
834,
5525,
1152,
3274,
96,
21448,
121,
1,
-100,
-100,
-100,
-100,... |
Name the location attendance for l 83 106 (ot) | CREATE TABLE table_25492 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Location Attendance" FROM table_25492 WHERE "Score" = 'L 83–106 (OT)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3647,
357,
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,
434,
32,
75,
257,
22497,
663,
121,
21680,
953,
834,
1828,
3647,
357,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
434,
3,
4591,
104,
16431,
41,
6951,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Quotient of 97 350,333 has how many votes? | CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR) | SELECT votes FROM table_name_45 WHERE quotient = "97 350,333" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
1621,
1422,
584,
4280,
28027,
6,
3,
8270,
4741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2415,
32,
15058,
13,
3,
4327,
10239,
6,
23360,
65,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11839,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
3,
8270,
4741,
3274,
96,
4327,
10239,
6,
23360,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Tell me the category for result of won and year more than 2009 | CREATE TABLE table_name_77 (
category VARCHAR,
result VARCHAR,
year VARCHAR
) | SELECT category FROM table_name_77 WHERE result = "won" AND year > 2009 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
3295,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
3295,
21,
741,
13,
751,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3295,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
741,
3274,
96,
210,
106,
121,
3430,
215,
2490,
2464,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what number of patients primarily diagnosed for rash expired in or before the year 2154? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RASH" AND demographic.dod_year <= "2154.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
448,
21337,
121,
3430,
14798,
5,
26,
32,
26,
834,
1201,
3,
2,
2423,
... |
What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82? | CREATE TABLE table_name_29 (interview INTEGER, evening_gown VARCHAR, state VARCHAR) | SELECT AVG(interview) FROM table_name_29 WHERE evening_gown < 8.82 AND state = "louisiana" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
3870,
4576,
3,
21342,
17966,
6,
2272,
834,
122,
9197,
584,
4280,
28027,
6,
538,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
3870,
4576,
61,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
2272,
834,
122,
9197,
3,
2,
4848,
4613,
3430,
538,
3274,
96,
40,
1063,
159,
13662,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
there are the same number of centers as what other position on the team ? | CREATE TABLE table_204_140 (
id number,
"round" number,
"#" number,
"player" text,
"position" text,
"nationality" text,
"college/junior/club team (league)" text
) | SELECT "position" FROM table_204_140 WHERE "position" <> 'center' GROUP BY "position" HAVING COUNT(*) = (SELECT COUNT(*) FROM table_204_140 WHERE "position" = 'center') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
22012,
41,
3,
23,
26,
381,
6,
96,
7775,
121,
381,
6,
96,
4663,
121,
381,
6,
96,
20846,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
16557,
485,
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,
4718,
121,
21680,
953,
834,
26363,
834,
22012,
549,
17444,
427,
96,
4718,
121,
3,
2,
3155,
3,
31,
13866,
31,
350,
4630,
6880,
272,
476,
96,
4718,
121,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
3274,
41,
231... |
What's the score of the Nice International Championships where Björn Borg was the champion? | CREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR) | SELECT score FROM table_name_93 WHERE name = "nice international championships" AND champion = "björn borg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
7,
9022,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
6336,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
2604,
13,
8,
8012,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
564,
3274,
96,
13351,
1038,
10183,
7,
121,
3430,
6336,
3274,
96,
115,
354,
4446,
29,
3,
23685,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For the player fero lasagavibau who has the lowest start? | CREATE TABLE table_32916 (
"Player" text,
"Span" text,
"Start" real,
"Tries" real,
"Conv" real,
"Pens" real,
"Drop" real
) | SELECT MIN("Start") FROM table_32916 WHERE "Player" = 'fero lasagavibau' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3166,
2938,
41,
96,
15800,
49,
121,
1499,
6,
96,
19675,
121,
1499,
6,
96,
7681,
17,
121,
490,
6,
96,
382,
2593,
121,
490,
6,
96,
4302,
208,
121,
490,
6,
96,
345,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
519,
3166,
2938,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
1010,
32,
12031,
122,
2960,
2635,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which location did the Tigers have? | CREATE TABLE table_60139 (
"Club" text,
"Nickname" text,
"Location" text,
"GFL Premierships" text,
"Years in GFL" text
) | SELECT "Location" FROM table_60139 WHERE "Nickname" = 'tigers' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
24090,
41,
96,
254,
11158,
121,
1499,
6,
96,
567,
3142,
4350,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
517,
10765,
6552,
2009,
7,
121,
1499,
6,
96,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
3328,
24090,
549,
17444,
427,
96,
567,
3142,
4350,
121,
3274,
3,
31,
2880,
277,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the School/Club Team with a nationality of United States for Arron Afflalo? | CREATE TABLE table_name_91 (school_club_team VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_91 WHERE nationality = "united states" AND player = "arron afflalo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
6646,
834,
13442,
834,
11650,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
496,
834,
13442,
834,
11650,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
1157,
485,
3274,
96,
15129,
15,
26,
2315,
121,
3430,
1959,
3274,
96,
19996,
29,
3,
4127,
40,
138,
32,
121,
1,
-100,
-100,
-100,
-100,
... |
What location was the game played at when Richmond was the away team? | CREATE TABLE table_53076 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_53076 WHERE "Away team" = 'richmond' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26918,
3959,
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,
26918,
3959,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
3723,
6764,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the co-driver for Toyota Racing after the year 2012? | CREATE TABLE table_name_59 (co_drivers VARCHAR, team VARCHAR, year VARCHAR) | SELECT co_drivers FROM table_name_59 WHERE team = "toyota racing" AND year > 2012 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
509,
834,
13739,
52,
7,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
576,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
576,
834,
13739,
52,
7,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
372,
3274,
96,
235,
63,
32,
17,
9,
8191,
121,
3430,
215,
2490,
1673,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many players are from the country of Brazil? | CREATE TABLE table_73681 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
) | SELECT COUNT("Position") FROM table_73681 WHERE "Nationality\u00b2" = 'Brazil' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
3651,
536,
41,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
12988,
23,
32,
26,
121,
1499,
6,
96,
9648,
2741,
663,
7,
2,
76,
1206,
115,
1298,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
345,
32,
7,
4749,
8512,
21680,
953,
834,
4552,
3651,
536,
549,
17444,
427,
96,
24732,
485,
2,
76,
1206,
115,
357,
121,
3274,
3,
31,
279,
7275,
173,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who was the home team at the game played at Kardinia Park? | CREATE TABLE table_name_44 (
home_team VARCHAR,
venue VARCHAR
) | SELECT home_team FROM table_name_44 WHERE venue = "kardinia park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
234,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
234,
372,
44,
8,
467,
1944,
44,
4556,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
5669,
3274,
96,
4031,
2644,
23,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which song was released 12/8/70 with a time of 2:54? | CREATE TABLE table_78432 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release Date" text,
"Song Title" text,
"Time" text
) | SELECT "Song Title" FROM table_78432 WHERE "Release Date" = '12/8/70' AND "Time" = '2:54' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
591,
2668,
41,
96,
382,
16729,
121,
490,
6,
96,
1649,
7621,
15,
26,
121,
1499,
6,
96,
18610,
9,
10384,
121,
1499,
6,
96,
1649,
40,
14608,
7678,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
2444,
11029,
121,
21680,
953,
834,
3940,
591,
2668,
549,
17444,
427,
96,
1649,
40,
14608,
7678,
121,
3274,
3,
31,
2122,
9483,
87,
2518,
31,
3430,
96,
13368,
121,
3274,
3,
31,
357,
10,
5062,
31,
1,
-100,
... |
How many different standards have a PM of 0.02 g/kWh? | CREATE TABLE table_2780146_6 (standard VARCHAR, pm__g_kwh_ VARCHAR) | SELECT COUNT(standard) FROM table_2780146_6 WHERE pm__g_kwh_ = "0.02" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2079,
24300,
834,
948,
41,
16020,
584,
4280,
28027,
6,
6366,
834,
834,
122,
834,
157,
210,
107,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
315,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
16020,
61,
21680,
953,
834,
2555,
2079,
24300,
834,
948,
549,
17444,
427,
6366,
834,
834,
122,
834,
157,
210,
107,
834,
3274,
96,
11739,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where is Transocean Richardson, a semi entered into service in 1988? | CREATE TABLE table_name_31 (
location VARCHAR,
name VARCHAR,
type VARCHAR,
entered_service VARCHAR
) | SELECT location FROM table_name_31 WHERE type = "semi" AND entered_service = "1988" AND name = "transocean richardson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
1128,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
686,
584,
4280,
28027,
6,
5136,
834,
5114,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
1128,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
686,
3274,
96,
7,
15,
51,
23,
121,
3430,
5136,
834,
5114,
3274,
96,
2294,
4060,
121,
3430,
564,
3274,
96,
7031,
32,
565,
152,
2354,
986,
739,
121,
1,
-100,
... |
I want to see trend of the average of budget in billions by creation, could you sort by the X-axis in descending? | CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
)
CREATE TABLE management (
department_ID int,
head_ID int,
temporary_acting text
)
CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num... | SELECT Creation, AVG(Budget_in_Billions) FROM department ORDER BY Creation DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
819,
41,
819,
834,
4309,
16,
17,
6,
564,
1499,
6,
2170,
834,
5540,
1499,
6,
1246,
490,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
758,
41,
3066,
834,
4309,
16,
17,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
24589,
6,
71,
17217,
599,
279,
13164,
17,
834,
77,
834,
279,
14916,
7,
61,
21680,
3066,
4674,
11300,
272,
476,
24589,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the home team that played at MCG? | CREATE TABLE table_name_43 (
home_team VARCHAR,
venue VARCHAR
) | SELECT home_team AS score FROM table_name_43 WHERE venue = "mcg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
234,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
234,
372,
24,
1944,
44,
283,
12150,
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,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
5669,
3274,
96,
51,
75,
122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which stadiums have an average attendance of 13840? | CREATE TABLE table_11208143_9 (
stadium VARCHAR,
average VARCHAR
) | SELECT stadium FROM table_11208143_9 WHERE average = 13840 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
23946,
25133,
834,
1298,
41,
14939,
584,
4280,
28027,
6,
1348,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
14939,
7,
43,
46,
1348,
11364,
13,
1179,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
14939,
21680,
953,
834,
2596,
23946,
25133,
834,
1298,
549,
17444,
427,
1348,
3274,
1179,
26311,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Can you tell me the average Rank that has the Code of vlc, and the Cargo traffic smaller than 11,125,537? | CREATE TABLE table_7274 (
"Rank" real,
"Airport" text,
"Location" text,
"Code" text,
"Total passengers" real,
"% Change 2011-2012" real,
"Aircraft movements" real,
"Cargo traffic" real
) | SELECT AVG("Rank") FROM table_7274 WHERE "Code" = 'vlc' AND "Cargo traffic" < '11,125,537' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5865,
4581,
41,
96,
22557,
121,
490,
6,
96,
20162,
1493,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
22737,
121,
1499,
6,
96,
3696,
1947,
9234,
121,
490,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
22557,
8512,
21680,
953,
834,
5865,
4581,
549,
17444,
427,
96,
22737,
121,
3274,
3,
31,
208,
40,
75,
31,
3430,
96,
6936,
839,
2117,
121,
3,
2,
3,
31,
2596,
6,
10124,
6,
755,
4118,
31,
1,
-... |
Which name has Years of 1 8, a Decile of 9, and a Roll smaller than 141? | CREATE TABLE table_14987 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
) | SELECT "Name" FROM table_14987 WHERE "Years" = '1–8' AND "Decile" = '9' AND "Roll" < '141' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24816,
4225,
41,
96,
23954,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
517,
3868,
121,
1499,
6,
96,
188,
864,
121,
1499,
6,
96,
23602,
127,
485,
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,
23954,
121,
21680,
953,
834,
24816,
4225,
549,
17444,
427,
96,
476,
2741,
7,
121,
3274,
3,
31,
536,
104,
927,
31,
3430,
96,
2962,
75,
699,
121,
3274,
3,
31,
1298,
31,
3430,
96,
29807,
121,
3,
2,
3,
31,
260... |
Return a bar chart on how many wines are there for each grape?, I want to list in desc by the x axis. | CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No... | SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY Grape DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11457,
7,
41,
4699,
3,
21342,
17966,
6,
29083,
3,
3463,
4,
382,
6,
6088,
3,
3463,
4,
382,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2013,
41,
465,
3,
21342,
17966... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
29083,
6,
2847,
17161,
599,
1935,
61,
21680,
2013,
350,
4630,
6880,
272,
476,
29083,
4674,
11300,
272,
476,
29083,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the score for the mariners opponent on may 10 | CREATE TABLE table_name_20 (
score VARCHAR,
opponent VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
2604,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2604,
21,
8,
8769,
52,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
15264,
3274,
96,
12181,
277,
121,
3430,
833,
3274,
96,
13726,
335,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
who directed the episode written by Shonda Rhimes? | CREATE TABLE table_26111 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) | SELECT "Directed by" FROM table_26111 WHERE "Written by" = 'Shonda Rhimes' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
15866,
41,
96,
4168,
5,
16,
939,
121,
490,
6,
96,
4168,
5,
16,
774,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23620,
15,
26,
57,
121,
21680,
953,
834,
2688,
15866,
549,
17444,
427,
96,
24965,
324,
57,
121,
3274,
3,
31,
134,
31782,
11092,
5445,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show me about the proportion of Team_ID and Team_ID in a pie chart. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT Team_Name, Team_ID FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2271,
834,
23954,
6,
2271,
834,
4309,
21680,
8498,
834,
19515,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the score of the game on May 5? | CREATE TABLE table_name_50 (
score VARCHAR,
date VARCHAR
) | SELECT score FROM table_name_50 WHERE date = "may 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
2604,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
13,
8,
467,
30,
932,
305,
58,
1,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
833,
3274,
96,
13726,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
give me the number of patients whose diagnoses long title is major depressive affective disorder, recurrent episode, severe, specified as with psychotic behavior and drug route is ou? | CREATE TABLE procedures (
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Major depressive affective disorder, recurrent episode, severe, specified as with psychotic... | [
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... |
find the maximum age of patients who were diagnosed with angiodema and were admitted in the emergency care. | 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 MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.diagnosis = "ANGIOEDEMA" | [
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,
4800,
4,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
9,
26,
5451,
834,
6137,
3274,
96,
427,
13098,
18464,
17063,
121,
3430,
14798,
5,
25930,
4844,
159,
3274,
96,
19775,
7550,
2326,
20211,
... |
What's the 1861 had 1991 in 1881 and a year of year? | CREATE TABLE table_name_82 (
Id VARCHAR
) | SELECT 1861 FROM table_name_82 WHERE "year" = "year" AND 1881 = "1991" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
27,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
507,
4241,
141,
9957,
16,
507,
4959,
11,
3,
9,
215,
13,
215,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
507,
4241,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
96,
1201,
121,
3274,
96,
1201,
121,
3430,
507,
4959,
3274,
96,
2294,
4729,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the church name located in H yanger? | CREATE TABLE table_1774 (
"Parish (Prestegjeld)" text,
"Sub-Parish (Sogn)" text,
"Church Name" text,
"Year Built" real,
"Location of the Church" text
) | SELECT "Church Name" FROM table_1774 WHERE "Location of the Church" = 'Høyanger' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
4581,
41,
96,
13212,
1273,
41,
10572,
849,
122,
354,
8804,
61,
121,
1499,
6,
96,
25252,
18,
13212,
1273,
41,
5231,
122,
29,
61,
121,
1499,
6,
96,
3541,
450,
524,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3541,
450,
524,
5570,
121,
21680,
953,
834,
2517,
4581,
549,
17444,
427,
96,
434,
32,
75,
257,
13,
8,
2345,
121,
3274,
3,
31,
566,
2,
63,
9,
9369,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the first day cover cancellation for the Karen Smith Design stamp? | CREATE TABLE table_name_31 (
first_day_cover_cancellation VARCHAR,
design VARCHAR
) | SELECT first_day_cover_cancellation FROM table_name_31 WHERE design = "karen smith design" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
166,
834,
1135,
834,
9817,
834,
1608,
8725,
257,
584,
4280,
28027,
6,
408,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
166,
239... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
166,
834,
1135,
834,
9817,
834,
1608,
8725,
257,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
408,
3274,
96,
4031,
35,
3,
16331,
408,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What name has pembroke as the built by hm dockyard, and may 1825 as the laid down? | CREATE TABLE table_name_79 (
name VARCHAR,
built_by_hm_dockyard VARCHAR,
laid_down VARCHAR
) | SELECT name FROM table_name_79 WHERE built_by_hm_dockyard = "pembroke" AND laid_down = "may 1825" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
564,
584,
4280,
28027,
6,
1192,
834,
969,
834,
107,
51,
834,
26,
3961,
6636,
584,
4280,
28027,
6,
7245,
834,
3035,
584,
4280,
28027,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
1192,
834,
969,
834,
107,
51,
834,
26,
3961,
6636,
3274,
96,
855,
12634,
1825,
15,
121,
3430,
7245,
834,
3035,
3274,
96,
13726,
507,
1828,
121,
1,
-100,
-100,
... |
What was the surface during wimbledon in 1974? | CREATE TABLE table_23258574_2 (
surface VARCHAR,
championship VARCHAR,
year VARCHAR
) | SELECT surface FROM table_23258574_2 WHERE championship = "Wimbledon" AND year = 1974 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
1828,
4433,
4581,
834,
357,
41,
1774,
584,
4280,
28027,
6,
10183,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1774,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1774,
21680,
953,
834,
2773,
1828,
4433,
4581,
834,
357,
549,
17444,
427,
10183,
3274,
96,
518,
603,
2296,
2029,
121,
3430,
215,
3274,
17184,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the player in round 1? | CREATE TABLE table_name_55 (
player VARCHAR,
round VARCHAR
) | SELECT player FROM table_name_55 WHERE round = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
1959,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
1959,
16,
1751,
209,
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,
1959,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
1751,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was Jimmy Jones' rank when the matches were smaller than 285? | CREATE TABLE table_name_4 (
rank INTEGER,
name VARCHAR,
matches VARCHAR
) | SELECT MAX(rank) FROM table_name_4 WHERE name = "jimmy jones" AND matches < 285 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
11003,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
6,
6407,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
16754,
6193,
31,
11003,
116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
564,
3274,
96,
354,
603,
2258,
3,
1927,
1496,
121,
3430,
6407,
3,
2,
204,
4433,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Tell me the time for buffalo bills | CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_9 WHERE opponent = "buffalo bills" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
715,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
97,
21,
30964,
7200,
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,
97,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
15264,
3274,
96,
115,
2999,
138,
32,
7200,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the total number of captains with different classes?, show by the Class in ascending. | CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
) | SELECT Class, COUNT(Class) FROM captain GROUP BY Class ORDER BY Class | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14268,
41,
12202,
834,
4309,
16,
17,
6,
5570,
1499,
6,
15508,
834,
4309,
16,
17,
6,
1246,
1499,
6,
4501,
1499,
6,
3,
22557,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4501,
6,
2847,
17161,
599,
21486,
61,
21680,
14268,
350,
4630,
6880,
272,
476,
4501,
4674,
11300,
272,
476,
4501,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what year had a dnq of 11 | CREATE TABLE table_39130 (
"2004/ 05" text,
"2005/ 06" text,
"2007/ 08" text,
"2008/ 09" text,
"2009/ 10" text,
"2010/ 11" text,
"2011/ 12" text
) | SELECT "2005/ 06" FROM table_39130 WHERE "2010/ 11" = 'dnq' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3288,
21448,
41,
96,
21653,
87,
3,
3076,
121,
1499,
6,
96,
22594,
87,
13574,
121,
1499,
6,
96,
20615,
87,
12046,
121,
1499,
6,
96,
16128,
87,
14146,
121,
1499,
6,
96,
166... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22594,
87,
13574,
121,
21680,
953,
834,
3288,
21448,
549,
17444,
427,
96,
14926,
87,
850,
121,
3274,
3,
31,
26,
29,
1824,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Authority has a decile greater than 5, with a roll of 170? | CREATE TABLE table_name_62 (authority VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_62 WHERE decile > 5 AND roll = 170 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
17415,
485,
584,
4280,
28027,
6,
7908,
109,
584,
4280,
28027,
6,
3812,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
9293,
65,
3,
9,
7908,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5015,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
7908,
109,
2490,
305,
3430,
3812,
3274,
209,
2518,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many players are from cork ? | CREATE TABLE table_204_525 (
id number,
"rank" number,
"player" text,
"county" text,
"tally" text,
"total" number,
"opposition" text
) | SELECT COUNT("player") FROM table_204_525 WHERE "county" = 'cork' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
755,
1828,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
20846,
121,
1499,
6,
96,
13362,
63,
121,
1499,
6,
96,
17,
1427,
121,
1499,
6,
96,
235,
1947,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20846,
8512,
21680,
953,
834,
26363,
834,
755,
1828,
549,
17444,
427,
96,
13362,
63,
121,
3274,
3,
31,
5715,
157,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the location and population of the institution called Bluefield College? | CREATE TABLE table_262534_2 (location__population_ VARCHAR, institution VARCHAR) | SELECT location__population_ FROM table_262534_2 WHERE institution = "Bluefield College" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
1828,
3710,
834,
357,
41,
14836,
834,
834,
9791,
7830,
834,
584,
4280,
28027,
6,
6568,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1128,
11,
2074,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
834,
834,
9791,
7830,
834,
21680,
953,
834,
2688,
1828,
3710,
834,
357,
549,
17444,
427,
6568,
3274,
96,
22530,
1846,
1888,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the visiting team of Melbourne's score? | CREATE TABLE table_name_39 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_39 WHERE away_team = "melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
8006,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3644,
372,
13,
9396,
31,
7,
2604,
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,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
3288,
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,
... |
Which date has serial of 11c? | CREATE TABLE table_name_28 (
date VARCHAR,
serial VARCHAR
) | SELECT date FROM table_name_28 WHERE serial = "11c" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
833,
584,
4280,
28027,
6,
10501,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
65,
10501,
13,
850,
75,
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,
833,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
10501,
3274,
96,
2596,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On 10/20/1979*, who was the Opponent? | CREATE TABLE table_name_59 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_59 WHERE date = "10/20/1979*" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
32,
102,
9977,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
335,
20173,
13523,
4440,
1935,
6,
113,
47,
8,
4495,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15264,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
833,
3274,
96,
1714,
20173,
13523,
4440,
1935,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the swimsuit scores of participants with score 9.366 in interview | CREATE TABLE table_21276 (
"Country" text,
"Preliminary" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Average" text
) | SELECT "Swimsuit" FROM table_21276 WHERE "Interview" = '9.366' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24837,
3959,
41,
96,
10628,
651,
121,
1499,
6,
96,
10572,
4941,
77,
1208,
121,
1499,
6,
96,
17555,
4576,
121,
1499,
6,
96,
134,
210,
603,
7628,
121,
1499,
6,
96,
427,
192... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
210,
603,
7628,
121,
21680,
953,
834,
24837,
3959,
549,
17444,
427,
96,
17555,
4576,
121,
3274,
3,
31,
8797,
519,
3539,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460? | CREATE TABLE table_13260 (
"Township" text,
"County" text,
"Pop. (2010)" real,
"Land ( sqmi )" real,
"Water (sqmi)" real,
"Latitude" real,
"Longitude" real,
"GEO ID" real,
"ANSI code" real
) | SELECT MIN("Water (sqmi)") FROM table_13260 WHERE "Land ( sqmi )" > '34.864' AND "Township" = 'pierce' AND "GEO ID" > '3800362460' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
18365,
41,
96,
382,
9197,
2009,
121,
1499,
6,
96,
10628,
63,
121,
1499,
6,
96,
27773,
5,
26118,
121,
490,
6,
96,
434,
232,
41,
11820,
51,
23,
3,
61,
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,
28632,
41,
7,
1824,
51,
23,
61,
8512,
21680,
953,
834,
2368,
18365,
549,
17444,
427,
96,
434,
232,
41,
11820,
51,
23,
3,
61,
121,
2490,
3,
31,
519,
27441,
4389,
31,
3430,
96,
382,
9197,
2009,... |
What rank is Takat riki? | CREATE TABLE table_name_53 (
highest_rank VARCHAR,
name VARCHAR
) | SELECT highest_rank FROM table_name_53 WHERE name = "takatōriki" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
2030,
834,
6254,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
11003,
19,
18973,
144,
3,
9629,
23,
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,
2030,
834,
6254,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
564,
3274,
96,
17,
9,
8682,
2,
9629,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What's the Proto-Germanic when the Old English is /d/? | CREATE TABLE table_name_3 (
proto_germanic VARCHAR,
old_english VARCHAR
) | SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
23844,
834,
1304,
348,
447,
584,
4280,
28027,
6,
625,
834,
4606,
40,
1273,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
749,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
23844,
834,
1304,
348,
447,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
625,
834,
4606,
40,
1273,
3274,
96,
87,
26,
87,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
In which year was the Pick #46? | CREATE TABLE table_name_9 (
draft VARCHAR,
pick VARCHAR
) | SELECT draft FROM table_name_9 WHERE pick = "46" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
6488,
584,
4280,
28027,
6,
1432,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
84,
215,
47,
8,
8356,
1713,
4448,
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,
6488,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
1432,
3274,
96,
4448,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February? | CREATE TABLE table_41570 (
"Year" real,
"January" real,
"February" real,
"March" real,
"April" real,
"June" real,
"July" real,
"August" real,
"September" real,
"October" real,
"November" real,
"December" real,
"Annual Additions(in millions)" real,
"Average Monthly... | SELECT COUNT("October") FROM table_41570 WHERE "September" < '2.48' AND "Year" > '2002' AND "June" > '1.42' AND "February" < '7.44' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4853,
28363,
41,
96,
476,
2741,
121,
490,
6,
96,
30404,
121,
490,
6,
96,
31122,
121,
490,
6,
96,
25019,
121,
490,
6,
96,
23323,
121,
490,
6,
96,
683,
444,
121,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
28680,
8512,
21680,
953,
834,
4853,
28363,
549,
17444,
427,
96,
27652,
121,
3,
2,
3,
31,
4416,
3707,
31,
3430,
96,
476,
2741,
121,
2490,
3,
31,
24898,
31,
3430,
96,
683,
444,
121,
2490,
3,
... |
Name the principal of Northfield Junior-Senior High School. | CREATE TABLE table_1984697_85 (
principal VARCHAR,
school VARCHAR
) | SELECT principal FROM table_1984697_85 WHERE school = "Northfield Junior-Senior High school" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24151,
4448,
4327,
834,
4433,
41,
3218,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
3218,
13,
1117,
1846,
10243,
18,
134,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3218,
21680,
953,
834,
24151,
4448,
4327,
834,
4433,
549,
17444,
427,
496,
3274,
96,
22969,
1846,
10243,
18,
134,
35,
23,
127,
1592,
496,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Venue is listed under the Date of 21st? | CREATE TABLE table_50217 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
) | SELECT "Venue" FROM table_50217 WHERE "Date" = '21st' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
357,
2517,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
188,
17,
324,
26,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
1752,
357,
2517,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2658,
7,
17,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.