NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Which is the highest total at rank 6, bronze 2, and gold larger than 0? | CREATE TABLE table_70899 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MAX("Total") FROM table_70899 WHERE "Rank" = '6' AND "Bronze" = '2' AND "Gold" > '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2518,
927,
3264,
41,
96,
22557,
121,
490,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
3696,
1947,
8512,
21680,
953,
834,
2518,
927,
3264,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
948,
31,
3430,
96,
22780,
29,
776,
121,
3274,
3,
31,
357,
31,
3430,
96,
23576,
121,
2490,
3,
3... |
How low was the income where services is 72.5? | CREATE TABLE table_18870 (
"District" text,
"2010 Population (000)" real,
"2008 GDP (USD bn) a" text,
"2008 GDP per capita (USD) a" real,
"Agri culture b" text,
"Mining b" text,
"Manufac turing b" text,
"Services & cons truction b" text,
"Exports (USD mn) 2011" real,
"Median mo. ... | SELECT "Income poverty f" FROM table_18870 WHERE "Services & cons truction b" = '72.5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25794,
2518,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
14926,
29659,
41,
2313,
61,
121,
490,
6,
96,
16128,
11284,
41,
23492,
3,
115,
29,
61,
3,
9,
121,
1499,
6,
96,
161... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1570,
287,
15,
9569,
3,
89,
121,
21680,
953,
834,
25794,
2518,
549,
17444,
427,
96,
15260,
7,
3,
184,
6900,
3,
26853,
3,
115,
121,
3274,
3,
31,
940,
15967,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Opponent in the final when the outcome was runner-up? | CREATE TABLE table_name_66 (
opponent_in_the_final VARCHAR,
outcome VARCHAR
) | SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
15264,
834,
77,
834,
532,
834,
12406,
584,
4280,
28027,
6,
6138,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4495,
9977,
16,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
834,
77,
834,
532,
834,
12406,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
6138,
3274,
96,
10806,
18,
413,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What are the id of each employee and the number of document destruction authorised by that employee. Visualize by scatter chart. | CREATE TABLE Ref_Calendar (
Calendar_Date DATETIME,
Day_Number INTEGER
)
CREATE TABLE Employees (
Employee_ID INTEGER,
Role_Code CHAR(15),
Employee_Name VARCHAR(255),
Gender_MFU CHAR(1),
Date_of_Birth DATETIME,
Other_Details VARCHAR(255)
)
CREATE TABLE Documents_to_be_Destroyed (
D... | SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_Destroyed GROUP BY Destruction_Authorised_by_Employee_ID | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
419,
89,
834,
14318,
35,
3439,
41,
18783,
834,
308,
342,
309,
6048,
382,
15382,
6,
1430,
834,
567,
5937,
49,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
170... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2973,
26853,
834,
23602,
127,
3375,
834,
969,
834,
427,
51,
7379,
63,
15,
15,
834,
4309,
6,
2847,
17161,
599,
1935,
61,
21680,
11167,
7,
834,
235,
834,
346,
834,
2962,
6626,
10093,
350,
4630,
6880,
272,
476,
2973,
... |
Name the original air date for production code 1l16 | CREATE TABLE table_25604014_9 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_25604014_9 WHERE production_code = "1L16" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3328,
2445,
2534,
834,
1298,
41,
21878,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
999,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
926,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
926,
834,
2256,
834,
5522,
21680,
953,
834,
1828,
3328,
2445,
2534,
834,
1298,
549,
17444,
427,
999,
834,
4978,
3274,
96,
536,
434,
2938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which cable car is the oldest ? | CREATE TABLE table_204_980 (
id number,
"name" text,
"type" text,
"elevation\n(ground station)" number,
"elevation\n(mountain station)" number,
"slope length" number,
"capacity\n(persons/hour)" number,
"construction year" number
) | SELECT "name" FROM table_204_980 WHERE "type" = 'cable car' ORDER BY "construction year" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3916,
632,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
6137,
121,
1499,
6,
96,
15,
10912,
257,
2,
29,
599,
9232,
2478,
61,
121,
381,
6,
96,
15,
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,
4350,
121,
21680,
953,
834,
26363,
834,
3916,
632,
549,
17444,
427,
96,
6137,
121,
3274,
3,
31,
75,
179,
443,
31,
4674,
11300,
272,
476,
96,
26471,
215,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the qual 1 for the best of 1:18.067? | CREATE TABLE table_name_49 (
qual_1 VARCHAR,
best VARCHAR
) | SELECT qual_1 FROM table_name_49 WHERE best = "1:18.067" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
3,
11433,
834,
536,
584,
4280,
28027,
6,
200,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
11433,
209,
21,
8,
200,
13,
1952... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
11433,
834,
536,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
200,
3274,
96,
536,
10,
536,
27376,
3708,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the team colors from Tolono, Illinois? | CREATE TABLE table_29612224_1 (
colors VARCHAR,
location VARCHAR
) | SELECT colors FROM table_29612224_1 WHERE location = "Tolono, Illinois" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
4241,
2884,
2266,
834,
536,
41,
2602,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
372,
2602,
45,
304,
40,
106,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2602,
21680,
953,
834,
3166,
4241,
2884,
2266,
834,
536,
549,
17444,
427,
1128,
3274,
96,
3696,
40,
106,
32,
6,
7659,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Webcast has the digital1073.com website? | CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR) | SELECT webcast FROM table_name_46 WHERE website = "digital1073.com" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
8398,
5254,
584,
4280,
28027,
6,
475,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1620,
5254,
65,
8,
1125,
18057,
5787,
287,
475,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
765,
5254,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
475,
3274,
96,
9206,
138,
18057,
5787,
287,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
which athlete consecutively scored the lowest ? | CREATE TABLE table_203_865 (
id number,
"place" number,
"athlete" text,
"nation" text,
"best mark" text,
"throw 1" number,
"throw 2" number,
"throw 3" number,
"throw 4" number,
"throw 5" number,
"throw 6" number
) | SELECT "athlete" FROM table_203_865 ORDER BY "best mark" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3840,
755,
41,
3,
23,
26,
381,
6,
96,
4687,
121,
381,
6,
96,
26170,
15,
121,
1499,
6,
96,
29,
257,
121,
1499,
6,
96,
9606,
3946,
121,
1499,
6,
96,
189,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
26170,
15,
121,
21680,
953,
834,
23330,
834,
3840,
755,
4674,
11300,
272,
476,
96,
9606,
3946,
121,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What party is Marie-Dominique Simonet part of? | CREATE TABLE table_11780 (
"Name" text,
"Party" text,
"Date of resignation" text,
"Replacement" text,
"Notes" text
) | SELECT "Party" FROM table_11780 WHERE "Name" = 'marie-dominique simonet' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20275,
2079,
41,
96,
23954,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
308,
342,
13,
25372,
121,
1499,
6,
96,
1649,
4687,
297,
121,
1499,
6,
96,
10358,
15,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
63,
121,
21680,
953,
834,
20275,
2079,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
17289,
15,
18,
5012,
77,
1495,
3,
28348,
1582,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the average attendance for the New York Jets? | CREATE TABLE table_40657 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | SELECT AVG("Attendance") FROM table_40657 WHERE "Opponent" = 'new york jets' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
948,
3436,
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,
188,
17,
324,
26,
663,
121,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
188,
17,
324,
26,
663,
8512,
21680,
953,
834,
2445,
948,
3436,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
5534,
25453,
8757,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What year is guard Mario Chalmers? | CREATE TABLE table_name_53 (
year VARCHAR,
position VARCHAR,
name VARCHAR
) | SELECT year FROM table_name_53 WHERE position = "guard" AND name = "mario chalmers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
215,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
19,
4879,
14082,
20732,
5567,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
215,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
1102,
3274,
96,
11010,
121,
3430,
564,
3274,
96,
17289,
32,
3,
12654,
5567,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the second team that has first team of Africa sports? | CREATE TABLE table_name_25 (
team_2 VARCHAR,
team_1 VARCHAR
) | SELECT team_2 FROM table_name_25 WHERE team_1 = "africa sports" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
372,
834,
357,
584,
4280,
28027,
6,
372,
834,
536,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
511,
372,
24,
65,
166,
372,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
357,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
372,
834,
536,
3274,
96,
9,
89,
2234,
9,
2100,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the release date of part 80525py500512bx80525u500512bx80525u500512e? | CREATE TABLE table_16400024_1 (
release_date VARCHAR,
part_number_s_ VARCHAR
) | SELECT release_date FROM table_16400024_1 WHERE part_number_s_ = "80525PY500512BX80525U500512BX80525U500512E" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26987,
2313,
2266,
834,
536,
41,
1576,
834,
5522,
584,
4280,
28027,
6,
294,
834,
5525,
1152,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1576,
834,
5522,
21680,
953,
834,
26987,
2313,
2266,
834,
536,
549,
17444,
427,
294,
834,
5525,
1152,
834,
7,
834,
3274,
96,
2079,
755,
1828,
345,
476,
2560,
24163,
279,
4,
2079,
755,
1828,
1265,
2560,
24163,
279,
4... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the sum of salary bin hire_date by time in a bar chart, I want to order by the y-axis in descending. | CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0... | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(SALARY) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
613,
834,
10193,
10972,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
5097,
8241,
834,
308,
6048,
833,
6,
3,
14920,
834,
308,
6048,
833,
6,
446,
10539,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
454,
14132,
834,
308,
6048,
6,
180,
6122,
599,
134,
4090,
24721,
61,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549,
17444,
42... |
Who played against TSV bayer 04 leverkusen when they were team #1? | CREATE TABLE table_name_9 (
team__number1 VARCHAR
) | SELECT 2 AS nd_leg FROM table_name_9 WHERE team__number1 = "tsv bayer 04 leverkusen" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
372,
834,
834,
5525,
1152,
536,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
1944,
581,
332,
7416,
10210,
49,
11484,
19540,
2729,
7,
35,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
204,
6157,
3,
727,
834,
5772,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
372,
834,
834,
5525,
1152,
536,
3274,
96,
17,
7,
208,
10210,
49,
11484,
19540,
2729,
7,
35,
121,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
what was the top attendance for this season ? | CREATE TABLE table_203_290 (
id number,
"game" number,
"date" text,
"opponent" text,
"location" text,
"score" text,
"ot" text,
"attendance" number,
"record" text
) | SELECT MAX("attendance") FROM table_203_290 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
23838,
41,
3,
23,
26,
381,
6,
96,
7261,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
7,
9022,
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,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
15116,
663,
8512,
21680,
953,
834,
23330,
834,
23838,
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,... |
A bar chart shows the distribution of Team_Name and School_ID . | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT Team_Name, School_ID FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2271,
834,
23954,
6,
1121,
834,
4309,
21680,
8498,
834,
19515,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the losses in the NFL in the 2011 season with less than 13 wins? | CREATE TABLE table_name_81 (
losses INTEGER,
wins VARCHAR,
league VARCHAR,
season VARCHAR
) | SELECT AVG(losses) FROM table_name_81 WHERE league = "nfl" AND season = 2011 AND wins < 13 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
8467,
3,
21342,
17966,
6,
9204,
584,
4280,
28027,
6,
5533,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
2298,
2260,
61,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
5533,
3274,
96,
29,
89,
40,
121,
3430,
774,
3274,
2722,
3430,
9204,
3,
2,
1179,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What date was the game against inverurie loco works when more than 342 attend? | CREATE TABLE table_name_3 (date VARCHAR, attendance VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_3 WHERE attendance > 342 AND opponent = "inverurie loco works" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
519,
41,
5522,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
8,
467,
581,
16,
624,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
519,
549,
17444,
427,
11364,
2490,
220,
4165,
3430,
15264,
3274,
96,
77,
624,
459,
15,
2072,
32,
930,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Gold, when Silver is 5, and when Nation is Belgium? | CREATE TABLE table_name_91 (gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT gold FROM table_name_91 WHERE silver = "5" AND nation = "belgium" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
14910,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
2540,
6,
116,
5642,
19,
7836,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2045,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
4294,
3274,
96,
17395,
3430,
2982,
3274,
96,
2370,
122,
2552,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what medical procedure did patient 030-53416 last receive on the first hospital visit? | CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TAB... | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-53416' AND NOT patient.hospitaldischargetime IS NULL ORDER BY... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
50,
9824,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
7690,
4350,
1499,
6,
50,
1999,
7,
83,
17,
381,
6,
50,
1999,
7,
83,
17,
715,
97,
3,
61,
3,
32102,
32103,
32102,
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,
1058,
5,
26889,
4350,
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,
15878,
3734,
21545,
... |
Which players have a pick number of 27? | CREATE TABLE table_10975034_4 (
player VARCHAR,
pick__number VARCHAR
) | SELECT player FROM table_10975034_4 WHERE pick__number = 27 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17304,
9979,
3710,
834,
591,
41,
1959,
584,
4280,
28027,
6,
1432,
834,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1508,
43,
3,
9,
1432,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
17304,
9979,
3710,
834,
591,
549,
17444,
427,
1432,
834,
834,
5525,
1152,
3274,
2307,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
On which date was the game played at Tiger Stadium? | CREATE TABLE table_14958620_1 (
date VARCHAR,
game_site VARCHAR
) | SELECT date FROM table_14958620_1 WHERE game_site = "Tiger Stadium" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24816,
3449,
26898,
834,
536,
41,
833,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
84,
833,
47,
8,
467,
1944,
44,
1180... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
24816,
3449,
26898,
834,
536,
549,
17444,
427,
467,
834,
3585,
3274,
96,
382,
4424,
12750,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who played against Hapoel tel aviv when they were team #1? | CREATE TABLE table_name_89 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_89 WHERE team__number1 = "hapoel tel aviv" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
11650,
834,
834,
5525,
1152,
357,
584,
4280,
28027,
6,
372,
834,
834,
5525,
1152,
536,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
1944,
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,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
834,
5525,
1152,
357,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
372,
834,
834,
5525,
1152,
536,
3274,
96,
9516,
32,
15,
40,
3,
1625,
3,
9,
7003,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the first names of the teachers who teach grade 1? | CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
)
CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
) | SELECT DISTINCT T2.firstname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE grade = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3081,
41,
336,
4350,
1499,
6,
166,
4350,
1499,
6,
4858,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
570,
41,
336,
4350,
1499,
6,
166,
4350,
1499,
6,
2769,
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,
332,
4416,
14672,
4350,
21680,
570,
6157,
332,
536,
3,
15355,
3162,
3081,
6157,
332,
357,
9191,
332,
5411,
4057,
3082,
3274,
332,
4416,
4057,
3082,
549,
17444,
427,
2769,
3274,
209,
1,
-100,
-10... |
what is the number of teams where the record is 0-1 | CREATE TABLE table_28356 (
"\u00d7" text,
"Wehdat" text,
"Faisaly" text,
"Ramtha" text,
"Ahli" text,
"Hussein" text,
"Jazeera" text,
"Amman" text,
"Qadisiya" text,
"Jeel" text,
"Baqaa" text
) | SELECT COUNT("Amman") FROM table_28356 WHERE "Wehdat" = '0-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
2469,
948,
41,
96,
2,
76,
1206,
26,
940,
121,
1499,
6,
96,
1326,
107,
26,
144,
121,
1499,
6,
96,
371,
9,
159,
9,
120,
121,
1499,
6,
96,
448,
265,
189,
9,
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,
8123,
348,
8512,
21680,
953,
834,
2577,
2469,
948,
549,
17444,
427,
96,
1326,
107,
26,
144,
121,
3274,
3,
31,
632,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
In 2012 what was the average finish? | CREATE TABLE table_1012730_1 (avg_finish VARCHAR, year VARCHAR) | SELECT avg_finish FROM table_1012730_1 WHERE year = 2012 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
22367,
1458,
834,
536,
41,
9,
208,
122,
834,
25535,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
1673,
125,
47,
8,
1348,
1992,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
9,
208,
122,
834,
25535,
21680,
953,
834,
1714,
22367,
1458,
834,
536,
549,
17444,
427,
215,
3274,
1673,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What Launched has Time elapsed of 1991 days (5 yr, 5 mo, 12 d)? | CREATE TABLE table_name_31 (launched VARCHAR, time_elapsed VARCHAR) | SELECT launched FROM table_name_31 WHERE time_elapsed = "1991 days (5 yr, 5 mo, 12 d)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
27493,
15,
26,
584,
4280,
28027,
6,
97,
834,
15,
16543,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
17113,
15,
26,
65,
2900,
3,
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,
0,
0... | [
3,
23143,
14196,
3759,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
97,
834,
15,
16543,
26,
3274,
96,
2294,
4729,
477,
9209,
3,
63,
52,
6,
305,
2288,
6,
586,
3,
26,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Which To par has a Year of 1994? | CREATE TABLE table_name_24 (to_par VARCHAR, year VARCHAR) | SELECT to_par FROM table_name_24 WHERE year = 1994 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
235,
834,
1893,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
304,
260,
65,
3,
9,
2929,
13,
7520,
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,
12,
834,
1893,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
215,
3274,
7520,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What language has 20th century fox as the publisher? | CREATE TABLE table_name_52 (
language VARCHAR,
publisher VARCHAR
) | SELECT language FROM table_name_52 WHERE publisher = "20th century fox" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
1612,
584,
4280,
28027,
6,
14859,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1612,
65,
460,
189,
2646,
3,
20400,
38,
8,
14859,
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,
0... | [
3,
23143,
14196,
1612,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
14859,
3274,
96,
1755,
189,
2646,
3,
20400,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Skip has a Third of carlo alessandro zisa? | CREATE TABLE table_name_34 (
skip VARCHAR,
third VARCHAR
) | SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3710,
41,
11202,
584,
4280,
28027,
6,
1025,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
25378,
65,
3,
9,
9879,
13,
443,
40,
32,
4620,
7,
9,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11202,
21680,
953,
834,
4350,
834,
3710,
549,
17444,
427,
1025,
3274,
96,
1720,
40,
32,
4620,
7,
9,
22357,
15396,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
the total number of ethiopian runners | CREATE TABLE table_204_90 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time" text
) | SELECT COUNT("name") FROM table_204_90 WHERE "nationality" = 'ethiopia' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
2394,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
16557,
485,
121,
1499,
6,
96,
715,
121,
1499,
3,
61,
3,
32102,
32103,
32101,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
121,
4350,
8512,
21680,
953,
834,
26363,
834,
2394,
549,
17444,
427,
96,
16557,
485,
121,
3274,
3,
31,
15,
7436,
18916,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many races were there total ? | CREATE TABLE table_204_210 (
id number,
"rnd" number,
"circuit" text,
"lmp1 winning team\nlmp1 winning drivers" text,
"lmp2 winning team\nlmp2 winning drivers" text,
"gt1 winning team\ngt1 winning drivers" text,
"gt2 winning team\ngt2 winning drivers" text,
"results" text
) | SELECT COUNT(DISTINCT "circuit") FROM table_204_210 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
15239,
41,
3,
23,
26,
381,
6,
96,
52,
727,
121,
381,
6,
96,
15357,
21560,
121,
1499,
6,
96,
40,
1167,
536,
3447,
372,
2,
29,
40,
1167,
536,
3447,
3863,
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,
15438,
25424,
6227,
96,
15357,
21560,
8512,
21680,
953,
834,
26363,
834,
15239,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is average age of patients whose marital status is single and admission year is greater than or equal to 2154? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
... | SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear >= "2154" | [
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,
20466,
17,
1201,
2490,
2423,
96,
2658,
5062,
121,
1,
-100... |
What is the season with a Skip of Eve Muirhead and a third of Kerry Barr? | CREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR) | SELECT season FROM table_name_42 WHERE skip = "eve muirhead" AND third = "kerry barr" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
9476,
584,
4280,
28027,
6,
11202,
584,
4280,
28027,
6,
1025,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
774,
28,
3,
9,
25378,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
774,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
11202,
3274,
96,
15,
162,
4035,
23,
52,
3313,
121,
3430,
1025,
3274,
96,
2304,
651,
1207,
52,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
List the name of technicians whose team is not 'NYY'. | CREATE TABLE technician (
technician_id number,
name text,
team text,
starting_year number,
age number
)
CREATE TABLE repair (
repair_id number,
name text,
launch_date text,
notes text
)
CREATE TABLE repair_assignment (
technician_id number,
repair_id number,
machine_id... | SELECT name FROM technician WHERE team <> "NYY" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
17730,
41,
17730,
834,
23,
26,
381,
6,
564,
1499,
6,
372,
1499,
6,
1684,
834,
1201,
381,
6,
1246,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2096,
41,
2096,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
21680,
17730,
549,
17444,
427,
372,
3,
2,
3155,
96,
12056,
476,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the opponent when the score was 6-3, 6-3? | CREATE TABLE table_name_89 (
opponent VARCHAR,
score VARCHAR
) | SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
15264,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
15264,
116,
8,
2604,
47,
3,
24262,
6,
3,
24262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
2604,
3274,
96,
24262,
6,
3,
24262,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many silver medals did the team that had 5 bronze and less than 16 gold have? | CREATE TABLE table_name_93 (
silver INTEGER,
bronze VARCHAR,
gold VARCHAR
) | SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4271,
41,
4294,
3,
21342,
17966,
6,
13467,
584,
4280,
28027,
6,
2045,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
4294,
9365,
7,
410,
8,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
4271,
549,
17444,
427,
13467,
2490,
305,
3430,
2045,
3,
2,
898,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
On what dates was the final score of the game L 14 24? | CREATE TABLE table_25380472_2 (
date VARCHAR,
final_score VARCHAR
) | SELECT date FROM table_25380472_2 WHERE final_score = "L 14–24" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
22671,
4177,
357,
834,
357,
41,
833,
584,
4280,
28027,
6,
804,
834,
7,
9022,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
5128,
47,
8,
804,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
1828,
22671,
4177,
357,
834,
357,
549,
17444,
427,
804,
834,
7,
9022,
3274,
96,
434,
968,
104,
2266,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the team for avg start being 20.5 | CREATE TABLE table_2463383_2 (
team_s_ VARCHAR,
avg_start VARCHAR
) | SELECT team_s_ FROM table_2463383_2 WHERE avg_start = "20.5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3891,
3747,
519,
834,
357,
41,
372,
834,
7,
834,
584,
4280,
28027,
6,
3,
9,
208,
122,
834,
10208,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
372,
834,
7,
834,
21680,
953,
834,
2266,
3891,
3747,
519,
834,
357,
549,
17444,
427,
3,
9,
208,
122,
834,
10208,
3274,
96,
1755,
5,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the most points for South Ossetia? | CREATE TABLE table_name_46 (highest_point VARCHAR, country VARCHAR) | SELECT highest_point FROM table_name_46 WHERE country = "south ossetia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4448,
41,
6739,
222,
834,
2700,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
167,
979,
21,
1013,
411,
7,
2244,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2030,
834,
2700,
21680,
953,
834,
4350,
834,
4448,
549,
17444,
427,
684,
3274,
96,
7,
670,
107,
3,
13526,
17,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the distinct first names and cities of the students who have allergy either to milk or to cat? | CREATE TABLE allergy_type (
allergy text,
allergytype text
)
CREATE TABLE has_allergy (
stuid number,
allergy text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
) | SELECT DISTINCT T1.fname, T1.city_code FROM student AS T1 JOIN has_allergy AS T2 ON T1.stuid = T2.stuid WHERE T2.allergy = "Milk" OR T2.allergy = "Cat" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
23886,
834,
6137,
41,
23886,
1499,
6,
23886,
6137,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
65,
834,
11211,
122,
63,
41,
21341,
23,
26,
381,
6,
23886,
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,
3,
15438,
25424,
6227,
332,
5411,
89,
4350,
6,
332,
5411,
6726,
834,
4978,
21680,
1236,
6157,
332,
536,
3,
15355,
3162,
65,
834,
11211,
122,
63,
6157,
332,
357,
9191,
332,
5411,
7,
17,
76,
23,
26,
3274,
332,
4416,... |
What is the Money ($) player Loren Roberts has made? | CREATE TABLE table_47784 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT MAX("Money ( $ )") FROM table_47784 WHERE "Player" = 'loren roberts' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
3940,
591,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
9168,
15,
63,
41,
1514,
3,
61,
8512,
21680,
953,
834,
4177,
3940,
591,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
322,
35,
3,
5840,
49,
17,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the total number of Opponents, when Raiders Points is "42", when Attendance is less than 52,505? | CREATE TABLE table_name_16 (opponents VARCHAR, raiders_points VARCHAR, attendance VARCHAR) | SELECT COUNT(opponents) FROM table_name_16 WHERE raiders_points = 42 AND attendance < 52 OFFSET 505 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
32,
102,
9977,
7,
584,
4280,
28027,
6,
15941,
277,
834,
2700,
7,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
32,
102,
9977,
7,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
15941,
277,
834,
2700,
7,
3274,
6426,
3430,
11364,
3,
2,
9065,
3,
15316,
20788,
943,
755,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the Week on November 10, 1996? | CREATE TABLE table_47762 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Week" FROM table_47762 WHERE "Date" = 'november 10, 1996' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
3959,
357,
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,
188,
17,
324,
26,
663,
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,
0... | [
3,
23143,
14196,
96,
518,
10266,
121,
21680,
953,
834,
4177,
3959,
357,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
5326,
18247,
10372,
6911,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest to par with a place of t8 and West Germany as the country? | CREATE TABLE table_13137 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
) | SELECT MAX("To par") FROM table_13137 WHERE "Place" = 't8' AND "Country" = 'west germany' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
24636,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
490,
3,
61,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
3696,
260,
8512,
21680,
953,
834,
2368,
24636,
549,
17444,
427,
96,
345,
11706,
121,
3274,
3,
31,
17,
927,
31,
3430,
96,
10628,
651,
121,
3274,
3,
31,
12425,
13692,
63,
31,
1,
-100,
-100,
-100,
... |
Who lost the game on May 28? | CREATE TABLE table_66884 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Loss" FROM table_66884 WHERE "Date" = 'may 28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4060,
591,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
7,
7,
121,
1499,
6,
96,
188,
17,
324,
26,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
7,
7,
121,
21680,
953,
834,
3539,
4060,
591,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
13726,
2059,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What country has a time of 3:19.167? | CREATE TABLE table_name_36 (country VARCHAR, time VARCHAR) | SELECT country FROM table_name_36 WHERE time = "3:19.167" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
17529,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
65,
3,
9,
97,
13,
29760,
8797,
27650,
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,
684,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
97,
3274,
96,
519,
10,
2294,
5,
27650,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What cores has an L2 cache of low power? | CREATE TABLE table_name_16 (
cores VARCHAR,
l2_cache VARCHAR
) | SELECT cores FROM table_name_16 WHERE l2_cache = "low power" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
2583,
7,
584,
4280,
28027,
6,
3,
40,
357,
834,
75,
4933,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2583,
7,
65,
46,
301,
357,
1180... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2583,
7,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
3,
40,
357,
834,
75,
4933,
3274,
96,
3216,
579,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What venue has 19 against? | CREATE TABLE table_60973 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) | SELECT "Venue" FROM table_60973 WHERE "Against" = '19' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
4327,
519,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
3328,
4327,
519,
549,
17444,
427,
96,
20749,
121,
3274,
3,
31,
2294,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the amount of loans received with a total debt of $169,256? | CREATE TABLE table_name_24 (
loans_received VARCHAR,
_3q VARCHAR,
total_debt VARCHAR
) | SELECT loans_received, _3q FROM table_name_24 WHERE total_debt = "$169,256" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
4724,
834,
60,
565,
757,
26,
584,
4280,
28027,
6,
3,
834,
519,
1824,
584,
4280,
28027,
6,
792,
834,
221,
115,
17,
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,
4724,
834,
60,
565,
757,
26,
6,
3,
834,
519,
1824,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
792,
834,
221,
115,
17,
3274,
96,
3229,
27096,
6,
19337,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What district is Wyatt Aiken in? | CREATE TABLE table_name_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_19 WHERE incumbent = "wyatt aiken" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
26,
23,
20066,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
3939,
19,
11314,
144,
17,
71,
23,
2217,
16,
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,
0... | [
3,
23143,
14196,
3939,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
28406,
3274,
96,
210,
63,
144,
17,
3,
9,
23,
2217,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1? | CREATE TABLE table_name_53 (
partial_failures INTEGER,
launches VARCHAR,
family VARCHAR,
country VARCHAR,
failures VARCHAR
) | SELECT AVG(partial_failures) FROM table_name_53 WHERE country = "russia" AND failures > 0 AND family = "angara" AND launches > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
11807,
834,
89,
9,
173,
7665,
3,
21342,
17966,
6,
22506,
584,
4280,
28027,
6,
384,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
6,
3338,
7,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1893,
10646,
834,
89,
9,
173,
7665,
61,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
684,
3274,
96,
26165,
121,
3430,
3338,
7,
2490,
3,
632,
3430,
384,
3274,
96,
1468,
2551,
121,
3430,
22506,
... |
Who directed Avatar? | CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE reviewer (
rid number,
name text
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
) | SELECT director FROM movie WHERE title = 'Avatar' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
5773,
41,
5413,
381,
6,
2076,
381,
6,
4811,
381,
6,
5773,
5522,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
1132,
49,
41,
5413,
381,
6,
564,
1499,
3,
61,
3,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2090,
21680,
1974,
549,
17444,
427,
2233,
3274,
3,
31,
188,
900,
2046,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what artist previous to july made blue ? | CREATE TABLE table_204_420 (
id number,
"month" text,
"song" text,
"artist" text,
"aggregate points" number,
"total downloads" number,
"year-end chart" number
) | SELECT "artist" FROM table_204_420 WHERE "month" < 7 AND "song" = '"blue"' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
21899,
41,
3,
23,
26,
381,
6,
96,
7393,
121,
1499,
6,
96,
7,
2444,
121,
1499,
6,
96,
1408,
343,
121,
1499,
6,
96,
31761,
15,
979,
121,
381,
6,
96,
235,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1408,
343,
121,
21680,
953,
834,
26363,
834,
21899,
549,
17444,
427,
96,
7393,
121,
3,
2,
489,
3430,
96,
7,
2444,
121,
3274,
3,
31,
121,
7060,
15,
121,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest avg/G with a gain more than 1,290 and more than 292 loss? | CREATE TABLE table_45489 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
) | SELECT MIN("Avg/G") FROM table_45489 WHERE "Gain" > '1,290' AND "Loss" > '292' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
591,
3914,
41,
96,
23954,
121,
1499,
6,
96,
517,
9,
77,
121,
490,
6,
96,
434,
32,
7,
7,
121,
490,
6,
96,
434,
2444,
121,
490,
6,
96,
188,
208,
122,
87,
517,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
188,
208,
122,
87,
517,
8512,
21680,
953,
834,
2128,
591,
3914,
549,
17444,
427,
96,
517,
9,
77,
121,
2490,
3,
31,
4347,
23838,
31,
3430,
96,
434,
32,
7,
7,
121,
2490,
3,
31,
3166,
357,
31,... |
What Country is player Sandy Lyle from when she scored less than 69? | CREATE TABLE table_60488 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "Country" FROM table_60488 WHERE "Score" < '69' AND "Player" = 'sandy lyle' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3328,
591,
4060,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
490,
6,
96,
3696,
260,
121,
1499,
3,
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,
10628,
651,
121,
21680,
953,
834,
3328,
591,
4060,
549,
17444,
427,
96,
134,
9022,
121,
3,
2,
3,
31,
3951,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
7,
232,
63,
3,
120,
109,
31,
1,
-100,
-100,
-100,
-100,... |
Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038? | CREATE TABLE table_name_84 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR) | SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = "1:15.038" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
15982,
5317,
584,
4280,
28027,
6,
3,
1824,
536,
834,
2748,
584,
4280,
28027,
6,
3,
1824,
536,
834,
715,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6774,
127,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
3,
1824,
536,
834,
2748,
3,
2,
505,
3430,
3,
1824,
536,
834,
715,
3274,
96,
536,
10,
536,
20734,
3747,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
The event rip curl pro mademoiselle is in which location? | CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
14836,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
37,
605,
3,
5082,
18322,
813,
263,
16661,
7,
693,
19,
16,
84,
112... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1128,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
605,
3274,
96,
5082,
18322,
813,
263,
16661,
7,
693,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What are the id and name of the mountains that have at least 2 photos Show bar chart, and list by the bar in descending please. | CREATE TABLE photos (
id int,
camera_lens_id int,
mountain_id int,
color text,
name text
)
CREATE TABLE camera_lens (
id int,
brand text,
name text,
focal_length_mm real,
max_aperture real
)
CREATE TABLE mountain (
id int,
name text,
Height real,
Prominence real... | SELECT T1.name, T1.id FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id ORDER BY T1.name DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1302,
41,
3,
23,
26,
16,
17,
6,
1861,
834,
40,
35,
7,
834,
23,
26,
16,
17,
6,
4180,
834,
23,
26,
16,
17,
6,
945,
1499,
6,
564,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
4350,
6,
332,
5411,
23,
26,
21680,
4180,
6157,
332,
536,
3,
15355,
3162,
1302,
6157,
332,
357,
9191,
332,
5411,
23,
26,
3274,
332,
4416,
11231,
9,
77,
834,
23,
26,
4674,
11300,
272,
476,
332,
5411,
4350... |
What country has a total larger than 293, and a to par less than 17? | CREATE TABLE table_name_79 (
country VARCHAR,
total VARCHAR,
to_par VARCHAR
) | SELECT country FROM table_name_79 WHERE total > 293 AND to_par < 17 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
684,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
12,
834,
1893,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
65,
3,
9,
792,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
792,
2490,
204,
4271,
3430,
12,
834,
1893,
3,
2,
1003,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE LOWEST ROUND FOR CB POSITION? | CREATE TABLE table_name_56 (
round INTEGER,
position VARCHAR
) | SELECT MIN(round) FROM table_name_56 WHERE position = "cb" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
1751,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1853,
3,
20573,
6038,
10264,
13110,
5652,
205,
279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7775,
61,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
1102,
3274,
96,
75,
115,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which constructor has a Time/Retired of +37.311? | CREATE TABLE table_56316 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT "Constructor" FROM table_56316 WHERE "Time/Retired" = '+37.311' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
25946,
41,
96,
20982,
52,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3612,
102,
7,
121,
490,
6,
96,
13368,
87,
1649,
11809,
26,
121,
1499,
6,
96,
13313,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4302,
7593,
127,
121,
21680,
953,
834,
4834,
25946,
549,
17444,
427,
96,
13368,
87,
1649,
11809,
26,
121,
3274,
3,
31,
1220,
519,
27914,
2596,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1? | CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR) | SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
2916,
834,
1714,
3,
21342,
17966,
6,
8620,
834,
4725,
584,
4280,
28027,
6,
420,
834,
755,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2224... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
2916,
834,
16968,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
8620,
834,
4725,
3274,
335,
3430,
420,
834,
755,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many people live where there are 118% of people have phones? | CREATE TABLE table_name_88 (population VARCHAR, _number_of_phones_as__percentage_of_population VARCHAR) | SELECT population FROM table_name_88 WHERE _number_of_phones_as__percentage_of_population = 118 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
9791,
7830,
584,
4280,
28027,
6,
3,
834,
5525,
1152,
834,
858,
834,
6399,
7,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
9791,
7830,
584,
428... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2074,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
3,
834,
5525,
1152,
834,
858,
834,
6399,
7,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
9791,
7830,
3274,
3,
20056,
1,
-100,
-100,
-100,
-100,
-100,... |
What was the score for the away team when the home team was richmond? | CREATE TABLE table_33353 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_33353 WHERE "Home team" = 'richmond' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23360,
4867,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
2604,
121,
21680,
953,
834,
23360,
4867,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
3723,
6764,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Home Team has a Result of 124-101? | CREATE TABLE table_name_10 (
home_team VARCHAR,
result VARCHAR
) | SELECT home_team FROM table_name_10 WHERE result = "124-101" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
234,
834,
11650,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1210,
2271,
65,
3,
9,
3,
20119,
13,
3,
22504,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
741,
3274,
96,
22504,
18,
19621,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What year has a result of 3 in the venue of Jarama. | CREATE TABLE table_4319 (
"Year" real,
"Event" text,
"Venue" text,
"Driver" text,
"Result" text,
"Category" text
) | SELECT MIN("Year") FROM table_4319 WHERE "Result" = '3' AND "Venue" = 'jarama' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4906,
2294,
41,
96,
476,
2741,
121,
490,
6,
96,
427,
2169,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
20982,
52,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
476,
2741,
8512,
21680,
953,
834,
4906,
2294,
549,
17444,
427,
96,
20119,
121,
3274,
3,
31,
519,
31,
3430,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
1191,
10819,
31,
1,
-100,
-100,
-100,
-100,
-... |
What date did Renger Van Der Zande have the pole position at Donington Park? | CREATE TABLE table_2449 (
"Round" real,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Team" text
) | SELECT "Date" FROM table_2449 WHERE "Pole Position" = 'Renger van der Zande' AND "Circuit" = 'Donington Park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3647,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
8931,
15,
14258,
121,
1499,
6,
96,
371,
9,
7,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
2266,
3647,
549,
17444,
427,
96,
8931,
15,
14258,
121,
3274,
3,
31,
1649,
9369,
4049,
74,
1027,
232,
15,
31,
3430,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
13843,
6029,
1061,
... |
Which lost has 84 as the match points? | CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR) | SELECT lost FROM table_name_52 WHERE match_points = "84" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5373,
41,
2298,
17,
584,
4280,
28027,
6,
1588,
834,
2700,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1513,
65,
3,
4608,
38,
8,
1588,
979,
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,
1513,
21680,
953,
834,
4350,
834,
5373,
549,
17444,
427,
1588,
834,
2700,
7,
3274,
96,
4608,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What event is 200m larger than 922? | CREATE TABLE table_44497 (
"Athlete" text,
"Event" text,
"100H" real,
"200 m" real,
"800 m" text,
"Final" real,
"Rank" text
) | SELECT "Event" FROM table_44497 WHERE "200 m" > '922' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3628,
4327,
41,
96,
188,
189,
1655,
15,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
2915,
566,
121,
490,
6,
96,
3632,
3,
51,
121,
490,
6,
96,
6192,
3,
51,
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,
427,
2169,
121,
21680,
953,
834,
591,
3628,
4327,
549,
17444,
427,
96,
3632,
3,
51,
121,
2490,
3,
31,
4508,
357,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What region is the catalogue number 9362486152 that was from September 3, 2004 from? | CREATE TABLE table_name_50 (region VARCHAR, catalogue VARCHAR, date VARCHAR) | SELECT region FROM table_name_50 WHERE catalogue = "9362486152" AND date = "september 3, 2004" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
18145,
584,
4280,
28027,
6,
14978,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1719,
19,
8,
14978,
381,
668,
3420... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1719,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
14978,
3274,
96,
4271,
4056,
3707,
4241,
5373,
121,
3430,
833,
3274,
96,
7,
6707,
18247,
6180,
4406,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the score when the Blue Jays had an attendance larger than 9,430? | CREATE TABLE table_name_25 (score VARCHAR, attendance INTEGER) | SELECT score FROM table_name_25 WHERE attendance > 9 OFFSET 430 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1828,
41,
7,
9022,
584,
4280,
28027,
6,
11364,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
116,
8,
2419,
9373,
7,
141,
46,
11364,
2186,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
1828,
549,
17444,
427,
11364,
2490,
668,
3,
15316,
20788,
3,
25449,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who directed episode 11 in the series? | CREATE TABLE table_26136228_3 (
directed_by VARCHAR,
series_no VARCHAR
) | SELECT directed_by FROM table_26136228_3 WHERE series_no = 11 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
2368,
4056,
2577,
834,
519,
41,
6640,
834,
969,
584,
4280,
28027,
6,
939,
834,
29,
32,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
6640,
5640,
850,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6640,
834,
969,
21680,
953,
834,
2688,
2368,
4056,
2577,
834,
519,
549,
17444,
427,
939,
834,
29,
32,
3274,
850,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
find the birthdate and diagnosis of jerry deberry. | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | SELECT demographic.dob, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Jerry Deberry" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
26,
32,
115,
6,
18730,
7,
5,
7,
14184,
834,
21869,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
549,
17444,
427,... |
Find the number of people who is under 40 for each gender. | CREATE TABLE personfriend (
name text,
friend text,
year number
)
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
) | SELECT COUNT(*), gender FROM person WHERE age < 40 GROUP BY gender | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
568,
15504,
41,
564,
1499,
6,
1565,
1499,
6,
215,
381,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
568,
41,
564,
1499,
6,
1246,
381,
6,
690,
1499,
6,
7285,
1499,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
201,
7285,
21680,
568,
549,
17444,
427,
1246,
3,
2,
1283,
350,
4630,
6880,
272,
476,
7285,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who are the opponents in district California 9? | CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR) | SELECT opponent FROM table_1341568_6 WHERE district = "California 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
1808,
3651,
834,
948,
41,
32,
102,
9977,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
33,
8,
16383,
16,
3939,
1826,
668,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
15264,
21680,
953,
834,
23747,
1808,
3651,
834,
948,
549,
17444,
427,
3939,
3274,
96,
14318,
99,
127,
29,
23,
9,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
uncontrolled blood pressure: systolic blood pressure > 140 mmhg or diastolic blood pressure > 80 mmhg evidence of renal dysfunction, serum creatinine > 1.5 mg / dl ( male ) and 1.4 mg / dl ( female ) | CREATE TABLE table_dev_41 (
"id" int,
"gender" string,
"serum_potassium" float,
"systolic_blood_pressure_sbp" int,
"serum_bicarbonate" int,
"renal_disease" bool,
"temperature" float,
"diastolic_blood_pressure_dbp" int,
"liver_disease" bool,
"hdl" int,
"serum_sodium_concentrat... | SELECT * FROM table_dev_41 WHERE uncontrolled_blood_pressure = 1 OR (systolic_blood_pressure_sbp > 140 OR diastolic_blood_pressure_dbp > 80) OR renal_disease = 1 OR ((serum_creatinine > 1.5 AND gender = 'male') OR (serum_creatinine > 1.4 AND gender = 'female')) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9776,
834,
4853,
41,
96,
23,
26,
121,
16,
17,
6,
96,
122,
3868,
121,
6108,
6,
96,
7,
49,
440,
834,
3013,
6500,
440,
121,
3,
12660,
6,
96,
7,
63,
7,
235,
2176,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9776,
834,
4853,
549,
17444,
427,
73,
20388,
834,
27798,
834,
26866,
3274,
209,
4674,
41,
7,
63,
7,
235,
2176,
834,
27798,
834,
26866,
834,
7,
115,
102,
2490,
11397,
4674,
1227,
9,
7,
235,
2... |
What was the position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won? | CREATE TABLE table_name_18 (position VARCHAR, nominated_work VARCHAR, award VARCHAR) | SELECT position FROM table_name_18 WHERE nominated_work = "la quinta esencia" AND award = "best cd coverbox" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2606,
41,
4718,
584,
4280,
28027,
6,
150,
1109,
920,
834,
1981,
584,
4280,
28027,
6,
2760,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
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,
1102,
21680,
953,
834,
4350,
834,
2606,
549,
17444,
427,
150,
1109,
920,
834,
1981,
3274,
96,
521,
285,
29,
17,
9,
3,
15,
7,
35,
4915,
121,
3430,
2760,
3274,
96,
9606,
3,
75,
26,
1189,
2689,
121,
1,
-100,
-100,
... |
What is the trademark listed for the molecular target : dna-binding? | CREATE TABLE table_12715053_1 (trademark VARCHAR, molecular_target VARCHAR) | SELECT trademark FROM table_12715053_1 WHERE molecular_target = "DNA-Binding" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22367,
12278,
4867,
834,
536,
41,
16628,
3920,
584,
4280,
28027,
6,
2288,
109,
4866,
834,
24315,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
10602,
2616,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
10602,
21680,
953,
834,
22367,
12278,
4867,
834,
536,
549,
17444,
427,
2288,
109,
4866,
834,
24315,
3274,
96,
25824,
18,
279,
77,
26,
53,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the lowest win percentage for when Perth Scorchers is the opposition? | CREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR) | SELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = "perth scorchers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1755,
41,
3757,
834,
834,
883,
3728,
545,
3,
21342,
17966,
6,
8263,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
1369,
5294,
21,
116,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
3757,
834,
834,
883,
3728,
545,
61,
21680,
953,
834,
4350,
834,
1755,
549,
17444,
427,
8263,
3274,
96,
883,
189,
14056,
1703,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How much money does player ben crenshaw, who has a t4 place, have? | CREATE TABLE table_8787 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT "Money ( $ )" FROM table_8787 WHERE "Place" = 't4' AND "Player" = 'ben crenshaw' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4225,
4225,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
6,
96,
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,
9168,
15,
63,
41,
1514,
3,
61,
121,
21680,
953,
834,
4225,
4225,
549,
17444,
427,
96,
345,
11706,
121,
3274,
3,
31,
17,
591,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
115,
35,
3935,
29,
15622,
31,
1,
-100... |
Find each target user's name and average trust score. Show a pie chart. | CREATE TABLE trust (
source_u_id integer,
target_u_id integer,
trust integer
)
CREATE TABLE item (
i_id integer,
title varchar(20)
)
CREATE TABLE review (
a_id integer,
u_id integer,
i_id integer,
rating integer,
rank integer
)
CREATE TABLE useracct (
u_id integer,
nam... | SELECT name, AVG(trust) FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.target_u_id GROUP BY T2.target_u_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2019,
41,
1391,
834,
76,
834,
23,
26,
30278,
6,
2387,
834,
76,
834,
23,
26,
30278,
6,
2019,
30278,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2118,
41,
3,
23,
834,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
6,
71,
17217,
599,
17691,
61,
21680,
1139,
6004,
17,
6157,
332,
536,
3,
15355,
3162,
2019,
6157,
332,
357,
9191,
332,
5411,
76,
834,
23,
26,
3274,
332,
4416,
24315,
834,
76,
834,
23,
26,
350,
4630,
6880,
272,... |
which competitor from united states had the longest time ? | CREATE TABLE table_204_521 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time (hand)" text,
"notes" text
) | SELECT "name" FROM table_204_521 WHERE "nationality" = 'united states' ORDER BY "time (hand)" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
755,
2658,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
4350,
121,
1499,
6,
96,
16557,
485,
121,
1499,
6,
96,
715,
41,
2894,
61,
121,
1499,
6,
96,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4350,
121,
21680,
953,
834,
26363,
834,
755,
2658,
549,
17444,
427,
96,
16557,
485,
121,
3274,
3,
31,
15129,
15,
26,
2315,
31,
4674,
11300,
272,
476,
96,
715,
41,
2894,
61,
121,
309,
25067,
8729,
12604,
209,
1... |
If the average start is 11.8, what was the team name? | CREATE TABLE table_2511 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
) | SELECT "Team(s)" FROM table_2511 WHERE "Avg. Start" = '11.8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2596,
41,
96,
476,
2741,
121,
490,
6,
96,
7681,
17,
7,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
3,
17395,
490,
6,
96,
22481,
335,
121,
490,
6,
96,
893... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
599,
7,
61,
121,
21680,
953,
834,
1828,
2596,
549,
17444,
427,
96,
188,
208,
122,
5,
3273,
121,
3274,
3,
31,
10032,
927,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the canton of grande dixence? | CREATE TABLE table_10020178_1 (
canton VARCHAR,
name VARCHAR
) | SELECT canton FROM table_10020178_1 WHERE name = "Grande Dixence" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2915,
9887,
927,
834,
536,
41,
26652,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
26652,
13,
3749,
20679,
1433,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
26652,
21680,
953,
834,
2915,
9887,
927,
834,
536,
549,
17444,
427,
564,
3274,
96,
4744,
29,
221,
2043,
226,
1433,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
for how many federal states is the city of lahnstein listed in the ranking? | CREATE TABLE table_26427332_17 (federal_state VARCHAR, city VARCHAR) | SELECT COUNT(federal_state) FROM table_26427332_17 WHERE city = "Lahnstein" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
4165,
4552,
2668,
834,
2517,
41,
16812,
138,
834,
5540,
584,
4280,
28027,
6,
690,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21,
149,
186,
2822,
2315,
19,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
16812,
138,
834,
5540,
61,
21680,
953,
834,
2688,
4165,
4552,
2668,
834,
2517,
549,
17444,
427,
690,
3274,
96,
3612,
107,
29,
4008,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Records from Kontor Records from the catalog of Kontor446 was released in what format? | CREATE TABLE table_name_63 (format VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_63 WHERE label = "kontor records" AND catalog = "kontor446" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
8995,
584,
4280,
28027,
6,
3783,
584,
4280,
28027,
6,
10173,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
11547,
45,
2974,
17,
127,
11547,
45,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1910,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
3783,
3274,
96,
25265,
52,
3187,
121,
3430,
10173,
3274,
96,
25265,
52,
591,
4448,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
If the total is 6, what is the maximum R? | CREATE TABLE table (
r INTEGER,
total VARCHAR
) | SELECT MAX(r) FROM table WHERE total = 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
41,
3,
52,
3,
21342,
17966,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
156,
8,
792,
19,
8580,
125,
19,
8,
2411,
391,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
52,
61,
21680,
953,
549,
17444,
427,
792,
3274,
431,
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,
-10... |
What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is Paligeorgos? | CREATE TABLE table_name_92 (nat VARCHAR, name VARCHAR, ends VARCHAR, since VARCHAR) | SELECT nat FROM table_name_92 WHERE ends > 2010 AND since = 2006 AND name = "paligeorgos" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
29,
144,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
5542,
584,
4280,
28027,
6,
437,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
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,
3,
29,
144,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
5542,
2490,
2735,
3430,
437,
3274,
3581,
3430,
564,
3274,
96,
6459,
3077,
1677,
32,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is every entry for description when the value of %yes is 51.82%? | CREATE TABLE table_3356 (
"meas. num." real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
) | SELECT "description" FROM table_3356 WHERE "% YES" = '51.82%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4201,
4834,
41,
96,
526,
9,
7,
5,
3,
5525,
535,
490,
6,
96,
3968,
15,
26,
121,
1499,
6,
96,
476,
3205,
11839,
121,
490,
6,
96,
7400,
11839,
121,
490,
6,
96,
1454,
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,
221,
11830,
121,
21680,
953,
834,
4201,
4834,
549,
17444,
427,
96,
1454,
3,
476,
3205,
121,
3274,
3,
31,
755,
16253,
5406,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
which airport is above tarampa airfield ? | CREATE TABLE table_204_139 (
id number,
"community" text,
"airport name" text,
"type" text,
"coordinates" text
) | SELECT "airport name" FROM table_204_139 WHERE id = (SELECT id FROM table_204_139 WHERE "airport name" = 'tarampa airfield') - 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
24090,
41,
3,
23,
26,
381,
6,
96,
18782,
485,
121,
1499,
6,
96,
2256,
1493,
564,
121,
1499,
6,
96,
6137,
121,
1499,
6,
96,
509,
21122,
7,
121,
1499,
3,
61,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
2256,
1493,
564,
121,
21680,
953,
834,
26363,
834,
24090,
549,
17444,
427,
3,
23,
26,
3274,
41,
23143,
14196,
3,
23,
26,
21680,
953,
834,
26363,
834,
24090,
549,
17444,
427,
96,
2256,
1493,
564,
121,
3274,
3,
... |
Which Venue has a Result of won 5-4? | CREATE TABLE table_name_65 (
venue VARCHAR,
result VARCHAR
) | SELECT venue FROM table_name_65 WHERE result = "won 5-4" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
5669,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
29940,
65,
3,
9,
3,
20119,
13,
751,
305,
4278,
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,
5669,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
741,
3274,
96,
210,
106,
7670,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many times did the team play at oakland-alameda county coliseum? | CREATE TABLE table_13259019_2 (
date VARCHAR,
game_site VARCHAR
) | SELECT COUNT(date) FROM table_13259019_2 WHERE game_site = "Oakland-Alameda County Coliseum" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
1828,
2394,
2294,
834,
357,
41,
833,
584,
4280,
28027,
6,
467,
834,
3585,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
648,
410,
8,
372,
577,
44,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
5522,
61,
21680,
953,
834,
2368,
1828,
2394,
2294,
834,
357,
549,
17444,
427,
467,
834,
3585,
3274,
96,
667,
1639,
40,
232,
18,
188,
521,
2726,
9,
1334,
3043,
159,
15,
440,
121,
1,
-100,
-100,
-1... |
Which team was the away team when the home team was north melbourne? | CREATE TABLE table_29090919_1 (
away_team VARCHAR,
home_team VARCHAR
) | SELECT away_team FROM table_29090919_1 WHERE home_team = "North Melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
4198,
4198,
2294,
834,
536,
41,
550,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
372,
47,
8,
550,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
11650,
21680,
953,
834,
3166,
4198,
4198,
2294,
834,
536,
549,
17444,
427,
234,
834,
11650,
3274,
96,
22969,
9396,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT SCORE WAS ON SEPTEMBER 21? | CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_50 WHERE date = "september 21" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
6508,
20888,
7896,
134,
9191,
180,
8569,
20050,
12920,
1401,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2604,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
833,
3274,
96,
7,
6707,
18247,
1401,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the regular season for final playoffs | CREATE TABLE table_2361911_2 (
regular_season VARCHAR,
playoffs VARCHAR
) | SELECT regular_season FROM table_2361911_2 WHERE playoffs = "Final" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3420,
2294,
2596,
834,
357,
41,
1646,
834,
9476,
584,
4280,
28027,
6,
15289,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1646,
774,
21,
804,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1646,
834,
9476,
21680,
953,
834,
357,
3420,
2294,
2596,
834,
357,
549,
17444,
427,
15289,
7,
3274,
96,
371,
10270,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the player for the School/Club team in Georgia? | CREATE TABLE table_name_73 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_73 WHERE school_club_team = "georgia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
20846,
584,
4280,
28027,
6,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
1959,
21,
8,
1121,
87,
254,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
496,
834,
13442,
834,
11650,
3274,
96,
397,
1677,
23,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.