NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
how many patients whose gender is m and primary disease is upper gi bleed? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.diagnosis = "UPPER GI BLEED" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
122,
3868,
3274,
96,
329,
121,
3430,
14798,
5,
25930,
4844,
159,
3274,
96,
6880,
8742,
3,
7214,
... |
What was Zona Sur's result after being considered for nomination? | CREATE TABLE table_76395 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Director" text,
"Result" text
) | SELECT "Result" FROM table_76395 WHERE "Original title" = 'zona sur' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3959,
519,
3301,
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,
667,
3380,
10270,
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,
20119,
121,
21680,
953,
834,
3959,
519,
3301,
549,
17444,
427,
96,
667,
3380,
10270,
2233,
121,
3274,
3,
31,
8892,
9,
244,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
what is diagnoses short title of subject name tina henderson? | 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Tina Henderson" | [
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,
18730,
7,
5,
7,
14184,
834,
21869,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
... |
how many olympic games occurred after 1992 ? | CREATE TABLE table_204_798 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
) | SELECT COUNT(*) FROM table_204_798 WHERE "competition" = 'olympic games' AND "year" > 1992 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
940,
3916,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
7977,
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,
1935,
61,
21680,
953,
834,
26363,
834,
940,
3916,
549,
17444,
427,
96,
287,
4995,
4749,
121,
3274,
3,
31,
32,
120,
51,
6174,
1031,
31,
3430,
96,
1201,
121,
2490,
9047,
1,
-100,
-100,
-100,
-100,
... |
Who was the home team when swansea city was the away team? | CREATE TABLE table_name_47 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_47 WHERE away_team = "swansea city" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4177,
41,
234,
834,
11650,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
234,
372,
116,
3,
7,
3877,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
234,
834,
11650,
21680,
953,
834,
4350,
834,
4177,
549,
17444,
427,
550,
834,
11650,
3274,
96,
7,
3877,
7,
15,
9,
690,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who is the Japanese voice actor of the Battle of the Planets of Keyop? | CREATE TABLE table_name_87 (
japanese_voice_actor VARCHAR,
battle_of_the_planets VARCHAR
) | SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = "keyop" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
2662,
2837,
15,
7,
15,
834,
23235,
834,
9,
5317,
584,
4280,
28027,
6,
3392,
834,
858,
834,
532,
834,
3767,
15,
17,
7,
584,
4280,
28027,
3,
61,
3,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2662,
2837,
15,
7,
15,
834,
23235,
834,
9,
5317,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
3392,
834,
858,
834,
532,
834,
3767,
15,
17,
7,
3274,
96,
4397,
32,
102,
121,
1,
-100,
-100,
-100,
-100,
-100,
... |
What is the average week rank with 1.2 ratings, less than 1.94 million viewers, and a night rank less than 11? | CREATE TABLE table_name_53 (rank__week_ INTEGER, rank__night_ VARCHAR, rating VARCHAR, viewers__millions_ VARCHAR) | SELECT AVG(rank__week_) FROM table_name_53 WHERE rating = 1.2 AND viewers__millions_ < 1.94 AND rank__night_ < 11 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
6254,
834,
834,
8041,
834,
3,
21342,
17966,
6,
11003,
834,
834,
7602,
834,
584,
4280,
28027,
6,
5773,
584,
4280,
28027,
6,
13569,
834,
834,
17030,
7,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
71,
17217,
599,
6254,
834,
834,
8041,
834,
61,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
5773,
3274,
3,
10917,
3430,
13569,
834,
834,
17030,
7,
834,
3,
2,
1300,
4240,
3430,
11003,
834,
834,
7602,
834,
3,
... |
Which Total has a Set 2 of 19–25? | CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_60 WHERE set_2 = "19–25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
235,
1947,
584,
4280,
28027,
6,
356,
834,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
9273,
65,
3,
9,
2821,
204,
13,
957,
104,
1828... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
792,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
356,
834,
357,
3274,
96,
2294,
104,
1828,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
how has patient 004-34394 last visited the hospital in 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 patient (
uniquep... | SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '004-34394' AND STRFTIME('%y', patient.hospitaladmittime) = '2103' ORDER BY patient.hospitaladmittime DESC LIMIT 1 | [
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,
1868,
5,
31386,
20466,
17,
7928,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
1206,
591,
3486,
4906,
4240,
31,
3430,
3,
13733,
6245,
15382,
599,
31,
1454,
63,
31,
6,
1868,
5,
31386,
20466,
... |
What was the conference name that approved Trophic Cascade ? | CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE writes (
paperid i... | SELECT DISTINCT paper.venueid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Trophic Cascade' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1040,
4397,
27111,
41,
1040,
23,
26,
16,
17,
6,
843,
27111,
23,
26,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
3,
8464,
41,
3,
17994,
19587,
23,
26,
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,
1,
1,
1... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
1040,
5,
15098,
23,
26,
21680,
843,
27111,
6,
1040,
6,
1040,
4397,
27111,
549,
17444,
427,
843,
27111,
5,
4397,
27111,
4350,
3274,
3,
31,
382,
52,
10775,
447,
1336,
7,
6615,
31,
3430,
1040,
... |
how many patients whose primary disease is femoral artery thrombosis and age is less than 54? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "FEMORAL ARTERY THROMBOSIS" AND demographic.age < "54" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6392,
5365,
21415,
11155,
5946,
476,
3,
4611,
13103,
8471,
14408,
121,
... |
What is the lowest Attendance against the tampa bay buccaneers, with Points Against of less than 7? | CREATE TABLE table_name_53 (attendance INTEGER, opponent VARCHAR, points_against VARCHAR) | SELECT MIN(attendance) FROM table_name_53 WHERE opponent = "tampa bay buccaneers" AND points_against < 7 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
15116,
663,
3,
21342,
17966,
6,
15264,
584,
4280,
28027,
6,
979,
834,
9,
16720,
7,
17,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
15264,
3274,
96,
17,
4624,
9,
10210,
8062,
1608,
15,
277,
121,
3430,
979,
834,
9,
16720,
7,
17,
3,
2,
489,
1,
-100,
-100,
-100,
-... |
What is the year that has a character named Wu Ji Wei ( )? | CREATE TABLE table_name_27 (
year INTEGER,
character VARCHAR
) | SELECT AVG(year) FROM table_name_27 WHERE character = "wu ji wei (無極威)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
215,
3,
21342,
17966,
6,
1848,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
215,
24,
65,
3,
9,
1848,
2650,
17792,
7802,
101,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
1201,
61,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
1848,
3274,
96,
210,
76,
3,
354,
23,
62,
23,
41,
2,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the term in office for liberal and state of sa for ian mclachlan | CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) | SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2555,
41,
1987,
834,
77,
834,
19632,
584,
4280,
28027,
6,
1144,
584,
4280,
28027,
6,
1088,
584,
4280,
28027,
6,
538,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1657,
834,
77,
834,
19632,
21680,
953,
834,
4350,
834,
2555,
549,
17444,
427,
1088,
3274,
96,
10661,
138,
121,
3430,
538,
3274,
96,
7,
9,
121,
3430,
1144,
3274,
96,
23,
152,
3,
51,
4651,
524,
1618,
121,
1,
-100,
... |
What is the fate for 11 april 1944? | CREATE TABLE table_1220125_4 (
fate VARCHAR,
commissioned VARCHAR
) | SELECT fate FROM table_1220125_4 WHERE commissioned = "11 April 1944" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
12172,
755,
834,
591,
41,
15126,
584,
4280,
28027,
6,
3,
17183,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
15126,
21,
850,
3,
9,
2246,
40,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15126,
21680,
953,
834,
2122,
12172,
755,
834,
591,
549,
17444,
427,
3,
17183,
3274,
96,
2596,
1186,
21930,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Winning Driver has a Second Driver of jimmy bryan? | CREATE TABLE table_67501 (
"Season" real,
"Cars Entered" real,
"Winning Driver" text,
"Second Driver" text,
"Third Driver" text,
"Race Report" text
) | SELECT "Winning Driver" FROM table_67501 WHERE "Second Driver" = 'jimmy bryan' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3708,
20176,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
6936,
7,
695,
11196,
121,
490,
6,
96,
518,
10503,
10546,
121,
1499,
6,
96,
134,
15,
1018,
26,
10546,
121,
1499,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
518,
10503,
10546,
121,
21680,
953,
834,
3708,
20176,
549,
17444,
427,
96,
134,
15,
1018,
26,
10546,
121,
3274,
3,
31,
354,
603,
2258,
6397,
63,
152,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the crowd size when the home team was Hawthorn? | CREATE TABLE table_53881 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Crowd" FROM table_53881 WHERE "Home team" = 'hawthorn' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
4060,
536,
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,
254,
3623,
26,
121,
21680,
953,
834,
4867,
4060,
536,
549,
17444,
427,
96,
19040,
372,
121,
3274,
3,
31,
1024,
210,
17,
6293,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What Status has a Date of 18/03/1989? | CREATE TABLE table_61813 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) | SELECT "Status" FROM table_61813 WHERE "Date" = '18/03/1989' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
2606,
2368,
41,
96,
667,
102,
2748,
53,
16651,
121,
1499,
6,
96,
20749,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
134,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
134,
17,
144,
302,
121,
21680,
953,
834,
948,
2606,
2368,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2606,
31064,
2294,
3914,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What date was georgie stoop emily webley-smith the opponent? | CREATE TABLE table_name_33 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_33 WHERE opponents = "georgie stoop emily webley-smith" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
5522,
584,
4280,
28027,
6,
16383,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
833,
47,
873,
127,
4044,
3,
7,
17,
6631,
3,
15,
51,
9203,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4201,
549,
17444,
427,
16383,
3274,
96,
397,
127,
4044,
3,
7,
17,
6631,
3,
15,
51,
9203,
765,
1306,
18,
16331,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Find the name of each user and number of tweets tweeted by each of them Visualize by bar chart, could you order X-axis in asc order? | CREATE TABLE user_profiles (
uid int(11),
name varchar(255),
email varchar(255),
partitionid int(11),
followers int(11)
)
CREATE TABLE follows (
f1 int(11),
f2 int(11)
)
CREATE TABLE tweets (
id bigint(20),
uid int(11),
text char(140),
createdate datetime
) | SELECT name, COUNT(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid ORDER BY name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1139,
834,
18816,
7,
41,
3,
76,
23,
26,
16,
17,
599,
2596,
201,
564,
3,
4331,
4059,
599,
25502,
201,
791,
3,
4331,
4059,
599,
25502,
201,
16540,
23,
26,
16,
17,
599,
2596,
201,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
564,
6,
2847,
17161,
599,
1935,
61,
21680,
1139,
834,
18816,
7,
6157,
332,
536,
3,
15355,
3162,
10657,
7,
6157,
332,
357,
9191,
332,
5411,
76,
23,
26,
3274,
332,
4416,
76,
23,
26,
350,
4630,
6880,
272,
476,
332,
... |
What is the 1995 value with a Jiangxi year and a 2008 value bigger than 67? | CREATE TABLE table_name_7 (
year VARCHAR
) | SELECT SUM(1995) FROM table_name_7 WHERE year = "jiangxi" AND 2008 > 67 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7273,
701,
28,
3,
9,
7802,
1468,
226,
23,
215,
11,
3,
9,
2628,
701,
4038,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
19479,
9120,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
215,
3274,
96,
354,
23,
1468,
226,
23,
121,
3430,
2628,
2490,
3,
3708,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Score of new york yankees – 2, brooklyn dodgers – 3 involves how many number of games? | CREATE TABLE table_name_13 (game VARCHAR, score VARCHAR) | SELECT COUNT(game) FROM table_name_13 WHERE score = "new york yankees – 2, brooklyn dodgers – 3" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
7261,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
17763,
13,
126,
25453,
3,
63,
5979,
15,
15,
7,
3,
104,
3547,
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,
599,
7261,
61,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
2604,
3274,
96,
5534,
25453,
3,
63,
5979,
15,
15,
7,
3,
104,
3547,
3,
14370,
120,
29,
26841,
52,
7,
3,
104,
220,
121,
1,
-100,
-100,... |
What is the 1st leg of the team with a 2-1 agg.? | CREATE TABLE table_name_13 (agg VARCHAR) | SELECT 1 AS st_leg FROM table_name_13 WHERE agg = "2-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
9,
4102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
209,
7,
17,
4553,
13,
8,
372,
28,
3,
9,
3,
17234,
3,
9,
4102,
5,
58,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2368,
549,
17444,
427,
3,
9,
4102,
3274,
96,
17234,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the total number of TD's for Player Lashaun Ward while also having a Long of 2? | CREATE TABLE table_53512 (
"Player" text,
"Car." real,
"Yards" text,
"Avg." text,
"TD's" real,
"Long" text
) | SELECT COUNT("TD's") FROM table_53512 WHERE "Long" = '2' AND "Player" = 'lashaun ward' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4867,
24163,
41,
96,
15800,
49,
121,
1499,
6,
96,
6936,
535,
490,
6,
96,
476,
986,
7,
121,
1499,
6,
96,
188,
208,
122,
535,
1499,
6,
96,
10494,
31,
7,
121,
490,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
10494,
31,
7,
8512,
21680,
953,
834,
4867,
24163,
549,
17444,
427,
96,
434,
2444,
121,
3274,
3,
31,
357,
31,
3430,
96,
15800,
49,
121,
3274,
3,
31,
8058,
9,
202,
3,
2239,
31,
1,
-100,
-100... |
what is the difference in weight between the re 465 and the ae 6/6 ? | CREATE TABLE table_204_850 (
id number,
"name" text,
"railway" text,
"series" text,
"maker" text,
"dates" text,
"drive" text,
"wheel arrangement" text,
"weight" text,
"power" text,
"notes" text
) | SELECT ABS((SELECT "weight" FROM table_204_850 WHERE "name" = 're 465') - (SELECT "weight" FROM table_204_850 WHERE "name" = 'ae 6/6')) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
17246,
41,
3,
23,
26,
381,
6,
96,
4350,
121,
1499,
6,
96,
12977,
1343,
121,
1499,
6,
96,
10833,
7,
121,
1499,
6,
96,
8337,
121,
1499,
6,
96,
5522,
7,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
20798,
599,
599,
23143,
14196,
96,
9378,
121,
21680,
953,
834,
26363,
834,
17246,
549,
17444,
427,
96,
4350,
121,
3274,
3,
31,
60,
314,
4122,
31,
61,
3,
18,
41,
23143,
14196,
96,
9378,
121,
21680,
953,
834,
26363,
... |
Tell me the shuttle run with grade c | CREATE TABLE table_name_36 (shuttle_run__sec_ VARCHAR, grade VARCHAR) | SELECT shuttle_run__sec_ FROM table_name_36 WHERE grade = "c" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3420,
41,
14279,
8692,
834,
4312,
834,
834,
7549,
834,
584,
4280,
28027,
6,
2769,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
19317,
661,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
19317,
834,
4312,
834,
834,
7549,
834,
21680,
953,
834,
4350,
834,
3420,
549,
17444,
427,
2769,
3274,
96,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
WHo has a Home of philadelphia and a Series of flyers lead 1 0? | CREATE TABLE table_name_54 (
visitor VARCHAR,
home VARCHAR,
series VARCHAR
) | SELECT visitor FROM table_name_54 WHERE home = "philadelphia" AND series = "flyers lead 1–0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
7019,
584,
4280,
28027,
6,
234,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
549,
4489,
65,
3,
9,
1210,
13,
3,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
7019,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
234,
3274,
96,
18118,
15311,
11692,
9,
121,
3430,
939,
3274,
96,
89,
120,
277,
991,
209,
104,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Canada singles in 1979 with a US A.C. of 24? | CREATE TABLE table_41034 (
"Year" real,
"Song" text,
"Canada Singles" text,
"US Hot 100" text,
"US A.C." text
) | SELECT "Canada Singles" FROM table_41034 WHERE "Year" = '1979' AND "US A.C." = '24' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24175,
3710,
41,
96,
476,
2741,
121,
490,
6,
96,
134,
2444,
121,
1499,
6,
96,
28811,
7871,
7,
121,
1499,
6,
96,
3063,
5396,
910,
121,
1499,
6,
96,
3063,
71,
5,
254,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28811,
7871,
7,
121,
21680,
953,
834,
24175,
3710,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
2294,
4440,
31,
3430,
96,
3063,
71,
5,
254,
535,
3274,
3,
31,
2266,
31,
1,
-100,
-100,
-100,
-100,
-100,
-... |
What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane under 5? | CREATE TABLE table_name_24 (time VARCHAR, rank VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT time FROM table_name_24 WHERE heat > 3 AND lane < 5 AND rank = 5 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2266,
41,
715,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
6,
1678,
584,
4280,
28027,
6,
3,
8102,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
97,
21680,
953,
834,
4350,
834,
2266,
549,
17444,
427,
1678,
2490,
220,
3430,
3,
8102,
3,
2,
305,
3430,
11003,
3274,
305,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many patients aged below 74 years were given the drug voriconazole? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "74" AND prescriptions.drug = "Voriconazole" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
What college did the player who played DE go to? | CREATE TABLE table_26996293_1 (college VARCHAR, position VARCHAR) | SELECT college FROM table_26996293_1 WHERE position = "DE" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3264,
4056,
4271,
834,
536,
41,
3297,
7883,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1900,
410,
8,
1959,
113,
1944,
3396,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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,
2688,
3264,
4056,
4271,
834,
536,
549,
17444,
427,
1102,
3274,
96,
5596,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What day is miami the venue with 38 goals? | CREATE TABLE table_name_67 (
date VARCHAR,
venue VARCHAR,
goal VARCHAR
) | SELECT date FROM table_name_67 WHERE venue = "miami" AND goal = 38 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3708,
41,
833,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
6,
1288,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
239,
19,
1337,
3690,
8,
5669,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3708,
549,
17444,
427,
5669,
3274,
96,
51,
23,
3690,
121,
3430,
1288,
3274,
6654,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the score when Fulham is the away team? | CREATE TABLE table_47836 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Score" FROM table_47836 WHERE "Away team" = 'fulham' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
3940,
3420,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
308,
342,
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,
134,
9022,
121,
21680,
953,
834,
591,
3940,
3420,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
1329,
1483,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the mission name for ocean of storms | CREATE TABLE table_1281 (
"Mission name" text,
"Lunar lander" text,
"Lunar landing date" text,
"Lunar blastoff date" text,
"Lunar landing site" text,
"Duration on lunar surface" text,
"Crew" text,
"Number of s EVA" real,
"Total EVA Time (HH:MM)" text
) | SELECT "Mission name" FROM table_1281 WHERE "Lunar landing site" = 'Ocean of Storms' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
4959,
41,
96,
329,
159,
1938,
564,
121,
1499,
6,
96,
434,
202,
291,
3,
20319,
121,
1499,
6,
96,
434,
202,
291,
9501,
833,
121,
1499,
6,
96,
434,
202,
291,
11925,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
159,
1938,
564,
121,
21680,
953,
834,
2122,
4959,
549,
17444,
427,
96,
434,
202,
291,
9501,
353,
121,
3274,
3,
31,
667,
565,
152,
13,
16133,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what school is rudy gay from | CREATE TABLE table_15872 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
) | SELECT "School/Club Team" FROM table_15872 WHERE "Player" = 'Rudy Gay' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26556,
5865,
41,
96,
15800,
49,
121,
1499,
6,
96,
4168,
535,
490,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
7,
16,
7030,
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,
29364,
87,
254,
11158,
2271,
121,
21680,
953,
834,
26556,
5865,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
17137,
26,
63,
20338,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? | CREATE TABLE table_51737 (
"Rank" real,
"Constituency" text,
"Winning party 2003" text,
"Swing to gain" real,
"Labour's place 2003" text,
"Result" text
) | SELECT SUM("Swing to gain") FROM table_51737 WHERE "Constituency" = 'caithness, sutherland and easter ross' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5553,
27931,
41,
96,
22557,
121,
490,
6,
96,
4302,
2248,
17,
76,
4392,
121,
1499,
6,
96,
518,
10503,
1088,
3888,
121,
1499,
6,
96,
134,
3108,
12,
2485,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
134,
3108,
12,
2485,
8512,
21680,
953,
834,
5553,
27931,
549,
17444,
427,
96,
4302,
2248,
17,
76,
4392,
121,
3274,
3,
31,
658,
23,
189,
655,
6,
2629,
532,
7721,
11,
5727,
49,
3,
1859,
7,
31,... |
Which Race Name has Goodwood in the Curcuit? | CREATE TABLE table_name_4 (
race_name VARCHAR,
circuit VARCHAR
) | SELECT race_name FROM table_name_4 WHERE circuit = "goodwood" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
591,
41,
1964,
834,
4350,
584,
4280,
28027,
6,
4558,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
10949,
5570,
65,
1804,
2037,
16,
8,
4116,
21560,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1964,
834,
4350,
21680,
953,
834,
4350,
834,
591,
549,
17444,
427,
4558,
3274,
96,
10452,
2037,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In what Year is Keith Smith's Cross Code Debut RL Test v Wales? | CREATE TABLE table_name_73 (year VARCHAR, cross_code_debut VARCHAR, player VARCHAR) | SELECT year FROM table_name_73 WHERE cross_code_debut = "rl test v wales" AND player = "keith smith" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
1201,
584,
4280,
28027,
6,
2269,
834,
4978,
834,
221,
2780,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
2929... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
215,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
2269,
834,
4978,
834,
221,
2780,
3274,
96,
52,
40,
794,
3,
208,
3,
210,
4529,
121,
3430,
1959,
3274,
96,
5754,
107,
3,
16331,
121,
1,
-100,
-100,
-100,
-100,... |
What is the Airport when the ICAO shows rpvm? | CREATE TABLE table_name_56 (airport VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_56 WHERE icao = "rpvm" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4834,
41,
2256,
1493,
584,
4280,
28027,
6,
3,
2617,
32,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5735,
116,
8,
3,
15038,
667,
1267,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3761,
21680,
953,
834,
4350,
834,
4834,
549,
17444,
427,
3,
2617,
32,
3274,
96,
52,
102,
208,
51,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
look for the primary disease and diagnoses icd9 code for patient ida cook. | 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT demographic.diagnosis, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Ida Cook" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
14798,
5,
25930,
4844,
159,
6,
18730,
7,
5,
447,
26,
1298,
834,
4978,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
549,
17... |
What school did the player who was with the grizzles in 2011 attend? | CREATE TABLE table_16494599_3 (
school_club_team VARCHAR,
years_for_grizzlies VARCHAR
) | SELECT school_club_team FROM table_16494599_3 WHERE years_for_grizzlies = "2011" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
3647,
2128,
3264,
834,
519,
41,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
6,
203,
834,
1161,
834,
3496,
5271,
4664,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
496,
834,
13442,
834,
11650,
21680,
953,
834,
2938,
3647,
2128,
3264,
834,
519,
549,
17444,
427,
203,
834,
1161,
834,
3496,
5271,
4664,
3274,
96,
13907,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
When did Alan Hutcheson won Class B on round 1? | CREATE TABLE table_27139 (
"Round" real,
"Circuit" text,
"Date" text,
"Class A Winner" text,
"Class B Winner" text,
"Class C Winner" text,
"Class D Winner" text
) | SELECT "Date" FROM table_27139 WHERE "Class B Winner" = 'Alan Hutcheson' AND "Round" = '1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
24090,
41,
96,
448,
32,
1106,
121,
490,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
21486,
71,
18125,
121,
1499,
6,
96,
21486,
272,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2555,
24090,
549,
17444,
427,
96,
21486,
272,
18125,
121,
3274,
3,
31,
188,
1618,
3455,
17,
2951,
106,
31,
3430,
96,
448,
32,
1106,
121,
3274,
3,
31,
536,
31,
1,
-100,
-100,
-... |
What is the most number of Indians admitted to Canada when the number of Sri Lankans admitted was 3104? | CREATE TABLE table_21409 (
"Year" real,
"Indians admitted" real,
"Pakistanis admitted" real,
"Sri Lankans admitted" real,
"Bangladeshis admitted" real,
"Nepalis admitted" real
) | SELECT MIN("Indians admitted") FROM table_21409 WHERE "Sri Lankans admitted" = '3104' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27357,
4198,
41,
96,
476,
2741,
121,
490,
6,
96,
22126,
29,
7,
10246,
121,
490,
6,
96,
345,
11259,
5627,
159,
10246,
121,
490,
6,
96,
134,
52,
23,
13877,
29,
7,
10246,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
22126,
29,
7,
10246,
8512,
21680,
953,
834,
27357,
4198,
549,
17444,
427,
96,
134,
52,
23,
13877,
29,
7,
10246,
121,
3274,
3,
31,
519,
15442,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Who was the writer who wrote the episode that was aired on September 11, 1972? | CREATE TABLE table_25800134_17 (writer_s_ VARCHAR, airdate VARCHAR) | SELECT writer_s_ FROM table_25800134_17 WHERE airdate = "September 11, 1972" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
6192,
23747,
834,
2517,
41,
12756,
834,
7,
834,
584,
4280,
28027,
6,
799,
5522,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
8,
4346,
113,
2832,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4346,
834,
7,
834,
21680,
953,
834,
1828,
6192,
23747,
834,
2517,
549,
17444,
427,
799,
5522,
3274,
96,
27652,
9694,
16583,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many runs were there when there was 1 match and les than 86 average? | CREATE TABLE table_name_1 (
runs INTEGER,
matches VARCHAR,
average VARCHAR
) | SELECT SUM(runs) FROM table_name_1 WHERE matches = 1 AND average < 86 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
536,
41,
3154,
3,
21342,
17966,
6,
6407,
584,
4280,
28027,
6,
1348,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3154,
130,
132,
116,
132,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
180,
6122,
599,
4312,
7,
61,
21680,
953,
834,
4350,
834,
536,
549,
17444,
427,
6407,
3274,
209,
3430,
1348,
3,
2,
3,
3840,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the grapes, wineries and years for wines with price higher than 100, sorted by year? | CREATE TABLE grapes (
id number,
grape text,
color text
)
CREATE TABLE appellations (
no number,
appelation text,
county text,
state text,
area text,
isava text
)
CREATE TABLE wine (
no number,
grape text,
winery text,
appelation text,
state text,
name text,... | SELECT grape, winery, year FROM wine WHERE price > 100 ORDER BY year | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11457,
7,
41,
3,
23,
26,
381,
6,
11457,
1499,
6,
945,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
8319,
6105,
7,
41,
150,
381,
6,
8319,
257,
1499,
6,
5435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11457,
6,
2013,
651,
6,
215,
21680,
2013,
549,
17444,
427,
594,
2490,
910,
4674,
11300,
272,
476,
215,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the date of birth and admission time of Lue White? | 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 demographic.dob, demographic.admittime FROM demographic WHERE demographic.name = "Lue White" | [
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,
14798,
5,
26,
32,
115,
6,
14798,
5,
20466,
17,
715,
21680,
14798,
549,
17444,
427,
14798,
5,
4350,
3274,
96,
434,
76,
15,
1945,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Event, when Round is '10'? | CREATE TABLE table_name_62 (
event VARCHAR,
round VARCHAR
) | SELECT event FROM table_name_62 WHERE round = 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
605,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8042,
6,
116,
9609,
19,
3,
31,
1714,
31,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
605,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
1751,
3274,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What are the Ages of the Seashell Trust School with Ofsted Report? | CREATE TABLE table_name_50 (
ages VARCHAR,
report VARCHAR,
school VARCHAR
) | SELECT ages FROM table_name_50 WHERE report = "ofsted" AND school = "seashell trust" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
3,
2568,
584,
4280,
28027,
6,
934,
584,
4280,
28027,
6,
496,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
7526,
7,
13,
8,
3319... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
2568,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
934,
3274,
96,
858,
6265,
121,
3430,
496,
3274,
96,
7,
15,
9,
17346,
2019,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the winning pct % if the goal for are 229? | CREATE TABLE table_2259285_1 (
winning_pct__percentage VARCHAR,
goals_for VARCHAR
) | SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 229 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
4508,
4433,
834,
536,
41,
3447,
834,
102,
75,
17,
834,
834,
883,
3728,
545,
584,
4280,
28027,
6,
1766,
834,
1161,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
3,
23143,
14196,
3447,
834,
102,
75,
17,
834,
834,
883,
3728,
545,
21680,
953,
834,
20489,
4508,
4433,
834,
536,
549,
17444,
427,
1766,
834,
1161,
3274,
204,
3166,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What player's original team are the Buffalo Bills? | CREATE TABLE table_80252 (
"Original NFL team" text,
"Player" text,
"Pos." text,
"College" text,
"Conf." text
) | SELECT "Player" FROM table_80252 WHERE "Original NFL team" = 'buffalo bills' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
1828,
357,
41,
96,
667,
3380,
10270,
10439,
372,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
345,
32,
7,
535,
1499,
6,
96,
9939,
7883,
121,
1499,
6,
96,
4302,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15800,
49,
121,
21680,
953,
834,
2079,
1828,
357,
549,
17444,
427,
96,
667,
3380,
10270,
10439,
372,
121,
3274,
3,
31,
115,
2999,
138,
32,
7200,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What club team has 216 overall? | CREATE TABLE table_name_70 (club_team VARCHAR, overall VARCHAR) | SELECT club_team FROM table_name_70 WHERE overall = 216 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
13442,
834,
11650,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1886,
372,
65,
3,
27184,
1879,
58,
1,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1886,
834,
11650,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
1879,
3274,
3,
27184,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Round when there is an overall of 246? | CREATE TABLE table_name_85 (
round VARCHAR,
overall VARCHAR
) | SELECT round FROM table_name_85 WHERE overall = 246 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
1751,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
9609,
116,
132,
19,
46,
1879,
13,
204,
4448,
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,
1751,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
1879,
3274,
204,
4448,
1,
-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 silvers for nations with over 3 golds and under 6 bronzes? | CREATE TABLE table_57639 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Silver") FROM table_57639 WHERE "Bronze" < '6' AND "Gold" > '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
3959,
3288,
41,
96,
22557,
121,
490,
6,
96,
567,
257,
121,
1499,
6,
96,
23576,
121,
490,
6,
96,
134,
173,
624,
121,
490,
6,
96,
22780,
29,
776,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
134,
173,
624,
8512,
21680,
953,
834,
755,
3959,
3288,
549,
17444,
427,
96,
22780,
29,
776,
121,
3,
2,
3,
31,
948,
31,
3430,
96,
23576,
121,
2490,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100... |
how many newborn patients have neb route of drug administration? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "NEWBORN" AND prescriptions.route = "NEB" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7690,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
2118,
23,
26,
1499,
6,
5059,
715,
1499,
6,
5692,
1499,
6,
701,
834,
15129,
1499,
6,
3783,
1499,
6,
5798,
1499... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7744,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7744,
7,
5,
8399,
51,
834,
23,
26,
549... |
What is the round of the pf position player from 1996 and the college/high school/club mississippi state? | CREATE TABLE table_name_37 (
round VARCHAR,
college_high_school_club VARCHAR,
position VARCHAR,
year VARCHAR
) | SELECT round FROM table_name_37 WHERE position = "pf" AND year = 1996 AND college_high_school_club = "mississippi state" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4118,
41,
1751,
584,
4280,
28027,
6,
1900,
834,
6739,
834,
6646,
834,
13442,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
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,
1751,
21680,
953,
834,
4350,
834,
4118,
549,
17444,
427,
1102,
3274,
96,
102,
89,
121,
3430,
215,
3274,
6911,
3430,
1900,
834,
6739,
834,
6646,
834,
13442,
3274,
96,
11502,
159,
7,
23,
1572,
23,
538,
121,
1,
-100,
... |
Which division has an average home attendance of 2.459? | CREATE TABLE table_1816947_2 (
division___section VARCHAR,
average_attendance_home VARCHAR
) | SELECT division___section FROM table_1816947_2 WHERE average_attendance_home = "2.459" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
27096,
4177,
834,
357,
41,
4889,
834,
834,
834,
14309,
584,
4280,
28027,
6,
1348,
834,
15116,
663,
834,
5515,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4889,
834,
834,
834,
14309,
21680,
953,
834,
2606,
27096,
4177,
834,
357,
549,
17444,
427,
1348,
834,
15116,
663,
834,
5515,
3274,
96,
17638,
3390,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about salary over the last_name by a bar chart. | CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE T... | SELECT LAST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1440,
41,
2847,
17161,
11824,
834,
4309,
3,
4331,
4059,
16426,
6,
2847,
17161,
11824,
834,
567,
17683,
3,
4331,
4059,
599,
2445,
201,
4083,
517,
9215,
834,
4309,
7908,
1982,
599,
1714,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
301,
12510,
834,
567,
17683,
6,
180,
4090,
24721,
21680,
1652,
549,
17444,
427,
4486,
3396,
19846,
11810,
834,
4309,
3388,
41,
23143,
14196,
3396,
19846,
11810,
834,
4309,
21680,
10521,
549,
17444,
427,
283,
15610,
17966,... |
Name the growth rate for hooghly | CREATE TABLE table_2527063_3 (growth_rate VARCHAR, district VARCHAR) | SELECT growth_rate FROM table_2527063_3 WHERE district = "Hooghly" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
17485,
3891,
834,
519,
41,
24690,
834,
2206,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
1170,
1080,
21,
3534,
32,
122,
107... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1170,
834,
2206,
21680,
953,
834,
1828,
17485,
3891,
834,
519,
549,
17444,
427,
3939,
3274,
96,
4489,
32,
122,
107,
120,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
If the rank is 17, what are the names? | CREATE TABLE table_27254 (
"Rank" real,
"WS Points" real,
"Name" text,
"Country" text,
"09-10 I/O best" real,
"09-10 GP/JGP best" real,
"09-10 GP/JGP 2nd" real,
"09-10 OI best" real,
"09-10 OI 2nd" real,
"08-09 I/O best" real,
"08-09 GP/JGP best" real,
"08-09 GP/JGP 2nd" ... | SELECT "Name" FROM table_27254 WHERE "Rank" = '17' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
1828,
591,
41,
96,
22557,
121,
490,
6,
96,
8439,
4564,
7,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
4198,
4536,
27,
87,
667,
200,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23954,
121,
21680,
953,
834,
2555,
1828,
591,
549,
17444,
427,
96,
22557,
121,
3274,
3,
31,
2517,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What opposing team has 20 against? | CREATE TABLE table_name_7 (opposing_team VARCHAR, against VARCHAR) | SELECT opposing_team FROM table_name_7 WHERE against = 20 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
28236,
7,
53,
834,
11650,
584,
4280,
28027,
6,
581,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
10720,
53,
372,
65,
460,
581,
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,
10720,
53,
834,
11650,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
581,
3274,
460,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
when indiana pacers were the opponent what was the date? | CREATE TABLE table_35276 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) | SELECT "Date" FROM table_35276 WHERE "Opponent" = 'indiana pacers' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2469,
357,
3959,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
75,
257,
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,
308,
342,
121,
21680,
953,
834,
2469,
357,
3959,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
77,
8603,
9,
4974,
52,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Return a bar chart showing the total number of ships' nationalities, display from low to high by the how many nationality. | CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
) | SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Nationality ORDER BY COUNT(Nationality) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2253,
41,
8960,
834,
4309,
16,
17,
6,
15508,
834,
4309,
16,
17,
6,
3636,
1499,
6,
17113,
15,
26,
834,
476,
2741,
16,
17,
6,
10450,
1499,
6,
9913,
834,
157,
2264,
7,
16,
17,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
868,
485,
6,
2847,
17161,
599,
24732,
485,
61,
21680,
4383,
350,
4630,
6880,
272,
476,
868,
485,
4674,
11300,
272,
476,
2847,
17161,
599,
24732,
485,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who is the trophy presentation in the year 1987? | CREATE TABLE table_22514845_4 (trophy_presentation VARCHAR, year VARCHAR) | SELECT trophy_presentation FROM table_22514845_4 WHERE year = 1987 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
20489,
24748,
2128,
834,
591,
41,
17,
29006,
834,
12640,
257,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
23921,
3831,
16,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
23921,
834,
12640,
257,
21680,
953,
834,
20489,
24748,
2128,
834,
591,
549,
17444,
427,
215,
3274,
12701,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What country was the game played in when the location was trestles? | CREATE TABLE table_41993 (
"Date" text,
"Location" text,
"Country" text,
"Event" text,
"Winner" text,
"Runner-up" text
) | SELECT "Country" FROM table_41993 WHERE "Location" = 'trestles' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2294,
4271,
41,
96,
308,
342,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
427,
2169,
121,
1499,
6,
96,
18455,
687,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
10628,
651,
121,
21680,
953,
834,
591,
2294,
4271,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
17,
6216,
965,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What to par has 66 as the score? | CREATE TABLE table_50935 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "To par" FROM table_50935 WHERE "Score" = '66' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
1298,
2469,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
490,
6,
96,
3696,
260,
121,
1499,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
96,
3696,
260,
121,
21680,
953,
834,
1752,
1298,
2469,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
3539,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total number of passengers of the airport ranked 15? | CREATE TABLE table_13836704_7 (international_passengers VARCHAR, rank VARCHAR) | SELECT international_passengers FROM table_13836704_7 WHERE rank = 15 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
22744,
3420,
2518,
591,
834,
940,
41,
27817,
834,
3968,
4606,
277,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
381,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1038,
834,
3968,
4606,
277,
21680,
953,
834,
22744,
3420,
2518,
591,
834,
940,
549,
17444,
427,
11003,
3274,
627,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show times of elimination of wrestlers with days held more than 50. | CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR) | SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
26033,
52,
41,
518,
6216,
1171,
834,
4309,
584,
4280,
28027,
6,
13992,
834,
14796,
3,
21342,
17966,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
23458,
41,
13368,
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,
5411,
13368,
21680,
23458,
6157,
332,
536,
3,
15355,
3162,
26033,
52,
6157,
332,
357,
9191,
332,
5411,
518,
6216,
1171,
834,
4309,
3274,
332,
4416,
518,
6216,
1171,
834,
4309,
549,
17444,
427,
332,
4416,
16803,
7... |
What was the outcome for the match in 1989? | CREATE TABLE table_72497 (
"Outcome" text,
"Year" text,
"Location" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) | SELECT "Outcome" FROM table_72497 WHERE "Year" = '1989' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2266,
4327,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
476,
2741,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
13725,
687... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15767,
287,
15,
121,
21680,
953,
834,
940,
2266,
4327,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
2294,
3914,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the performance length of the 1999 season in bydgoszcz, poland? | CREATE TABLE table_name_11 (performance VARCHAR, season VARCHAR, place VARCHAR) | SELECT performance FROM table_name_11 WHERE season = 1999 AND place = "bydgoszcz, poland" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2596,
41,
18558,
584,
4280,
28027,
6,
774,
584,
4280,
28027,
6,
286,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
821,
2475,
13,
8,
5247,
774... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
821,
21680,
953,
834,
4350,
834,
2596,
549,
17444,
427,
774,
3274,
5247,
3430,
286,
3274,
96,
969,
26,
839,
7,
172,
75,
172,
6,
3,
3233,
232,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is North American Release Date, when Japanese Release Date is '2011-06-23'? | CREATE TABLE table_59484 (
"Series" text,
"Platform" text,
"Japanese Release Date" text,
"North American Release Date" text,
"European Release Date" text,
"Australia Release Date" text
) | SELECT "North American Release Date" FROM table_59484 WHERE "Japanese Release Date" = '2011-06-23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3390,
3707,
591,
41,
96,
12106,
7,
121,
1499,
6,
96,
10146,
2032,
121,
1499,
6,
96,
683,
9750,
1496,
15,
13048,
7678,
121,
1499,
6,
96,
22969,
797,
13048,
7678,
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,
22969,
797,
13048,
7678,
121,
21680,
953,
834,
3390,
3707,
591,
549,
17444,
427,
96,
683,
9750,
1496,
15,
13048,
7678,
121,
3274,
3,
31,
13907,
18,
5176,
18,
2773,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What was the home team's score at the game held at Junction Oval? | CREATE TABLE table_name_13 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_13 WHERE venue = "junction oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
5515,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
234,
372,
31,
7,
2604,
44,
8,
467,
1213,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
5669,
3274,
96,
6959,
4985,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Location has an ObjectNumber of 2005-7698? | CREATE TABLE table_46500 (
"Railway" text,
"Builder" text,
"Built" real,
"Wheels" text,
"Location" text,
"ObjectNumber" text
) | SELECT "Location" FROM table_46500 WHERE "ObjectNumber" = '2005-7698' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
2560,
41,
96,
448,
9,
173,
1343,
121,
1499,
6,
96,
24752,
49,
121,
1499,
6,
96,
7793,
173,
17,
121,
490,
6,
96,
518,
88,
3573,
121,
1499,
6,
96,
434,
32,
75,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
32,
75,
257,
121,
21680,
953,
834,
4448,
2560,
549,
17444,
427,
96,
17057,
567,
5937,
49,
121,
3274,
3,
31,
22594,
18,
3959,
3916,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show project ids and the number of documents in each project. | CREATE TABLE Documents (
project_id VARCHAR
) | SELECT project_id, COUNT(*) FROM Documents GROUP BY project_id | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11167,
7,
41,
516,
834,
23,
26,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
516,
3,
23,
26,
7,
11,
8,
381,
13,
2691,
16,
284,
516,
5,
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,
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,
516,
834,
23,
26,
6,
2847,
17161,
599,
1935,
61,
21680,
11167,
7,
350,
4630,
6880,
272,
476,
516,
834,
23,
26,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Where was the friendly competition on 7 June 1999 played? | CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_9 WHERE competition = "friendly" AND date = "7 june 1999" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
15098,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
2609,
2259,
30,
489,
1515,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
2259,
3274,
96,
4905,
121,
3430,
833,
3274,
96,
940,
3,
6959,
15,
5247,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
After 2009, who was the player that has a nationality of Canada? | CREATE TABLE table_name_23 (player VARCHAR, nationality VARCHAR, year VARCHAR) | SELECT player FROM table_name_23 WHERE nationality = "canada" AND year > 2009 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
20846,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
621,
2464,
6,
113,
47,
8,
1959,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1959,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1157,
485,
3274,
96,
658,
18089,
121,
3430,
215,
2490,
2464,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the result for the date of august 23? | CREATE TABLE table_46442 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
) | SELECT "Result" FROM table_46442 WHERE "Date" = 'august 23' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4448,
3628,
357,
41,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
1649,
7621,
121,
1499,
3,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
3,
23143,
14196,
96,
20119,
121,
21680,
953,
834,
4448,
3628,
357,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
402,
17198,
1902,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What venue held the event in 2008 that has 2:13:10 in the notes? | CREATE TABLE table_name_12 (
venue VARCHAR,
year VARCHAR,
notes VARCHAR
) | SELECT venue FROM table_name_12 WHERE year = 2008 AND notes = "2:13:10" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
5669,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
6,
3358,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
5669,
1213,
8,
605,
16,
2628,
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,
5669,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
215,
3274,
2628,
3430,
3358,
3274,
96,
357,
10,
2368,
10,
1714,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent? | CREATE TABLE table_1342256_33 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342256_33 WHERE incumbent = "Harold D. Cooley" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4165,
19337,
834,
4201,
41,
1608,
12416,
6203,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
66,
8,
4341,
24,
4037,
21,
8,
3143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4341,
21680,
953,
834,
2368,
4165,
19337,
834,
4201,
549,
17444,
427,
28406,
3274,
96,
15537,
1490,
309,
5,
7823,
15,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Hindi associated with a Domari of tærən? | CREATE TABLE table_name_78 (hindi VARCHAR, domari VARCHAR) | SELECT hindi FROM table_name_78 WHERE domari = "tærən" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3940,
41,
107,
8482,
584,
4280,
28027,
6,
103,
17289,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
25763,
1968,
28,
3,
9,
531,
17289,
13,
3,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
107,
8482,
21680,
953,
834,
4350,
834,
3940,
549,
17444,
427,
103,
17289,
3274,
96,
17,
2,
52,
2,
29,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which date had less than 3 goals and a result of (w) 2-0? | CREATE TABLE table_name_23 (date VARCHAR, goals VARCHAR, result VARCHAR) | SELECT date FROM table_name_23 WHERE goals < 3 AND result = "(w) 2-0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
5522,
584,
4280,
28027,
6,
1766,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
833,
141,
705,
145,
220,
1766,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1766,
3,
2,
220,
3430,
741,
3274,
96,
599,
210,
61,
3,
19423,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the number of application for modeling, computer aided design, animation | CREATE TABLE table_19495707_1 (application VARCHAR, mainly_used_for VARCHAR) | SELECT COUNT(application) FROM table_19495707_1 WHERE mainly_used_for = "Modeling, Computer Aided Design, Animation" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2294,
3647,
3436,
4560,
834,
536,
41,
12251,
584,
4280,
28027,
6,
3,
4894,
834,
10064,
834,
1161,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
381,
13,
917,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
12251,
61,
21680,
953,
834,
2294,
3647,
3436,
4560,
834,
536,
549,
17444,
427,
3,
4894,
834,
10064,
834,
1161,
3274,
96,
24663,
53,
6,
5491,
12090,
15,
26,
1642,
6,
25835,
121,
1,
-100,
-100,
-100,... |
What are televotes for 1 draw? | CREATE TABLE table_name_74 (
televotes VARCHAR,
draw VARCHAR
) | SELECT televotes FROM table_name_74 WHERE draw = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
3,
1931,
1621,
1422,
584,
4280,
28027,
6,
3314,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
3,
1931,
1621,
1422,
21,
209,
3314,
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,
1931,
1621,
1422,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
3314,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the result in the Arkansas 5 district election? | CREATE TABLE table_1341897_6 (
result VARCHAR,
district VARCHAR
) | SELECT result FROM table_1341897_6 WHERE district = "Arkansas 5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2606,
4327,
834,
948,
41,
741,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
16,
8,
16622,
305,
3939,
4356,
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,
741,
21680,
953,
834,
23747,
2606,
4327,
834,
948,
549,
17444,
427,
3939,
3274,
96,
188,
52,
3304,
7,
9,
7,
3,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who won the men's singles in 1999? | CREATE TABLE table_71898 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) | SELECT "Men's singles" FROM table_71898 WHERE "Year" = '1999' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2606,
3916,
41,
96,
476,
2741,
121,
490,
6,
96,
329,
35,
31,
7,
712,
7,
121,
1499,
6,
96,
518,
32,
904,
31,
7,
712,
7,
121,
1499,
6,
96,
329,
35,
31,
7,
1486,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
35,
31,
7,
712,
7,
121,
21680,
953,
834,
940,
2606,
3916,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
2294,
3264,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who is the Opponent on January 7? | CREATE TABLE table_45623 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT "Opponent" FROM table_45623 WHERE "Date" = 'january 7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
4056,
519,
41,
96,
308,
342,
121,
1499,
6,
96,
566,
87,
188,
87,
567,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2128,
4056,
519,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
7066,
76,
1208,
489,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which complaint status has more than 3 records on file? | CREATE TABLE complaints (complaint_status_code VARCHAR) | SELECT complaint_status_code FROM complaints GROUP BY complaint_status_code HAVING COUNT(*) > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11244,
41,
287,
18689,
17,
834,
8547,
302,
834,
4978,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
10394,
2637,
65,
72,
145,
220,
3187,
30,
1042,
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,
10394,
834,
8547,
302,
834,
4978,
21680,
11244,
350,
4630,
6880,
272,
476,
10394,
834,
8547,
302,
834,
4978,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
2490,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What date has an against of pohang steelers? | CREATE TABLE table_63109 (
"Round" text,
"Date" text,
"Against" text,
"Score AUFC \u2013 Away" text,
"Attendance" real,
"Weekday" text
) | SELECT "Date" FROM table_63109 WHERE "Against" = 'pohang steelers' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3891,
17304,
41,
96,
448,
32,
1106,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
20749,
121,
1499,
6,
96,
134,
9022,
3,
6727,
5390,
3,
2,
76,
11138,
71,
1343,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
3891,
17304,
549,
17444,
427,
96,
20749,
121,
3274,
3,
31,
102,
32,
9270,
2470,
277,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Name the steals for 5 blocks | CREATE TABLE table_25386 (
"Player" text,
"Games Played" real,
"Field Goals" real,
"Three Pointers" real,
"Free Throws" real,
"Rebounds" real,
"Assists" real,
"Blocks" real,
"Steals" real,
"Points" real
) | SELECT "Steals" FROM table_25386 WHERE "Blocks" = '5' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
519,
3840,
41,
96,
15800,
49,
121,
1499,
6,
96,
23055,
7,
2911,
15,
26,
121,
490,
6,
96,
3183,
8804,
17916,
7,
121,
490,
6,
96,
11889,
15,
15,
4564,
277,
121,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14337,
5405,
121,
21680,
953,
834,
1828,
519,
3840,
549,
17444,
427,
96,
279,
4029,
7,
121,
3274,
3,
31,
755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the name of the team from Derbyshire county? | CREATE TABLE table_18461635_1 (
team VARCHAR,
county VARCHAR
) | SELECT team FROM table_18461635_1 WHERE county = "Derbyshire" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2606,
4448,
2938,
2469,
834,
536,
41,
372,
584,
4280,
28027,
6,
5435,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
372,
45,
21485,
5718,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
2606,
4448,
2938,
2469,
834,
536,
549,
17444,
427,
5435,
3274,
96,
308,
49,
969,
5718,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who read the unabridged book written by Gary Paulsen? | CREATE TABLE table_7116 (
"Title" text,
"Author" text,
"Un-/Abridged" text,
"Read by" text,
"Published" text
) | SELECT "Read by" FROM table_7116 WHERE "Un-/Abridged" = 'unabridged' AND "Author" = 'gary paulsen' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4450,
2938,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
23602,
127,
121,
1499,
6,
96,
5110,
18,
87,
188,
9818,
26,
121,
1499,
6,
96,
19915,
57,
121,
1499,
6,
96,
31009,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19915,
57,
121,
21680,
953,
834,
4450,
2938,
549,
17444,
427,
96,
5110,
18,
87,
188,
9818,
26,
121,
3274,
3,
31,
202,
9,
9818,
26,
31,
3430,
96,
23602,
127,
121,
3274,
3,
31,
1478,
63,
2576,
83,
7,
35,
31,... |
What position did eric norri play who was the overall pick less than 322 on a round larger than 3? | CREATE TABLE table_name_33 (position VARCHAR, name VARCHAR, overall VARCHAR, round VARCHAR) | SELECT position FROM table_name_33 WHERE overall < 322 AND round > 3 AND name = "eric norri" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4201,
41,
4718,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
6,
1879,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
410... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1102,
21680,
953,
834,
4350,
834,
4201,
549,
17444,
427,
1879,
3,
2,
220,
2884,
3430,
1751,
2490,
220,
3430,
564,
3274,
96,
15,
2234,
3701,
52,
23,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the title of the episode with a production code of 2j5504? | CREATE TABLE table_3767 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
) | SELECT "Title" FROM table_3767 WHERE "Production code" = '2J5504' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4118,
3708,
41,
96,
4168,
535,
490,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
23620,
15,
26,
57,
121,
1499,
6,
96,
24965,
324,
57,
121,
1499,
6,
96,
667,
3380,
10270,
799... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
382,
155,
109,
121,
21680,
953,
834,
4118,
3708,
549,
17444,
427,
96,
3174,
8291,
1081,
121,
3274,
3,
31,
357,
683,
17147,
591,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Score for the 1999 fifa confederations cup? | CREATE TABLE table_name_96 (
score VARCHAR,
competition VARCHAR
) | SELECT score FROM table_name_96 WHERE competition = "1999 fifa confederations cup" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
2604,
584,
4280,
28027,
6,
2259,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17763,
21,
8,
5247,
361,
89,
9,
975,
16812,
1628,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
2259,
3274,
96,
2294,
3264,
361,
89,
9,
975,
16812,
1628,
4119,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
hba1c between 7 and 9 % | CREATE TABLE table_train_229 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"active_metabolic" bool,
"body_weight" float,
"hba1c" float,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_229 WHERE hba1c >= 7 AND hemoglobin_a1c_hba1c <= 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
9719,
834,
357,
3166,
41,
96,
23,
26,
121,
16,
17,
6,
96,
6015,
32,
14063,
77,
834,
9,
536,
75,
834,
107,
115,
9,
536,
75,
121,
3,
12660,
6,
96,
6645,
834,
27787,
447... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1429,
21680,
953,
834,
9719,
834,
357,
3166,
549,
17444,
427,
3,
107,
115,
9,
536,
75,
2490,
2423,
489,
3430,
24731,
14063,
77,
834,
9,
536,
75,
834,
107,
115,
9,
536,
75,
3,
2,
2423,
668,
1,
-100,
-100,
-100,
... |
Draw a bar chart for how many total credits are offered by each department? | CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_... | SELECT dept_name, SUM(credits) FROM course GROUP BY dept_name | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
503,
41,
503,
834,
23,
26,
3,
4331,
4059,
28007,
6,
2233,
3,
4331,
4059,
599,
1752,
201,
20,
102,
17,
834,
4350,
3,
4331,
4059,
599,
1755,
201,
11893,
206,
17552,
599,
4482,
632,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
20,
102,
17,
834,
4350,
6,
180,
6122,
599,
15547,
7,
61,
21680,
503,
350,
4630,
6880,
272,
476,
20,
102,
17,
834,
4350,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
provide the number of patients whose discharge location is snf and primary disease is angioedema? | 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.discharge_location = "SNF" AND demographic.diagnosis = "ANGIOEDEMA" | [
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,
26,
159,
7993,
834,
14836,
3274,
96,
134,
12619,
121,
3430,
14798,
5,
25930,
4844,
159,
3274,
96,
... |
What is the latest day in November of the game with a 15-5-2 record? | CREATE TABLE table_name_60 (november INTEGER, record VARCHAR) | SELECT MAX(november) FROM table_name_60 WHERE record = "15-5-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
5326,
18247,
3,
21342,
17966,
6,
1368,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1251,
239,
16,
1671,
13,
8,
467,
28,
3,
9,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
5326,
18247,
61,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
1368,
3274,
96,
1808,
18,
24279,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which game had a record of 6-9-7? | CREATE TABLE table_21649 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
) | SELECT "Game" FROM table_21649 WHERE "Record" = '6-9-7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27184,
3647,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
23055,
121,
21680,
953,
834,
27184,
3647,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
948,
7141,
6832,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the record after the game on Feb 10? | CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR) | SELECT record FROM table_name_89 WHERE february = 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3914,
41,
60,
7621,
584,
4280,
28027,
6,
29976,
76,
1208,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1368,
227,
8,
467,
30,
8037,
335,
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,
1368,
21680,
953,
834,
4350,
834,
3914,
549,
17444,
427,
29976,
76,
1208,
3274,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.