NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
What is 1992, when 1990 is "Grand Slams"? | CREATE TABLE table_name_29 (Id VARCHAR) | SELECT 1992 FROM table_name_29 WHERE 1990 = "grand slams" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
196,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
9047,
6,
116,
5541,
19,
96,
4744,
727,
29291,
7,
121,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9047,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
5541,
3274,
96,
15448,
3,
7,
40,
265,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Show the product type codes that have at least two products. | CREATE TABLE parties (
party_id number,
party_details text
)
CREATE TABLE parties_in_events (
party_id number,
event_id number,
role_code text
)
CREATE TABLE events (
event_id number,
address_id number,
channel_id number,
event_type_code text,
finance_id number,
location_id... | SELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2251,
41,
1088,
834,
23,
26,
381,
6,
1088,
834,
221,
5756,
7,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2251,
834,
77,
834,
15,
2169,
7,
41,
1088,
834,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
556,
834,
6137,
834,
4978,
21680,
494,
350,
4630,
6880,
272,
476,
556,
834,
6137,
834,
4978,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
2490,
2423,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the highest rank for championships with christy heffernan with over 4 matches? | CREATE TABLE table_name_44 (rank INTEGER, player VARCHAR, matches VARCHAR) | SELECT MAX(rank) FROM table_name_44 WHERE player = "christy heffernan" AND matches > 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
6254,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
6,
6407,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
11003,
21,
10183,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
1959,
3274,
96,
15294,
63,
3,
88,
7010,
29,
152,
121,
3430,
6407,
2490,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the viewers where the rating is 5.3? | CREATE TABLE table_11178271_1 (
viewers__m_ VARCHAR,
rating VARCHAR
) | SELECT viewers__m_ FROM table_11178271_1 WHERE rating = "5.3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15866,
3940,
2555,
536,
834,
536,
41,
13569,
834,
834,
51,
834,
584,
4280,
28027,
6,
5773,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
13569,
213,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
13569,
834,
834,
51,
834,
21680,
953,
834,
15866,
3940,
2555,
536,
834,
536,
549,
17444,
427,
5773,
3274,
96,
26627,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
who is the the candidates with incumbent being don fuqua | CREATE TABLE table_72386 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
) | SELECT "Candidates" FROM table_72386 WHERE "Incumbent" = 'Don Fuqua' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2773,
3840,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
1499,
6,
96,
20119,
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,
14050,
12416,
6203,
121,
21680,
953,
834,
940,
2773,
3840,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
13843,
6343,
4960,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the name of the Malta vessel built after 2010 that is a GL class Panamax vessel? | CREATE TABLE table_33409 (
"Vessel Name" text,
"Type" text,
"Built" real,
"Class" text,
"Flag" text
) | SELECT "Vessel Name" FROM table_33409 WHERE "Flag" = 'malta' AND "Type" = 'panamax' AND "Class" = 'gl' AND "Built" > '2010' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3710,
4198,
41,
96,
553,
19132,
5570,
121,
1499,
6,
96,
25160,
121,
1499,
6,
96,
7793,
173,
17,
121,
490,
6,
96,
21486,
121,
1499,
6,
96,
371,
5430,
121,
1499,
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,
553,
19132,
5570,
121,
21680,
953,
834,
519,
3710,
4198,
549,
17444,
427,
96,
371,
5430,
121,
3274,
3,
31,
1982,
17,
9,
31,
3430,
96,
25160,
121,
3274,
3,
31,
2837,
9,
9128,
31,
3430,
96,
21486,
121,
3274,
3... |
Who is the manager of club fc twente? | CREATE TABLE table_name_48 (
manager VARCHAR,
club VARCHAR
) | SELECT manager FROM table_name_48 WHERE club = "fc twente" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
2743,
584,
4280,
28027,
6,
1886,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
2743,
13,
1886,
3,
89,
75,
3,
17,
16103,
15,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2743,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
1886,
3274,
96,
89,
75,
3,
17,
16103,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
A bar chart about what are the statuses and average populations of each city?, I want to sort by the the average of population in ascending. | CREATE TABLE farm (
Farm_ID int,
Year int,
Total_Horses real,
Working_Horses real,
Total_Cattle real,
Oxen real,
Bulls real,
Cows real,
Pigs real,
Sheep_and_Goats real
)
CREATE TABLE city (
City_ID int,
Official_Name text,
Status text,
Area_km_2 real,
Populat... | SELECT Status, AVG(Population) FROM city GROUP BY Status ORDER BY AVG(Population) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3797,
41,
4990,
834,
4309,
16,
17,
6,
2929,
16,
17,
6,
9273,
834,
566,
127,
2260,
490,
6,
7301,
834,
566,
127,
2260,
490,
6,
9273,
834,
254,
9,
8692,
490,
6,
20919,
35,
490,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
19318,
6,
71,
17217,
599,
27773,
7830,
61,
21680,
690,
350,
4630,
6880,
272,
476,
19318,
4674,
11300,
272,
476,
71,
17217,
599,
27773,
7830,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the name of the course that has the most student enrollment? | CREATE TABLE Courses (
course_name VARCHAR,
course_id VARCHAR
)
CREATE TABLE Student_Course_Enrolment (
course_id VARCHAR
) | SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8670,
7,
41,
503,
834,
4350,
584,
4280,
28027,
6,
503,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
6341,
834,
3881,
3589,
15,
834,
8532... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19221,
834,
4350,
21680,
8670,
7,
6157,
332,
536,
3,
15355,
3162,
6341,
834,
3881,
3589,
15,
834,
8532,
3491,
297,
6157,
332,
357,
9191,
332,
5411,
19221,
834,
23,
26,
3274,
332,
4416,
19221,
834,
23,
26,... |
What is the date before week 13 and Miami Dolphins as an opponent? | CREATE TABLE table_name_48 (
date VARCHAR,
week VARCHAR,
opponent VARCHAR
) | SELECT date FROM table_name_48 WHERE week < 13 AND opponent = "miami dolphins" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
833,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
833,
274,
471,
1179,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
471,
3,
2,
1179,
3430,
15264,
3274,
96,
51,
23,
3690,
25903,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
In what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas? | CREATE TABLE table_66712 (
"Year" text,
"Finish" text,
"Team" text,
"Tournament" text,
"Role" text
) | SELECT "Year" FROM table_66712 WHERE "Tournament" = '1st division el salvador' AND "Finish" = 'champion' AND "Team" = 'fas' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4450,
357,
41,
96,
476,
2741,
121,
1499,
6,
96,
371,
77,
1273,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
448,
32,
109,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
121,
21680,
953,
834,
3539,
4450,
357,
549,
17444,
427,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
536,
7,
17,
4889,
3,
15,
40,
18770,
26,
127,
31,
3430,
96,
371,
77,
1273,
121,
3274,
3,
31,
17... |
Who is the director with the Min Dally Nseek title, and won? | CREATE TABLE table_78881 (
"Year" real,
"Title" text,
"Director" text,
"Survey" text,
"Result" text
) | SELECT "Director" FROM table_78881 WHERE "Title" = 'min dally nseek' AND "Result" = 'won' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
10927,
536,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
127,
121,
1499,
6,
96,
134,
450,
162,
63,
121,
1499,
6,
96,
20119,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23620,
127,
121,
21680,
953,
834,
940,
10927,
536,
549,
17444,
427,
96,
382,
155,
109,
121,
3274,
3,
31,
1109,
3,
26,
1427,
3,
29,
7,
10266,
31,
3430,
96,
20119,
121,
3274,
3,
31,
210,
106,
31,
1,
-100,
-1... |
I want the score for 23 july 1992 | CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_86 WHERE date = "23 july 1992" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
7,
9022,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
27,
241,
8,
2604,
21,
1902,
3,
2047,
120,
9047,
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,
2604,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
833,
3274,
96,
2773,
3,
2047,
120,
9047,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
hemoglobin >= 12 gm / dl in male , or >= 11 gm / dl in female , | CREATE TABLE table_dev_36 (
"id" int,
"gender" string,
"prediabetes" bool,
"leukopenia" int,
"hemoglobin_a1c_hba1c" float,
"cd4_count" int,
"platelets" int,
"hematocrit_hct" float,
"fasting_triglycerides" int,
"hyperlipidemia" bool,
"lymphopenia" int,
"fasting_ldl_cholest... | SELECT * FROM table_dev_36 WHERE (hemoglobin_a1c_hba1c >= 12 AND gender = 'male') OR (hemoglobin_a1c_hba1c >= 11 AND gender = 'female') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9776,
834,
3420,
41,
96,
23,
26,
121,
16,
17,
6,
96,
122,
3868,
121,
6108,
6,
96,
2026,
26,
23,
9,
346,
1422,
121,
3,
12840,
40,
6,
96,
109,
1598,
8751,
23,
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,
1429,
21680,
953,
834,
9776,
834,
3420,
549,
17444,
427,
41,
6015,
32,
14063,
77,
834,
9,
536,
75,
834,
107,
115,
9,
536,
75,
2490,
2423,
586,
3430,
7285,
3274,
3,
31,
13513,
31,
61,
4674,
41,
6015,
32,
14063,
7... |
What company is the producer at the poolavadi location | CREATE TABLE table_name_99 (producer VARCHAR, location VARCHAR) | SELECT producer FROM table_name_99 WHERE location = "poolavadi" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
1409,
4817,
49,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
349,
19,
8,
8211,
44,
8,
2201,
8644,
26,
23,
1128,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8211,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
1128,
3274,
96,
13194,
8644,
26,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is primary disease and lab test fluid of subject id 2560? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT demographic.diagnosis, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
25930,
4844,
159,
6,
7690,
5,
6947,
23,
26,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,
427,
14798,
5,
7304,
... |
What was the total attendance at games when Detroit was the visiting team and the record was 36 13 5? | CREATE TABLE table_68218 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) | SELECT COUNT("Attendance") FROM table_68218 WHERE "Visitor" = 'detroit' AND "Record" = '36–13–5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
357,
2606,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
188,
17,
324,
26,
663,
8512,
21680,
953,
834,
3651,
357,
2606,
549,
17444,
427,
96,
553,
159,
155,
127,
121,
3274,
3,
31,
26,
15252,
155,
31,
3430,
96,
1649,
7621,
121,
3274,
3,
31,
3420,
... |
How many games were lost that had goals against of 5? | CREATE TABLE table_name_15 (
lost VARCHAR,
goals_against VARCHAR
) | SELECT lost FROM table_name_15 WHERE goals_against = "5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1808,
41,
1513,
584,
4280,
28027,
6,
1766,
834,
9,
16720,
7,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1031,
130,
1513,
24,
141,
1766... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1513,
21680,
953,
834,
4350,
834,
1808,
549,
17444,
427,
1766,
834,
9,
16720,
7,
17,
3274,
96,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What team did James Vanderberg belong to when the Completions had a status of redshirt? | CREATE TABLE table_name_21 (
team VARCHAR,
completions VARCHAR
) | SELECT team FROM table_name_21 WHERE completions = "redshirt" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
372,
584,
4280,
28027,
6,
6929,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
410,
2549,
24039,
49,
2235,
13000,
12,
116,
8,
496... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
6929,
7,
3274,
96,
1271,
9486,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Record has a High rebounds of luc mbah a moute (11)? | CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR) | SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
60,
7621,
584,
4280,
28027,
6,
306,
834,
23768,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
11392,
65,
3,
9,
1592,
3,
23768,
13,
3,
1152... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1368,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
306,
834,
23768,
3274,
96,
11525,
3,
51,
17670,
3,
9,
2288,
2810,
4077,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is his highest number of top 25s when eh played over 2 events and under 0 wins? | CREATE TABLE table_75590 (
"Tournament" text,
"Wins" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT MAX("Top-25") FROM table_75590 WHERE "Events" > '2' AND "Wins" < '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
755,
2394,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
4536,
121,
490,
6,
96,
22481,
14855,
121,
490,
6,
96,
427,
2169,
7,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
22481,
14855,
8512,
21680,
953,
834,
3072,
755,
2394,
549,
17444,
427,
96,
427,
2169,
7,
121,
2490,
3,
31,
357,
31,
3430,
96,
18455,
7,
121,
3,
2,
3,
31,
632,
31,
1,
-100,
-100,
-100,
-100,
... |
Where is the player Raymond Floyd? | CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_47 WHERE player = "raymond floyd" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
4687,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
19,
8,
1959,
22405,
29767,
58,
1,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
1959,
3274,
96,
2866,
6764,
8882,
63,
26,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the total number for co 2 for atd/axr | CREATE TABLE table_22011 (
"Name" text,
"Volume" text,
"Engine" text,
"Fuel" text,
"Output" text,
"Torque" text,
"Engine ID code(s)" text,
"0\u2013100km/h,s" text,
"Top speed" text,
"CO 2" text,
"Years" text
) | SELECT COUNT("CO 2") FROM table_22011 WHERE "Engine ID code(s)" = 'ATD/AXR' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
13907,
41,
96,
23954,
121,
1499,
6,
96,
22803,
440,
15,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
371,
76,
15,
40,
121,
1499,
6,
96,
15767,
2562,
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,
2847,
17161,
599,
121,
5911,
204,
8512,
21680,
953,
834,
357,
13907,
549,
17444,
427,
96,
31477,
4699,
1081,
599,
7,
61,
121,
3274,
3,
31,
5767,
308,
87,
188,
4,
448,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the record when the visiting team was the montreal canadiens? | CREATE TABLE table_name_45 (
record VARCHAR,
visitor VARCHAR
) | SELECT record FROM table_name_45 WHERE visitor = "montreal canadiens" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
1368,
584,
4280,
28027,
6,
7019,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1368,
116,
8,
3644,
372,
47,
8,
15826,
138,
27114,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1368,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
7019,
3274,
96,
4662,
6644,
27114,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis? | CREATE TABLE table_name_12 (
year VARCHAR,
runner_up VARCHAR,
winner VARCHAR,
venue VARCHAR
) | SELECT year FROM table_name_12 WHERE winner = "olympiacos" AND venue = "georgios karaiskakis stadium" AND runner_up = "iraklis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
215,
584,
4280,
28027,
6,
3,
10806,
834,
413,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
215,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
4668,
3274,
96,
32,
120,
1167,
23,
9,
509,
7,
121,
3430,
5669,
3274,
96,
397,
127,
10253,
7,
3,
4031,
9,
13690,
11259,
7,
14939,
121,
3430,
3,
10806,
834,
... |
What was the category of the project name Mighty No. 9? | CREATE TABLE table_27155990_1 (
category VARCHAR,
project_name VARCHAR
) | SELECT category FROM table_27155990_1 WHERE project_name = "Mighty No. 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
20896,
26901,
834,
536,
41,
3295,
584,
4280,
28027,
6,
516,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
3295,
13,
8,
516,
564,
2384... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3295,
21680,
953,
834,
2555,
20896,
26901,
834,
536,
549,
17444,
427,
516,
834,
4350,
3274,
96,
329,
2632,
63,
465,
5,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the name of the Artist for the Spoofed Title of the moron downer jr. show? | CREATE TABLE table_name_13 (artist VARCHAR, spoofed_title VARCHAR) | SELECT artist FROM table_name_13 WHERE spoofed_title = "the moron downer jr. show" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
1408,
343,
584,
4280,
28027,
6,
3,
7,
18450,
19565,
834,
21869,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
9152,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
2377,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
3,
7,
18450,
19565,
834,
21869,
3274,
96,
532,
8030,
106,
323,
49,
3,
354,
52,
5,
504,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the call sign of the translator with an ERP W greater than 38 and a city license from Great Falls, Montana? | CREATE TABLE table_name_60 (call_sign VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) | SELECT call_sign FROM table_name_60 WHERE erp_w > 38 AND city_of_license = "great falls, montana" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
16482,
834,
6732,
584,
4280,
28027,
6,
3,
49,
102,
834,
210,
584,
4280,
28027,
6,
690,
834,
858,
834,
28062,
584,
4280,
28027,
61,
3,
32102,
32103,
321... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
580,
834,
6732,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
3,
49,
102,
834,
210,
2490,
6654,
3430,
690,
834,
858,
834,
28062,
3274,
96,
20288,
7250,
6,
6278,
152,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-... |
Name the number of developed by for solid edge | CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR) | SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application = "Solid Edge" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3647,
3436,
4560,
834,
536,
41,
24468,
834,
969,
584,
4280,
28027,
6,
917,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
1597,
57,
21,
1973,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
24468,
834,
969,
61,
21680,
953,
834,
2294,
3647,
3436,
4560,
834,
536,
549,
17444,
427,
917,
3274,
96,
5231,
8130,
11690,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who is the Winner of the Nissan Motorsport Australia Team at the Oran Park Raceway? | CREATE TABLE table_name_42 (winner VARCHAR, team VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_42 WHERE team = "nissan motorsport australia" AND circuit = "oran park raceway" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
3757,
687,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
18125,
13,
8,
19026,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4668,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
372,
3274,
96,
29,
159,
7,
152,
2340,
6661,
23407,
121,
3430,
4558,
3274,
96,
127,
152,
2447,
1964,
1343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which Venue has a Opponents of halmstad and a Score of 1-1? | CREATE TABLE table_name_84 (venue VARCHAR, opponents VARCHAR, score VARCHAR) | SELECT venue FROM table_name_84 WHERE opponents = "halmstad" AND score = "1-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
15098,
584,
4280,
28027,
6,
16383,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
29940,
65,
3,
9,
4495,
9977,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
16383,
3274,
96,
3828,
51,
2427,
26,
121,
3430,
2604,
3274,
96,
536,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
which athlete played against Queensland? | CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR) | SELECT player FROM table_name_17 WHERE opponent = "queensland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2517,
41,
20846,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
84,
17893,
1944,
581,
18838,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
2517,
549,
17444,
427,
15264,
3274,
96,
835,
35,
7,
40,
232,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What position does the player from Peterborough Petes (OHA) play on? | CREATE TABLE table_1213511_2 (
position VARCHAR,
college_junior_club_team VARCHAR
) | SELECT position FROM table_1213511_2 WHERE college_junior_club_team = "Peterborough Petes (OHA)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22011,
2469,
2596,
834,
357,
41,
1102,
584,
4280,
28027,
6,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1102,
21680,
953,
834,
22011,
2469,
2596,
834,
357,
549,
17444,
427,
1900,
834,
6959,
23,
127,
834,
13442,
834,
11650,
3274,
96,
345,
15,
449,
12823,
19786,
7,
41,
9195,
188,
61,
121,
1,
-100,
-100,
-100,
-100,
-100... |
calculate the total number of female patients who had endovascular (total) embolization or occlusion of head and neck vessels | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.long_title = "Endovascular (total) embolization or occlusion of head and neck vessels" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What is the year of the Lotus 18 chassis? | CREATE TABLE table_58739 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." text
) | SELECT COUNT("Year") FROM table_58739 WHERE "Chassis" = 'lotus 18' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
4225,
3288,
41,
96,
476,
2741,
121,
490,
6,
96,
16924,
3569,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
345,
17,
7,
535,
1499,
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,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
121,
476,
2741,
8512,
21680,
953,
834,
755,
4225,
3288,
549,
17444,
427,
96,
3541,
6500,
7,
121,
3274,
3,
31,
3171,
302,
507,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the quarterfinal week for Austin Anderson? | CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR) | SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
5373,
4314,
4018,
834,
2658,
41,
1824,
17,
52,
834,
12406,
834,
834,
8041,
834,
3,
21342,
17966,
6,
564,
834,
4350,
834,
858,
834,
2708,
584,
4280,
28027,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1824,
17,
52,
834,
12406,
834,
834,
8041,
834,
61,
21680,
953,
834,
2555,
5373,
4314,
4018,
834,
2658,
549,
17444,
427,
564,
834,
4350,
834,
858,
834,
2708,
3274,
96,
14934,
17,
77,
11825,
121,
1,
-... |
Name the theatre for aaron jablonski schuyler grogan with performances more than 49 | CREATE TABLE table_name_31 (
theatre VARCHAR,
performances VARCHAR,
role VARCHAR
) | SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3341,
41,
8516,
584,
4280,
28027,
6,
7357,
584,
4280,
28027,
6,
1075,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
8516,
21,
3,
9,
291,
106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8516,
21680,
953,
834,
4350,
834,
3341,
549,
17444,
427,
7357,
2490,
9526,
3430,
1075,
3274,
96,
9,
291,
106,
2662,
4672,
29,
4009,
3,
7,
8019,
63,
1171,
3,
3844,
2565,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which away team played against the home team of St Kilda? | CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_66 WHERE home_team = "st kilda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
550,
372,
1944,
581,
8,
234,
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,
550,
834,
11650,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
17,
3,
157,
173,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe? | CREATE TABLE table_19207 (
"Elementary Schools" text,
"Mascot" text,
"Address" text,
"Principal (2013-2014)" text,
"Assistant Principal (2013-2014)" text
) | SELECT "Assistant Principal (2013-2014)" FROM table_19207 WHERE "Principal (2013-2014)" = 'Cort Monroe' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
26426,
41,
96,
427,
3335,
1208,
13255,
121,
1499,
6,
96,
329,
9,
7,
4310,
121,
1499,
6,
96,
20773,
9377,
121,
1499,
6,
96,
7855,
29,
3389,
138,
41,
11138,
18,
10218... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7,
7,
343,
288,
15449,
41,
11138,
18,
10218,
61,
121,
21680,
953,
834,
2294,
26426,
549,
17444,
427,
96,
7855,
29,
3389,
138,
41,
11138,
18,
10218,
61,
121,
3274,
3,
31,
13026,
17,
25182,
31,
1,
-100,
-... |
What is Target Version, when Last Release is 2009-08-09, 1.2.9? | CREATE TABLE table_49050 (
"Source Version" text,
"Target Version" text,
"Last Release" text,
"License" text,
"Website" text
) | SELECT "Target Version" FROM table_49050 WHERE "Last Release" = '2009-08-09, 1.2.9' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2394,
1752,
41,
96,
23799,
8011,
121,
1499,
6,
96,
382,
291,
2782,
8011,
121,
1499,
6,
96,
3612,
7,
17,
13048,
121,
1499,
6,
96,
434,
447,
5167,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
382,
291,
2782,
8011,
121,
21680,
953,
834,
591,
2394,
1752,
549,
17444,
427,
96,
3612,
7,
17,
13048,
121,
3274,
3,
31,
16660,
18,
4018,
18,
4198,
6,
1300,
27297,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the visiting team that has a home team related to footscray? | CREATE TABLE table_name_24 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_24 WHERE home_team = "footscray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3644,
372,
24,
65,
3,
9,
234,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
834,
11650,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
234,
834,
11650,
3274,
96,
6259,
7,
2935,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the date founded/founder when the emblem was Hercules? | CREATE TABLE table_26712 (
"Legion no and title" text,
"Main legion base" text,
"Emblem" text,
"Date founded/ founder" text,
"Date disband" text,
"Castra legionaria (legion bases) * = main base. Start date 31 BC if unspecified" text,
"Notes" text
) | SELECT "Date founded/ founder" FROM table_26712 WHERE "Emblem" = 'Hercules' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3708,
2122,
41,
96,
434,
11097,
106,
150,
11,
2233,
121,
1499,
6,
96,
21978,
29,
12409,
106,
1247,
121,
1499,
6,
96,
17467,
109,
51,
121,
1499,
6,
96,
308,
342,
5710... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5710,
87,
7174,
121,
21680,
953,
834,
357,
3708,
2122,
549,
17444,
427,
96,
17467,
109,
51,
121,
3274,
3,
31,
12636,
1497,
15,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
what is the amount races that were competed in ? | CREATE TABLE table_203_262 (
id number,
"year" number,
"team" text,
"co-drivers" text,
"car" text,
"class" text,
"laps" number,
"pos." text,
"class\npos." text
) | SELECT COUNT(*) FROM table_203_262 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2688,
357,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
11650,
121,
1499,
6,
96,
509,
18,
13739,
52,
7,
121,
1499,
6,
96,
1720,
121,
1499,
6,
96,
405... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
23330,
834,
2688,
357,
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... |
What tournament has 1r as a 2004, and 1r as a 2007? | CREATE TABLE table_name_77 (tournament VARCHAR) | SELECT tournament FROM table_name_77 WHERE 2004 = "1r" AND 2007 = "1r" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4013,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
5892,
65,
209,
52,
38,
3,
9,
16931,
11,
209,
52,
38,
3,
9,
4101,
58,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5892,
21680,
953,
834,
4350,
834,
4013,
549,
17444,
427,
4406,
3274,
96,
536,
52,
121,
3430,
4101,
3274,
96,
536,
52,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the primary disease and diagnosis short title of Michelle Skidmore? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT demographic.diagnosis, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Michelle Skidmore" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
25930,
4844,
159,
6,
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,
... |
How many players has the highest points in the game against the Heat? | CREATE TABLE table_23285849_6 (
high_points VARCHAR,
team VARCHAR
) | SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = "Heat" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2577,
3449,
3647,
834,
948,
41,
306,
834,
2700,
7,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1508,
65,
8,
2030,
979,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
6739,
834,
2700,
7,
61,
21680,
953,
834,
2773,
2577,
3449,
3647,
834,
948,
549,
17444,
427,
372,
3274,
96,
3845,
144,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What date has ny islanders as the visitor? | CREATE TABLE table_name_66 (
date VARCHAR,
visitor VARCHAR
) | SELECT date FROM table_name_66 WHERE visitor = "ny islanders" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
833,
584,
4280,
28027,
6,
7019,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
65,
3,
29,
63,
3368,
277,
38,
8,
7019,
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,
833,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
7019,
3274,
96,
29,
63,
3368,
277,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many fights did mocho cota win after 1983 ? | CREATE TABLE table_204_373 (
id number,
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
) | SELECT COUNT(*) FROM table_204_373 WHERE "winner" = 'mocho cota' AND "date" > 1983 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4118,
519,
41,
3,
23,
26,
381,
6,
96,
15238,
49,
121,
1499,
6,
96,
3757,
687,
121,
1499,
6,
96,
2298,
49,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
5522,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
4118,
519,
549,
17444,
427,
96,
3757,
687,
121,
3274,
3,
31,
51,
32,
3995,
3,
4310,
9,
31,
3430,
96,
5522,
121,
2490,
15041,
1,
-100,
-100,
-100,
-100,
-100... |
If the pick is under 28 and the position is k, what's the highest Overall pick? | CREATE TABLE table_50583 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT MAX("Overall") FROM table_50583 WHERE "Position" = 'k' AND "Pick" < '28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
3449,
519,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
345,
3142,
121,
490,
6,
96,
23847,
1748,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
23847,
1748,
8512,
21680,
953,
834,
1752,
3449,
519,
549,
17444,
427,
96,
345,
32,
7,
4749,
121,
3274,
3,
31,
157,
31,
3430,
96,
345,
3142,
121,
3,
2,
3,
31,
2577,
31,
1,
-100,
-100,
-100,
-... |
What Label was Released on December 7, 2012? | CREATE TABLE table_name_27 (
label VARCHAR,
release_date VARCHAR
) | SELECT label FROM table_name_27 WHERE release_date = "december 7, 2012" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
3783,
584,
4280,
28027,
6,
1576,
834,
5522,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
16229,
47,
13048,
26,
30,
1882,
7973,
1673,
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,
3783,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
1576,
834,
5522,
3274,
96,
221,
75,
18247,
7973,
1673,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which club participated with a record of 45 tries against? | CREATE TABLE table_name_91 (
club VARCHAR,
tries_against VARCHAR
) | SELECT club FROM table_name_91 WHERE tries_against = "45" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4729,
41,
1886,
584,
4280,
28027,
6,
3,
9000,
834,
9,
16720,
7,
17,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
1886,
10627,
28,
3,
9,
1368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1886,
21680,
953,
834,
4350,
834,
4729,
549,
17444,
427,
3,
9000,
834,
9,
16720,
7,
17,
3274,
96,
2128,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
who was the last coach to only have 1 loss ? | CREATE TABLE table_204_469 (
id number,
"coach" text,
"years" text,
"seasons" number,
"wins" number,
"losses" number,
"ties" number,
"pct" number
) | SELECT "coach" FROM table_204_469 WHERE "losses" = 1 ORDER BY "years" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
591,
3951,
41,
3,
23,
26,
381,
6,
96,
509,
1836,
121,
1499,
6,
96,
1201,
7,
121,
1499,
6,
96,
9476,
7,
121,
381,
6,
96,
3757,
7,
121,
381,
6,
96,
2298,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
1836,
121,
21680,
953,
834,
26363,
834,
591,
3951,
549,
17444,
427,
96,
2298,
2260,
121,
3274,
209,
4674,
11300,
272,
476,
96,
1201,
7,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the sum rank of Solomon Bayoh when his time was smaller than 22.16? | CREATE TABLE table_name_61 (rank INTEGER, athlete VARCHAR, time VARCHAR) | SELECT SUM(rank) FROM table_name_61 WHERE athlete = "solomon bayoh" AND time < 22.16 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
6254,
3,
21342,
17966,
6,
17893,
584,
4280,
28027,
6,
97,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
11003,
13,
24421,
2474,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6254,
61,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
17893,
3274,
96,
4099,
32,
2157,
10210,
32,
107,
121,
3430,
97,
3,
2,
1630,
5,
2938,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Q1 order for Felipe Massa? | CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR) | SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
5176,
4240,
357,
834,
536,
41,
1824,
536,
834,
9397,
3,
21342,
17966,
6,
2535,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1593,
536,
455,
21,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
1824,
536,
834,
9397,
61,
21680,
953,
834,
2517,
5176,
4240,
357,
834,
536,
549,
17444,
427,
2535,
3274,
96,
17160,
23,
855,
5770,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the class when there were 325 laps? | CREATE TABLE table_name_32 (
class VARCHAR,
laps VARCHAR
) | SELECT class FROM table_name_32 WHERE laps = 325 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
853,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
853,
116,
132,
130,
220,
1828,
14941,
7,
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,
853,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
14941,
7,
3274,
220,
1828,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the date of birth and primary disease of David Trammell? | 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, demographic.diagnosis FROM demographic WHERE demographic.name = "David Trammell" | [
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,
14798,
5,
25930,
4844,
159,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
308,
9,
6961,
3083,
635,
3820,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the highest number of points scored by minardi team usa in more than 13 laps? | CREATE TABLE table_name_2 (points INTEGER, laps VARCHAR, team VARCHAR) | SELECT MAX(points) FROM table_name_2 WHERE laps > 13 AND team = "minardi team usa" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
2700,
7,
3,
21342,
17966,
6,
14941,
7,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
381,
13,
979,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
14941,
7,
2490,
1179,
3430,
372,
3274,
96,
1109,
986,
23,
372,
178,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For those employees who did not have any job in the past, return a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id, order by the total number in asc. | CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMENT_ID decimal(... | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(EMPLOYEE_ID) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1652,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
30085,
834,
567,
17683,
3,
4331,
4059,
599,
1755,
201,
301,
12510,
834,
567,
17683,
3,
4331,
4059,
59... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
446,
10539,
834,
4309,
6,
180,
6122,
599,
6037,
345,
5017,
476,
5080,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
4486,
262,
5244,
5017,
476,
5080,
834,
4309,
3388,
41,
23143,
14196,
262,
5244,
5017,
476,
5080,
834,
... |
What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976? | CREATE TABLE table_5472 (
"Corps Name" text,
"Number of Finals Appearances" real,
"Year of First Appearance" real,
"Year of Most Recent Appearance" real,
"All Years of Finals Appearances" text
) | SELECT AVG("Year of Most Recent Appearance") FROM table_5472 WHERE "Year of First Appearance" > '1976' AND "Corps Name" = 'boston crusaders' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
5865,
41,
96,
13026,
102,
7,
5570,
121,
1499,
6,
96,
567,
5937,
49,
13,
6514,
7,
2276,
2741,
663,
7,
121,
490,
6,
96,
476,
2741,
13,
1485,
2276,
2741,
663,
121,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
121,
476,
2741,
13,
1377,
17716,
2276,
2741,
663,
8512,
21680,
953,
834,
5062,
5865,
549,
17444,
427,
96,
476,
2741,
13,
1485,
2276,
2741,
663,
121,
2490,
3,
31,
2294,
3959,
31,
3430,
96,
13026,
102,... |
when the nickname halley is used, what are the date completed | CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR) | SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12278,
2518,
22464,
834,
536,
41,
5522,
834,
25288,
26,
584,
4280,
28027,
6,
24649,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
116,
8,
24649,
3,
18369,
63,
19,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
834,
25288,
26,
21680,
953,
834,
12278,
2518,
22464,
834,
536,
549,
17444,
427,
24649,
3274,
96,
566,
138,
1306,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what was the total gross of frozen when it was number one ? | CREATE TABLE table_204_7 (
id number,
"#" number,
"date" text,
"film" text,
"gross" text,
"top ten places" text
) | SELECT SUM("gross") FROM table_204_7 WHERE "film" = 'frozen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
940,
41,
3,
23,
26,
381,
6,
96,
4663,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
9988,
121,
1499,
6,
96,
3844,
7,
7,
121,
1499,
6,
96,
2916,
3,
324,
1747,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
3844,
7,
7,
8512,
21680,
953,
834,
26363,
834,
940,
549,
17444,
427,
96,
9988,
121,
3274,
3,
31,
6155,
1847,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Qual 1 has a Qual 2 of 59.822? | CREATE TABLE table_name_76 (qual_1 VARCHAR, qual_2 VARCHAR) | SELECT qual_1 FROM table_name_76 WHERE qual_2 = "59.822" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
11433,
834,
536,
584,
4280,
28027,
6,
3,
11433,
834,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
2415,
138,
209,
65,
3,
9,
2415,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
11433,
834,
536,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
3,
11433,
834,
357,
3274,
96,
3390,
5,
4613,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the final score in Tie #28? | CREATE TABLE table_62578 (
"Tie no" real,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
) | SELECT "Score" FROM table_62578 WHERE "Tie no" = '28' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
1828,
3940,
41,
96,
382,
23,
15,
150,
121,
490,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
17,
324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
948,
1828,
3940,
549,
17444,
427,
96,
382,
23,
15,
150,
121,
3274,
3,
31,
2577,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the lowest no. of attendance on record? | CREATE TABLE table_16119656_1 (attendance INTEGER) | SELECT MIN(attendance) FROM table_16119656_1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
2596,
4314,
4834,
834,
536,
41,
15116,
663,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
7402,
150,
5,
13,
11364,
30,
1368,
58,
1,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
15116,
663,
61,
21680,
953,
834,
2938,
2596,
4314,
4834,
834,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the High assists with a Date that is march 31? | CREATE TABLE table_41443 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High assists" FROM table_41443 WHERE "Date" = 'march 31' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2534,
4906,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
21417,
13041,
121,
21680,
953,
834,
591,
2534,
4906,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
51,
7064,
2664,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
In what district was the incumbent Charles Hawkins? | CREATE TABLE table_838 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"2007 Result" text
) | SELECT "District" FROM table_838 WHERE "Incumbent" = 'Charles Hawkins' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
927,
3747,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
21543,
15,
26,
121,
490,
6,
96,
134,
17,
144,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
23,
20066,
121,
21680,
953,
834,
927,
3747,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
18947,
965,
12833,
77,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the lowest viewers (m) when the share is more than 13? | CREATE TABLE table_56997 (
"Episode" text,
"Air date" text,
"Rating" real,
"Share" real,
"18-49 (Rating/Share)" text,
"Viewers (m)" real,
"Rank (timeslot)" text
) | SELECT MIN("Viewers (m)") FROM table_56997 WHERE "Share" > '13' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3951,
4327,
41,
96,
427,
102,
159,
32,
221,
121,
1499,
6,
96,
20162,
833,
121,
1499,
6,
96,
448,
1014,
121,
490,
6,
96,
24501,
121,
490,
6,
96,
2606,
18,
3647,
41,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
15270,
277,
41,
51,
61,
8512,
21680,
953,
834,
755,
3951,
4327,
549,
17444,
427,
96,
24501,
121,
2490,
3,
31,
2368,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what builder launched the name minerva | CREATE TABLE table_75587 (
"Name" text,
"Pennant number" text,
"Builder" text,
"Laid Down" text,
"Launched" text,
"Commissioned" text,
"Current status" text
) | SELECT "Launched" FROM table_75587 WHERE "Name" = 'minerva' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3072,
755,
4225,
41,
96,
23954,
121,
1499,
6,
96,
345,
35,
29,
288,
381,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
434,
6146,
7309,
121,
1499,
6,
96,
3612,
202,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3612,
202,
4513,
121,
21680,
953,
834,
3072,
755,
4225,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
1109,
49,
900,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the total Money ( ) with a Place of t6, and a Player of ian baker-finch? | CREATE TABLE table_62673 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" real
) | SELECT COUNT("Money ( \u00a3 )") FROM table_62673 WHERE "Place" = 't6' AND "Player" = 'ian baker-finch' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4056,
3708,
519,
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,
2847,
17161,
599,
121,
9168,
15,
63,
41,
3,
2,
76,
1206,
9,
519,
3,
61,
8512,
21680,
953,
834,
4056,
3708,
519,
549,
17444,
427,
96,
345,
11706,
121,
3274,
3,
31,
17,
948,
31,
3430,
96,
15800,
49,
121,
3274,
3... |
How did the game number 50 end? | CREATE TABLE table_25812 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Score" FROM table_25812 WHERE "Game" = '50' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3449,
2122,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
18699,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
21417,
979,
121,
1499,
6,
96,
21417,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
9022,
121,
21680,
953,
834,
357,
3449,
2122,
549,
17444,
427,
96,
23055,
121,
3274,
3,
31,
1752,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
count the number of patients who have white ethnic background with a diagnosis icd9 code v4502. | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.icd9_code = "V4502" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
What is the partially deleted result for a completed construction of m in St. Maries Creosote? | CREATE TABLE table_name_47 (
partially_deleted VARCHAR,
construction_completed VARCHAR,
name VARCHAR
) | SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. maries creosote" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
14610,
834,
26,
400,
1054,
584,
4280,
28027,
6,
1449,
834,
25288,
26,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14610,
834,
26,
400,
1054,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
1449,
834,
25288,
26,
3274,
96,
104,
121,
3430,
564,
3274,
96,
7,
17,
5,
2774,
15,
7,
3935,
32,
7,
32,
17,
15,
121,
1,
-100,
-100,
... |
Show me about the distribution of ACC_Regular_Season and All_Games_Percent in a bar chart. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
6,
432,
834,
23055,
7,
834,
12988,
3728,
21680,
8498,
834,
19515,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
calculate the maximum age of medicaid patients who belong to black/cape verdean ethnic background. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT MAX(demographic.age) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.ethnicity = "BLACK/CAPE VERDEAN" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
29441,
3274,
96,
15789,
6146,
121,
3430,
14798,
5,
15,
189,
2532,
485,
3274,
96,
8775,
15339,
87,
16986,
427,
3,
16174,
308,
20152,
121... |
what is last weight of patient 033-1746 until 61 months ago. | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE patient (
uniquepid text,
... | SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-1746') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-61 month') ORDER BY patient.unitad... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1058,
41,
1058,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
1058,
4350,
1499,
6,
1058,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
2179,
9339,
41,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1868,
5,
9,
26,
5451,
9378,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
15878,
3734,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15878,
3734,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1... |
give me the number of patients whose marital status is divorced and admission year is less than 2114? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic ... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admityear < "2114" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
1635,
9538,
834,
8547,
302,
3274,
96,
308,
7589,
2990,
254,
2326,
121,
3430,
14798,
5,
20466,
17,
... |
For those employees who do not work in departments with managers that have ids between 100 and 200, find email and salary , and visualize them by a bar chart, and display by the Y-axis from low to high. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varcha... | SELECT EMAIL, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2476,
41,
446,
10539,
834,
4309,
3,
4331,
4059,
599,
16968,
6,
446,
10539,
834,
382,
3177,
3765,
3,
4331,
4059,
599,
2469,
201,
3,
17684,
834,
134,
4090,
24721,
7908,
1982,
599,
11071,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20211,
3502,
6,
180,
4090,
24721,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549,
17444,
427,
283,
15610,
17966,
834,
4309,
... |
What is the result of the World Race Walking Cup tournament played before the year 2010? | CREATE TABLE table_80262 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Event" text
) | SELECT "Result" FROM table_80262 WHERE "Year" > '2010' AND "Tournament" = 'world race walking cup' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
2688,
357,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
427,
2169,
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,
20119,
121,
21680,
953,
834,
2079,
2688,
357,
549,
17444,
427,
96,
476,
2741,
121,
2490,
3,
31,
14926,
31,
3430,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
7276,
1964,
3214,
4119,
31,
1,
-100,
-100,
-100,
-10... |
What is the chassis of rahel frey's volkswagen engine? | CREATE TABLE table_name_74 (
chassis VARCHAR,
engine VARCHAR,
driver VARCHAR
) | SELECT chassis FROM table_name_74 WHERE engine = "volkswagen" AND driver = "rahel frey" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
22836,
584,
4280,
28027,
6,
1948,
584,
4280,
28027,
6,
2535,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
22836,
13,
3,
52,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
22836,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
1948,
3274,
96,
4571,
157,
7,
11994,
121,
3430,
2535,
3274,
96,
52,
9,
88,
40,
2515,
15,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the time when the laps were smaller than 66 and the grid was 15? | CREATE TABLE table_35186 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT "Time/Retired" FROM table_35186 WHERE "Laps" < '66' AND "Grid" = '15' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
25398,
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,
13368,
87,
1649,
11809,
26,
121,
21680,
953,
834,
2469,
25398,
549,
17444,
427,
96,
3612,
102,
7,
121,
3,
2,
3,
31,
3539,
31,
3430,
96,
13313,
26,
121,
3274,
3,
31,
1808,
31,
1,
-100,
-100,
-100,
-100,
-100,... |
What was the founding university of αεφ? | CREATE TABLE table_2538117_5 (founding_university VARCHAR, letters VARCHAR) | SELECT founding_university FROM table_2538117_5 WHERE letters = "ΑΕΦ" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
3747,
20275,
834,
755,
41,
19732,
53,
834,
7846,
485,
584,
4280,
28027,
6,
5487,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
16072,
3819,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
16072,
834,
7846,
485,
21680,
953,
834,
1828,
3747,
20275,
834,
755,
549,
17444,
427,
5487,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What are the chances that player 2 wins if player 1's choice is BB R? | CREATE TABLE table_16230 (
"1st players choice" text,
"2nd players choice" text,
"Probability 1st player wins" text,
"Probability 2nd player wins" text,
"Probability of a draw" text
) | SELECT "Probability 2nd player wins" FROM table_16230 WHERE "1st players choice" = 'BB R' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
13427,
41,
96,
536,
7,
17,
1508,
1160,
121,
1499,
6,
96,
357,
727,
1508,
1160,
121,
1499,
6,
96,
3174,
115,
2020,
209,
7,
17,
1959,
9204,
121,
1499,
6,
96,
3174,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
3174,
115,
2020,
204,
727,
1959,
9204,
121,
21680,
953,
834,
2938,
13427,
549,
17444,
427,
96,
536,
7,
17,
1508,
1160,
121,
3274,
3,
31,
7640,
391,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the number of district for tom marino | CREATE TABLE table_25030512_41 (
district VARCHAR,
incumbent VARCHAR
) | SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Tom Marino" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11434,
1458,
24163,
834,
4853,
41,
3939,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
3939,
21,
12,
51,
3,
12181,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
26,
23,
20066,
61,
21680,
953,
834,
11434,
1458,
24163,
834,
4853,
549,
17444,
427,
28406,
3274,
96,
3696,
51,
17154,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Draw a bar chart for what is the average rating of songs for each language?, list x-axis from high to low order please. | CREATE TABLE files (
f_id number(10),
artist_name varchar2(50),
file_size varchar2(20),
duration varchar2(20),
formats varchar2(20)
)
CREATE TABLE artist (
artist_name varchar2(50),
country varchar2(20),
gender varchar2(20),
preferred_genre varchar2(50)
)
CREATE TABLE song (
so... | SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY languages DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2073,
41,
3,
89,
834,
23,
26,
381,
599,
16968,
6,
2377,
834,
4350,
3,
4331,
4059,
357,
599,
1752,
201,
1042,
834,
7991,
3,
4331,
4059,
357,
599,
1755,
201,
8659,
3,
4331,
4059,
357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8024,
6,
71,
17217,
599,
52,
1014,
61,
21680,
2324,
350,
4630,
6880,
272,
476,
8024,
4674,
11300,
272,
476,
8024,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which City has a Lead of tyler forrest? | CREATE TABLE table_name_95 (city VARCHAR, lead VARCHAR) | SELECT city FROM table_name_95 WHERE lead = "tyler forrest" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3301,
41,
6726,
584,
4280,
28027,
6,
991,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
896,
65,
3,
9,
12208,
13,
3,
17,
63,
1171,
21,
6216,
58,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
690,
21680,
953,
834,
4350,
834,
3301,
549,
17444,
427,
991,
3274,
96,
17,
63,
1171,
21,
6216,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the number of patients whose primary disease is angioedema and year of birth is less than 2076? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ANGIOEDEMA" AND demographic.dob_year < "2076" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
19775,
7550,
2326,
20211,
121,
3430,
14798,
5,
26,
32,
115,
834,
1201,... |
Which Played has a Position of 3, and a Points smaller than 15? | CREATE TABLE table_name_85 (
played VARCHAR,
position VARCHAR,
points VARCHAR
) | SELECT COUNT(played) FROM table_name_85 WHERE position = 3 AND points < 15 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
1944,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
979,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
2911,
15,
26,
65,
3,
9,
14258,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
4895,
15,
26,
61,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
1102,
3274,
220,
3430,
979,
3,
2,
627,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the score of the Jeff Tarango game? | CREATE TABLE table_name_12 (
score VARCHAR,
partner VARCHAR
) | SELECT score FROM table_name_12 WHERE partner = "jeff tarango" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
2604,
584,
4280,
28027,
6,
2397,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
8507,
5509,
17934,
467,
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,
2604,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
2397,
3274,
96,
1924,
89,
89,
3,
2046,
17934,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What did Fred Couples place? | CREATE TABLE table_name_61 (
place VARCHAR,
player VARCHAR
) | SELECT place FROM table_name_61 WHERE player = "fred couples" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
286,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
410,
12264,
25185,
7,
286,
58,
1,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
286,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
1959,
3274,
96,
89,
1271,
11992,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest listed In service for a vessel of xavery czernicki class? | CREATE TABLE table_name_71 (
in_service INTEGER,
vessel VARCHAR
) | SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4450,
41,
16,
834,
5114,
3,
21342,
17966,
6,
12662,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
2616,
86,
313,
21,
3,
9,
12662,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
77,
834,
5114,
61,
21680,
953,
834,
4350,
834,
4450,
549,
17444,
427,
12662,
3274,
96,
226,
9,
8461,
3,
75,
2558,
11191,
23,
853,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In the Tournament during which Ji Nov k was absent(A) in 2004, how did he do in 2003? | CREATE TABLE table_7414 (
"Tournament" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text
) | SELECT "2003" FROM table_7414 WHERE "2004" = 'a' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
2534,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
19479,
17395,
1499,
6,
96,
2294,
4314,
121,
1499,
6,
96,
2294,
4327,
121,
1499,
6,
96,
2294,
3916,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23948,
121,
21680,
953,
834,
4581,
2534,
549,
17444,
427,
96,
21653,
121,
3274,
3,
31,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the theme during the week # of top 24 (12 men) | CREATE TABLE table_45618 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Result" text
) | SELECT "Theme" FROM table_45618 WHERE "Week #" = 'top 24 (12 men)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
948,
2606,
41,
96,
518,
10266,
1713,
121,
1499,
6,
96,
634,
526,
121,
1499,
6,
96,
134,
2444,
1160,
121,
1499,
6,
96,
667,
3380,
10270,
2377,
121,
1499,
6,
96,
2011... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
634,
526,
121,
21680,
953,
834,
2128,
948,
2606,
549,
17444,
427,
96,
518,
10266,
1713,
121,
3274,
3,
31,
2916,
997,
16465,
1076,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What's the record for january 10? | CREATE TABLE table_name_48 (
record VARCHAR,
date VARCHAR
) | SELECT record FROM table_name_48 WHERE date = "january 10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
1368,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
31,
7,
8,
1368,
21,
3,
7066,
76,
1208,
335,
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,
1368,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
833,
3274,
96,
7066,
76,
1208,
335,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many accounts does the customer with first name Art and last name Turcotte have? | CREATE TABLE Customers (
customer_id VARCHAR,
customer_first_name VARCHAR,
customer_last_name VARCHAR
)
CREATE TABLE Accounts (
customer_id VARCHAR
) | SELECT COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
16423,
41,
884,
834,
23,
26,
584,
4280,
28027,
6,
884,
834,
14672,
834,
4350,
584,
4280,
28027,
6,
884,
834,
5064,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32102,
205,
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,
2847,
17161,
599,
1935,
61,
21680,
6288,
7,
6157,
332,
536,
3,
15355,
3162,
16423,
6157,
332,
357,
9191,
332,
5411,
25697,
49,
834,
23,
26,
3274,
332,
4416,
25697,
49,
834,
23,
26,
549,
17444,
427,
332,
4416,
25697,... |
What were the home team scores at york park? | CREATE TABLE table_1446 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_1446 WHERE "Ground" = 'York Park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4448,
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,
517,
7775,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
372,
2604,
121,
21680,
953,
834,
2534,
4448,
549,
17444,
427,
96,
517,
7775,
121,
3274,
3,
31,
476,
127,
157,
1061,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name. | CREATE TABLE phone (
Hardware_Model_name VARCHAR,
Company_name VARCHAR,
Accreditation_type VARCHAR
) | SELECT Hardware_Model_name, Company_name FROM phone WHERE Accreditation_type LIKE 'Full' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
951,
41,
19982,
834,
24663,
834,
4350,
584,
4280,
28027,
6,
1958,
834,
4350,
584,
4280,
28027,
6,
4292,
15547,
257,
834,
6137,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
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,
19982,
834,
24663,
834,
4350,
6,
1958,
834,
4350,
21680,
951,
549,
17444,
427,
4292,
15547,
257,
834,
6137,
8729,
9914,
3,
31,
371,
83,
40,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
state the name of day in english where cardinal direction is east | CREATE TABLE table_73241 (
"Cardinal direction" text,
"Burmese" text,
"Sanskrit" text,
"English" text,
"Planet" text,
"Sign" text
) | SELECT "English" FROM table_73241 WHERE "Cardinal direction" = 'East' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
2266,
536,
41,
96,
6936,
26,
10270,
2212,
121,
1499,
6,
96,
279,
450,
2687,
15,
121,
1499,
6,
96,
134,
3247,
10648,
17,
121,
1499,
6,
96,
26749,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
26749,
121,
21680,
953,
834,
4552,
2266,
536,
549,
17444,
427,
96,
6936,
26,
10270,
2212,
121,
3274,
3,
31,
25235,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What cities are in sweden on this list? | CREATE TABLE table_28005160_2 (city VARCHAR, country VARCHAR) | SELECT city FROM table_28005160_2 WHERE country = "Sweden" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17518,
3076,
19129,
834,
357,
41,
6726,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
3119,
33,
16,
3,
7,
1123,
537,
30,
48,
570,
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,
690,
21680,
953,
834,
17518,
3076,
19129,
834,
357,
549,
17444,
427,
684,
3274,
96,
134,
1123,
537,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the Sign-in/Bicker at wash50 on washington rd? | CREATE TABLE table_38395 (
"Name" text,
"Years of Operation" text,
"Location" text,
"Historical Photos" text,
"Year Clubhouse Constructed" text,
"Sign-in/Bicker" text,
"Year co-ed" text
) | SELECT "Sign-in/Bicker" FROM table_38395 WHERE "Location" = 'wash50 on washington rd' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3747,
519,
3301,
41,
96,
23954,
121,
1499,
6,
96,
476,
2741,
7,
13,
6411,
1575,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
12146,
7279,
1950,
15394,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
3191,
18,
77,
87,
279,
23,
3383,
121,
21680,
953,
834,
3747,
519,
3301,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
14710,
1752,
30,
6179,
6029,
3,
52,
26,
31,
1,
-100,
-100,
-100,
-100,
... |
Name the position for pick number 128 | CREATE TABLE table_72577 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) | SELECT "Position" FROM table_72577 WHERE "Pick #" = '128' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
1828,
4013,
41,
96,
345,
3142,
1713,
121,
490,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
15743,
434,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
345,
32,
7,
4749,
121,
21680,
953,
834,
940,
1828,
4013,
549,
17444,
427,
96,
345,
3142,
1713,
121,
3274,
3,
31,
536,
2577,
31,
1,
-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.