NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Who were the crews on the flight up of Soyuz T-3? | CREATE TABLE table_26969 (
"Expedition" text,
"Crew" text,
"Launch date" text,
"Flight up" text,
"Landing date" text,
"Flight down" text,
"Duration (days)" text
) | SELECT "Crew" FROM table_26969 WHERE "Flight up" = 'Soyuz T-3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3951,
3951,
41,
96,
12882,
15,
10569,
121,
1499,
6,
96,
254,
60,
210,
121,
1499,
6,
96,
3612,
202,
524,
833,
121,
1499,
6,
96,
371,
2242,
95,
121,
1499,
6,
96,
434... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
254,
60,
210,
121,
21680,
953,
834,
357,
3951,
3951,
549,
17444,
427,
96,
371,
2242,
95,
121,
3274,
3,
31,
5231,
63,
76,
172,
332,
3486,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Give me the comparison about the amount of All_Home over the All_Home , and group by attribute All_Home by a bar chart, and sort in asc by the total number. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home ORDER BY COUNT(All_Home) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
19040,
6,
2847,
17161,
599,
6838,
834,
19040,
61,
21680,
8498,
834,
19515,
350,
4630,
6880,
272,
476,
432,
834,
19040,
4674,
11300,
272,
476,
2847,
17161,
599,
6838,
834,
19040,
61,
1,
-100,
-100,
-100,
-100... |
Which nation has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8? | CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = "8" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
29,
257,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
61,
3,
32102,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2982,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
792,
3,
2,
3,
3891,
3430,
4294,
3,
2,
204,
3430,
13467,
2490,
204,
3430,
11003,
3274,
96,
927,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE? | CREATE TABLE table_name_2 (
money___ INTEGER,
score VARCHAR
) | SELECT MIN(money___) AS $__ FROM table_name_2 WHERE score = 74 - 74 - 76 - 74 = 298 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
540,
834,
834,
834,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1853,
3,
20573,
6038,
283,
7894,
476,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
17684,
599,
28442,
834,
834,
834,
61,
6157,
1514,
834,
834,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
2604,
3274,
3,
4581,
3,
18,
3,
4581,
3,
18,
3,
3959,
3,
18,
3,
4581,
3274,
204,
3916,
1,
-100,
-... |
What was the score of the game when the Devils had a record of 14 10 2? | CREATE TABLE table_name_61 (
score VARCHAR,
record VARCHAR
) | SELECT score FROM table_name_61 WHERE record = "14–10–2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
2604,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
467,
116,
8,
19558,
7,
141,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
1368,
3274,
96,
2534,
104,
1714,
104,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Does Jeffrey Heer have more papers than Luke S Zettlemoyer ? | CREATE TABLE field (
fieldid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE T... | SELECT DISTINCT author.authorname, COUNT(writes.paperid) FROM author, writes WHERE author.authorname IN ('Jeffrey Heer', 'Luke S Zettlemoyer') AND writes.authorid = author.authorid GROUP BY author.authorname ORDER BY COUNT(writes.paperid) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1057,
41,
1057,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
8464,
41,
3,
17994,
19587,
23,
26,
16,
17,
6,
3,
11675,
19587,
23,
26,
16,
17,
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,
3,
15438,
25424,
6227,
2291,
5,
17415,
4350,
6,
2847,
17161,
599,
17504,
7,
5,
19587,
23,
26,
61,
21680,
2291,
6,
11858,
549,
17444,
427,
2291,
5,
17415,
4350,
3388,
41,
31,
7851,
89,
89,
60,
63,
216,
49,
31,
6,... |
What is the 1st leg of team 1 Liverpool? | CREATE TABLE table_name_24 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_24 WHERE team_1 = "liverpool" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
11650,
834,
536,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
209,
7,
17,
4553,
13,
372,
209,
15131,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
209,
6157,
3,
7,
17,
834,
5772,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
372,
834,
536,
3274,
96,
7591,
52,
13194,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the losing bonus for the 20 played, and 353 points? | CREATE TABLE table_name_89 (losing_bonus VARCHAR, played VARCHAR, points_for VARCHAR) | SELECT losing_bonus FROM table_name_89 WHERE played = "20" AND points_for = "353" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
2298,
53,
834,
5407,
302,
584,
4280,
28027,
6,
1944,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5489,
834,
5407,
302,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
1944,
3274,
96,
1755,
121,
3430,
979,
834,
1161,
3274,
96,
2469,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Opponent of leonardo castello branco had what record? | CREATE TABLE table_6649 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" text
) | SELECT "Record" FROM table_6649 WHERE "Opponent" = 'leonardo castello branco' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
3647,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
448,
32,
1106,
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,
1649,
7621,
121,
21680,
953,
834,
3539,
3647,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
109,
106,
986,
32,
4061,
7126,
3858,
29,
509,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the sum of points for 1992 | CREATE TABLE table_name_38 (
points INTEGER,
year VARCHAR
) | SELECT SUM(points) FROM table_name_38 WHERE year = 1992 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
979,
3,
21342,
17966,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
4505,
13,
979,
21,
9047,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
180,
6122,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
215,
3274,
9047,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
For all course_name from courses table, group by the course name and count them with a bar chart, and display Y-axis from high to low order. | CREATE TABLE Candidates (
candidate_id INTEGER,
candidate_details VARCHAR(255)
)
CREATE TABLE Courses (
course_id VARCHAR(100),
course_name VARCHAR(120),
course_description VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Candidate_Assessments (
candidate_id INTEGER,
qualificati... | SELECT course_name, COUNT(course_name) FROM Courses GROUP BY course_name ORDER BY COUNT(course_name) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
20763,
41,
4775,
834,
23,
26,
3,
21342,
17966,
6,
4775,
834,
221,
5756,
7,
584,
4280,
28027,
599,
25502,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
8670,
7,
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,
503,
834,
4350,
6,
2847,
17161,
599,
19221,
834,
4350,
61,
21680,
8670,
7,
350,
4630,
6880,
272,
476,
503,
834,
4350,
4674,
11300,
272,
476,
2847,
17161,
599,
19221,
834,
4350,
61,
309,
25067,
1,
-100,
-100,
-100,
-... |
have patient 028-30487 been to the er since 2103? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE lab (
labid numbe... | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '028-30487' AND patient.hospitaladmitsource = 'emergency department' AND STRFTIME('%y', patient.unitadmittime) >= '2103' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
632,
2577,
18,
23702,
4225,
31,
3430,
1868,
5,
31386,
20466,
17,
7928,
3274,
3,
31,
15,
935,
122,
439... |
Name the % of popular vote for election for 1926 | CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, election VARCHAR) | SELECT _percentage_of_popular_vote FROM table_19769687_3 WHERE election = "1926" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3959,
4314,
4225,
834,
519,
41,
834,
883,
3728,
545,
834,
858,
834,
27302,
834,
1621,
17,
15,
584,
4280,
28027,
6,
4356,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
834,
883,
3728,
545,
834,
858,
834,
27302,
834,
1621,
17,
15,
21680,
953,
834,
2294,
3959,
4314,
4225,
834,
519,
549,
17444,
427,
4356,
3274,
96,
2294,
2688,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the sum of To Par, when Player is 'Bob Rosburg'? | CREATE TABLE table_name_4 (
to_par INTEGER,
player VARCHAR
) | SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
12,
834,
1893,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
4505,
13,
304,
2180,
6,
116,
12387,
19,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
235,
834,
1893,
61,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
1959,
3274,
96,
17396,
3,
1859,
4824,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many tournament wins were at Volvo Masters Andalucia? | CREATE TABLE table_1615980_4 (
no VARCHAR,
tournament VARCHAR
) | SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
27904,
2079,
834,
591,
41,
150,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
5892,
9204,
130,
44,
22842,
14119,
275,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
29,
32,
61,
21680,
953,
834,
2938,
27904,
2079,
834,
591,
549,
17444,
427,
5892,
3274,
96,
22803,
1621,
14119,
275,
9,
12804,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest Game, when Opponent is 'Chicago Black Hawks', and when November is less than 16? | CREATE TABLE table_49806 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT MAX("Game") FROM table_49806 WHERE "Opponent" = 'chicago black hawks' AND "November" < '16' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3647,
2079,
948,
41,
96,
23055,
121,
490,
6,
96,
28635,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
61,
3,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
23055,
8512,
21680,
953,
834,
3647,
2079,
948,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
1436,
658,
839,
1001,
3,
14400,
7,
31,
3430,
96,
28635,
121,
3,
2,
3,
31,
2938,
31,
1,
-... |
Who directed the Romanian film? | CREATE TABLE table_67008 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original title" text,
"Director" text
) | SELECT "Director" FROM table_67008 WHERE "Language" = 'romanian' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
1206,
927,
41,
96,
10628,
651,
121,
1499,
6,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
1499,
6,
96,
434,
1468,
76,
545,
121,
1499,
6,
96,
667,
3380,
10270,
2233,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3708,
1206,
927,
549,
17444,
427,
96,
434,
1468,
76,
545,
121,
3274,
3,
31,
3522,
9,
15710,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which attendance has a Channel of espn, and a Date of september 5, 2002? | CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_57 WHERE channel = "espn" AND date = "september 5, 2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
15116,
663,
584,
4280,
28027,
6,
4245,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
11364,
65,
3,
9,
9916,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11364,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
4245,
3274,
96,
15,
7,
102,
29,
121,
3430,
833,
3274,
96,
7,
6707,
18247,
7836,
4407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Draw a scatter chart about the correlation between ID and salary . | CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE section (
course_id varchar(8),
sec_id varchar(8),
... | SELECT ID, salary FROM instructor ORDER BY salary | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1236,
41,
4699,
3,
4331,
4059,
15757,
6,
564,
3,
4331,
4059,
599,
1755,
201,
20,
102,
17,
834,
4350,
3,
4331,
4059,
599,
1755,
201,
12,
17,
834,
17216,
206,
17552,
599,
6355,
632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4699,
6,
9090,
21680,
10617,
4674,
11300,
272,
476,
9090,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
How many atp wins did he have when his money list rank was 4? | CREATE TABLE table_25420 (
"Year" real,
"Majors" real,
"ATP wins" real,
"Total wins" real,
"Earnings ($)" real,
"Money list rank" real
) | SELECT MAX("ATP wins") FROM table_25420 WHERE "Money list rank" = '4' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
21899,
41,
96,
476,
2741,
121,
490,
6,
96,
329,
9,
12775,
7,
121,
490,
6,
96,
26758,
9204,
121,
490,
6,
96,
3696,
1947,
9204,
121,
490,
6,
96,
427,
291,
29,
53,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26758,
9204,
8512,
21680,
953,
834,
1828,
21899,
549,
17444,
427,
96,
9168,
15,
63,
570,
11003,
121,
3274,
3,
31,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which manufacturer does Loris Capirossi ride for? | CREATE TABLE table_name_13 (
manufacturer VARCHAR,
rider VARCHAR
) | SELECT manufacturer FROM table_name_13 WHERE rider = "loris capirossi" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
4818,
584,
4280,
28027,
6,
2564,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
4818,
405,
8410,
159,
4000,
23,
1859,
7,
23,
2564,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4818,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
2564,
52,
3274,
96,
322,
159,
2468,
23,
1859,
7,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who is the Winner of the Nissan Motorsport Australia Team at the Oran Park Raceway? | CREATE TABLE table_79663 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
) | SELECT "Winner" FROM table_79663 WHERE "Team" = 'nissan motorsport australia' AND "Circuit" = 'oran park raceway' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4440,
3539,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
12106,
7,
121,
1499,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
254,
485,
3,
87,
1015,
121,
1499,
6,
96,
18455,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18455,
687,
121,
21680,
953,
834,
4440,
3539,
519,
549,
17444,
427,
96,
18699,
121,
3274,
3,
31,
29,
159,
7,
152,
2340,
6661,
23407,
31,
3430,
96,
254,
23,
52,
21560,
121,
3274,
3,
31,
127,
152,
2447,
1964,
... |
what's the 2000-2005 with 1985-1990 being 3.78 | CREATE TABLE table_18887 (
"Region/country" text,
"1985-1990" text,
"1990-1995" text,
"1995-2000" text,
"2000-2005" text
) | SELECT "2000-2005" FROM table_18887 WHERE "1985-1990" = '3.78' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25794,
4225,
41,
96,
17748,
23,
106,
87,
17529,
121,
1499,
6,
96,
2294,
4433,
4481,
2394,
121,
1499,
6,
96,
19479,
9498,
19479,
17395,
1499,
6,
96,
19479,
24279,
2313,
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,
13527,
18,
22594,
121,
21680,
953,
834,
25794,
4225,
549,
17444,
427,
96,
2294,
4433,
4481,
2394,
121,
3274,
3,
31,
5787,
3940,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Class has a Frequency MHz of 107.5? | CREATE TABLE table_name_76 (class VARCHAR, frequency_mhz VARCHAR) | SELECT class FROM table_name_76 WHERE frequency_mhz = 107.5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3959,
41,
4057,
584,
4280,
28027,
6,
7321,
834,
51,
107,
172,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
4501,
65,
3,
9,
5532,
835,
11298,
3,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
853,
21680,
953,
834,
4350,
834,
3959,
549,
17444,
427,
7321,
834,
51,
107,
172,
3274,
335,
15731,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the average number of draws that have a total of 1 and a goal difference of 2:0? | CREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR) | SELECT AVG(draws) FROM table_name_67 WHERE total = 1 AND goal_difference = "2:0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
19489,
7,
3,
21342,
17966,
6,
792,
584,
4280,
28027,
6,
1288,
834,
26,
99,
11788,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
19489,
7,
61,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
792,
3274,
209,
3430,
1288,
834,
26,
99,
11788,
3274,
96,
357,
10,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What are the phones of departments in Room 268? | CREATE TABLE DEPARTMENT (
DPhone VARCHAR,
Room VARCHAR
) | SELECT DPhone FROM DEPARTMENT WHERE Room = 268 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3396,
19846,
11810,
41,
3,
7410,
107,
782,
584,
4280,
28027,
6,
4181,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
7219,
13,
10521,
16,
4181,
204,
3651,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
7410,
107,
782,
21680,
3396,
19846,
11810,
549,
17444,
427,
4181,
3274,
204,
3651,
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 lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9? | CREATE TABLE table_name_23 (overall INTEGER, player VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_23 WHERE player = "dan jennings" AND round > 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
1890,
1748,
3,
21342,
17966,
6,
1959,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
9126,
6,
116,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
1890,
1748,
61,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1959,
3274,
96,
3768,
528,
9416,
7,
121,
3430,
1751,
2490,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many goals ranked 6? | CREATE TABLE table_name_36 (goals VARCHAR, rank VARCHAR) | SELECT COUNT(goals) FROM table_name_36 WHERE rank = 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
839,
5405,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1766,
3,
8232,
431,
58,
1,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
839,
5405,
61,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
11003,
3274,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many activities do we have? | CREATE TABLE faculty (
facid number,
lname text,
fname text,
rank text,
sex text,
phone number,
room text,
building text
)
CREATE TABLE activity (
actid number,
activity_name text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex... | SELECT COUNT(*) FROM activity | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6040,
41,
7076,
26,
381,
6,
3,
40,
4350,
1499,
6,
3,
89,
4350,
1499,
6,
11003,
1499,
6,
3,
7,
994,
1499,
6,
951,
381,
6,
562,
1499,
6,
740,
1499,
3,
61,
3,
32102,
32103,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
1756,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the total number of drivers on the list ? | CREATE TABLE table_204_743 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) | SELECT COUNT("driver") FROM table_204_743 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
4581,
519,
41,
3,
23,
26,
381,
6,
96,
2748,
121,
1499,
6,
96,
29,
32,
121,
381,
6,
96,
13739,
52,
121,
1499,
6,
96,
15982,
5317,
121,
1499,
6,
96,
8478,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
13739,
52,
8512,
21680,
953,
834,
26363,
834,
4581,
519,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the total number of swimsuits for evening gowns less than 8.21 and average of 8.453 with interview less than 9.09 | CREATE TABLE table_name_54 (
swimsuit VARCHAR,
average VARCHAR,
interview VARCHAR,
evening_gown VARCHAR
) | SELECT COUNT(swimsuit) FROM table_name_54 WHERE interview < 9.09 AND evening_gown < 8.21 AND average = 8.453 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
9728,
7628,
584,
4280,
28027,
6,
1348,
584,
4280,
28027,
6,
2772,
584,
4280,
28027,
6,
2272,
834,
122,
9197,
584,
4280,
28027,
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,
7,
210,
603,
7628,
61,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
2772,
3,
2,
5835,
4198,
3430,
2272,
834,
122,
9197,
3,
2,
4848,
2658,
3430,
1348,
3274,
4848,
2128,
519,
1,
-100,
-100,
-... |
what is the total amount of silver medals given out ? | CREATE TABLE table_204_261 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT SUM("silver") FROM table_204_261 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
357,
4241,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
29,
257,
121,
1499,
6,
96,
14910,
121,
381,
6,
96,
7,
173,
624,
121,
381,
6,
96,
13711,
776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7,
173,
624,
8512,
21680,
953,
834,
26363,
834,
357,
4241,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many games were won by the swarm by over 2 goals ? | CREATE TABLE table_203_47 (
id number,
"game" number,
"date" text,
"opponent" text,
"location" text,
"score" text,
"ot" text,
"attendance" number,
"record" text
) | SELECT COUNT("game") FROM table_203_47 WHERE "score" - "score" > 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
4177,
41,
3,
23,
26,
381,
6,
96,
7261,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
32,
102,
9977,
121,
1499,
6,
96,
14836,
121,
1499,
6,
96,
7,
9022,
121,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
7261,
8512,
21680,
953,
834,
23330,
834,
4177,
549,
17444,
427,
96,
7,
9022,
121,
3,
18,
96,
7,
9022,
121,
2490,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the result when competing in the Opening NIght Film category? | CREATE TABLE table_29644931_1 (result VARCHAR, category VARCHAR) | SELECT result FROM table_29644931_1 WHERE category = "Opening Night Film" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
4389,
3647,
3341,
834,
536,
41,
60,
7,
83,
17,
584,
4280,
28027,
6,
3295,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
116,
12166,
16,
8,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
3166,
4389,
3647,
3341,
834,
536,
549,
17444,
427,
3295,
3274,
96,
22696,
53,
5190,
3417,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the Team which has a Time/Retired of contact, and a Grid smaller than 17? | CREATE TABLE table_name_87 (
team VARCHAR,
time_retired VARCHAR,
grid VARCHAR
) | SELECT team FROM table_name_87 WHERE time_retired = "contact" AND grid < 17 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
372,
584,
4280,
28027,
6,
97,
834,
10682,
1271,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
2271,
84,
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,
0,
0... | [
3,
23143,
14196,
372,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
97,
834,
10682,
1271,
3274,
96,
27608,
121,
3430,
8634,
3,
2,
1003,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the date for broadcast fsn | CREATE TABLE table_29060 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
) | SELECT "Date" FROM table_29060 WHERE "Broadcast" = 'FSN' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23838,
3328,
41,
96,
308,
342,
121,
1499,
6,
96,
13368,
121,
1499,
6,
96,
30338,
372,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
26030,
121,
1499,
6,
96,
279,
8635,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
23838,
3328,
549,
17444,
427,
96,
279,
8635,
5254,
121,
3274,
3,
31,
371,
8544,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When does Classic Hits air? | CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR) | SELECT time FROM table_name_94 WHERE show_name = "classic hits" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
715,
584,
4280,
28027,
6,
504,
834,
4350,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
405,
6744,
11436,
7,
799,
58,
1,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
504,
834,
4350,
3274,
96,
4057,
447,
8046,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
In what rounds did the P15 Chassis and tyre D participate? | CREATE TABLE table_name_10 (
rounds VARCHAR,
tyre VARCHAR,
chassis VARCHAR
) | SELECT rounds FROM table_name_10 WHERE tyre = "d" AND chassis = "p15" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
14419,
584,
4280,
28027,
6,
3,
17,
63,
60,
584,
4280,
28027,
6,
22836,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
14419,
410,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
14419,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
3,
17,
63,
60,
3274,
96,
26,
121,
3430,
22836,
3274,
96,
102,
1808,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Show me a line chart to show the change of salary for those employees whose first name does not containing the letter M over the corresponding hire date, display in asc by the HIRE_DATE. | CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY... | SELECT HIRE_DATE, SALARY FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY HIRE_DATE | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6266,
41,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
11116,
632,
201,
4083,
517,
9215,
834,
567,
17683,
3,
4331,
4059,
599,
1828,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
180,
4090,
24721,
21680,
1652,
549,
17444,
427,
4486,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
329,
1454,
31,
4674,
11300,
272,
476,
454,
14132,
834,
308,
6048,
1,
-100,
-100,
... |
what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes | CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR) | SELECT distribution FROM table_1357052_6 WHERE grsecurity = "Optional" AND compile_time_buffer_checks = "Yes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
28363,
5373,
834,
948,
41,
26,
159,
5135,
1575,
584,
4280,
28027,
6,
3542,
19361,
584,
4280,
28027,
6,
2890,
699,
834,
715,
834,
3007,
7010,
834,
10031,
7,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3438,
21680,
953,
834,
2368,
28363,
5373,
834,
948,
549,
17444,
427,
3542,
19361,
3274,
96,
9546,
9533,
121,
3430,
2890,
699,
834,
715,
834,
3007,
7010,
834,
10031,
7,
3274,
96,
19739,
121,
1,
-100,
-100,
-100,
-100,
... |
Who wrote the episode what had the rating 2.27m (5)? | CREATE TABLE table_26739 (
"Series No." real,
"Episode No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"UK Ratings (BBC2 Rank)" text,
"Original air date" text
) | SELECT "Written by" FROM table_26739 WHERE "UK Ratings (BBC2 Rank)" = '2.27m (5)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3708,
3288,
41,
96,
12106,
7,
465,
535,
490,
6,
96,
427,
102,
159,
32,
221,
465,
535,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
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,
24965,
324,
57,
121,
21680,
953,
834,
357,
3708,
3288,
549,
17444,
427,
96,
15787,
21662,
7,
41,
7640,
254,
357,
3,
22557,
61,
121,
3274,
3,
31,
4416,
2555,
51,
3,
15757,
31,
1,
-100,
-100,
-100,
-100,
-100,
... |
How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0? | CREATE TABLE table_71960 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT SUM("Gold") FROM table_71960 WHERE "Rank" = '7' AND "Bronze" = '1' AND "Silver" < '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4450,
27699,
41,
96,
22557,
121,
490,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
3696,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23576,
8512,
21680,
953,
834,
4450,
27699,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
940,
31,
3430,
96,
22780,
29,
776,
121,
3274,
3,
31,
536,
31,
3430,
96,
134,
173,
624,
121,
3,
2,
3,
... |
Which Record has a Score of 111 101? | CREATE TABLE table_name_69 (
record VARCHAR,
score VARCHAR
) | SELECT record FROM table_name_69 WHERE score = "111–101" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
1368,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
11392,
65,
3,
9,
17763,
13,
3,
15866,
13736,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1368,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
2604,
3274,
96,
15866,
104,
19621,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What year did jaroslav vojtek category:articles with hcards Direct? | CREATE TABLE table_24734 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Slovak title" text,
"Director" text,
"Result" text
) | SELECT "Year (Ceremony)" FROM table_24734 WHERE "Director" = 'Jaroslav Vojtek Category:Articles with hCards' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
4177,
3710,
41,
96,
476,
2741,
41,
254,
49,
15,
21208,
61,
121,
1499,
6,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
1499,
6,
96,
134,
5850,
1639,
2233,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
41,
254,
49,
15,
21208,
61,
121,
21680,
953,
834,
357,
4177,
3710,
549,
17444,
427,
96,
23620,
127,
121,
3274,
3,
31,
683,
291,
32,
17457,
3152,
354,
15150,
17459,
10,
7754,
447,
965,
28,
3,
107,
... |
What Player in Opposition of Kilkenny has a Total of 10? | CREATE TABLE table_name_83 (
player VARCHAR,
total VARCHAR,
opposition VARCHAR
) | SELECT player FROM table_name_83 WHERE total = 10 AND opposition = "kilkenny" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4591,
41,
1959,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
8263,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
12387,
16,
4495,
4718,
13,
12672,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
4350,
834,
4591,
549,
17444,
427,
792,
3274,
335,
3430,
8263,
3274,
96,
157,
173,
9376,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What party took office after 1993 with Senator Michael Galloway? | CREATE TABLE table_name_61 (
party VARCHAR,
took_office VARCHAR,
senator VARCHAR
) | SELECT party FROM table_name_61 WHERE took_office > 1993 AND senator = "michael galloway" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
1088,
584,
4280,
28027,
6,
808,
834,
19632,
584,
4280,
28027,
6,
20596,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
1088,
808,
828,
227,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1088,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
808,
834,
19632,
2490,
8388,
3430,
20596,
3274,
96,
51,
362,
9,
15,
40,
12486,
32,
1343,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest roll number of the school with a state authority and a decile smaller than 8? | CREATE TABLE table_69120 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
) | SELECT MAX("Roll") FROM table_69120 WHERE "Authority" = 'state' AND "Decile" < '8' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3951,
15518,
41,
96,
23954,
121,
1499,
6,
96,
476,
2741,
7,
121,
1499,
6,
96,
517,
3868,
121,
1499,
6,
96,
188,
864,
121,
1499,
6,
96,
23602,
127,
485,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
29807,
8512,
21680,
953,
834,
3951,
15518,
549,
17444,
427,
96,
23602,
127,
485,
121,
3274,
3,
31,
5540,
31,
3430,
96,
2962,
75,
699,
121,
3,
2,
3,
31,
927,
31,
1,
-100,
-100,
-100,
-100,
-100... |
Name the number of nationalities for ryan mckie | CREATE TABLE table_74272 (
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) | SELECT COUNT("Nationality") FROM table_74272 WHERE "Player" = 'Ryan Mckie' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
2555,
357,
41,
96,
345,
3142,
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,
372,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
24732,
485,
8512,
21680,
953,
834,
4581,
2555,
357,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
448,
63,
152,
3038,
11390,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When was "Tell You When" released? | CREATE TABLE table_16859758_1 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_16859758_1 WHERE title = "Tell You When" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
4433,
4327,
3449,
834,
536,
41,
21019,
834,
5522,
584,
4280,
28027,
6,
2233,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
47,
96,
382,
3820,
148,
366,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1576,
834,
5522,
21680,
953,
834,
2938,
4433,
4327,
3449,
834,
536,
549,
17444,
427,
2233,
3274,
96,
382,
3820,
148,
366,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Who is the Opponent of the match with a Record of 0-1? | CREATE TABLE table_14159 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" text,
"Time" text,
"Location" text
) | SELECT "Opponent" FROM table_14159 WHERE "Record" = '0-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
27904,
41,
96,
1649,
7,
535,
1499,
6,
96,
1649,
7621,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
23351,
107,
32,
26,
121,
1499,
6,
96,
448,
32,
1106,
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,
667,
102,
9977,
121,
21680,
953,
834,
2534,
27904,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
632,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the role of the aircraft that originates from the European Union? | CREATE TABLE table_name_41 (
role VARCHAR,
origin VARCHAR
) | SELECT role FROM table_name_41 WHERE origin = "european union" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
1075,
584,
4280,
28027,
6,
5233,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1075,
13,
8,
6442,
24,
26843,
7,
45,
8,
1611,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1075,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
5233,
3274,
96,
28188,
152,
7021,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Where was the game with a higher score than 1 played? | CREATE TABLE table_name_85 (venue VARCHAR, scored INTEGER) | SELECT venue FROM table_name_85 WHERE scored > 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
15098,
584,
4280,
28027,
6,
5799,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
467,
28,
3,
9,
1146,
2604,
145,
209,
1944,
58,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5669,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
5799,
2490,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
how many patients aged below 49 years had the procedure icd9 code 9920? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "49" AND procedures.icd9_code = "9920" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
4293,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
4293,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
How many of the patients with coronary artery disease or coronary artery bypass graft /sda as their primary disease were born before 2095? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" AND demographic.dob_year < "2095" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
5911,
13044,
24721,
11155,
5946,
476,
309,
19056,
17892,
2,
5911,
13044,... |
What was the home team score at Carlton's away match? | CREATE TABLE table_58459 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_58459 WHERE "Away team" = 'carlton' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
591,
3390,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3449,
591,
3390,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
1720,
7377,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay surface? | CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT score FROM table_name_23 WHERE surface = "clay" AND partner = "remi tezuka" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
7,
9022,
584,
4280,
28027,
6,
1774,
584,
4280,
28027,
6,
2397,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
2604,
13,
8,
804,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1774,
3274,
96,
4651,
63,
121,
3430,
2397,
3274,
96,
60,
51,
23,
3,
17,
457,
1598,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
count how many times patient 031-23605 came in to icu during the last hospital visit. | CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
d... | SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
583,
41,
583,
23,
26,
381,
6,
775,
12417,
1499,
6,
1868,
15878,
3734,
21545,
23,
26,
381,
6,
605,
6137,
1499,
6,
605,
23,
26,
381,
6,
1567,
715,
97,
6,
583,
381,
3,
61,
3,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
1868,
5,
10061,
15129,
21545,
23,
26,
61,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,
15878,
3734,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15878,
3734,
21545,
23,
... |
How many clubs are involved when the clubs remaining are 2? | CREATE TABLE table_name_88 (
clubs_involved INTEGER,
clubs_remaining VARCHAR
) | SELECT SUM(clubs_involved) FROM table_name_88 WHERE clubs_remaining = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4060,
41,
8122,
834,
77,
4571,
162,
26,
3,
21342,
17966,
6,
8122,
834,
60,
7484,
53,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
8122,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
13442,
7,
834,
77,
4571,
162,
26,
61,
21680,
953,
834,
4350,
834,
4060,
549,
17444,
427,
8122,
834,
60,
7484,
53,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron? | CREATE TABLE Rating (
mID VARCHAR,
stars INTEGER
)
CREATE TABLE Movie (
title VARCHAR,
director VARCHAR,
mID VARCHAR
) | SELECT T2.title, T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars > (SELECT AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.director = "James Cameron") | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
21662,
41,
3,
51,
4309,
584,
4280,
28027,
6,
4811,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
10743,
41,
2233,
584,
4280,
28027,
6,
2090,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
21869,
6,
332,
4416,
25982,
21680,
21662,
6157,
332,
536,
3,
15355,
3162,
10743,
6157,
332,
357,
9191,
332,
5411,
51,
4309,
3274,
332,
4416,
51,
4309,
549,
17444,
427,
332,
5411,
3624,
7,
2490,
41,
23143,
... |
What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10? | CREATE TABLE table_name_29 (rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT rank FROM table_name_29 WHERE silver < 6 AND bronze > 4 AND total = 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3166,
41,
6254,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
4294,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
11003,
21680,
953,
834,
4350,
834,
3166,
549,
17444,
427,
4294,
3,
2,
431,
3430,
13467,
2490,
314,
3430,
792,
3274,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many available features are there in total? | CREATE TABLE Other_Available_Features (Id VARCHAR) | SELECT COUNT(*) FROM Other_Available_Features | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2502,
834,
188,
900,
173,
179,
834,
16772,
7,
41,
196,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
347,
753,
33,
132,
16,
792,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
2502,
834,
188,
900,
173,
179,
834,
16772,
7,
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 avaerage of patients whose admission location is phys referral/normal deli and have stayed in the hospital for 29 days? | 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 AVG(demographic.age) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.days_stay = "29" | [
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,
71,
17217,
599,
1778,
16587,
5,
545,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
9,
26,
5451,
834,
14836,
3274,
96,
8023,
476,
134,
4083,
20805,
21415,
87,
24833,
329,
4090,
309,
22590,
121,
3430,
14798,
5,
1135,
7... |
How many games were played by team @ New Jersey? | CREATE TABLE table_17355628_7 (
score VARCHAR,
team VARCHAR
) | SELECT COUNT(score) FROM table_17355628_7 WHERE team = "@ New Jersey" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
2469,
4834,
2577,
834,
940,
41,
2604,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1031,
130,
1944,
57,
372,
3320,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
7,
9022,
61,
21680,
953,
834,
2517,
2469,
4834,
2577,
834,
940,
549,
17444,
427,
372,
3274,
96,
1741,
368,
5092,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What teams have 1/2/2011 as the streak end? | CREATE TABLE table_name_35 (teams VARCHAR, streak_end VARCHAR) | SELECT teams FROM table_name_35 WHERE streak_end = "1/2/2011" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
11650,
7,
584,
4280,
28027,
6,
18631,
834,
989,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
2323,
43,
7739,
87,
13907,
38,
8,
18631,
414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2323,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
18631,
834,
989,
3274,
96,
17637,
87,
13907,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the score of the game when the Boston Bruins were the visiting team? | CREATE TABLE table_77619 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) | SELECT "Score" FROM table_77619 WHERE "Visitor" = 'boston bruins' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
3959,
2294,
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,
96,
134,
9022,
121,
21680,
953,
834,
940,
3959,
2294,
549,
17444,
427,
96,
553,
159,
155,
127,
121,
3274,
3,
31,
115,
32,
4411,
3,
115,
23162,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the club for drawn of 0 and lost of 0 | CREATE TABLE table_name_92 (club VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT club FROM table_name_92 WHERE drawn = "0" AND lost = "0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
13442,
584,
4280,
28027,
6,
6796,
584,
4280,
28027,
6,
1513,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1886,
21,
6796,
13,
3,
632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1886,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
6796,
3274,
96,
632,
121,
3430,
1513,
3274,
96,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
was patient 003-30817 diagnosed with an anemia - acute blood loss anemia? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE patient (
uniquep... | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-30817')) AND diagnosis.diagnosisname = 'anemia - acute blood loss anemia... | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3362,
4267,
32,
4370,
41,
3362,
4267,
32,
26,
1294,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2912,
381,
6,
3,
7,
9,
32,
357,
381,
6,
842,
2206,
381,
6,
14114,
257,
381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
2490,
3,
632,
21680,
8209,
549,
17444,
427,
8209,
5,
10061,
15129,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15129,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
10061,... |
What is the 2009-10 result that has a 2006-07 result of n/a? | CREATE TABLE table_41245 (
"Event" text,
"2006\u201307" text,
"2007\u201308" text,
"2008\u201309" text,
"2009\u201310" text,
"2010\u201311" text,
"2011\u201312" text,
"2012\u201313" text
) | SELECT "2009\u201310" FROM table_41245 WHERE "2006\u201307" = 'n/a' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2122,
2128,
41,
96,
427,
2169,
121,
1499,
6,
96,
21196,
2,
76,
11138,
4560,
121,
1499,
6,
96,
20615,
2,
76,
11138,
4018,
121,
1499,
6,
96,
16128,
2,
76,
11138,
4198,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
16660,
2,
76,
11138,
1714,
121,
21680,
953,
834,
591,
2122,
2128,
549,
17444,
427,
96,
21196,
2,
76,
11138,
4560,
121,
3274,
3,
31,
29,
87,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the record on 12 march 2008? | CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_63 WHERE date = "12 march 2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3891,
41,
60,
7621,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
1368,
30,
586,
10556,
2628,
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,
1368,
21680,
953,
834,
4350,
834,
3891,
549,
17444,
427,
833,
3274,
96,
2122,
10556,
2628,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which category has 24 nominated work? | CREATE TABLE table_name_12 (
category VARCHAR,
nominated_work VARCHAR
) | SELECT category FROM table_name_12 WHERE nominated_work = "24" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
3295,
584,
4280,
28027,
6,
150,
1109,
920,
834,
1981,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
3295,
65,
997,
150,
1109,
920,
161,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3295,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
150,
1109,
920,
834,
1981,
3274,
96,
2266,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What year did the 11th place play 26 games? | CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR) | SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
1201,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
6,
1944,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
410,
8,
850,
189,
286,
577,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
286,
3274,
96,
2596,
189,
121,
3430,
1944,
3274,
2208,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the format when the frequency is fm 94.5? | CREATE TABLE table_13527 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text,
"Language/Rebroadcast" text
) | SELECT "Format" FROM table_13527 WHERE "Frequency" = 'fm 94.5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
536,
2469,
2555,
41,
96,
371,
60,
835,
11298,
121,
1499,
6,
96,
254,
1748,
1320,
121,
1499,
6,
96,
18304,
727,
53,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
667,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3809,
3357,
121,
21680,
953,
834,
536,
2469,
2555,
549,
17444,
427,
96,
371,
60,
835,
11298,
121,
3274,
3,
31,
89,
51,
668,
12451,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many floors does the address 1828 jay street have? | CREATE TABLE table_name_44 (
floors VARCHAR,
street_address_in_detroit VARCHAR
) | SELECT floors FROM table_name_44 WHERE street_address_in_detroit = "1828 jay street" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3628,
41,
8242,
584,
4280,
28027,
6,
2815,
834,
9,
26,
12039,
834,
77,
834,
26,
15252,
155,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
824... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8242,
21680,
953,
834,
4350,
834,
3628,
549,
17444,
427,
2815,
834,
9,
26,
12039,
834,
77,
834,
26,
15252,
155,
3274,
96,
2606,
2577,
2662,
63,
2815,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many players did the philadelphia eagles pick? | CREATE TABLE table_2508633_5 (
position VARCHAR,
nfl_team VARCHAR
) | SELECT COUNT(position) FROM table_2508633_5 WHERE nfl_team = "Philadelphia Eagles" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
11434,
3840,
4201,
834,
755,
41,
1102,
584,
4280,
28027,
6,
3,
29,
89,
40,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1508,
410,
8,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
4718,
61,
21680,
953,
834,
11434,
3840,
4201,
834,
755,
549,
17444,
427,
3,
29,
89,
40,
834,
11650,
3274,
96,
23305,
15311,
11692,
9,
10341,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the film from 2013 with a song title of 'neetho edo' with a solo co-singer? | CREATE TABLE table_63047 (
"Year" real,
"Song Title" text,
"Film" text,
"Co - Singer" text,
"Music - Director" text
) | SELECT "Film" FROM table_63047 WHERE "Year" = '2013' AND "Co - Singer" = 'solo' AND "Song Title" = 'neetho edo' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26106,
4177,
41,
96,
476,
2741,
121,
490,
6,
96,
134,
2444,
11029,
121,
1499,
6,
96,
371,
173,
51,
121,
1499,
6,
96,
3881,
3,
18,
24366,
121,
1499,
6,
96,
29035,
3,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
371,
173,
51,
121,
21680,
953,
834,
26106,
4177,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
11138,
31,
3430,
96,
3881,
3,
18,
24366,
121,
3274,
3,
31,
4099,
32,
31,
3430,
96,
134,
2444,
11029,
121,
32... |
For those employees who did not have any job in the past, a line chart shows the trend of manager_id over hire_date , could you order X-axis in ascending order? | CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID ... | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6266,
41,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
11116,
632,
201,
4083,
517,
9215,
834,
567,
17683,
3,
4331,
4059,
599,
1828,
61,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
454,
14132,
834,
308,
6048,
6,
283,
15610,
17966,
834,
4309,
21680,
1652,
549,
17444,
427,
4486,
262,
5244,
5017,
476,
5080,
834,
4309,
3388,
41,
23143,
14196,
262,
5244,
5017,
476,
5080,
834,
4309,
21680,
613,
834,
1... |
what is the number of wins that is in the Top 10 and larger than 13? | CREATE TABLE table_80236 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT SUM("Wins") FROM table_80236 WHERE "Top-10" > '13' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
357,
3420,
41,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
18,
17395,
490,
6,
96,
22481,
4536,
121,
490,
6,
96,
22481,
14855,
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,
180,
6122,
599,
121,
18455,
7,
8512,
21680,
953,
834,
2079,
357,
3420,
549,
17444,
427,
96,
22481,
4536,
121,
2490,
3,
31,
2368,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Can you tell me the Date thay has the Reocrd of 9-10-2? | CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_11 WHERE record = "9-10-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
5522,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1072,
25,
817,
140,
8,
7678,
3,
17,
12687,
65,
8,
419,
32,
75,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2596,
549,
17444,
427,
1368,
3274,
96,
1298,
4536,
4949,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what role did mischa barton play in the movie octane ? | CREATE TABLE table_200_1 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
) | SELECT "role" FROM table_200_1 WHERE "title" = 'octane' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3632,
834,
536,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
21869,
121,
1499,
6,
96,
3491,
15,
121,
1499,
6,
96,
7977,
7,
121,
1499,
3,
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,
96,
3491,
15,
121,
21680,
953,
834,
3632,
834,
536,
549,
17444,
427,
96,
21869,
121,
3274,
3,
31,
32,
75,
17,
152,
15,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
At what venue did an away team score 10.15 (75)? | CREATE TABLE table_74793 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_74793 WHERE "Away team score" = '10.15 (75)' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4581,
4440,
519,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
4581,
4440,
519,
549,
17444,
427,
96,
188,
1343,
372,
2604,
121,
3274,
3,
31,
10415,
1808,
41,
3072,
61,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the number of vocalists for which one ~ is it? | CREATE TABLE table_24379 (
"#" real,
"Japanese title" text,
"R\u014dmaji" text,
"Japanese translation" text,
"Vocalist" text,
"Episodes used" text
) | SELECT COUNT("Vocalist") FROM table_24379 WHERE "Japanese translation" = 'Which One ~ Is It?' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27730,
4440,
41,
96,
4663,
121,
490,
6,
96,
683,
9750,
1496,
15,
2233,
121,
1499,
6,
96,
448,
2,
76,
632,
2534,
26,
16547,
23,
121,
1499,
6,
96,
683,
9750,
1496,
15,
73... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
553,
32,
1489,
343,
8512,
21680,
953,
834,
27730,
4440,
549,
17444,
427,
96,
683,
9750,
1496,
15,
7314,
121,
3274,
3,
31,
518,
107,
362,
555,
3,
2,
27,
7,
94,
58,
31,
1,
-100,
-100,
-100,
... |
How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? | CREATE TABLE table_name_55 (
points_classification VARCHAR,
winner VARCHAR,
young_rider_classification VARCHAR,
general_classification VARCHAR
) | SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
979,
834,
4057,
2420,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
6,
1021,
834,
4055,
49,
834,
4057,
2420,
584,
4280,
28027,
6,
879,
834,
4057,
2420,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
979,
834,
4057,
2420,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
1021,
834,
4055,
49,
834,
4057,
2420,
3274,
96,
109,
524,
2816,
9,
7,
5007,
23,
121,
3430,
879,
834,
4057,
2420,
3274,
96,
849,
19017,
3,
11... |
Name the tournament for top-5 more thn 1 and top-25 of 13 with wins of 3 | CREATE TABLE table_name_4 (tournament VARCHAR, wins VARCHAR, top_5 VARCHAR, top_25 VARCHAR) | SELECT tournament FROM table_name_4 WHERE top_5 > 1 AND top_25 = 13 AND wins = 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
6,
420,
834,
755,
584,
4280,
28027,
6,
420,
834,
1828,
584,
4280,
28027,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
5892,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
420,
834,
755,
2490,
209,
3430,
420,
834,
1828,
3274,
1179,
3430,
9204,
3274,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the constructor with grid value 5? | CREATE TABLE table_name_54 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_54 WHERE grid = "5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
15982,
5317,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
6774,
127,
28,
8634,
701,
305,
58,
1,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6774,
127,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
8634,
3274,
96,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which state is the location of 39.1178 n 106.4454 w in? | CREATE TABLE table_name_55 (
state VARCHAR,
location VARCHAR
) | SELECT state FROM table_name_55 WHERE location = "39.1178°n 106.4454°w" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
538,
584,
4280,
28027,
6,
1128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
538,
19,
8,
1128,
13,
6352,
5,
2596,
3940,
3,
29,
3,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
538,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
1128,
3274,
96,
3288,
5,
2596,
3940,
1956,
29,
3,
16431,
5,
3628,
5062,
1956,
210,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the Length (ft.) for a 2008 nfi d40lf? | CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR) | SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
19457,
834,
834,
89,
17,
834,
584,
4280,
28027,
6,
455,
834,
1201,
584,
4280,
28027,
6,
4818,
584,
4280,
28027,
6,
825,
584,
4280,
28027,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2475,
834,
834,
89,
17,
834,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
4818,
3274,
96,
29,
89,
23,
121,
3430,
825,
3274,
96,
26,
2445,
40,
89,
121,
3430,
455,
834,
1201,
3274,
96,
16128,
121,
1,
-100,
-... |
What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31? | CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, total VARCHAR, horwood VARCHAR) | SELECT goodman FROM table_1014319_1 WHERE total = "31" AND horwood = "7" AND result = "Safe" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
25133,
2294,
834,
536,
41,
10452,
348,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
3,
107,
127,
2037,
584,
4280,
28027,
61,
3,
32102,
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,
207,
348,
21680,
953,
834,
1714,
25133,
2294,
834,
536,
549,
17444,
427,
792,
3274,
96,
3341,
121,
3430,
3,
107,
127,
2037,
3274,
96,
940,
121,
3430,
741,
3274,
96,
27437,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the range of married filing jointly or qualified widower in which married filing separately is $33,951 $68,525? | CREATE TABLE table_11647327_2 (
married_filing_jointly_or_qualified_widow_er_ VARCHAR,
married_filing_separately VARCHAR
) | SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_11647327_2 WHERE married_filing_separately = "$33,951–$68,525" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
4389,
4552,
2555,
834,
357,
41,
4464,
834,
8027,
53,
834,
1927,
77,
17,
120,
834,
127,
834,
23058,
834,
12018,
2381,
834,
49,
834,
584,
4280,
28027,
6,
4464,
834,
802... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4464,
834,
8027,
53,
834,
1927,
77,
17,
120,
834,
127,
834,
23058,
834,
12018,
2381,
834,
49,
834,
21680,
953,
834,
2596,
4389,
4552,
2555,
834,
357,
549,
17444,
427,
4464,
834,
8027,
53,
834,
7,
15,
1893,
342,
12... |
When the group stage has been 4 what is the largest playoff? | CREATE TABLE table_14460937_1 (play_off INTEGER, group_stage VARCHAR) | SELECT MAX(play_off) FROM table_14460937_1 WHERE group_stage = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2534,
4448,
4198,
4118,
834,
536,
41,
4895,
834,
1647,
3,
21342,
17966,
6,
563,
834,
10705,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
8,
563,
1726,
65,
118,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
4895,
834,
1647,
61,
21680,
953,
834,
2534,
4448,
4198,
4118,
834,
536,
549,
17444,
427,
563,
834,
10705,
3274,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which college did the player weighing 207 pounds attend? | CREATE TABLE table_15582870_1 (college VARCHAR, weight VARCHAR) | SELECT college FROM table_15582870_1 WHERE weight = 207 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1808,
3449,
2577,
2518,
834,
536,
41,
3297,
7883,
584,
4280,
28027,
6,
1293,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1900,
410,
8,
1959,
3,
22853,
3,
26426... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1900,
21680,
953,
834,
1808,
3449,
2577,
2518,
834,
536,
549,
17444,
427,
1293,
3274,
3,
26426,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was Cici Kelley's minimum season? | CREATE TABLE table_2140071_8 (
season INTEGER,
coach VARCHAR
) | SELECT MIN(season) FROM table_2140071_8 WHERE coach = "Cici Kelley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2658,
5548,
4450,
834,
927,
41,
774,
3,
21342,
17966,
6,
3763,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
205,
1294,
13329,
1306,
31,
7,
2559,
774,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
9476,
61,
21680,
953,
834,
2658,
5548,
4450,
834,
927,
549,
17444,
427,
3763,
3274,
96,
254,
1294,
13329,
1306,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the population density of Siglunes when the change was smaller than -8.1 percent? | CREATE TABLE table_name_6 (
population_density VARCHAR,
name VARCHAR,
change___percentage_ VARCHAR
) | SELECT COUNT(population_density) FROM table_name_6 WHERE name = "siglunes" AND change___percentage_ < -8.1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
2074,
834,
537,
7,
485,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
483,
834,
834,
834,
883,
3728,
545,
834,
584,
4280,
28027,
3,
61,
3,
32102,
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,
2847,
17161,
599,
9791,
7830,
834,
537,
7,
485,
61,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
564,
3274,
96,
13658,
40,
444,
7,
121,
3430,
483,
834,
834,
834,
883,
3728,
545,
834,
3,
2,
3,
18,
20677,
1,
... |
how many ↓ function / genus → with escherichia being espd | CREATE TABLE table_10321124_1 (COUNT VARCHAR, escherichia VARCHAR) | SELECT COUNT AS ↓_function___genus_→ FROM table_10321124_1 WHERE escherichia = "EspD" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
17864,
2658,
22504,
834,
536,
41,
5911,
17161,
584,
4280,
28027,
6,
3,
15,
11575,
362,
23,
9,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
149,
186,
3,
2,
1681,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
6157,
3,
2,
834,
23993,
834,
834,
834,
729,
302,
834,
2,
21680,
953,
834,
17864,
2658,
22504,
834,
536,
549,
17444,
427,
3,
15,
11575,
362,
23,
9,
3274,
96,
427,
7,
102,
308,
121,
1,
-100,
-100,
-10... |
What are the names of the cameras that have taken picture of the most mountains? | CREATE TABLE photos (
id number,
camera_lens_id number,
mountain_id number,
color text,
name text
)
CREATE TABLE camera_lens (
id number,
brand text,
name text,
focal_length_mm number,
max_aperture number
)
CREATE TABLE mountain (
id number,
name text,
height number... | SELECT T2.name FROM photos AS T1 JOIN camera_lens AS T2 ON T1.camera_lens_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1302,
41,
3,
23,
26,
381,
6,
1861,
834,
40,
35,
7,
834,
23,
26,
381,
6,
4180,
834,
23,
26,
381,
6,
945,
1499,
6,
564,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
4416,
4350,
21680,
1302,
6157,
332,
536,
3,
15355,
3162,
1861,
834,
40,
35,
7,
6157,
332,
357,
9191,
332,
5411,
6527,
1498,
834,
40,
35,
7,
834,
23,
26,
3274,
332,
4416,
23,
26,
350,
4630,
6880,
272,
476,
3... |
what is the original channel when the note is co-star in year 2012? | CREATE TABLE table_57908 (
"Year" real,
"Title" text,
"Original channel" text,
"Role" text,
"Note" text
) | SELECT "Original channel" FROM table_57908 WHERE "Note" = 'co-star' AND "Year" = '2012' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3436,
2394,
927,
41,
96,
476,
2741,
121,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
667,
3380,
10270,
4245,
121,
1499,
6,
96,
448,
32,
109,
121,
1499,
6,
96,
10358,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
4245,
121,
21680,
953,
834,
3436,
2394,
927,
549,
17444,
427,
96,
10358,
15,
121,
3274,
3,
31,
509,
18,
3624,
31,
3430,
96,
476,
2741,
121,
3274,
3,
31,
12172,
31,
1,
-100,
-100,
-100,
-100,
... |
What is the To par of the Player from Argentina? | CREATE TABLE table_name_39 (
to_par VARCHAR,
country VARCHAR
) | SELECT to_par FROM table_name_39 WHERE country = "argentina" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3288,
41,
12,
834,
1893,
584,
4280,
28027,
6,
684,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
304,
260,
13,
8,
12387,
45,
17946,
58,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
12,
834,
1893,
21680,
953,
834,
4350,
834,
3288,
549,
17444,
427,
684,
3274,
96,
9917,
77,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many years was Louis Armstrong performing? | CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR) | SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = "louis armstrong" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5553,
41,
1201,
584,
4280,
28027,
6,
1912,
49,
834,
7,
834,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
203,
47,
5181,
26044,
5505,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
4350,
834,
5553,
549,
17444,
427,
1912,
49,
834,
7,
834,
3274,
96,
40,
1063,
159,
2939,
25866,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the attandance figure on October 7, 1990? | CREATE TABLE table_name_23 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_23 WHERE date = "october 7, 1990" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
15116,
663,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
44,
17,
232,
663,
2320,
30,
1797,
7973,
5541,
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,
11364,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
833,
3274,
96,
32,
75,
235,
1152,
7973,
5541,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the maximum enrollment for Concordia University? | CREATE TABLE table_1974443_1 (
enrollment INTEGER,
institution VARCHAR
) | SELECT MAX(enrollment) FROM table_1974443_1 WHERE institution = "Concordia University" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27181,
3628,
4906,
834,
536,
41,
17938,
3,
21342,
17966,
6,
6568,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2411,
17938,
21,
23478,
23,
9,
636,
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,
4800,
4,
599,
35,
4046,
297,
61,
21680,
953,
834,
27181,
3628,
4906,
834,
536,
549,
17444,
427,
6568,
3274,
96,
4302,
7621,
23,
9,
636,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what's the cover date where character(s) is sandman (wesley dodds) | CREATE TABLE table_1217448_1 (
cover_date VARCHAR,
character_s_ VARCHAR
) | SELECT cover_date FROM table_1217448_1 WHERE character_s_ = "Sandman (Wesley Dodds)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
27693,
3707,
834,
536,
41,
1189,
834,
5522,
584,
4280,
28027,
6,
1848,
834,
7,
834,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
1189,
833,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1189,
834,
5522,
21680,
953,
834,
2122,
27693,
3707,
834,
536,
549,
17444,
427,
1848,
834,
7,
834,
3274,
96,
134,
232,
348,
41,
1326,
8887,
531,
26,
26,
7,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.