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 Mecha of the Japanese voice actor Shingo Kanemoto? | CREATE TABLE table_48539 (
"Gatchaman" text,
"Eagle Riders" text,
"Rank" text,
"Bird Uniform" text,
"Weapon" text,
"Mecha" text,
"Japanese voice actor" text,
"Voice actor (Eagle Riders)" text
) | SELECT "Mecha" FROM table_48539 WHERE "Japanese voice actor" = 'shingo kanemoto' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
4433,
3288,
41,
96,
517,
14547,
9,
348,
121,
1499,
6,
96,
427,
9,
3537,
25218,
7,
121,
1499,
6,
96,
22557,
121,
1499,
6,
96,
279,
23,
52,
26,
5645,
2032,
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,
27501,
9,
121,
21680,
953,
834,
591,
4433,
3288,
549,
17444,
427,
96,
683,
9750,
1496,
15,
2249,
7556,
121,
3274,
3,
31,
9525,
32,
3,
3304,
15,
11188,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which to par has a total less than 296? | CREATE TABLE table_name_5 (to_par VARCHAR, total INTEGER) | SELECT to_par FROM table_name_5 WHERE total < 296 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
755,
41,
235,
834,
1893,
584,
4280,
28027,
6,
792,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
4073,
12,
260,
65,
3,
9,
792,
705,
145,
204,
4314,
58,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12,
834,
1893,
21680,
953,
834,
4350,
834,
755,
549,
17444,
427,
792,
3,
2,
204,
4314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show me acc_percent by all road in a histogram, display by the bar in ascending. | 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_Road, ACC_Percent FROM basketball_match ORDER BY All_Road | [
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,
448,
32,
9,
26,
6,
3,
14775,
834,
12988,
3728,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
432,
834,
448,
32,
9,
26,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What team(s) did they play on april 23? | CREATE TABLE table_17140608_11 (
team VARCHAR,
date VARCHAR
) | SELECT team FROM table_17140608_11 WHERE date = "April 23" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2534,
5176,
4018,
834,
2596,
41,
372,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
599,
7,
61,
410,
79,
577,
30,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
2517,
2534,
5176,
4018,
834,
2596,
549,
17444,
427,
833,
3274,
96,
23323,
1902,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many people voted for others in the county where McCain got 65.5% of the votes? | CREATE TABLE table_20453681_1 (
others VARCHAR,
mccain_percentage VARCHAR
) | SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
2128,
3420,
4959,
834,
536,
41,
717,
584,
4280,
28027,
6,
3,
51,
12464,
77,
834,
883,
3728,
545,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
151... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
21680,
953,
834,
1755,
2128,
3420,
4959,
834,
536,
549,
17444,
427,
3,
51,
12464,
77,
834,
883,
3728,
545,
3274,
96,
4122,
5,
2712,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the score with the opponent being New Zealand Warriors? | CREATE TABLE table_71748 (
"Year" real,
"Opponent" text,
"Competition" text,
"Score" text,
"Venue" text,
"Attendance" text
) | SELECT "Score" FROM table_71748 WHERE "Opponent" = 'new zealand warriors' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2517,
3707,
41,
96,
476,
2741,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
553,
35,
76,
15,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
940,
2517,
3707,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
5534,
3,
776,
138,
232,
20614,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the lead of the nation with Juha Pekaristo as the alternate? | CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR) | SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
109,
9,
26,
584,
4280,
28027,
6,
13902,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
991,
13,
8,
2982,
28,
3736,
1024,
1276,
1258,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
991,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
13902,
3274,
96,
2047,
1024,
158,
1258,
17149,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what was the top city for victims ? | CREATE TABLE table_204_693 (
id number,
"place" text,
"total" number,
"men" number,
"women" number,
"children" number,
"elderly" number,
"serbs" number,
"jews" number,
"romani" number,
"rusyns" number,
"hungarians" number,
"russians" number
) | SELECT "place" FROM table_204_693 ORDER BY "total" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3951,
519,
41,
3,
23,
26,
381,
6,
96,
4687,
121,
1499,
6,
96,
235,
1947,
121,
381,
6,
96,
904,
121,
381,
6,
96,
210,
32,
904,
121,
381,
6,
96,
25782,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4687,
121,
21680,
953,
834,
26363,
834,
3951,
519,
4674,
11300,
272,
476,
96,
235,
1947,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the enrollment for the institution that joined in 1987? | CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR) | SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 1987 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
19337,
2658,
2368,
834,
536,
41,
35,
4046,
297,
3,
21342,
17966,
6,
3311,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17938,
21,
8,
6568,
24,
3311,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
35,
4046,
297,
61,
21680,
953,
834,
19337,
2658,
2368,
834,
536,
549,
17444,
427,
3311,
3274,
12701,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
For all employees who have the letters D or S in their first name, find job_id and the average of salary , and group by attribute job_id, and visualize them by a bar chart, and could you list by the x-axis from low to high please? | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3248,
41,
301,
5618,
8015,
834,
4309,
7908,
1982,
599,
8525,
632,
201,
3,
13733,
26418,
834,
24604,
12200,
134,
3,
4331,
4059,
599,
2445,
201,
3,
16034,
16359,
834,
5911,
5596,
3,
4331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
446,
10539,
834,
4309,
6,
71,
17217,
599,
134,
4090,
24721,
61,
21680,
1652,
549,
17444,
427,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
308,
1454,
31,
4674,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
13... |
At what position is the association with 279 points? | CREATE TABLE table_19412902_2 (
pos INTEGER,
points__total_500_ VARCHAR
) | SELECT MIN(pos) FROM table_19412902_2 WHERE points__total_500_ = 279 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
4853,
23838,
357,
834,
357,
41,
3,
2748,
3,
21342,
17966,
6,
979,
834,
834,
235,
1947,
834,
2560,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
486,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
2748,
61,
21680,
953,
834,
2294,
4853,
23838,
357,
834,
357,
549,
17444,
427,
979,
834,
834,
235,
1947,
834,
2560,
834,
3274,
204,
4440,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what other movies was aggarwal in the same year as her role in veera ? | CREATE TABLE table_203_451 (
id number,
"year" number,
"film" text,
"role" text,
"language" text,
"notes" text
) | SELECT "film" FROM table_203_451 WHERE "film" <> 'veera' AND "year" = (SELECT "year" FROM table_203_451 WHERE "film" = 'veera') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2128,
536,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
9988,
121,
1499,
6,
96,
3491,
15,
121,
1499,
6,
96,
24925,
121,
1499,
6,
96,
7977,
7,
121,
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,
96,
9988,
121,
21680,
953,
834,
23330,
834,
2128,
536,
549,
17444,
427,
96,
9988,
121,
3,
2,
3155,
3,
31,
162,
1498,
31,
3430,
96,
1201,
121,
3274,
41,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
23330,
834,
212... |
What is Venue, when Opposing Teams is 'South Africa', and when Date is '17/06/2000'? | CREATE TABLE table_59222 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) | SELECT "Venue" FROM table_59222 WHERE "Opposing Teams" = 'south africa' AND "Date" = '17/06/2000' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
26144,
41,
96,
667,
102,
2748,
53,
16651,
121,
1499,
6,
96,
20749,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
17,
144,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3390,
26144,
549,
17444,
427,
96,
667,
102,
2748,
53,
16651,
121,
3274,
3,
31,
7,
670,
107,
24040,
31,
3430,
96,
308,
342,
121,
3274,
3,
31,
2517,
87,
5176,
87,
13527,
... |
What is the game associated with a score of 4 - 2, and a record of 25-39-9? | CREATE TABLE table_name_81 (game INTEGER, score VARCHAR, record VARCHAR) | SELECT MAX(game) FROM table_name_81 WHERE score = "4 - 2" AND record = "25-39-9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
7261,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
467,
1968,
28,
3,
9,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
7261,
61,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
2604,
3274,
96,
591,
3,
18,
204,
121,
3430,
1368,
3274,
96,
1828,
18,
3288,
7141,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the music for the modern dance? | CREATE TABLE table_name_64 (music VARCHAR, dance VARCHAR) | SELECT music FROM table_name_64 WHERE dance = "modern" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
22170,
584,
4280,
28027,
6,
2595,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
723,
21,
8,
941,
2595,
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,
723,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
2595,
3274,
96,
18306,
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 # of candidates of liberal majority with 51 wins and larger number of 2008 in general elections? | CREATE TABLE table_name_81 (_number_of_candidates INTEGER, general_election VARCHAR, result VARCHAR, _number_of_seats_won VARCHAR) | SELECT AVG(_number_of_candidates) FROM table_name_81 WHERE result = "liberal majority" AND _number_of_seats_won = 51 AND general_election > 2008 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
834,
5525,
1152,
834,
858,
834,
1608,
12416,
6203,
3,
21342,
17966,
6,
879,
834,
15,
12252,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
3,
834,
5525... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
834,
5525,
1152,
834,
858,
834,
1608,
12416,
6203,
61,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
741,
3274,
96,
10661,
138,
2942,
121,
3430,
3,
834,
5525,
1152,
834,
858,
834,
7,
1544,
7,
... |
The Eyserweg race was which race #? | CREATE TABLE table_1749567_2 (
number INTEGER,
name VARCHAR
) | SELECT MAX(number) FROM table_1749567_2 WHERE name = "Eyserweg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27693,
3301,
3708,
834,
357,
41,
381,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
37,
262,
63,
7,
49,
4189,
1964,
47,
84,
1964,
1713,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
5525,
1152,
61,
21680,
953,
834,
27693,
3301,
3708,
834,
357,
549,
17444,
427,
564,
3274,
96,
427,
63,
7,
49,
4189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What were the results against the game against Egypt? | CREATE TABLE table_name_84 (
results¹ VARCHAR,
opponent VARCHAR
) | SELECT results¹ FROM table_name_84 WHERE opponent = "egypt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
772,
536,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
130,
8,
772,
581,
8,
467,
581,
10438,
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,
772,
536,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
15264,
3274,
96,
15,
122,
63,
102,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the event with pursuit of 18th and sprint of 20th | CREATE TABLE table_name_25 (event VARCHAR, pursuit VARCHAR, sprint VARCHAR) | SELECT event FROM table_name_25 WHERE pursuit = "18th" AND sprint = "20th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
15,
2169,
584,
4280,
28027,
6,
13709,
584,
4280,
28027,
6,
21710,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
605,
28,
13709,
13,
507,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
605,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
13709,
3274,
96,
2606,
189,
121,
3430,
21710,
3274,
96,
1755,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the FY2008 $mil value associated with a FY2007 $mil value of exactly $120? | CREATE TABLE table_25438110_5 (
fy08_$millions VARCHAR,
fy07_$millions VARCHAR
) | SELECT fy08_$millions FROM table_25438110_5 WHERE fy07_$millions = "$120" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4906,
4959,
1714,
834,
755,
41,
3,
89,
63,
4018,
834,
3229,
17030,
7,
584,
4280,
28027,
6,
3,
89,
63,
4560,
834,
3229,
17030,
7,
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,
3,
89,
63,
4018,
834,
3229,
17030,
7,
21680,
953,
834,
1828,
4906,
4959,
1714,
834,
755,
549,
17444,
427,
3,
89,
63,
4560,
834,
3229,
17030,
7,
3274,
96,
3229,
15518,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What class is ERP W of 800? | CREATE TABLE table_72002 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) | SELECT "Class" FROM table_72002 WHERE "ERP W" = '800' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
24898,
41,
96,
254,
1748,
1320,
121,
1499,
6,
96,
371,
60,
835,
11298,
3,
20210,
121,
490,
6,
96,
254,
485,
13,
3344,
121,
1499,
6,
96,
3316,
345,
549,
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,
96,
21486,
121,
21680,
953,
834,
940,
24898,
549,
17444,
427,
96,
3316,
345,
549,
121,
3274,
3,
31,
6192,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which year had the most NIPS papers ? | CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE field (
fieldid int
)
CREATE TA... | SELECT DISTINCT COUNT(paper.paperid), paper.year FROM paper, venue WHERE venue.venueid = paper.venueid AND venue.venuename = 'NIPS' GROUP BY paper.year ORDER BY COUNT(paper.paperid) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6378,
41,
6378,
23,
26,
16,
17,
6,
6378,
4350,
3,
4331,
4059,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2291,
41,
2291,
23,
26,
16,
17,
6,
2291,
4350,
3,
4331,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15438,
25424,
6227,
2847,
17161,
599,
19587,
5,
19587,
23,
26,
201,
1040,
5,
1201,
21680,
1040,
6,
5669,
549,
17444,
427,
5669,
5,
15098,
23,
26,
3274,
1040,
5,
15098,
23,
26,
3430,
5669,
5,
15098,
4350,
3274,
... |
Who was played against with a result of 3 6, 2 6? | CREATE TABLE table_name_99 (
against VARCHAR,
result VARCHAR
) | SELECT against FROM table_name_99 WHERE result = "3–6, 2–6" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
581,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
1944,
581,
28,
3,
9,
741,
13,
220,
8580,
204,
431,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
581,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
741,
3274,
96,
519,
104,
11071,
204,
104,
948,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which deputy prime minister left office in 1981? | CREATE TABLE table_name_87 (deputy_prime_minister VARCHAR, left_office VARCHAR) | SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "1981" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
221,
2562,
63,
834,
8234,
15,
834,
17791,
584,
4280,
28027,
6,
646,
834,
19632,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
21108,
3427,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
21108,
834,
8234,
15,
834,
17791,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
646,
834,
19632,
3274,
96,
2294,
4959,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the proto oceanic for *fafine | CREATE TABLE table_15568886_14 (proto_oceanic VARCHAR, proto_polynesian VARCHAR) | SELECT proto_oceanic FROM table_15568886_14 WHERE proto_polynesian = "*fafine" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
4834,
10927,
948,
834,
2534,
41,
1409,
235,
834,
32,
8433,
2532,
584,
4280,
28027,
6,
23844,
834,
3233,
63,
29,
15,
10488,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
23844,
834,
32,
8433,
2532,
21680,
953,
834,
1808,
4834,
10927,
948,
834,
2534,
549,
17444,
427,
23844,
834,
3233,
63,
29,
15,
10488,
3274,
96,
1935,
89,
9,
13536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin | CREATE TABLE table_67428 (
"Representative" text,
"Title" text,
"Presentation of Credentials" text,
"Termination of Mission" text,
"Appointed by" text
) | SELECT "Termination of Mission" FROM table_67428 WHERE "Appointed by" = 'woodrow wilson' AND "Representative" = 'benton mcmillin' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
591,
2577,
41,
96,
1649,
12640,
1528,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
10572,
5277,
257,
13,
14301,
7220,
7,
121,
1499,
6,
96,
11679,
77,
257,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
11679,
77,
257,
13,
8960,
121,
21680,
953,
834,
3708,
591,
2577,
549,
17444,
427,
96,
9648,
32,
2429,
26,
57,
121,
3274,
3,
31,
2037,
3623,
3,
210,
173,
739,
31,
3430,
96,
1649,
12640,
1528,
121,
3274,
3,
31... |
When Essendon played away; where did they play? | CREATE TABLE table_name_50 (
venue VARCHAR,
away_team VARCHAR
) | SELECT venue FROM table_name_50 WHERE away_team = "essendon" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
5669,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
11722,
2029,
1944,
550,
117,
213,
410,
79,
577,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
550,
834,
11650,
3274,
96,
8185,
2029,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the number of bush % for elko | CREATE TABLE table_23014476_1 (bush__percentage VARCHAR, county VARCHAR) | SELECT COUNT(bush__percentage) FROM table_23014476_1 WHERE county = "Elko" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
13427,
20885,
3959,
834,
536,
41,
3465,
107,
834,
834,
883,
3728,
545,
584,
4280,
28027,
6,
5435,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
17907... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
3465,
107,
834,
834,
883,
3728,
545,
61,
21680,
953,
834,
13427,
20885,
3959,
834,
536,
549,
17444,
427,
5435,
3274,
96,
10991,
157,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was eliminated on Banana Night? | CREATE TABLE table_name_33 (name VARCHAR, eliminated VARCHAR) | SELECT name FROM table_name_33 WHERE eliminated = "banana night" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
4350,
584,
4280,
28027,
6,
17809,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
17809,
30,
5185,
152,
9,
5190,
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,
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,
564,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
17809,
3274,
96,
3478,
152,
9,
706,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many races is different distances does Rosehill Guineas compete in? | CREATE TABLE table_17843 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" text,
"Jockey" text,
"Winner/2nd" text
) | SELECT COUNT("Distance") FROM table_17843 WHERE "Race" = 'Rosehill Guineas' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27640,
4906,
41,
96,
20119,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
448,
3302,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
27247,
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,
308,
23,
8389,
8512,
21680,
953,
834,
27640,
4906,
549,
17444,
427,
96,
448,
3302,
121,
3274,
3,
31,
448,
32,
7,
15,
6321,
26252,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many coins by Suzanne Duranceau were minted? | CREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR) | SELECT mintage FROM table_name_93 WHERE artist = "suzanne duranceau" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
1109,
6505,
584,
4280,
28027,
6,
2377,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
10579,
57,
31054,
970,
5219,
402,
130,
3,
8215,
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,
13983,
545,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
2377,
3274,
96,
7,
76,
172,
4515,
146,
5219,
402,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what was the first time patient 013-27480 had been tested for lab tests in 05/2105? | CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid num... | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-27480')) AND STRFTIME('%y-%m', lab.labresulttime) = '2105-05' ORDER BY lab.labr... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
23886,
41,
23886,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
23886,
4350,
1499,
6,
23886,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7690,
5,
9339,
60,
7,
83,
17,
715,
21680,
7690,
549,
17444,
427,
7690,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
1587... |
A bar chart shows the distribution of All_Home and the average of School_ID , and group by attribute All_Home, and list in descending by the bars. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
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,
432,
834,
19040,
6,
71,
17217,
599,
29364,
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 is the number for combaya municipality when quiabaya municipality is 33? | CREATE TABLE table_2509202_2 (
combaya_municipality VARCHAR,
quiabaya_municipality VARCHAR
) | SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
4198,
19818,
834,
357,
41,
3,
287,
11119,
9,
834,
11760,
3389,
10355,
584,
4280,
28027,
6,
285,
9,
11119,
9,
834,
11760,
3389,
10355,
584,
4280,
28027,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
287,
11119,
9,
834,
11760,
3389,
10355,
21680,
953,
834,
1828,
4198,
19818,
834,
357,
549,
17444,
427,
285,
9,
11119,
9,
834,
11760,
3389,
10355,
3274,
96,
4201,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the language that was used most often in songs with resolution above 500? | CREATE TABLE song (
artist_name VARCHAR,
languages VARCHAR,
resolution INTEGER
) | SELECT artist_name FROM song WHERE resolution > 500 GROUP BY languages ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2324,
41,
2377,
834,
4350,
584,
4280,
28027,
6,
8024,
584,
4280,
28027,
6,
3161,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1612,
24,
47,
261,
167,
557,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2377,
834,
4350,
21680,
2324,
549,
17444,
427,
3161,
2490,
2899,
350,
4630,
6880,
272,
476,
8024,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many countries started airing the series in september of 2011 ? | CREATE TABLE table_204_446 (
id number,
"country" text,
"alternante title" text,
"tv network(s)" text,
"series premiere" text,
"series finale" text
) | SELECT COUNT("country") FROM table_204_446 WHERE "series premiere" = 9 AND "series premiere" = 2011 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
591,
4448,
41,
3,
23,
26,
381,
6,
96,
17529,
121,
1499,
6,
96,
8818,
29,
1841,
2233,
121,
1499,
6,
96,
17,
208,
1229,
599,
7,
61,
121,
1499,
6,
96,
10833,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17529,
8512,
21680,
953,
834,
26363,
834,
591,
4448,
549,
17444,
427,
96,
10833,
7,
13539,
121,
3274,
668,
3430,
96,
10833,
7,
13539,
121,
3274,
2722,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
did patient 022-67644 underwent any procedure since 3 years ago? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime t... | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-67644')) AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7757,
41,
7757,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
17166,
1499,
6,
2981,
20466,
29,
1499,
6,
2672,
10208,
715,
97,
6,
4845,
2916,
715,
97,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
1058,
549,
17444,
427,
1058,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,... |
Which rank is the lowest with 37 games and more than 613 points? | CREATE TABLE table_name_44 (
rank INTEGER,
games VARCHAR,
points VARCHAR
) | SELECT MIN(rank) FROM table_name_44 WHERE games = 37 AND points > 613 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
11003,
3,
21342,
17966,
6,
1031,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
11003,
19,
8,
7402,
28,
6862,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
1031,
3274,
6862,
3430,
979,
2490,
431,
2368,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the songs in album 'A Kiss Before You Go: Live in Hamburg'? | CREATE TABLE instruments (
songid number,
bandmateid number,
instrument text
)
CREATE TABLE tracklists (
albumid number,
position number,
songid number
)
CREATE TABLE vocals (
songid number,
bandmate number,
type text
)
CREATE TABLE albums (
aid number,
title text,
yea... | SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = "A Kiss Before You Go: Live in Hamburg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7778,
41,
2324,
23,
26,
381,
6,
1928,
5058,
23,
26,
381,
6,
5009,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1463,
3350,
7,
41,
2306,
23,
26,
381,
6,
1102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5787,
21869,
21680,
14234,
6157,
332,
536,
3,
15355,
3162,
1463,
3350,
7,
6157,
332,
357,
9191,
332,
5411,
6146,
3274,
332,
4416,
23703,
23,
26,
3,
15355,
3162,
3605,
6157,
332,
519,
9191,
332,
4416,
7,
2444,
2... |
What is the association agreement for bosnia and herzegovina? | CREATE TABLE table_name_69 (association_agreement VARCHAR, state VARCHAR) | SELECT association_agreement FROM table_name_69 WHERE state = "bosnia and herzegovina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
13443,
834,
9,
3584,
1194,
584,
4280,
28027,
6,
538,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
6028,
2791,
21,
3005,
7,
29,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6028,
834,
9,
3584,
1194,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
538,
3274,
96,
115,
32,
7,
29,
23,
9,
11,
160,
776,
9527,
77,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was Bryan Clay's react time? | CREATE TABLE table_name_94 (react INTEGER, name VARCHAR) | SELECT MIN(react) FROM table_name_94 WHERE name = "bryan clay" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
60,
2708,
3,
21342,
17966,
6,
564,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
15961,
20988,
31,
7,
8922,
97,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
60,
2708,
61,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
564,
3274,
96,
115,
651,
152,
14364,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What amount of earnings corresponds with a Top 10s rank of 23? | CREATE TABLE table_67786 (
"Year" text,
"Tournaments played" real,
"Cuts made" real,
"Wins" real,
"Top 10s" real,
"Best finish" text,
"Earnings ( $ )" text,
"Money list rank" text
) | SELECT "Earnings ( $ )" FROM table_67786 WHERE "Top 10s" = '23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
940,
3840,
41,
96,
476,
2741,
121,
1499,
6,
96,
382,
1211,
29,
9,
4128,
1944,
121,
490,
6,
96,
15784,
17,
7,
263,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
427,
291,
29,
53,
7,
41,
1514,
3,
61,
121,
21680,
953,
834,
3708,
940,
3840,
549,
17444,
427,
96,
22481,
335,
7,
121,
3274,
3,
31,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many kinds of roles are there for the staff? | CREATE TABLE Project_Staff (role_code VARCHAR) | SELECT COUNT(DISTINCT role_code) FROM Project_Staff | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2786,
834,
134,
17,
4127,
41,
3491,
15,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
4217,
13,
6270,
33,
132,
21,
8,
871,
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,
2847,
17161,
599,
15438,
25424,
6227,
1075,
834,
4978,
61,
21680,
2786,
834,
134,
17,
4127,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the date for week more than 1 and game site of bye | CREATE TABLE table_6107 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
) | SELECT "Date" FROM table_6107 WHERE "Game site" = 'bye' AND "Week" > '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4241,
4560,
41,
96,
518,
10266,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
23055,
353,
121,
1499,
6,
96,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
4241,
4560,
549,
17444,
427,
96,
23055,
353,
121,
3274,
3,
31,
969,
15,
31,
3430,
96,
518,
10266,
121,
2490,
3,
31,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was her final score on the ribbon apparatus? | CREATE TABLE table_79565 (
"Year" real,
"Competition Description" text,
"Location" text,
"Apparatus" text,
"Rank-Final" text,
"Score-Final" real,
"Rank-Qualifying" text,
"Score-Qualifying" real
) | SELECT "Score-Final" FROM table_79565 WHERE "Apparatus" = 'ribbon' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3301,
4122,
41,
96,
476,
2741,
121,
490,
6,
96,
5890,
4995,
4749,
7726,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
9648,
9,
1795,
302,
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,
9022,
18,
371,
10270,
121,
21680,
953,
834,
940,
3301,
4122,
549,
17444,
427,
96,
9648,
9,
1795,
302,
121,
3274,
3,
31,
6520,
5407,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many extra points did Paul Dickey received | CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR) | SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
3710,
2773,
3708,
834,
1808,
41,
25666,
834,
2700,
7,
834,
536,
834,
2700,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
996,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
25666,
834,
2700,
7,
834,
536,
834,
2700,
61,
21680,
953,
834,
2534,
3710,
2773,
3708,
834,
1808,
549,
17444,
427,
1959,
3274,
96,
23183,
21269,
15,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Show all book categories and the number of books in each category. | CREATE TABLE book_club (
book_club_id number,
year number,
author_or_editor text,
book_title text,
publisher text,
category text,
result text
)
CREATE TABLE culture_company (
company_name text,
type text,
incorporated_in text,
group_equity_shareholding number,
book_club_... | SELECT category, COUNT(*) FROM book_club GROUP BY category | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
484,
834,
13442,
41,
484,
834,
13442,
834,
23,
26,
381,
6,
215,
381,
6,
2291,
834,
127,
834,
11272,
127,
1499,
6,
484,
834,
21869,
1499,
6,
14859,
1499,
6,
3295,
1499,
6,
741,
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,
3295,
6,
2847,
17161,
599,
1935,
61,
21680,
484,
834,
13442,
350,
4630,
6880,
272,
476,
3295,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Margin of victory on oct 5, 1997? | CREATE TABLE table_70853 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) | SELECT "Margin of victory" FROM table_70853 WHERE "Date" = 'oct 5, 1997' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
4433,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
518,
10503,
2604,
121,
1499,
6,
96,
7286,
122,
77,
13,
6224,
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,
7286,
122,
77,
13,
6224,
121,
21680,
953,
834,
2518,
4433,
519,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
32,
75,
17,
7836,
6622,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who constructed the car that has a Time/Retired of +2:06.0? | CREATE TABLE table_name_67 (
constructor VARCHAR,
time_retired VARCHAR
) | SELECT constructor FROM table_name_67 WHERE time_retired = "+2:06.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
6774,
127,
584,
4280,
28027,
6,
97,
834,
10682,
1271,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
8520,
8,
443,
24,
65,
3,
9,
2900,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6774,
127,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
97,
834,
10682,
1271,
3274,
96,
1220,
357,
10,
13821,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the average start with wins larger than 0 and 32nd position? | CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR) | SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
10208,
7,
3,
21342,
17966,
6,
9204,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
456,
28,
9204,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
10208,
7,
61,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
9204,
2490,
3,
632,
3430,
1102,
3274,
96,
2668,
727,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
return me the number of authors who have papers in PVLDB . | CREATE TABLE domain_publication (
did int,
pid int
)
CREATE TABLE conference (
cid int,
homepage varchar,
name varchar
)
CREATE TABLE domain_journal (
did int,
jid int
)
CREATE TABLE domain (
did int,
name varchar
)
CREATE TABLE keyword (
keyword varchar,
kid int
)
CREAT... | SELECT COUNT(DISTINCT (author.name)) FROM author, journal, publication, writes WHERE journal.name = 'PVLDB' AND publication.jid = journal.jid AND writes.aid = author.aid AND writes.pid = publication.pid | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3303,
834,
15727,
257,
41,
410,
16,
17,
6,
3,
12417,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2542,
41,
3,
10812,
16,
17,
6,
22844,
3,
4331,
4059,
6,
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,
2847,
17161,
599,
15438,
25424,
6227,
41,
17415,
5,
4350,
61,
61,
21680,
2291,
6,
6378,
6,
5707,
6,
11858,
549,
17444,
427,
6378,
5,
4350,
3274,
3,
31,
345,
553,
9815,
279,
31,
3430,
5707,
5,
354,
23,
26,
3274,
... |
What is the NCBI Accession Number of the Homo Sapiens species? | CREATE TABLE table_21134 (
"Species" text,
"Species common name" text,
"NCBI Accession Number (mRNA/Protein)" text,
"Length (bp/aa)" text,
"Protein Identity" text
) | SELECT "NCBI Accession Number (mRNA/Protein)" FROM table_21134 WHERE "Species" = 'Homo sapiens' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
23747,
41,
96,
7727,
725,
121,
1499,
6,
96,
7727,
725,
1017,
564,
121,
1499,
6,
96,
8137,
5972,
25679,
1938,
7720,
41,
51,
11840,
87,
3174,
17,
2455,
61,
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,
8137,
5972,
25679,
1938,
7720,
41,
51,
11840,
87,
3174,
17,
2455,
61,
121,
21680,
953,
834,
2658,
23747,
549,
17444,
427,
96,
7727,
725,
121,
3274,
3,
31,
4489,
51,
32,
16333,
8065,
31,
1,
-100,
-100,
-100,
-1... |
What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)? | CREATE TABLE table_55064 (
"Block A" text,
"Ryuji Hijikata" text,
"Shuji Kondo" text,
"El NOSAWA Mendoza" text,
"PEPE Michinoku" text,
"Katsuhiko Nakajima" text
) | SELECT "Shuji Kondo" FROM table_55064 WHERE "PEPE Michinoku" = 'sabin (14:43)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17147,
4389,
41,
96,
279,
4029,
71,
121,
1499,
6,
96,
448,
63,
76,
354,
23,
454,
17279,
8682,
9,
121,
1499,
6,
96,
10499,
76,
354,
23,
480,
17381,
121,
1499,
6,
96,
109... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10499,
76,
354,
23,
480,
17381,
121,
21680,
953,
834,
17147,
4389,
549,
17444,
427,
96,
5668,
5668,
18463,
77,
18512,
121,
3274,
3,
31,
7,
9,
4517,
41,
2534,
10,
4906,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
When tennis has less than 2 bronze, what is the total number of Gold? | CREATE TABLE table_name_53 (
gold VARCHAR,
sport VARCHAR,
bronze VARCHAR
) | SELECT COUNT(gold) FROM table_name_53 WHERE sport = "tennis" AND bronze < 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
2045,
584,
4280,
28027,
6,
2600,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
366,
9999,
65,
705,
145,
204,
13467,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
14910,
61,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
2600,
3274,
96,
324,
29,
159,
121,
3430,
13467,
3,
2,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who were the comedians during the episode located in Birmingham Hippodrome? | CREATE TABLE table_2774 (
"Episode" text,
"Location" text,
"Headliner" text,
"Comedians" text,
"Airdate" text
) | SELECT "Comedians" FROM table_2774 WHERE "Location" = 'Birmingham Hippodrome' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4581,
41,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
3845,
9,
26,
747,
52,
121,
1499,
6,
96,
5890,
15,
8603,
7,
121,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5890,
15,
8603,
7,
121,
21680,
953,
834,
2555,
4581,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
279,
23,
52,
51,
14799,
16337,
11410,
11956,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985? | CREATE TABLE table_34836 (
"Locomotive" text,
"Pre-conversion" text,
"Entered service (T)" text,
"Re-entered service (P)" text,
"Owner" text
) | SELECT "Owner" FROM table_34836 WHERE "Re-entered service (P)" = '11 september 1985' AND "Pre-conversion" = 't326' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3707,
3420,
41,
96,
434,
32,
287,
32,
3268,
121,
1499,
6,
96,
10572,
18,
1018,
8674,
121,
1499,
6,
96,
16924,
3737,
313,
41,
382,
61,
121,
1499,
6,
96,
1649,
18,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
210,
687,
121,
21680,
953,
834,
519,
3707,
3420,
549,
17444,
427,
96,
1649,
18,
35,
11196,
313,
41,
345,
61,
121,
3274,
3,
31,
2596,
16022,
18247,
13200,
31,
3430,
96,
10572,
18,
1018,
8674,
121,
3274,
3,... |
Calculate the average age of unmarried patients born after the year 2097 | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.dob_year > "2097" | [
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,
71,
17217,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
1635,
9538,
834,
8547,
302,
3274,
96,
134,
2365,
3765,
121,
3430,
14798,
5,
26,
32,
115,
834,
1201,
2490,
96,
1755,
4327,
121,
1,
-... |
Please show the trend of the number of the church by open date (bin into the year) using a line chart, and display by the x-axis in descending please. | CREATE TABLE church (
Church_ID int,
Name text,
Organized_by text,
Open_Date int,
Continuation_of text
)
CREATE TABLE people (
People_ID int,
Name text,
Country text,
Is_Male text,
Age int
)
CREATE TABLE wedding (
Church_ID int,
Male_ID int,
Female_ID int,
Year ... | SELECT Open_Date, COUNT(Open_Date) FROM church ORDER BY Open_Date DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2078,
41,
2345,
834,
4309,
16,
17,
6,
5570,
1499,
6,
18190,
1601,
834,
969,
1499,
6,
2384,
834,
308,
342,
16,
17,
6,
3,
16798,
76,
257,
834,
858,
1499,
3,
61,
3,
32102,
32103,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2384,
834,
308,
342,
6,
2847,
17161,
599,
22696,
834,
308,
342,
61,
21680,
2078,
4674,
11300,
272,
476,
2384,
834,
308,
342,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the institutional authority for launch date of october 12, 2004 | CREATE TABLE table_10396 (
"Launch Vehicle" text,
"Launch date" text,
"Institutional authority" text,
"Launch site" text,
"Results" text
) | SELECT "Institutional authority" FROM table_10396 WHERE "Launch date" = 'october 12, 2004' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17864,
4314,
41,
96,
3612,
202,
524,
15095,
121,
1499,
6,
96,
3612,
202,
524,
833,
121,
1499,
6,
96,
9496,
6318,
5015,
121,
1499,
6,
96,
3612,
202,
524,
353,
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,
9496,
6318,
5015,
121,
21680,
953,
834,
17864,
4314,
549,
17444,
427,
96,
3612,
202,
524,
833,
121,
3274,
3,
31,
32,
75,
235,
1152,
10440,
4406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
who won tennis when ashland won softball and wooster won volleybal | CREATE TABLE table_16423070_4 (tennis VARCHAR, softball VARCHAR, volleyball VARCHAR) | SELECT tennis FROM table_16423070_4 WHERE softball = "Ashland" AND volleyball = "Wooster" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26987,
13427,
2518,
834,
591,
41,
324,
29,
159,
584,
4280,
28027,
6,
1835,
3184,
584,
4280,
28027,
6,
26081,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
113,
751,
99... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
9999,
21680,
953,
834,
26987,
13427,
2518,
834,
591,
549,
17444,
427,
1835,
3184,
3274,
96,
188,
7,
107,
40,
232,
121,
3430,
26081,
3274,
96,
518,
32,
32,
1370,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
On broadcast date is 21march1970, how many people tuned in? | CREATE TABLE table_24075 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
) | SELECT COUNT("Viewers (in millions)") FROM table_24075 WHERE "Broadcast date" = '21March1970' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11944,
3072,
41,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
279,
8635,
5254,
833,
121,
1499,
6,
96,
448,
202,
97,
121,
1499,
6,
96,
15270,
277,
41,
77,
4040,
61,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
15270,
277,
41,
77,
4040,
61,
8512,
21680,
953,
834,
11944,
3072,
549,
17444,
427,
96,
279,
8635,
5254,
833,
121,
3274,
3,
31,
2658,
25019,
2294,
2518,
31,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Source model has a 16-bit* Architecture? | CREATE TABLE table_name_27 (
source_model VARCHAR,
architecture VARCHAR
) | SELECT source_model FROM table_name_27 WHERE architecture = "16-bit*" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
1391,
834,
21770,
584,
4280,
28027,
6,
4648,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
9149,
825,
65,
3,
9,
898,
18,
2360,
1935,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1391,
834,
21770,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
4648,
3274,
96,
2938,
18,
2360,
1935,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was in a with opponent St. Johnstone? | CREATE TABLE table_name_8 (
scorers VARCHAR,
venue VARCHAR,
opponent VARCHAR
) | SELECT scorers FROM table_name_8 WHERE venue = "a" AND opponent = "st. johnstone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
14056,
277,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
16,
3,
9,
28,
15264... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14056,
277,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
5669,
3274,
96,
9,
121,
3430,
15264,
3274,
96,
7,
17,
5,
3,
27341,
3009,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the year 2001 with a total larger than 1, and 2009 with 8? | CREATE TABLE table_68544 (
"2001" text,
"2004" text,
"2009" text,
"2013" text,
"Total" real
) | SELECT "2001" FROM table_68544 WHERE "Total" > '1' AND "2009" = '8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
755,
3628,
41,
96,
23658,
121,
1499,
6,
96,
21653,
121,
1499,
6,
96,
16660,
121,
1499,
6,
96,
11138,
121,
1499,
6,
96,
3696,
1947,
121,
490,
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,
96,
23658,
121,
21680,
953,
834,
3651,
755,
3628,
549,
17444,
427,
96,
3696,
1947,
121,
2490,
3,
31,
536,
31,
3430,
96,
16660,
121,
3274,
3,
31,
927,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is primary disease and procedure long title of subject id 2110? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT demographic.diagnosis, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2110" | [
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,
14798,
5,
25930,
4844,
159,
6,
4293,
5,
2961,
834,
21869,
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,
427,
14798,
5,
73... |
What is the average point total for arrows racing team before 1983? | CREATE TABLE table_name_73 (
points INTEGER,
team VARCHAR,
year VARCHAR
) | SELECT AVG(points) FROM table_name_73 WHERE team = "arrows racing team" AND year < 1983 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
979,
3,
21342,
17966,
6,
372,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348,
500,
792,
21,
3,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
372,
3274,
96,
6770,
7,
8191,
372,
121,
3430,
215,
3,
2,
15041,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the away captain with result of wi by 9 wkts | CREATE TABLE table_name_69 (
away_captain VARCHAR,
result VARCHAR
) | SELECT away_captain FROM table_name_69 WHERE result = "wi by 9 wkts" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
550,
834,
4010,
17,
9,
77,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
550,
14268,
28,
741,
13,
11064,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
4010,
17,
9,
77,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
741,
3274,
96,
210,
23,
57,
668,
3,
210,
157,
17,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When did the New England Patriots play as the visiting team? | CREATE TABLE table_68755 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
) | SELECT "Date" FROM table_68755 WHERE "Visiting Team" = 'new england patriots' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
3072,
755,
41,
96,
308,
342,
121,
1499,
6,
96,
30338,
2271,
121,
1499,
6,
96,
371,
10270,
17763,
121,
1499,
6,
96,
566,
3481,
2271,
121,
1499,
6,
96,
134,
17,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3651,
3072,
755,
549,
17444,
427,
96,
30338,
2271,
121,
3274,
3,
31,
5534,
3,
4606,
40,
232,
6234,
12884,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Streak has a Game of 3? | CREATE TABLE table_name_35 (
streak VARCHAR,
game VARCHAR
) | SELECT streak FROM table_name_35 WHERE game = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
18631,
584,
4280,
28027,
6,
467,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
472,
60,
1639,
65,
3,
9,
4435,
13,
220,
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,
18631,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
467,
3274,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which Party has a Office of majority floor leader | CREATE TABLE table_14808 (
"Office" text,
"Representative" text,
"Party" text,
"Residence" text,
"First Elected" text
) | SELECT "Party" FROM table_14808 WHERE "Office" = 'majority floor leader' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24748,
4018,
41,
96,
22098,
121,
1499,
6,
96,
1649,
12640,
1528,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
1649,
1583,
3772,
121,
1499,
6,
96,
25171,
1289,
7633,
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,
0,
0... | [
3,
23143,
14196,
96,
13725,
63,
121,
21680,
953,
834,
24748,
4018,
549,
17444,
427,
96,
22098,
121,
3274,
3,
31,
16547,
127,
485,
1501,
2488,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the surface for february 25, 1996 | CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_58 WHERE date = "february 25, 1996" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3449,
41,
26899,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1774,
21,
29976,
76,
1208,
14105,
6911,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1774,
21680,
953,
834,
4350,
834,
3449,
549,
17444,
427,
833,
3274,
96,
89,
15,
9052,
1208,
14105,
6911,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
List the maximum, minimum and average number of used kb in screen mode. | CREATE TABLE screen_mode (
graphics_mode number,
char_cells text,
pixels text,
hardware_colours number,
used_kb number,
map text,
type text
)
CREATE TABLE phone (
company_name text,
hardware_model_name text,
accreditation_type text,
accreditation_level text,
date text,
... | SELECT MAX(used_kb), MIN(used_kb), AVG(used_kb) FROM screen_mode | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1641,
834,
14930,
41,
6484,
834,
14930,
381,
6,
3,
4059,
834,
8725,
7,
1499,
6,
15386,
1499,
6,
4214,
834,
24814,
7,
381,
6,
261,
834,
157,
115,
381,
6,
2828,
1499,
6,
686,
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,
4800,
4,
599,
10064,
834,
157,
115,
201,
3,
17684,
599,
10064,
834,
157,
115,
201,
71,
17217,
599,
10064,
834,
157,
115,
61,
21680,
1641,
834,
14930,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Developer(s) has a Year of 2010? | CREATE TABLE table_name_90 (
developer_s_ VARCHAR,
year VARCHAR
) | SELECT developer_s_ FROM table_name_90 WHERE year = 2010 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2394,
41,
7523,
834,
7,
834,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
17179,
599,
7,
61,
65,
3,
9,
2929,
13,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7523,
834,
7,
834,
21680,
953,
834,
4350,
834,
2394,
549,
17444,
427,
215,
3274,
2735,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
isbn 0-441-01400-3 is book number? | CREATE TABLE table_16907214_1 (
_number VARCHAR,
hardcover VARCHAR
) | SELECT _number FROM table_16907214_1 WHERE hardcover = "ISBN 0-441-01400-3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27096,
4560,
27357,
834,
536,
41,
3,
834,
5525,
1152,
584,
4280,
28027,
6,
614,
9817,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
19,
115,
29,
3,
632,
4278,
485... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
834,
5525,
1152,
21680,
953,
834,
27096,
4560,
27357,
834,
536,
549,
17444,
427,
614,
9817,
3274,
96,
4555,
19174,
3,
632,
4278,
4853,
14772,
5548,
3486,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
which entry have been downloaded the least? | CREATE TABLE tags (
index number,
id number,
tag text
)
CREATE TABLE torrents (
groupname text,
totalsnatched number,
artist text,
groupyear number,
releasetype text,
groupid number,
id number
) | SELECT groupname FROM torrents ORDER BY totalsnatched LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
12391,
41,
5538,
381,
6,
3,
23,
26,
381,
6,
7860,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
23326,
7,
41,
563,
4350,
1499,
6,
792,
7,
29,
144,
4513,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
563,
4350,
21680,
23326,
7,
4674,
11300,
272,
476,
792,
7,
29,
144,
4513,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the score from the game where Algeria is the opponent at Porto-Novo? | CREATE TABLE table_name_28 (
score VARCHAR,
opponent VARCHAR,
location VARCHAR
) | SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2577,
41,
2604,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
45,
8,
467,
213,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2577,
549,
17444,
427,
15264,
3274,
96,
138,
122,
4476,
121,
3430,
1128,
3274,
96,
1493,
32,
18,
5326,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the shooter when the rank points was olympic bronze medalist? | CREATE TABLE table_name_36 (
shooter VARCHAR,
rank_points VARCHAR
) | SELECT shooter FROM table_name_36 WHERE rank_points = "olympic bronze medalist" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
4279,
49,
584,
4280,
28027,
6,
11003,
834,
2700,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
4279,
49,
116,
8,
11003,
979,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
49,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
11003,
834,
2700,
7,
3274,
96,
32,
120,
51,
6174,
13467,
9365,
343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Tournament has a Opponent of piero luisi? | CREATE TABLE table_name_31 (
tournament VARCHAR,
opponent VARCHAR
) | SELECT tournament FROM table_name_31 WHERE opponent = "piero luisi" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
5892,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
20502,
65,
3,
9,
4495,
9977,
13,
3,
8343,
32,
759,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5892,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
15264,
3274,
96,
8343,
32,
759,
7,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Finish has a Total of 288? | CREATE TABLE table_name_12 (
finish VARCHAR,
total VARCHAR
) | SELECT finish FROM table_name_12 WHERE total = 288 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
1992,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
17578,
65,
3,
9,
9273,
13,
204,
4060,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1992,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
792,
3274,
204,
4060,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
ilm of taukukauppiaat has how many total number of years? | CREATE TABLE table_name_52 (year VARCHAR, film VARCHAR) | SELECT COUNT(year) FROM table_name_52 WHERE film = "taukukauppiaat" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1201,
584,
4280,
28027,
6,
814,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3,
173,
51,
13,
7151,
2729,
1258,
413,
102,
23,
9,
144,
65,
149,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5373,
549,
17444,
427,
814,
3274,
96,
17,
9,
1598,
1598,
402,
1572,
23,
9,
144,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the smallest crowd at the Victoria Park Venue? | CREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
75,
3623,
26,
3,
21342,
17966,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
17924,
4374,
44,
8,
7488,
1061,
29940,
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,
3,
17684,
599,
75,
3623,
26,
61,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
5669,
3274,
96,
7287,
3600,
9,
2447,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many faculty members participate in an activity? | CREATE TABLE Faculty_participates_in (
FacID VARCHAR
) | SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16896,
834,
2274,
23,
3389,
6203,
834,
77,
41,
1699,
75,
4309,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
6040,
724,
3716,
16,
46,
1756,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
1699,
75,
4309,
61,
21680,
16896,
834,
2274,
23,
3389,
6203,
834,
77,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the 2010 total for ghana? | CREATE TABLE table_name_64 (country VARCHAR) | SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4389,
41,
17529,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2735,
792,
21,
3,
22637,
9,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
14926,
61,
21680,
953,
834,
4350,
834,
4389,
549,
17444,
427,
684,
3274,
96,
22637,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Artist has a Week of Top 12? | CREATE TABLE table_name_54 (
artist VARCHAR,
week VARCHAR
) | SELECT artist FROM table_name_54 WHERE week = "top 12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
2377,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
9152,
65,
3,
9,
6551,
13,
2224,
586,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2377,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
471,
3274,
96,
2916,
586,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where was the disaster located that took place on 1916? | CREATE TABLE table_37223 (
"Disaster" text,
"Type" text,
"Location" text,
"Deaths" text,
"Date" text
) | SELECT "Location" FROM table_37223 WHERE "Date" = '1916' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
357,
2773,
41,
96,
308,
159,
9,
1370,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
2962,
9,
189,
7,
121,
1499,
6,
96,
308,
342... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4118,
357,
2773,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2294,
2938,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest overall number for someone from round 16? | CREATE TABLE table_name_51 (
overall INTEGER,
round VARCHAR
) | SELECT MAX(overall) FROM table_name_51 WHERE round = 16 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
1879,
3,
21342,
17966,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
1879,
381,
21,
841,
45,
1751,
898,
58,
1,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
1751,
3274,
898,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is metoprolol succinate er 50 mg po tb24's intake method? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE patient (
uniquep... | SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'metoprolol succinate er 50 mg po tb24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
7757,
5,
20300,
20466,
29,
21680,
7757,
549,
17444,
427,
7757,
5,
26,
13534,
4350,
3274,
3,
31,
526,
2916,
3491,
32,
40,
22247,
8660,
3,
49,
943,
5453,
1977,
3,
17,
115,
2266,
31,
1,
-100,
... |
For each film, show the price and group them by cinema name in a stacked bar chart, I want to list Y-axis from low to high order. | CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE schedule... | SELECT Name, Price FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Title, Name ORDER BY Price | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
814,
41,
3417,
834,
4309,
16,
17,
6,
3,
22557,
834,
77,
834,
10833,
7,
16,
17,
6,
7720,
834,
77,
834,
9476,
16,
17,
6,
11029,
1499,
6,
7143,
15,
26,
834,
969,
1499,
6,
8465,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5570,
6,
5312,
21680,
2023,
6157,
332,
536,
3,
15355,
3162,
814,
6157,
332,
357,
9191,
332,
5411,
371,
173,
51,
834,
4309,
3274,
332,
4416,
371,
173,
51,
834,
4309,
3,
15355,
3162,
10276,
6157,
332,
519,
9191,
332,
... |
Find the number of trains for each station, as well as the station network name Show the result with a bar graph, and order from low to high by the y-axis. | CREATE TABLE route (
train_id int,
station_id int
)
CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
win... | SELECT network_name, COUNT(*) FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id GROUP BY t2.station_id ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2981,
41,
2412,
834,
23,
26,
16,
17,
6,
2478,
834,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2478,
41,
3,
23,
26,
16,
17,
6,
1229,
834,
4350,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1229,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
2478,
6157,
3,
17,
536,
3,
15355,
3162,
2981,
6157,
3,
17,
357,
9191,
3,
17,
5411,
23,
26,
3274,
3,
17,
4416,
6682,
834,
23,
26,
350,
4630,
6880,
272,
476,
... |
What about the average amounts of payments by each method code? You can give me a bar chart. | CREATE TABLE Payments (
Payment_ID INTEGER,
Settlement_ID INTEGER,
Payment_Method_Code VARCHAR(255),
Date_Payment_Made DATE,
Amount_Payment INTEGER
)
CREATE TABLE Customer_Policies (
Policy_ID INTEGER,
Customer_ID INTEGER,
Policy_Type_Code CHAR(15),
Start_Date DATE,
End_Date DAT... | SELECT Payment_Method_Code, AVG(Amount_Payment) FROM Payments GROUP BY Payment_Method_Code | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
12248,
7,
41,
12248,
834,
4309,
3,
21342,
17966,
6,
31044,
834,
4309,
3,
21342,
17966,
6,
12248,
834,
23351,
107,
32,
26,
834,
22737,
584,
4280,
28027,
599,
25502,
201,
7678,
834,
1970... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12248,
834,
23351,
107,
32,
26,
834,
22737,
6,
71,
17217,
599,
188,
11231,
834,
19702,
297,
61,
21680,
12248,
7,
350,
4630,
6880,
272,
476,
12248,
834,
23351,
107,
32,
26,
834,
22737,
1,
-100,
-100,
-100,
-100,
-100... |
What is the original air date when the u.s. viewers in millions was 5.39? | CREATE TABLE table_27720737_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | SELECT original_air_date FROM table_27720737_1 WHERE us_viewers__million_ = "5.39" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
18517,
27931,
834,
536,
41,
21878,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
178,
834,
4576,
277,
834,
834,
17030,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
2555,
18517,
27931,
834,
536,
549,
17444,
427,
178,
834,
4576,
277,
834,
834,
17030,
834,
3274,
96,
9125,
3288,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what is average age of patients whose age is greater than or equal to 89 and admission year is greater than or equal to 2182? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.age >= "89" AND demographic.admityear >= "2182" | [
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,
71,
17217,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
545,
2490,
2423,
96,
3914,
121,
3430,
14798,
5,
20466,
17,
1201,
2490,
2423,
96,
2658,
4613,
121,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
What club does the stadium stc krymteplitsia belong to? | CREATE TABLE table_71523 (
"Rank" real,
"Stadium" text,
"Capacity" real,
"Club" text,
"Region" text
) | SELECT "Club" FROM table_71523 WHERE "Stadium" = 'stc krymteplitsia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
1808,
2773,
41,
96,
22557,
121,
490,
6,
96,
134,
17,
9,
12925,
121,
1499,
6,
96,
19566,
9,
6726,
121,
490,
6,
96,
254,
11158,
121,
1499,
6,
96,
17748,
23,
106,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
11158,
121,
21680,
953,
834,
940,
1808,
2773,
549,
17444,
427,
96,
134,
17,
9,
12925,
121,
3274,
3,
31,
7,
17,
75,
3,
157,
651,
51,
17,
15,
5900,
17,
7,
23,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-... |
which event occurred first the st. paul open or the charlotte open ? | CREATE TABLE table_204_536 (
id number,
"event" text,
"bowling center" text,
"city" text,
"dates" text,
"winner" text
) | SELECT "event" FROM table_204_536 WHERE "event" IN ('st. paul open', 'charlotte open') ORDER BY id LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
755,
3420,
41,
3,
23,
26,
381,
6,
96,
15,
2169,
121,
1499,
6,
96,
17710,
697,
1530,
121,
1499,
6,
96,
6726,
121,
1499,
6,
96,
5522,
7,
121,
1499,
6,
96,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15,
2169,
121,
21680,
953,
834,
26363,
834,
755,
3420,
549,
17444,
427,
96,
15,
2169,
121,
3388,
41,
31,
7,
17,
5,
2576,
83,
539,
31,
6,
3,
31,
4059,
21538,
539,
31,
61,
4674,
11300,
272,
476,
3,
23,
26,
... |
WHich Japanese has a Prefecture of iwate? | CREATE TABLE table_41579 (
"Name" text,
"Japanese" text,
"Date of designation" text,
"Date of reclassification" text,
"Region" text,
"Prefecture" text
) | SELECT "Japanese" FROM table_41579 WHERE "Prefecture" = 'iwate' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
1808,
4440,
41,
96,
23954,
121,
1499,
6,
96,
683,
9750,
1496,
15,
121,
1499,
6,
96,
308,
342,
13,
21767,
121,
1499,
6,
96,
308,
342,
13,
3,
60,
4057,
2420,
121,
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,
96,
683,
9750,
1496,
15,
121,
21680,
953,
834,
591,
1808,
4440,
549,
17444,
427,
96,
10572,
4075,
1462,
121,
3274,
3,
31,
23,
210,
342,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the first match for 11 may 2008 | CREATE TABLE table_55069 (
"Competition" text,
"Current position / round" text,
"Final position / round" text,
"First match" text,
"Last match" text
) | SELECT "First match" FROM table_55069 WHERE "Last match" = '11 may 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17147,
3951,
41,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
254,
450,
5320,
1102,
3,
87,
1751,
121,
1499,
6,
96,
371,
10270,
1102,
3,
87,
1751,
121,
1499,
6,
96,
25171,
1588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25171,
1588,
121,
21680,
953,
834,
17147,
3951,
549,
17444,
427,
96,
3612,
7,
17,
1588,
121,
3274,
3,
31,
2596,
164,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For a country of Spain, place of t6, what is the Money ($)? | CREATE TABLE table_name_44 (
money___$__ VARCHAR,
place VARCHAR,
country VARCHAR
) | SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
540,
834,
834,
834,
3229,
834,
834,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
242,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
540,
834,
834,
834,
3229,
834,
834,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
286,
3274,
96,
17,
948,
121,
3430,
684,
3274,
96,
14147,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number? | CREATE TABLE table_name_62 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR) | SELECT MIN(ofsted_number) FROM table_name_62 WHERE intake = 60 AND type = "junior" AND dcsf_number < 3386 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
858,
6265,
834,
5525,
1152,
3,
21342,
17966,
6,
3,
26,
75,
7,
89,
834,
5525,
1152,
584,
4280,
28027,
6,
11963,
584,
4280,
28027,
6,
686,
584,
4280,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
858,
6265,
834,
5525,
1152,
61,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
11963,
3274,
1640,
3430,
686,
3274,
96,
6959,
23,
127,
121,
3430,
3,
26,
75,
7,
89,
834,
5525,
1152,
3,
2,
5400,
... |
Opponent of @ atlanta flames had what game? | CREATE TABLE table_5076 (
"Game" real,
"October" real,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT "Game" FROM table_5076 WHERE "Opponent" = '@ atlanta flames' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
3959,
41,
96,
23055,
121,
490,
6,
96,
28680,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
23055,
121,
21680,
953,
834,
1752,
3959,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
1741,
44,
6761,
9,
12314,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was the opponent for the game with a score of w 94 88 (ot)? | CREATE TABLE table_29777 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Team" FROM table_29777 WHERE "Score" = 'W 94–88 (OT)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
26225,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
3,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
18699,
121,
21680,
953,
834,
3166,
26225,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
518,
3,
4240,
104,
4060,
41,
6951,
61,
31,
1,
-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.