NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who directed the movie ' Inglourious Basterds ' ?
CREATE TABLE writer ( wid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE written_by ( id int, msid int, wid int ) CREATE TABLE company ( id int, name text, country_code varchar ) CREATE TABLE director ( did int, ge...
SELECT director.name FROM directed_by, director, movie WHERE director.did = directed_by.did AND movie.mid = directed_by.msid AND movie.title = 'Inglourious Basterds'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4346, 41, 3, 12018, 16, 17, 6, 7285, 1499, 6, 564, 1499, 6, 1157, 485, 1499, 6, 3879, 834, 6726, 1499, 6, 3879, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2090, 5, 4350, 21680, 6640, 834, 969, 6, 2090, 6, 1974, 549, 17444, 427, 2090, 5, 12416, 3274, 6640, 834, 969, 5, 12416, 3430, 1974, 5, 6983, 3274, 6640, 834, 969, 5, 51, 7, 23, 26, 3430, 1974, 5, 21869, 3274, 3...
count the number of patients whose age is less than 86 and drug code is levobase2?
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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "86" AND prescriptions.formulary_drug_cd = "LEVOBASE2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Tell me the number range for 1965-66
CREATE TABLE table_name_58 (no_range VARCHAR, year_built__converted VARCHAR, _ VARCHAR)
SELECT no_range FROM table_name_58 WHERE year_built__converted * _ = "1965-66"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 29, 32, 834, 5517, 584, 4280, 28027, 6, 215, 834, 16152, 834, 834, 1018, 19825, 584, 4280, 28027, 6, 3, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 150, 834, 5517, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 215, 834, 16152, 834, 834, 1018, 19825, 1429, 3, 834, 3274, 96, 2294, 4122, 18, 3539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the decision goal when the record was 7-7-2?
CREATE TABLE table_name_83 ( decision VARCHAR, record VARCHAR )
SELECT decision FROM table_name_83 WHERE record = "7-7-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 1357, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 1357, 1288, 116, 8, 1368, 47, 489, 6832, 4949, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1357, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1368, 3274, 96, 940, 6832, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Game with a Record of 19-15?
CREATE TABLE table_name_71 (game VARCHAR, record VARCHAR)
SELECT game FROM table_name_71 WHERE record = "19-15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 7261, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4435, 28, 3, 9, 11392, 13, 957, 10106, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1368, 3274, 96, 2294, 10106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which english website has a daily frequency ?
CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR)
SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 8398, 3585, 584, 4280, 28027, 6, 1612, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 22269, 475, 65, 3, 9, 1444, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 475, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 1612, 3274, 96, 4606, 40, 1273, 121, 3430, 7321, 3274, 96, 26, 9, 9203, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the musical nominee with award 'Bob Fosse' or 'Cleavant Derricks'.
CREATE TABLE musical ( Nominee VARCHAR, Award VARCHAR )
SELECT Nominee FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4183, 41, 465, 8695, 15, 584, 4280, 28027, 6, 3677, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 4183, 21077, 28, 2760, 3, 31, 279, 32, 115, 377, 13526, 31, 42, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 465, 8695, 15, 21680, 4183, 549, 17444, 427, 3677, 3274, 96, 382, 106, 63, 3677, 121, 4674, 3677, 3274, 96, 254, 109, 15990, 660, 5206, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the name of the running back pick?
CREATE TABLE table_name_3 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_3 WHERE position = "running back"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 20846, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1180, 223, 1432, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1102, 3274, 96, 24549, 223, 121, 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 low grid that has brm and over 54 laps?
CREATE TABLE table_78177 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MIN("Grid") FROM table_78177 WHERE "Constructor" = 'brm' AND "Laps" > '54'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 26793, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 13313, 26, 8512, 21680, 953, 834, 3940, 26793, 549, 17444, 427, 96, 4302, 7593, 127, 121, 3274, 3, 31, 115, 52, 51, 31, 3430, 96, 3612, 102, 7, 121, 2490, 3, 31, 5062, 31, 1, -100, -100, -100...
what was the difference in attendance between the broncos ' most attended game and their least attended game ?
CREATE TABLE table_203_114 ( id number, "week" number, "date" text, "tv time" text, "opponent" text, "result" text, "game site" text, "record" text, "attendance" number, "bye" text )
SELECT (SELECT MAX("attendance") FROM table_203_114) - (SELECT MIN("attendance") FROM table_203_114)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 18959, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 208, 97, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 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, 41, 23143, 14196, 4800, 4, 599, 121, 15116, 663, 8512, 21680, 953, 834, 23330, 834, 18959, 61, 3, 18, 41, 23143, 14196, 3, 17684, 599, 121, 15116, 663, 8512, 21680, 953, 834, 23330, 834, 18959, 61, 1, -100, -100, -1...
what topics does Luke Zettlemoyer publish in
CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE jo...
SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'Luke Zettlemoyer' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17953, 41, 17953, 23, 26, 16, 17, 6, 17953, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 1846, 41, 1057, 23, 26, 16, 17, 6, 1040, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 843, 27111, 5, 4397, 27111, 23, 26, 21680, 2291, 6, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 434, 1598, 15, 4603, 8692, 51, 32...
I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor
CREATE TABLE table_name_49 ( prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR )
SELECT prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "factor xii deficiency"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 813, 8514, 51, 4517, 834, 715, 584, 4280, 28027, 6, 1706, 584, 4280, 28027, 6, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 584, 4280, 28027, 6, 19021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 813, 8514, 51, 4517, 834, 715, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 3274, 96, 1409, 23629, 121, 3430, 19021, 834, 715, 3274, 96, 202, 9, 27488, 121, 3430, 1...
What is the sum of Wins when draws shows 0 in 1964?
CREATE TABLE table_name_46 ( wins INTEGER, draws VARCHAR, season VARCHAR )
SELECT SUM(wins) FROM table_name_46 WHERE draws = 0 AND season = 1964
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 9204, 3, 21342, 17966, 6, 14924, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 4871, 7, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 14924, 3274, 3, 632, 3430, 774, 3274, 18969, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When bergen is 88, what is the alesund?
CREATE TABLE table_73111 ( "Song" text, "Porsgrunn" real, "Bergen" real, "Bod\u00f8" real, "Stavanger" real, "\u00c5lesund" real, "Elverum" real, "Troms\u00f8" real, "Fredrikstad" real, "Trondheim" real, "Oslo" real, "Total" real )
SELECT MIN("\u00c5lesund") FROM table_73111 WHERE "Bergen" = '88'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 15866, 41, 96, 134, 2444, 121, 1499, 6, 96, 345, 127, 7, 9667, 29, 29, 121, 490, 6, 96, 279, 49, 729, 121, 490, 6, 96, 279, 32, 26, 2, 76, 1206, 89, 927, 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, 3, 17684, 599, 121, 2, 76, 1206, 75, 755, 965, 1106, 8512, 21680, 953, 834, 4552, 15866, 549, 17444, 427, 96, 279, 49, 729, 121, 3274, 3, 31, 4060, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?
CREATE TABLE table_name_33 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_name_33 WHERE team = "ac horsens"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 5522, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 3, 13747, 667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 9, 102, 2700, 297, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 372, 3274, 96, 9, 75, 4952, 29, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What year has an issue price over 15.95, and a special notes from edmonton oilers gift set?
CREATE TABLE table_67146 ( "Year" real, "Theme" text, "Artist" text, "Issue price" real, "Special notes" text )
SELECT COUNT("Year") FROM table_67146 WHERE "Issue price" > '15.95' AND "Special notes" = 'from edmonton oilers gift set'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 24300, 41, 96, 476, 2741, 121, 490, 6, 96, 634, 526, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 594, 121, 490, 6, 96, 7727, 23, 138, 3358...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 476, 2741, 8512, 21680, 953, 834, 3708, 24300, 549, 17444, 427, 96, 196, 7, 7, 76, 15, 594, 121, 2490, 3, 31, 1808, 5, 3301, 31, 3430, 96, 7727, 23, 138, 3358, 121, 3274, 3, 31, 7152, 3, ...
Which pre-season has May 5 of 21?
CREATE TABLE table_name_21 ( pre__season VARCHAR, may_5 VARCHAR )
SELECT pre__season FROM table_name_21 WHERE may_5 = "21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 554, 834, 834, 9476, 584, 4280, 28027, 6, 164, 834, 755, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 554, 18, 9476, 65, 932, 305, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 554, 834, 834, 9476, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 164, 834, 755, 3274, 96, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Position has a Player of bernard thompson?
CREATE TABLE table_name_64 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_64 WHERE player = "bernard thompson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 14258, 65, 3, 9, 12387, 13, 3, 1152, 29, 986, 3, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 1959, 3274, 96, 1152, 29, 986, 3, 189, 32, 1167, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many losses have points against greater than 592, with high park demons as the club, and points for greater than 631?
CREATE TABLE table_name_45 (loses VARCHAR, points_for VARCHAR, points_against VARCHAR, club VARCHAR)
SELECT COUNT(loses) FROM table_name_45 WHERE points_against > 592 AND club = "high park demons" AND points_for > 631
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 10227, 7, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 10227, 7, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 2490, 305, 4508, 3430, 1886, 3274, 96, 6739, 2447, 20, 2157, 7, 121, 3430, 979, 834, 1161, 2490, 431, 3...
Papers written by daniel epstein
CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE journal ( journalid int, jo...
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'daniel epstein' AND writes.authorid = author.authorid
[ 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, 2291, 41, 2291, 23, 26, 16, 17, 6, 2291, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 11858, 5, 19587, 23, 26, 21680, 2291, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 26, 2738, 15, 40, 3, 15, 102, 4008, 31, 3430, 11858, 5, 17415, 23, 26, 3274, 2291, 5, 17...
WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?
CREATE TABLE table_name_93 ( country VARCHAR, transfer_window VARCHAR )
SELECT country FROM table_name_93 WHERE transfer_window = "summer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 684, 584, 4280, 28027, 6, 2025, 834, 5165, 2381, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 2847, 17161, 11824, 11951, 180,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 2025, 834, 5165, 2381, 3274, 96, 23541, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
mention the diagnosis icd9 code of subject name paul edwards.
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 diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Paul Edwards"
[ 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, 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, 17444, 427, 14798, 5, 4350, 3274, ...
What are the producers of 磊磊牌嬰幼兒配方乳粉 ?
CREATE TABLE table_18943444_1 (producer VARCHAR, product VARCHAR)
SELECT producer FROM table_18943444_1 WHERE product = "磊磊牌嬰幼兒配方乳粉"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4240, 3710, 3628, 834, 536, 41, 1409, 4817, 49, 584, 4280, 28027, 6, 556, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 10850, 13, 3, 2, 3, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8211, 21680, 953, 834, 2606, 4240, 3710, 3628, 834, 536, 549, 17444, 427, 556, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the most pick number for cfl team being edmonton eskimos
CREATE TABLE table_16575609_4 (pick__number INTEGER, cfl_team VARCHAR)
SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3436, 4834, 4198, 834, 591, 41, 17967, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 3, 75, 89, 40, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 2938, 3436, 4834, 4198, 834, 591, 549, 17444, 427, 3, 75, 89, 40, 834, 11650, 3274, 96, 427, 26, 4662, 106, 262, 4009, 3972, 121, 1, -100, -100, -100...
What is the sum of the gold medals of the total nation, which has more than 19 silver medals?
CREATE TABLE table_42512 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Gold") FROM table_42512 WHERE "Nation" = 'total' AND "Silver" > '19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 24163, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 23576, 8512, 21680, 953, 834, 4165, 24163, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 235, 1947, 31, 3430, 96, 134, 173, 624, 121, 2490, 3, 31, 2294, 31, 1, -100, -100, -100, -100, -100,...
What is Player, when Score is less than 69, and when Country is 'United States'?
CREATE TABLE table_name_70 ( player VARCHAR, score VARCHAR, country VARCHAR )
SELECT player FROM table_name_70 WHERE score < 69 AND country = "united states"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1959, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 12387, 6, 116, 17763, 19, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 2604, 3, 2, 3, 3951, 3430, 684, 3274, 96, 15129, 15, 26, 2315, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the Surface when the Score was 6 4, 2 6, 3 6?
CREATE TABLE table_name_17 ( surface VARCHAR, score VARCHAR )
SELECT surface FROM table_name_17 WHERE score = "6–4, 2–6, 3–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 1774, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 18884, 116, 8, 17763, 47, 431, 6464, 204, 8580, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2604, 3274, 96, 948, 104, 8525, 204, 104, 11071, 220, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
, order y axis in ascending order.
CREATE TABLE flight ( id int, Vehicle_Flight_number text, Date text, Pilot text, Velocity real, Altitude real, airport_id int, company_id int ) CREATE TABLE operate_company ( id int, name text, Type text, Principal_activities text, Incorporated_in text, Group_Equ...
SELECT Country, COUNT(*) FROM airport GROUP BY Country ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 23, 26, 16, 17, 6, 15095, 834, 371, 2242, 834, 5525, 1152, 1499, 6, 7678, 1499, 6, 17777, 1499, 6, 11670, 32, 6726, 490, 6, 901, 6592, 490, 6, 3761, 834, 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, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 3761, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
who is batting 1st in game 8?
CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR)
SELECT batting_1st FROM table_name_20 WHERE game = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 27759, 834, 536, 7, 17, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 3, 27759, 209, 7, 17, 16, 467, 505, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 27759, 834, 536, 7, 17, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 467, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Byes have an Against of 972, and more than 11 wins?
CREATE TABLE table_62706 ( "Lexton Plains" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT SUM("Byes") FROM table_62706 WHERE "Against" = '972' AND "Wins" > '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 2518, 948, 41, 96, 2796, 20706, 16323, 7, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 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, 180, 6122, 599, 121, 279, 10070, 8512, 21680, 953, 834, 4056, 2518, 948, 549, 17444, 427, 96, 20749, 121, 3274, 3, 31, 4327, 357, 31, 3430, 96, 18455, 7, 121, 2490, 3, 31, 2596, 31, 1, -100, -100, -100, -100, -100...
How many millions of people in the US saw the episode with production code 214?
CREATE TABLE table_20046379_3 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_20046379_3 WHERE production_code = "214"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21653, 3891, 4440, 834, 519, 41, 302, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 21680, 953, 834, 21653, 3891, 4440, 834, 519, 549, 17444, 427, 999, 834, 4978, 3274, 96, 27357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the glass bulb color for ordinary
CREATE TABLE table_1538516_1 ( glass_bulb_color VARCHAR, temperature_classification VARCHAR )
SELECT glass_bulb_color FROM table_1538516_1 WHERE temperature_classification = "Ordinary"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27025, 4433, 2938, 834, 536, 41, 1905, 834, 6724, 115, 834, 9910, 584, 4280, 28027, 6, 2912, 834, 4057, 2420, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1905, 834, 6724, 115, 834, 9910, 21680, 953, 834, 27025, 4433, 2938, 834, 536, 549, 17444, 427, 2912, 834, 4057, 2420, 3274, 96, 7395, 2644, 1208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the quality of the international alphabet of the sanskrit transliteration for the word Dhanus?
CREATE TABLE table_13311 ( "Number" real, "Sanskrit" text, "International Alphabet of Sanskrit Transliteration" text, "Sanskrit gloss" text, "Western name" text, "Greek" text, "Gloss" text, "Tattva (Element)" text, "Quality" text, "Ruling Planet" text )
SELECT "Quality" FROM table_13311 WHERE "International Alphabet of Sanskrit Transliteration" = 'dhanus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 2596, 41, 96, 567, 5937, 49, 121, 490, 6, 96, 134, 3247, 10648, 17, 121, 1499, 6, 96, 27490, 12503, 346, 17, 13, 1051, 7, 10648, 17, 4946, 9842, 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, 5991, 10355, 121, 21680, 953, 834, 22974, 2596, 549, 17444, 427, 96, 27490, 12503, 346, 17, 13, 1051, 7, 10648, 17, 4946, 9842, 257, 121, 3274, 3, 31, 26, 2618, 302, 31, 1, -100, -100, -100, -100, -100, -100, ...
What was the date of the game when North Melbourne was the away team?
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_10 WHERE away_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 5522, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 116, 1117, 9396, 47, 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, 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, 1714, 549, 17444, 427, 550, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Round that has a Position of Tackle and the Player Fred Neilsen?
CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_name_91 WHERE position = "tackle" AND player = "fred neilsen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 7775, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 9609, 24, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1102, 3274, 96, 17, 9, 19376, 121, 3430, 1959, 3274, 96, 89, 1271, 3, 29, 15, 1558, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what is the surface of the final which had score 6-2, 6-3
CREATE TABLE table_1918850_2 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_1918850_2 WHERE score_in_the_final = "6-2, 6-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2606, 17246, 834, 357, 41, 26899, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1774, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 2294, 2606, 17246, 834, 357, 549, 17444, 427, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 25369, 6, 3, 24262, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much Overall has a Position of wr, and a College of alberta?
CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR)
SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 1890, 1748, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 9126, 65, 3, 9, 14258, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1102, 3274, 96, 210, 52, 121, 3430, 1900, 3274, 96, 138, 7041, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many wins were in the Masters Tournament with less than 15 events?
CREATE TABLE table_6075 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT MAX("Wins") FROM table_6075 WHERE "Tournament" = 'masters tournament' AND "Events" < '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3072, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 121, 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, 4800, 4, 599, 121, 18455, 7, 8512, 21680, 953, 834, 3328, 3072, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 7429, 7, 5892, 31, 3430, 96, 427, 2169, 7, 121, 3, 2, 3, 31, 1808, 31, 1, -100, -100...
What directors won an award on 14/6/6?
CREATE TABLE table_68592 ( "Film" text, "Director(s)" text, "Recipient" text, "Date" text, "Award" text )
SELECT "Director(s)" FROM table_68592 WHERE "Date" = '14/6/6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3390, 357, 41, 96, 371, 173, 51, 121, 1499, 6, 96, 23620, 127, 599, 7, 61, 121, 1499, 6, 96, 1649, 3389, 4741, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 127, 599, 7, 61, 121, 21680, 953, 834, 3651, 3390, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2534, 18656, 18656, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which manufacturer made Shoya Tomizawa's motorcycle?
CREATE TABLE table_name_20 ( manufacturer VARCHAR, rider VARCHAR )
SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 4818, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4818, 263, 13550, 63, 9, 3059, 5584, 210, 9, 31, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4818, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 2564, 52, 3274, 96, 5630, 63, 9, 12, 51, 5584, 210, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many roles include George Broderick in the casino 1888 theater?
CREATE TABLE table_148386_2 (role VARCHAR, casino_theatre_1888 VARCHAR)
SELECT role FROM table_148386_2 WHERE casino_theatre_1888 = "George Broderick"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4591, 3840, 834, 357, 41, 3491, 15, 584, 4280, 28027, 6, 2653, 834, 532, 9, 929, 834, 536, 10927, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1075, 21680, 953, 834, 2534, 4591, 3840, 834, 357, 549, 17444, 427, 2653, 834, 532, 9, 929, 834, 536, 10927, 3274, 96, 31317, 4027, 221, 5206, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a bar chart on what is the average base price of different bed type? List bed type and average base price, I want to display in desc by the Y-axis please.
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adul...
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType ORDER BY AVG(basePrice) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1953, 25160, 6, 71, 17217, 599, 10925, 345, 4920, 61, 21680, 4181, 7, 350, 4630, 6880, 272, 476, 1953, 25160, 4674, 11300, 272, 476, 71, 17217, 599, 10925, 345, 4920, 61, 309, 25067, 1, -100, -100, -100, -100, -100, ...
What was the school/club team whose season was in 2012 and were acquired via trade?
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 3891, 25794, 834, 2517, 41, 6646, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 6, 6566, 834, 5907, 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, 0...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 27308, 3891, 25794, 834, 2517, 549, 17444, 427, 774, 3274, 96, 12172, 121, 3430, 6566, 834, 5907, 3274, 96, 9402, 221, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Show name, address road, and city for all branches sorted by open year.
CREATE TABLE membership_register_branch ( member_id number, branch_id text, register_year text ) CREATE TABLE branch ( branch_id number, name text, open_year text, address_road text, city text, membership_amount text ) CREATE TABLE purchase ( member_id number, branch_id tex...
SELECT name, address_road, city FROM branch ORDER BY open_year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 22149, 834, 1939, 5457, 41, 1144, 834, 23, 26, 381, 6, 6421, 834, 23, 26, 1499, 6, 3691, 834, 1201, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6421,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 834, 8635, 6, 690, 21680, 6421, 4674, 11300, 272, 476, 539, 834, 1201, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the frequency of the soft adult contemporary stations?
CREATE TABLE table_name_14 ( frequency VARCHAR, format VARCHAR )
SELECT frequency FROM table_name_14 WHERE format = "soft adult contemporary"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 7321, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7321, 13, 8, 1835, 3165, 4092, 6991, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1910, 3274, 96, 12369, 3165, 4092, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many losses did the 1943 MLB have?
CREATE TABLE table_53203 ( "MLB season" text, "Reds season" real, "League" text, "Division" text, "Finish" text, "Wins" real, "Losses" real, "Win%" real, "GB [c ]" text )
SELECT AVG("Losses") FROM table_53203 WHERE "MLB season" = '1943'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 23330, 41, 96, 6858, 279, 774, 121, 1499, 6, 96, 1649, 26, 7, 774, 121, 490, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 371, 77, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 434, 13526, 7, 8512, 21680, 953, 834, 4867, 23330, 549, 17444, 427, 96, 6858, 279, 774, 121, 3274, 3, 31, 2294, 4906, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find out the send dates of the documents with the grant amount of more than 5000 were granted by organisation type described
CREATE TABLE projects ( project_id number, organisation_id number, project_details text ) CREATE TABLE documents ( document_id number, document_type_code text, grant_id number, sent_date time, response_received_date time, other_details text ) CREATE TABLE organisations ( organi...
SELECT T1.sent_date FROM documents AS T1 JOIN grants AS T2 ON T1.grant_id = T2.grant_id JOIN organisations AS T3 ON T2.organisation_id = T3.organisation_id JOIN organisation_types AS T4 ON T3.organisation_type = T4.organisation_type WHERE T2.grant_amount > 5000 AND T4.organisation_type_description = 'Research'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 516, 834, 23, 26, 381, 6, 5102, 834, 23, 26, 381, 6, 516, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2691, 41, 1708, 834, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 5277, 834, 5522, 21680, 2691, 6157, 332, 536, 3, 15355, 3162, 11133, 6157, 332, 357, 9191, 332, 5411, 7662, 17, 834, 23, 26, 3274, 332, 4416, 7662, 17, 834, 23, 26, 3, 15355, 3162, 6445, 6157, 332, 519, ...
how did patient 006-119203 last enter the hospital until 2101.
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 = '006-119203' AND STRFTIME('%y', patient.hospitaladmittime) <= '2101' 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, 948, 18, 19993, 23330, 31, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 31386, 20466, ...
Which Series are on may 18?
CREATE TABLE table_36391 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text )
SELECT "Series" FROM table_36391 WHERE "Date" = 'may 18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 3288, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12106, 7, 121, 21680, 953, 834, 3420, 3288, 536, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 13726, 507, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the GamePlan when Jacqueline King is the actor in the original production?
CREATE TABLE table_name_71 (gameplan VARCHAR, actor_in_original_production VARCHAR)
SELECT gameplan FROM table_name_71 WHERE actor_in_original_production = "jacqueline king"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 7261, 3767, 584, 4280, 28027, 6, 7556, 834, 77, 834, 21878, 834, 20762, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4435, 17373, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 3767, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 7556, 834, 77, 834, 21878, 834, 20762, 3274, 96, 1191, 75, 835, 747, 3, 1765, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
hemoglobin < 11 grams ( g ) / dl ( < 110 g / l ) for male subjects and < 10 g / dl ( < 100 g / l ) for female subjects at screening
CREATE TABLE table_train_252 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "fasting_plasma_glucose_fpg" float, "hemoglobin_a1c_hba1c" float, "hba1c" float, "serum_creatinine" float, "metformin" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_252 WHERE (hemoglobin_a1c_hba1c < 11 AND gender = 'male') OR (hemoglobin_a1c_hba1c < 10 AND gender = 'female')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 1828, 357, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 11584, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 1828, 357, 549, 17444, 427, 41, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 3, 2, 850, 3430, 7285, 3274, 3, 31, 13513, 31, 61, 4674, 41, 6015, 32, 14063, ...
Tell me the listed when cerclis id is msd004006995
CREATE TABLE table_name_17 (listed VARCHAR, cerclis_id VARCHAR)
SELECT listed FROM table_name_17 WHERE cerclis_id = "msd004006995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 19279, 584, 4280, 28027, 6, 19259, 40, 159, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2616, 116, 19259, 40, 159, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2616, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 19259, 40, 159, 834, 23, 26, 3274, 96, 51, 7, 26, 1206, 5548, 3951, 3301, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the smallest enrollment for institutions founded in exactly 1880?
CREATE TABLE table_1974443_1 ( enrollment INTEGER, founded VARCHAR )
SELECT MIN(enrollment) FROM table_1974443_1 WHERE founded = 1880
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 3628, 4906, 834, 536, 41, 17938, 3, 21342, 17966, 6, 5710, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 17938, 21, 4222, 5710, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 35, 4046, 297, 61, 21680, 953, 834, 27181, 3628, 4906, 834, 536, 549, 17444, 427, 5710, 3274, 507, 2079, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number of patients born before 2087 who have hyperglycemia as their primary disease?
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.diagnosis = "HYPERGLYCEMIA" AND demographic.dob_year < "2087"
[ 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, 15761, 8742, 517, 5121, 254, 25284, 188, 121, 3430, 14798, 5, 26, 32, ...
What pick # did Western Illinois have?
CREATE TABLE table_16575609_3 ( pick__number VARCHAR, college VARCHAR )
SELECT pick__number FROM table_16575609_3 WHERE college = "Western Illinois"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3436, 4834, 4198, 834, 519, 41, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1432, 1713, 410, 378...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1432, 834, 834, 5525, 1152, 21680, 953, 834, 2938, 3436, 4834, 4198, 834, 519, 549, 17444, 427, 1900, 3274, 96, 1326, 13072, 7659, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What call sign has a frequency of 91.3 MHz?
CREATE TABLE table_69635 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "Call sign" FROM table_69635 WHERE "Frequency MHz" = '91.3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 948, 2469, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1748, 1320, 121, 21680, 953, 834, 3951, 948, 2469, 549, 17444, 427, 96, 371, 60, 835, 11298, 3, 20210, 121, 3274, 3, 31, 1298, 13606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is drug code of drug name hydrocortisone na succ.?
CREATE TABLE procedures ( 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 prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Hydrocortisone Na Succ."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 566, 63, 26, 7818, 127, 17, 159, 782, 1823, 180, 17431, 535, 1, -100, -100, -100, -100, -100,...
For what Class A is the school year 1987-88?
CREATE TABLE table_35667 ( "School Year" text, "Class A" text, "Class AA" text, "Class AAA" text, "Class AAAA" text, "Class AAAAA" text )
SELECT "Class A" FROM table_35667 WHERE "School Year" = '1987-88'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3539, 940, 41, 96, 29364, 2929, 121, 1499, 6, 96, 21486, 71, 121, 1499, 6, 96, 21486, 3, 5498, 121, 1499, 6, 96, 21486, 22656, 121, 1499, 6, 96, 21486, 22656, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21486, 71, 121, 21680, 953, 834, 2469, 3539, 940, 549, 17444, 427, 96, 29364, 2929, 121, 3274, 3, 31, 24151, 25580, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who drove for Mathiasen Motorsports with dane cameron as pole position?
CREATE TABLE table_42866 ( "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Winning team" text, "Report" text )
SELECT "Winning driver" FROM table_42866 WHERE "Winning team" = 'mathiasen motorsports' AND "Pole Position" = 'dane cameron'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 26750, 41, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 518, 10503, 372, 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, 2535, 121, 21680, 953, 834, 4165, 26750, 549, 17444, 427, 96, 518, 10503, 372, 121, 3274, 3, 31, 51, 9, 7436, 9, 7, 35, 2340, 6661, 7, 31, 3430, 96, 8931, 15, 14258, 121, 3274, 3, 31, 3768, 15, ...
What is the lowest disposable USD 2011?
CREATE TABLE table_24486462_1 (disposable_usd_2011 INTEGER)
SELECT MIN(disposable_usd_2011) FROM table_24486462_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3707, 4389, 4056, 834, 536, 41, 10475, 32, 7, 179, 834, 302, 26, 834, 13907, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 26139, 9513, 2722, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 10475, 32, 7, 179, 834, 302, 26, 834, 13907, 61, 21680, 953, 834, 2266, 3707, 4389, 4056, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest population of England and Wales that has less than 50 Muslims?
CREATE TABLE table_7335 ( "Census Year" real, "Number of Muslims '000" real, "Population of England and Wales '000" real, "Muslim (% of Total population)" real, "Registered Mosques" real, "Muslims per mosque" real )
SELECT MAX("Population of England and Wales '000") FROM table_7335 WHERE "Number of Muslims '000" < '50'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 2469, 41, 96, 254, 35, 7, 302, 2929, 121, 490, 6, 96, 567, 5937, 49, 13, 16932, 3, 31, 2313, 121, 490, 6, 96, 27773, 7830, 13, 2789, 11, 10256, 3, 31, 2313, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 27773, 7830, 13, 2789, 11, 10256, 3, 31, 2313, 8512, 21680, 953, 834, 4552, 2469, 549, 17444, 427, 96, 567, 5937, 49, 13, 16932, 3, 31, 2313, 121, 3, 2, 3, 31, 1752, 31, 1, -100, -100, -100, ...
When was tony parker (guard) born?
CREATE TABLE table_14662 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text )
SELECT MAX("Year born") FROM table_14662 WHERE "Position" = 'guard' AND "Player" = 'tony parker'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24300, 4056, 41, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 121, 490, 6, 96, 254, 450, 5320, 194...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 2170, 8512, 21680, 953, 834, 24300, 4056, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 11010, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 17, 106, 63, 2447, 49, 31, 1, ...
What years have 101 (16) as the total?
CREATE TABLE table_64570 ( "Name" text, "Years" text, "A-League" text, "Finals" text, "Total" text )
SELECT "Years" FROM table_64570 WHERE "Total" = '101 (16)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 28363, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 188, 18, 2796, 9, 5398, 121, 1499, 6, 96, 371, 10270, 7, 121, 1499, 6, 96, 3696, 1947, 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, 476, 2741, 7, 121, 21680, 953, 834, 4389, 28363, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 19621, 19198, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the surface for the opponent Marcos Baghdatis?
CREATE TABLE table_name_3 ( surface VARCHAR, opponent VARCHAR )
SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 1774, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1774, 21, 8, 15264, 16902, 7, 8055, 107, 26, 144, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 15264, 3274, 96, 1635, 509, 7, 2182, 107, 26, 144, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Title has an Appointed by of Millard Fillmore?
CREATE TABLE table_name_21 ( title VARCHAR, appointed_by VARCHAR )
SELECT title FROM table_name_21 WHERE appointed_by = "millard fillmore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 2233, 584, 4280, 28027, 6, 7817, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 11029, 65, 46, 5085, 2700, 15, 26, 57, 13, 418...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 7817, 834, 969, 3274, 96, 51, 23854, 14, 3706, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose ethnicity is white and drug type is base?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.drug_type = "BASE"
[ 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...
Give me the comparison about the sum of School_ID over the ACC_Road , and group by attribute ACC_Road, and I want to rank from high to low by the Y.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT ACC_Road, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY SUM(School_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 180, 6122, 599, 29364, 834, 4309, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 180, 6122, 599, 29364, 834, 4309, ...
What was the record on august 24?
CREATE TABLE table_36434 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Stadium" text, "Attendance" real, "Record" text )
SELECT "Record" FROM table_36434 WHERE "Date" = 'august 24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 591, 3710, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 134, 17, 9, 12925...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3420, 591, 3710, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 402, 17198, 997, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the name for lane 1, from Mauritius?
CREATE TABLE table_name_69 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_69 WHERE lane = 1 AND nationality = "mauritius"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 4350, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 21, 3, 8102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 8102, 3274, 209, 3430, 1157, 485, 3274, 96, 51, 402, 13224, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the total number of points when the English translation is Long Live Life and the draw is less than 2?
CREATE TABLE table_name_64 (points VARCHAR, english_translation VARCHAR, draw VARCHAR)
SELECT COUNT(points) FROM table_name_64 WHERE english_translation = "long live life" AND draw < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 2700, 7, 584, 4280, 28027, 6, 22269, 834, 7031, 6105, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 22269, 834, 7031, 6105, 3274, 96, 2961, 619, 280, 121, 3430, 3314, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How much Col (m) has a Prominence (m) of 2,344?
CREATE TABLE table_name_15 ( col__m_ VARCHAR, prominence__m_ VARCHAR )
SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 7632, 834, 834, 51, 834, 584, 4280, 28027, 6, 31829, 834, 834, 51, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 3043, 41, 51,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3297, 834, 834, 51, 834, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 31829, 834, 834, 51, 834, 3274, 204, 3, 15316, 20788, 220, 3628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
For employees with first names that end with the letter m, groups and count the first name to visualize a bar graph, show from high to low by the total number.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), ...
SELECT FIRST_NAME, COUNT(FIRST_NAME) FROM employees WHERE FIRST_NAME LIKE '%m' GROUP BY FIRST_NAME ORDER BY COUNT(FIRST_NAME) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 2847, 17161, 599, 371, 5705, 4209, 834, 567, 17683, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 51, 31, 350, 4630, 6880, 272, 476, 30085, 834, 567, 1...
A bar chart shows the distribution of Nationality and the average of ID , and group by attribute Nationality, and could you sort from low to high by the X-axis?
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_40...
SELECT Nationality, AVG(ID) FROM swimmer GROUP BY Nationality ORDER BY Nationality
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 4309, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 868, 485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the location of the University that joined in 1926, 1996 2?
CREATE TABLE table_261941_1 (location VARCHAR, joined VARCHAR)
SELECT location FROM table_261941_1 WHERE joined = "1926, 1996 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2294, 4853, 834, 536, 41, 14836, 584, 4280, 28027, 6, 3311, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 13, 8, 636, 24, 3311, 16, 957, 2688...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 2688, 2294, 4853, 834, 536, 549, 17444, 427, 3311, 3274, 96, 2294, 2688, 6, 6911, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show the total number from each flag, and order from high to low by the X.
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY Flag DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 17016, 6, 2847, 17161, 599, 1935, 61, 21680, 15508, 350, 4630, 6880, 272, 476, 17016, 4674, 11300, 272, 476, 17016, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest # Of Constituency Votes, when Election is 2005?
CREATE TABLE table_name_22 ( _number_of_constituency_votes INTEGER, election VARCHAR )
SELECT MAX(_number_of_constituency_votes) FROM table_name_22 WHERE election = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 3, 834, 5525, 1152, 834, 858, 834, 8056, 17, 155, 76, 4392, 834, 1621, 1422, 3, 21342, 17966, 6, 4356, 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, 4800, 4, 599, 834, 5525, 1152, 834, 858, 834, 8056, 17, 155, 76, 4392, 834, 1621, 1422, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 4356, 3274, 3105, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257?
CREATE TABLE table_name_43 (pick__number INTEGER, reg_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT MAX(pick__number) FROM table_name_43 WHERE rd__number < 6 AND player = "bob dailey" AND reg_gp > 257
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 17967, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 5925, 834, 122, 102, 584, 4280, 28027, 6, 3, 52, 26, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1959, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 3, 52, 26, 834, 834, 5525, 1152, 3, 2, 431, 3430, 1959, 3274, 96, 17396, 836, 23, 1306, 121, 3430, 5925, 834, 122, ...
What was the To par of the golfer that placed t5?
CREATE TABLE table_name_66 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_66 WHERE place = "t5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 304, 260, 13, 8, 4319, 49, 24, 2681, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 286, 3274, 96, 17, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the record when chicago was the visiting team?
CREATE TABLE table_name_98 ( record VARCHAR, visitor VARCHAR )
SELECT record FROM table_name_98 WHERE visitor = "chicago"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 1368, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 116, 8780, 9, 839, 47, 8, 3644, 372, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 7019, 3274, 96, 1436, 658, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Visualize a pie chart with how many students participated in tryouts for each college by descennding count?
CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS numeric(5,0) ) CREATE TABLE Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision varchar(3) ) CREATE TABLE College ( cName varchar(20), state varchar(2), enr numeric(5,0) )
SELECT cName, COUNT(*) FROM Tryout GROUP BY cName ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12387, 41, 3, 102, 4309, 206, 17552, 599, 11116, 632, 201, 3, 102, 23954, 3, 4331, 4059, 599, 1755, 201, 3, 63, 6936, 26, 3, 4331, 4059, 17867, 6, 3, 4950, 206, 17552, 599, 11116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 75, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 5263, 670, 350, 4630, 6880, 272, 476, 3, 75, 23954, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'?
CREATE TABLE table_2001348_1 ( ilo_code VARCHAR, revising_convention_s_ VARCHAR )
SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = "this convention, Work in Fishing Convention"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 2368, 3707, 834, 536, 41, 3, 173, 32, 834, 4978, 584, 4280, 28027, 6, 5109, 4890, 834, 1018, 13858, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 173, 32, 834, 4978, 61, 21680, 953, 834, 3632, 2368, 3707, 834, 536, 549, 17444, 427, 5109, 4890, 834, 1018, 13858, 834, 7, 834, 3274, 96, 8048, 8346, 6, 3118, 16, 9548, 53, 11347, 121, 1, -100, ...
What's the Score listed that has a Result of 1-0?
CREATE TABLE table_name_70 ( score VARCHAR, result VARCHAR )
SELECT score FROM table_name_70 WHERE result = "1-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 2604, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 17763, 2616, 24, 65, 3, 9, 3, 20119, 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, 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, 2518, 549, 17444, 427, 741, 3274, 96, 18930, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, show me about the distribution of job_id and employee_id in a bar chart, display by the x axis from low to high please.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTME...
SELECT JOB_ID, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 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, 2...
Who is the oldest person whose job is student?
CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number )
SELECT name FROM person WHERE job = 'student' AND age = (SELECT MAX(age) FROM person WHERE job = 'student')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 41, 564, 1499, 6, 1246, 381, 6, 690, 1499, 6, 7285, 1499, 6, 613, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 15504, 41, 564, 1499, 6, 1565, 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, 564, 21680, 568, 549, 17444, 427, 613, 3274, 3, 31, 8637, 295, 31, 3430, 1246, 3274, 41, 23143, 14196, 4800, 4, 599, 545, 61, 21680, 568, 549, 17444, 427, 613, 3274, 3, 31, 8637, 295, 31, 61, 1, -100, -100, -100, ...
what is the name of the episode whose premiere was in march 2, 1997?
CREATE TABLE table_2226817_12 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_2226817_12 WHERE original_air_date = "March 2, 1997"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 3651, 2517, 834, 2122, 41, 21869, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 13, 8, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 26144, 3651, 2517, 834, 2122, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 25019, 3547, 6622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the player is Maake Kemoeatu, what is the int maximum?
CREATE TABLE table_3420 ( "Player" text, "G" real, "Solo TK" real, "Asst. TK" real, "Total TK" real, "Sack" text, "YdL" real, "INT" real, "Yards" real, "ForFum" real, "FumRec" real, "TD" real )
SELECT MAX("INT") FROM table_3420 WHERE "Player" = 'Maake Kemoeatu'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 1755, 41, 96, 15800, 49, 121, 1499, 6, 96, 517, 121, 490, 6, 96, 5231, 40, 32, 3, 22110, 121, 490, 6, 96, 188, 7, 7, 17, 5, 3, 22110, 121, 490, 6, 96, 3696, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 13777, 8512, 21680, 953, 834, 3710, 1755, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 329, 9, 9, 1050, 2566, 51, 32, 1544, 76, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the difference between the team ranking of the 1998-99 season and the 2003-04 season ?
CREATE TABLE table_203_183 ( id number, "season" text, "tier" number, "division" number, "place" text )
SELECT (SELECT "place" FROM table_203_183 WHERE "season" = '1998/99') - (SELECT "place" FROM table_203_183 WHERE "season" = '2003/04')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 24361, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 3276, 121, 381, 6, 96, 26, 23, 6610, 121, 381, 6, 96, 4687, 121, 1499, 3, 61, 3, 32102, 32103, 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, 41, 23143, 14196, 96, 4687, 121, 21680, 953, 834, 23330, 834, 24361, 549, 17444, 427, 96, 9476, 121, 3274, 3, 31, 2294, 3916, 87, 3264, 31, 61, 3, 18, 41, 23143, 14196, 96, 4687, 121, 21680, 953, 834, 23330, 834, ...
In what year was the rank less than 6 for Damac Heights?
CREATE TABLE table_name_10 ( year VARCHAR, rank VARCHAR, name VARCHAR )
SELECT year FROM table_name_10 WHERE rank < 6 AND name = "damac heights"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 215, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 47, 8, 11003, 705, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 11003, 3, 2, 431, 3430, 564, 3274, 96, 26, 9, 11101, 3902, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the record for Game 58?
CREATE TABLE table_name_22 ( record VARCHAR, game VARCHAR )
SELECT record FROM table_name_22 WHERE game = 58
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 1368, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1368, 21, 4435, 3, 3449, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 467, 3274, 3, 3449, 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 Grid has a Rider of ryuichi kiyonari?
CREATE TABLE table_name_91 ( grid INTEGER, rider VARCHAR )
SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 8634, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 23644, 65, 3, 9, 25218, 13, 3, 651, 76, 362, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 2564, 52, 3274, 96, 651, 76, 362, 23, 3, 2168, 63, 106, 1665, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the outcome of 2 6, 1 6
CREATE TABLE table_4367 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Outcome" FROM table_4367 WHERE "Score" = '2–6, 1–6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 3708, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15767, 287, 15, 121, 21680, 953, 834, 4906, 3708, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 357, 104, 11071, 209, 104, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the venue for the game played on 16/01/1954, when the against was more than 3?
CREATE TABLE table_name_96 (venue VARCHAR, against VARCHAR, date VARCHAR)
SELECT venue FROM table_name_96 WHERE against > 3 AND date = "16/01/1954"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 15098, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 5669, 21, 8, 467, 1944, 30,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 581, 2490, 220, 3430, 833, 3274, 96, 2938, 29511, 22464, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients are less than 31 year old with a chemistry lab test category?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "31" AND lab."CATEGORY" = "Chemistry"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the score for madison square garden 18,828
CREATE TABLE table_25507 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_25507 WHERE "Location Attendance" = 'Madison Square Garden 18,828'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 4560, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 25502, 4560, 549, 17444, 427, 96, 434, 32, 75, 257, 22497, 663, 121, 3274, 3, 31, 329, 9, 26, 23, 739, 7120, 5072, 14985, 927, 2577, 31, 1, -100, -100, -100, -100, -100, -100, ...
How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?
CREATE TABLE table_54791 ( "Player" text, "Total Win-Loss" text, "Singles Win-Loss" text, "Doubles Win-Loss" text, "No. of ties" real, "First year played" real, "Years Played" real )
SELECT SUM("Years Played") FROM table_54791 WHERE "Singles Win-Loss" = '4-9' AND "First year played" < '1999'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 4440, 536, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 1947, 4871, 18, 434, 32, 7, 7, 121, 1499, 6, 96, 134, 53, 965, 4871, 18, 434, 32, 7, 7, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 7, 2911, 15, 26, 8512, 21680, 953, 834, 5062, 4440, 536, 549, 17444, 427, 96, 134, 53, 965, 4871, 18, 434, 32, 7, 7, 121, 3274, 3, 31, 591, 7141, 31, 3430, 96, 25171, 215, 1944, ...
how many of the patients on medicare insurance had a lab test for wbc?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Medicare" AND lab.label = "WBC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
List the document ids for any documents with the status code done and the type code paper.
CREATE TABLE documents_mailed ( document_id number, mailed_to_address_id number, mailing_date time ) CREATE TABLE ref_document_status ( document_status_code text, document_status_description text ) CREATE TABLE document_drafts ( document_id number, draft_number number, draft_details te...
SELECT document_id FROM documents WHERE document_status_code = "done" AND document_type_code = "Paper"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2691, 834, 19422, 41, 1708, 834, 23, 26, 381, 6, 3, 19422, 834, 235, 834, 9, 26, 12039, 834, 23, 26, 381, 6, 15114, 834, 5522, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1708, 834, 23, 26, 21680, 2691, 549, 17444, 427, 1708, 834, 8547, 302, 834, 4978, 3274, 96, 2029, 15, 121, 3430, 1708, 834, 6137, 834, 4978, 3274, 96, 15182, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
which game had the most points scored ?
CREATE TABLE table_204_96 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number )
SELECT "date" FROM table_204_96 ORDER BY "result" + "result" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4314, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 15116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5522, 121, 21680, 953, 834, 26363, 834, 4314, 4674, 11300, 272, 476, 96, 60, 7, 83, 17, 121, 1768, 96, 60, 7, 83, 17, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the oilers record on October 20?
CREATE TABLE table_name_1 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_1 WHERE date = "october 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1043, 277, 1368, 30, 1797, 460, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
specify birth date and icd9 code for the patient named tracy farmer
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, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Tracy Farmer"
[ 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, 4293, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5, 4...