NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?
CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR)
SELECT release_date FROM table_name_36 WHERE version = "1.0" AND category = "utilities" AND developer = "microsoft" AND title = "msn money"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 21019, 834, 5522, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 6, 7523, 584, 4280, 28027, 6, 988, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1576, 834, 5522, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 988, 3274, 96, 12734, 121, 3430, 3295, 3274, 96, 13780, 2197, 121, 3430, 7523, 3274, 96, 30574, 121, 3430, 2233, 3274, 96, 51, 7, 29, 540, 121, 1, ...
what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?
CREATE TABLE table_14209455_1 (wed_28_may VARCHAR, mon_26_may VARCHAR)
SELECT wed_28_may FROM table_14209455_1 WHERE mon_26_may = "17' 58.34 125.960mph"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 1755, 4240, 3769, 834, 536, 41, 1123, 26, 834, 2577, 834, 13726, 584, 4280, 28027, 6, 1911, 834, 2688, 834, 13726, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 62, 26, 834, 2577, 834, 13726, 21680, 953, 834, 2534, 1755, 4240, 3769, 834, 536, 549, 17444, 427, 1911, 834, 2688, 834, 13726, 3274, 96, 2517, 31, 3, 3449, 5, 3710, 3, 10124, 5, 27699, 7656, 121, 1, -100, -100, -...
What was the result on October 8, 1985?
CREATE TABLE table_name_58 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_58 WHERE date = "october 8, 1985"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 30, 1797, 9478, 13200, 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, 741, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 9478, 13200, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What city of license/market has the channel of 41?
CREATE TABLE table_1847523_2 ( city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR )
SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25987, 3072, 2773, 834, 357, 41, 690, 834, 858, 834, 28062, 834, 834, 8809, 584, 4280, 28027, 6, 4245, 834, 834, 834, 17, 208, 834, 834, 834, 52, 89, 834, 834, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 858, 834, 28062, 834, 834, 8809, 21680, 953, 834, 25987, 3072, 2773, 834, 357, 549, 17444, 427, 4245, 834, 834, 834, 17, 208, 834, 834, 834, 52, 89, 834, 834, 3274, 96, 4853, 121, 1, -100, -100, -100, -1...
What is the average score for the player who is T5 in the United States?
CREATE TABLE table_name_60 ( score INTEGER, place VARCHAR, country VARCHAR )
SELECT AVG(score) FROM table_name_60 WHERE place = "t5" AND country = "united states"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 2604, 3, 21342, 17966, 6, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 2604, 21, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 286, 3274, 96, 17, 17395, 3430, 684, 3274, 96, 15129, 15, 26, 2315, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest ranked player who opposed Westmeath?
CREATE TABLE table_name_3 (rank INTEGER, opposition VARCHAR)
SELECT MAX(rank) FROM table_name_3 WHERE opposition = "westmeath"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 6254, 3, 21342, 17966, 6, 8263, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 3, 8232, 1959, 113, 8560, 1244, 526, 9, 189, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 8263, 3274, 96, 12425, 526, 9, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the record at the game on November 13, 1932?
CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_38 WHERE date = "november 13, 1932"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 60, 7621, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 44, 8, 467, 30, 1671, 10670, 957, 2668, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 10670, 957, 2668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
2005 of 3r, and a 2000 of lq, and a 2002 of 3r is in what 2004?
CREATE TABLE table_39114 ( "Tournament" text, "1998" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text )
SELECT "2004" FROM table_39114 WHERE "2005" = '3r' AND "2000" = 'lq' AND "2002" = '3r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 18959, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 3916, 121, 1499, 6, 96, 13527, 121, 1499, 6, 96, 23658, 121, 1499, 6, 96, 24898, 121, 1499, 6, 96, 2394...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21653, 121, 21680, 953, 834, 3288, 18959, 549, 17444, 427, 96, 22594, 121, 3274, 3, 31, 519, 52, 31, 3430, 96, 13527, 121, 3274, 3, 31, 40, 1824, 31, 3430, 96, 24898, 121, 3274, 3, 31, 519, 52, 31, 1, -100, ...
Which Silver has a Total of 7, and a Gold larger than 1?
CREATE TABLE table_name_10 ( silver INTEGER, total VARCHAR, gold VARCHAR )
SELECT AVG(silver) FROM table_name_10 WHERE total = 7 AND gold > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 4294, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5642, 65, 3, 9, 9273, 13, 7973,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 792, 3274, 489, 3430, 2045, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
global clinical dementia rating ( cdr ) scale >= 0.5 or greater with cdr memory >= 0.5 or greater
CREATE TABLE table_train_134 ( "id" int, "mini_mental_state_examination_mmse" int, "geriatric_depression_scale_gds" int, "alzheimer_disease_ad" bool, "rosen_modified_hachinski_ischemic_score" int, "clinical_dementia_rating_cdr" float, "NOUSE" float )
SELECT * FROM table_train_134 WHERE clinical_dementia_rating_cdr >= 0.5 OR clinical_dementia_rating_cdr >= 0.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 23747, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7619, 834, 13974, 834, 5540, 834, 994, 9, 14484, 834, 635, 7, 15, 121, 16, 17, 6, 96, 122, 4476, 3929, 834, 221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23747, 549, 17444, 427, 3739, 834, 26, 1194, 23, 9, 834, 52, 1014, 834, 75, 26, 52, 2490, 2423, 3, 12100, 4674, 3739, 834, 26, 1194, 23, 9, 834, 52, 1014, 834, 75, 26, 52, 2490,...
Featherstone Rovers club played a total of how many games?
CREATE TABLE table_22867 ( "Position" real, "Club" text, "Played" real, "Won" real, "Drawn" real, "Lost" real, "Pts For" real, "Pts Agst" real, "Pts Diff" real, "B.P." real, "Points" real )
SELECT COUNT("Played") FROM table_22867 WHERE "Club" = 'Featherstone Rovers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 3708, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 308, 10936, 29, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15800, 15, 26, 8512, 21680, 953, 834, 357, 2577, 3708, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 371, 1544, 760, 3009, 21608, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the score of the match that was against alberto berasategui?
CREATE TABLE table_36145 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "Score in the final" FROM table_36145 WHERE "Opponent in the final" = 'alberto berasategui'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 20987, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 16, 8, 804, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 16, 8, 804, 121, 21680, 953, 834, 3420, 20987, 549, 17444, 427, 96, 667, 102, 9977, 16, 8, 804, 121, 3274, 3, 31, 138, 7041, 32, 3, 1152, 9, 7, 342, 7938, 31, 1, -100, -100, -100, -100, -100, -1...
Which Tankers have a Hazmat of , and Platforms of , and a Staffing of volunteer?
CREATE TABLE table_8400 ( "Brigade" text, "Staffing" text, "Type" text, "Location" text, "Pumpers" real, "Tankers" real, "Telebooms" text, "Platforms" text, "Cars" text, "Hazmat" text )
SELECT "Tankers" FROM table_8400 WHERE "Hazmat" = '–' AND "Platforms" = '–' AND "Staffing" = 'volunteer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 927, 5548, 41, 96, 279, 3380, 9, 221, 121, 1499, 6, 96, 134, 17, 4127, 53, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 345, 440, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 5979, 277, 121, 21680, 953, 834, 927, 5548, 549, 17444, 427, 96, 566, 9, 172, 3357, 121, 3274, 3, 31, 104, 31, 3430, 96, 10146, 2032, 7, 121, 3274, 3, 31, 104, 31, 3430, 96, 134, 17, 4127, 53, 121, 32...
Show the musical nominee with award 'Bob Fosse' or 'Cleavant Derricks', and count them by a bar chart, and could you list from high to low by the total number?
CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int )
SELECT Nominee, COUNT(Nominee) FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks" GROUP BY Nominee ORDER BY COUNT(Nominee) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4183, 41, 22307, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2929, 16, 17, 6, 3677, 1499, 6, 17459, 1499, 6, 465, 8695, 15, 1499, 6, 3, 20119, 1499, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 465, 8695, 15, 6, 2847, 17161, 599, 4168, 8695, 15, 61, 21680, 4183, 549, 17444, 427, 3677, 3274, 96, 382, 106, 63, 3677, 121, 4674, 3677, 3274, 96, 254, 109, 15990, 660, 5206, 7, 121, 350, 4630, 6880, 272, 476, 4...
Return all reviewer names and movie names together in a single list.
CREATE TABLE Reviewer (name VARCHAR, title VARCHAR); CREATE TABLE Movie (name VARCHAR, title VARCHAR)
SELECT name FROM Reviewer UNION SELECT title FROM Movie
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 4350, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 4350, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 4543, 49, 4417, 9215, 3, 23143, 14196, 2233, 21680, 10743, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Rank has a Goals smaller than 76, and a Matches larger than 270?
CREATE TABLE table_name_42 (rank INTEGER, goals VARCHAR, matches VARCHAR)
SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 6254, 3, 21342, 17966, 6, 1766, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 17916, 7, 275...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1766, 3, 2, 3, 3959, 3430, 6407, 2490, 3, 17485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the 1st leg of team 1 Lyon?
CREATE TABLE table_name_26 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "lyon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 11650, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 209, 7, 17, 4553, 13, 372, 209, 14360, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 209, 6157, 3, 7, 17, 834, 5772, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 372, 834, 536, 3274, 96, 120, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When was his first game on a clay surface where he scored 0 6, 3 6?
CREATE TABLE table_name_24 ( date INTEGER, surface VARCHAR, score VARCHAR )
SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 833, 3, 21342, 17966, 6, 1774, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 112, 166, 467, 30, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 5522, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 2604, 3274, 96, 632, 104, 11071, 220, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the visiting team at the game when the Canadiens had a record of 30–19–9?
CREATE TABLE table_name_29 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_29 WHERE record = "30–19–9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 3466, 155, 127, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 3644, 372, 44, 8, 467, 116, 8, 1072, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1368, 3274, 96, 1458, 104, 2294, 104, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position?
CREATE TABLE table_name_1 ( a_score INTEGER, b_score VARCHAR, position VARCHAR )
SELECT SUM(a_score) FROM table_name_1 WHERE b_score > 9.15 AND position = "2nd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 3, 9, 834, 7, 9022, 3, 21342, 17966, 6, 3, 115, 834, 7, 9022, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 9, 834, 7, 9022, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 3, 115, 834, 7, 9022, 2490, 5835, 1808, 3430, 1102, 3274, 96, 357, 727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What year was the expansion in the city of San Juan?
CREATE TABLE table_name_31 ( year VARCHAR, city VARCHAR )
SELECT COUNT(year) FROM table_name_31 WHERE city = "san juan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 215, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 5919, 16, 8, 690, 13, 1051, 15597, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 690, 3274, 96, 7, 152, 3, 2047, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
in what year did roche win his first doubles title ?
CREATE TABLE table_204_196 ( id number, "outcome" text, "no." number, "date" number, "championship" text, "surface" text, "partner" text, "opponents in the final" text, "score in the final" text )
SELECT MIN("date") FROM table_204_196 WHERE "outcome" = 'winner'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 26937, 41, 3, 23, 26, 381, 6, 96, 670, 287, 15, 121, 1499, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 121, 381, 6, 96, 17788, 12364, 2009, 121, 1499, 6, 96, 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, 17684, 599, 121, 5522, 8512, 21680, 953, 834, 26363, 834, 26937, 549, 17444, 427, 96, 670, 287, 15, 121, 3274, 3, 31, 3757, 687, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What loss was against the angels with a 50-31 record?
CREATE TABLE table_66847 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Loss" FROM table_66847 WHERE "Opponent" = 'angels' AND "Record" = '50-31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 927, 4177, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 7, 7, 121, 21680, 953, 834, 3539, 927, 4177, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 1468, 3573, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 1752, 18, 3341, 31, 1, -100, -100, -100, ...
what is the number of patients whose diagnoses long title is pure hyperglyceridemia and drug name is torsemide?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Pure hyperglyceridemia" AND prescriptions.drug = "Torsemide"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957
CREATE TABLE table_69620 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Engine" FROM table_69620 WHERE "Chassis" = 'maserati 250f' AND "Entrant" = 'luigi piotti' AND "Year" < '1957'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 26898, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 31477, 121, 21680, 953, 834, 3951, 26898, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 2754, 15, 6850, 5986, 89, 31, 3430, 96, 16924, 3569, 121, 3274, 3, 31, 2878, 122, 23, 2816, 22334, 31, 3430, 96, ...
What position did eric norri play who was the overall pick less than 322 on a round larger than 3?
CREATE TABLE table_44265 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT "Position" FROM table_44265 WHERE "Overall" < '322' AND "Round" > '3' AND "Name" = 'eric norri'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 357, 4122, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 3628, 357, 4122, 549, 17444, 427, 96, 23847, 1748, 121, 3, 2, 3, 31, 2668, 357, 31, 3430, 96, 448, 32, 1106, 121, 2490, 3, 31, 519, 31, 3430, 96, 23954, 121, 3274, 3...
What horse does todd pletcher ride with odds of 14.20-1?
CREATE TABLE table_name_84 (horse_name VARCHAR, jockey VARCHAR, post_time_odds VARCHAR)
SELECT horse_name FROM table_name_84 WHERE jockey = "todd pletcher" AND post_time_odds = "14.20-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 107, 127, 7, 15, 834, 4350, 584, 4280, 28027, 6, 8624, 4397, 584, 4280, 28027, 6, 442, 834, 715, 834, 32, 26, 26, 7, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4952, 834, 4350, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 8624, 4397, 3274, 96, 235, 26, 26, 3, 4788, 17, 1703, 121, 3430, 442, 834, 715, 834, 32, 26, 26, 7, 3274, 96, 2534, 5, 1755, 2292, 121, 1, -100...
What was the time/retired of car number 6.
CREATE TABLE table_name_93 (time_retired VARCHAR, car_no VARCHAR)
SELECT time_retired FROM table_name_93 WHERE car_no = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 715, 834, 10682, 1271, 584, 4280, 28027, 6, 443, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 87, 10682, 1271, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 443, 834, 29, 32, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose ethnicity is hispanic/latino - puerto rican and procedure short title is heart countershock nec?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 procedures ( 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND procedures.short_title = "Heart countershock NEC"
[ 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, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who was the partner on May 16, 2004?
CREATE TABLE table_name_52 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_52 WHERE date = "may 16, 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 12300, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2397, 30, 932, 11940, 4406, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2397, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 833, 3274, 96, 13726, 11940, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the number of start dates of all the apartment bookings for each weekday with a bar chart, show in descending by the y axis.
CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME )
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id ORDER BY COUNT(booking_start_date) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4197, 834, 5110, 155, 834, 134, 17, 144, 302, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 2567, 53, 834, 23, 26, 3, 21342, 17966, 6, 2637, 834, 5522, 309, 6048, 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, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 15970, 7, 6157, 332, 357, 9191, 332, 5411, 6789, 834, 23, 26, ...
What is the lowest bronze number when silver shows 2, and the total is 8?
CREATE TABLE table_name_35 ( bronze INTEGER, silver VARCHAR, total VARCHAR )
SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 13467, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 13467, 381, 116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 4294, 3274, 204, 3430, 792, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the last names of all the teachers that teach GELL TAMI.
CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number )
SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 5064, 4350, 21680, 570, 6157, 332, 536, 3, 15355, 3162, 3081, 6157, 332, 357, 9191, 332, 5411, 4057, 3082, 3274, 332, 4416, 4057, 3082, 549, 17444, 427, 332, 5411, 14672, 4350, 3274, 96, 517, 12735, 121, 34...
Number of participants with a score 8.895 in preliminary
CREATE TABLE table_17088705_2 ( interview VARCHAR, preliminary VARCHAR )
SELECT COUNT(interview) FROM table_17088705_2 WHERE preliminary = "8.895"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4018, 4225, 3076, 834, 357, 41, 2772, 584, 4280, 28027, 6, 17413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 7720, 13, 3008, 28, 3, 9, 2604, 4848, 3914, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3870, 4576, 61, 21680, 953, 834, 2517, 4018, 4225, 3076, 834, 357, 549, 17444, 427, 17413, 3274, 96, 927, 5, 3914, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the name of the winning driver where the circuit name is posillipo?
CREATE TABLE table_16762 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text )
SELECT "Winning driver" FROM table_16762 WHERE "Circuit" = 'Posillipo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27650, 4056, 41, 96, 448, 3302, 5570, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 4302, 7593, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27650, 4056, 549, 17444, 427, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 345, 32, 7, 173, 7446, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was game number 8 played against?
CREATE TABLE table_19778010_5 ( opponent VARCHAR, game VARCHAR )
SELECT opponent FROM table_19778010_5 WHERE game = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4013, 2079, 1714, 834, 755, 41, 15264, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 467, 381, 505, 1944, 581, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 2294, 4013, 2079, 1714, 834, 755, 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, -100,...
Which rank took place prior to 2000 when the bike was bsl?
CREATE TABLE table_name_71 (rank VARCHAR, year VARCHAR, bike VARCHAR)
SELECT rank FROM table_name_71 WHERE year < 2000 AND bike = "bsl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 6254, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3724, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11003, 808, 286, 1884, 12, 2766, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 215, 3, 2, 2766, 3430, 3724, 3274, 96, 115, 7, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the salary and manager number for those employees who is working under a manager.
CREATE TABLE departments ( department_id number, department_name text, manager_id number, location_id number ) CREATE TABLE regions ( region_id number, region_name text ) CREATE TABLE job_history ( employee_id number, start_date time, end_date time, job_id text, department_id number ) CREATE TABLE employees ( employee_id number, first_name text, last_name text, email text, phone_number text, hire_date time, job_id text, salary number, commission_pct number, manager_id number, department_id number ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE locations ( location_id number, street_address text, postal_code text, city text, state_province text, country_id text ) CREATE TABLE jobs ( job_id text, job_title text, min_salary number, max_salary number )
SELECT salary, manager_id FROM employees WHERE manager_id <> "null"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3066, 834, 23, 26, 381, 6, 3066, 834, 4350, 1499, 6, 2743, 834, 23, 26, 381, 6, 1128, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9090, 6, 2743, 834, 23, 26, 21680, 1652, 549, 17444, 427, 2743, 834, 23, 26, 3, 2, 3155, 96, 29, 83, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the report for the race that Ayrton Senna won on 27 August?
CREATE TABLE table_57071 ( "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text )
SELECT "Report" FROM table_57071 WHERE "Winning Driver" = 'ayrton senna' AND "Date" = '27 august'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28363, 4450, 41, 96, 4744, 727, 12942, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 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, 96, 1649, 1493, 121, 21680, 953, 834, 28363, 4450, 549, 17444, 427, 96, 518, 10503, 10546, 121, 3274, 3, 31, 9, 63, 17330, 3, 7, 35, 29, 9, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2555, 14663, 31, 1, -100, -...
What is the time of retirement with Laps smaller than 66, a grid less than 10, and a Driver of heinz-harald frentzen?
CREATE TABLE table_name_65 ( time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR )
SELECT time_retired FROM table_name_65 WHERE laps < 66 AND grid < 10 AND driver = "heinz-harald frentzen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 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, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 14941, 7, 3, 2, 3, 3539, 3430, 8634, 3, 2, 335, 3430, 2535, 3274, 96, 88, 77, 172, 18, 3272, 138, 26, 2515, 295, 1847, 121, 1, -100, -100,...
What are the number of the wines that have prices lower than 50 and have appelations in Monterey county?, could you sort the number of name from low to high order?
CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT )
SELECT Name, COUNT(Name) FROM appellations AS T1 JOIN wine AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = "Monterey" AND T2.Price < 50 GROUP BY Name ORDER BY COUNT(Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2013, 41, 465, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 9426, 651, 3, 3463, 4, 382, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5570, 3, 3463, 4, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 8319, 6105, 7, 6157, 332, 536, 3, 15355, 3162, 2013, 6157, 332, 357, 9191, 332, 5411, 27794, 257, 3274, 332, 4416, 27794, 257, 549, 17444, 427, 332, 5411, 10628, 63, 3274, ...
Which event was in round 1, resulted in a win, and a record of 15-4?
CREATE TABLE table_56533 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Event" FROM table_56533 WHERE "Round" = '1' AND "Res." = 'win' AND "Record" = '15-4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 4867, 519, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 4834, 4867, 519, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 536, 31, 3430, 96, 1649, 7, 535, 3274, 3, 31, 3757, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 1808, ...
Who was runner-up in the 2006 Pacific Life Open?
CREATE TABLE table_name_62 ( runner_up VARCHAR, name VARCHAR, year VARCHAR )
SELECT runner_up FROM table_name_62 WHERE name = "pacific life open" AND year = "2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 3, 10806, 834, 413, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 3, 10806, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 10806, 834, 413, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 564, 3274, 96, 5379, 3286, 280, 539, 121, 3430, 215, 3274, 96, 21196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many times did Roy Emerson win the Australian Open?
CREATE TABLE table_197638_6 ( australian_open VARCHAR, player VARCHAR )
SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3959, 3747, 834, 948, 41, 23407, 29, 834, 8751, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 15875, 3967, 1351...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 402, 3109, 9928, 834, 8751, 61, 21680, 953, 834, 2294, 3959, 3747, 834, 948, 549, 17444, 427, 1959, 3274, 96, 448, 32, 63, 3967, 13515, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the sepal width when sepal length is 6.5 and petal width is 2.2
CREATE TABLE table_16138 ( "Sepal length" text, "Sepal width" text, "Petal length" text, "Petal width" text, "Species" text )
SELECT "Sepal width" FROM table_16138 WHERE "Sepal length" = '6.5' AND "Petal width" = '2.2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 22744, 41, 96, 134, 15, 6459, 2475, 121, 1499, 6, 96, 134, 15, 6459, 9400, 121, 1499, 6, 96, 345, 15, 1947, 2475, 121, 1499, 6, 96, 345, 15, 1947, 9400, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 6459, 9400, 121, 21680, 953, 834, 2938, 22744, 549, 17444, 427, 96, 134, 15, 6459, 2475, 121, 3274, 3, 31, 17255, 31, 3430, 96, 345, 15, 1947, 9400, 121, 3274, 3, 31, 15300, 31, 1, -100, -100, -100, ...
What was the score when Walsall was the away team?
CREATE TABLE table_name_91 ( score VARCHAR, away_team VARCHAR )
SELECT score FROM table_name_91 WHERE away_team = "walsall"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 2604, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 8586, 7, 1748, 47, 8, 550, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 550, 834, 11650, 3274, 96, 5380, 7, 1748, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.
CREATE TABLE Treatments (dog_id VARCHAR, cost_of_treatment INTEGER); CREATE TABLE Owners (owner_id VARCHAR, zip_code VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, dog_id VARCHAR)
SELECT T1.owner_id, T1.zip_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY SUM(T3.cost_of_treatment) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13516, 7, 41, 10169, 834, 23, 26, 584, 4280, 28027, 6, 583, 834, 858, 834, 26889, 3, 21342, 17966, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 13307, 7, 41, 13238, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 13238, 834, 23, 26, 6, 332, 5411, 13453, 834, 4978, 21680, 13307, 7, 6157, 332, 536, 3, 15355, 3162, 6751, 7, 6157, 332, 357, 9191, 332, 5411, 13238, 834, 23, 26, 3274, 332, 4416, 13238, 834, 23, 26, 3,...
What was their record when they lost with Lilly (0-1) pitching?
CREATE TABLE table_69247 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Record" FROM table_69247 WHERE "Loss" = 'lilly (0-1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 357, 4177, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3951, 357, 4177, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 40, 173, 120, 17482, 18, 6982, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What years have 10 (0) in the finals?
CREATE TABLE table_name_33 (years VARCHAR, finals VARCHAR)
SELECT years FROM table_name_33 WHERE finals = "10 (0)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 1201, 7, 584, 4280, 28027, 6, 804, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 43, 335, 3, 31862, 16, 8, 804, 7, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 203, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 804, 7, 3274, 96, 1714, 3, 31862, 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 score for 2004?
CREATE TABLE table_68266 ( "Year" real, "Champion" text, "Score" text, "Defeated" text, "Location" text )
SELECT "Score" FROM table_68266 WHERE "Year" = '2004'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 357, 3539, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 16196, 15, 920, 121, 1499, 6, 96, 434, 32, 75, 257...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3651, 357, 3539, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 21653, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find all the instruments ever used by the musician with last name 'Heilo'?
CREATE TABLE songs ( songid number, title text ) CREATE TABLE vocals ( songid number, bandmate number, type text ) CREATE TABLE performance ( songid number, bandmate number, stageposition text ) CREATE TABLE albums ( aid number, title text, year number, label text, type text ) CREATE TABLE band ( id number, firstname text, lastname text ) CREATE TABLE instruments ( songid number, bandmateid number, instrument text ) CREATE TABLE tracklists ( albumid number, position number, songid number )
SELECT instrument FROM instruments AS T1 JOIN band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = "Heilo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3605, 41, 2324, 23, 26, 381, 6, 2233, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6721, 7, 41, 2324, 23, 26, 381, 6, 1928, 5058, 381, 6, 686, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5009, 21680, 7778, 6157, 332, 536, 3, 15355, 3162, 1928, 6157, 332, 357, 9191, 332, 5411, 3348, 5058, 23, 26, 3274, 332, 4416, 23, 26, 549, 17444, 427, 332, 4416, 5064, 4350, 3274, 96, 3845, 173, 32, 121, 1, -100, ...
What is the new classification for La Mirada, California?
CREATE TABLE table_name_69 (new_classification VARCHAR, location VARCHAR)
SELECT new_classification FROM table_name_69 WHERE location = "la mirada, california"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 5534, 834, 4057, 2420, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 126, 13774, 21, 325, 2133, 14842, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 126, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1128, 3274, 96, 521, 1337, 14842, 6, 3, 15534, 1161, 29, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the result of the game seen by 31095 people?
CREATE TABLE table_18207285_2 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_18207285_2 WHERE attendance = 31095
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 1755, 5865, 4433, 834, 357, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 894, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 2606, 1755, 5865, 4433, 834, 357, 549, 17444, 427, 11364, 3274, 3, 19947, 3301, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What club has a play of 22, and losing bonus of 7?
CREATE TABLE table_69155 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Club" FROM table_69155 WHERE "Played" = '22' AND "Losing bonus" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 20896, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 11158, 121, 21680, 953, 834, 3951, 20896, 549, 17444, 427, 96, 15800, 15, 26, 121, 3274, 3, 31, 2884, 31, 3430, 96, 434, 32, 7, 53, 4023, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100...
Which Away team played when they had a Crowd of over 29,000 people?
CREATE TABLE table_11896 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_11896 WHERE "Crowd" > '29,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20056, 4314, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 20056, 4314, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 357, 23938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the wines that have prices lower than 50 and have appelations in Monterey county?
CREATE TABLE WINE ( Name VARCHAR, Appelation VARCHAR, price VARCHAR ) CREATE TABLE APPELLATIONS ( Appelation VARCHAR, County VARCHAR )
SELECT T2.Name FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = "Monterey" AND T2.price < 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 549, 9730, 41, 5570, 584, 4280, 28027, 6, 3, 27794, 257, 584, 4280, 28027, 6, 594, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 13747, 12735, 8015, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 21680, 3, 13747, 12735, 8015, 134, 6157, 332, 536, 3, 15355, 3162, 549, 9730, 6157, 332, 357, 9191, 332, 5411, 27794, 257, 3274, 332, 4416, 27794, 257, 549, 17444, 427, 332, 5411, 10628, 63, 3274, 96...
What is the highest silver that has 57 as the total, with a bronze greater than 20?
CREATE TABLE table_name_82 ( silver INTEGER, total VARCHAR, bronze VARCHAR )
SELECT MAX(silver) FROM table_name_82 WHERE total = 57 AND bronze > 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 4294, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 4294, 24, 65, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 792, 3274, 3, 3436, 3430, 13467, 2490, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose diagnoses icd9 code is 2384 and lab test fluid is ascites?
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 ) 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "2384" AND lab.fluid = "Ascites"
[ 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, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
patients with advanced tumors.
CREATE TABLE table_train_16 ( "id" int, "bleeding" int, "brain_hernia" bool, "allergy_to_granisetron" bool, "intraperitoneal_infection" bool, "intestinal_obstruction" bool, "tumor" bool, "NOUSE" float )
SELECT * FROM table_train_16 WHERE tumor = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2938, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 1939, 77, 834, 760, 29, 23, 9, 121, 3, 12840, 40, 6, 96, 11211, 122, 63, 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, 1429, 21680, 953, 834, 9719, 834, 2938, 549, 17444, 427, 8985, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
number of games in which the starzz scored at most 59 points
CREATE TABLE table_204_73 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text )
SELECT COUNT(*) FROM table_204_73 WHERE "score" <= 59
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4552, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 60...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 4552, 549, 17444, 427, 96, 7, 9022, 121, 3, 2, 2423, 3, 3390, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
did since 2 years ago patient 025-45407 visit the hospital?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '025-45407' AND DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-2 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, 41, 11963, 670, 2562, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2358, 8292, 1499, 6, 2358, 40, 10333, 1499, 6, 2358, 7480, 35, 76, 17552, 381, 6, 11963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 1828, 4278, 5062, 4560, 31, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 61,...
The Soviet Union has won more than 2 Silver, but how many Bronzes?
CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR)
SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 13711, 776, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 37, 12873, 3545, 65, 751, 72, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 2982, 3274, 96, 7, 9881, 15, 17, 7021, 121, 3430, 4294, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the highest rank with a total less than 1?
CREATE TABLE table_name_68 (rank INTEGER, total INTEGER)
SELECT MAX(rank) FROM table_name_68 WHERE total < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 6254, 3, 21342, 17966, 6, 792, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2030, 11003, 28, 3, 9, 792, 705, 145, 209, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 792, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the opponent the Buffalo Bills played when their record was 4-4?
CREATE TABLE table_name_34 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_34 WHERE record = "4-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 8, 17563, 3259, 7, 1944, 116, 70, 1368, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1368, 3274, 96, 591, 18, 20364, 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 record for the Ko (head kick) method?
CREATE TABLE table_name_24 ( record VARCHAR, method VARCHAR )
SELECT record FROM table_name_24 WHERE method = "ko (head kick)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 1368, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 21, 8, 1793, 41, 3313, 4583, 61, 1573, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1573, 3274, 96, 157, 32, 41, 3313, 4583, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who directed the episode james clavell wrote?
CREATE TABLE table_28555 ( "Episode #" real, "Prod #" real, "Title" text, "Directed by" text, "Written by" text, "Originalairdate" text )
SELECT "Directed by" FROM table_28555 WHERE "Written by" = 'James Clavell'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 28803, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 3174, 26, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 23620, 15, 26, 57, 121, 21680, 953, 834, 2577, 28803, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 683, 9, 2687, 7781, 162, 195, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Bronze has a Country of malaysia, and a Total smaller than 2644?
CREATE TABLE table_name_75 ( bronze INTEGER, country VARCHAR, total VARCHAR )
SELECT SUM(bronze) FROM table_name_75 WHERE country = "malaysia" AND total < 2644
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 13467, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 20841, 65, 3, 9, 6993, 13, 954,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 684, 3274, 96, 51, 9, 20244, 23, 9, 121, 3430, 792, 3, 2, 2208, 3628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the original air date for the episode with a production code of 318?
CREATE TABLE table_72652 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "Viewers (millions)" text )
SELECT "Original air date" FROM table_72652 WHERE "Production code" = '318'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4122, 357, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 5865, 4122, 357, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 519, 2606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
find the number of patients whose drug code is dapt500i and lab test fluid is ascites.
CREATE TABLE procedures ( 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 ) 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "DAPT500I" AND lab.fluid = "Ascites"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
What is the fewest goals of CD Alcoyano with more than 25 points?
CREATE TABLE table_46567 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT MIN("Goals against") FROM table_46567 WHERE "Club" = 'cd alcoyano' AND "Points" > '25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4122, 3708, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6221, 5405, 581, 8512, 21680, 953, 834, 591, 4122, 3708, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 75, 26, 491, 509, 63, 152, 32, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 1828, 31, ...
What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is '1973'?
CREATE TABLE table_61681 ( "Year" real, "Manufacturer" text, "Start" real, "Finish" real, "Team" text )
SELECT "Manufacturer" FROM table_61681 WHERE "Finish" > '29' AND "Start" < '23' AND "Year" = '1973'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 3651, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 7681, 17, 121, 490, 6, 96, 371, 77, 1273, 121, 490, 6, 96, 18699, 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, 7296, 76, 8717, 450, 49, 121, 21680, 953, 834, 4241, 3651, 536, 549, 17444, 427, 96, 371, 77, 1273, 121, 2490, 3, 31, 3166, 31, 3430, 96, 7681, 17, 121, 3, 2, 3, 31, 2773, 31, 3430, 96, 476, 2741, 121, 327...
calculate the number of patients who received a microbiology blood, venipuncture test in 2104.
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT microlab.patientunitstayid FROM microlab WHERE microlab.culturesite = 'blood, venipuncture' AND STRFTIME('%y', microlab.culturetakentime) = '2104')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 2179, 9339, 5, 10061, 15129, 21545, 23, 26, 21680, 2179, ...
What are the name and assets of each company, sorted in ascending order of company name?
CREATE TABLE Companies (name VARCHAR, Assets_billion VARCHAR)
SELECT name, Assets_billion FROM Companies ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11239, 41, 4350, 584, 4280, 28027, 6, 18202, 7, 834, 115, 14916, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 564, 11, 4089, 13, 284, 349, 6, 3, 14504, 16, 25200,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6, 18202, 7, 834, 115, 14916, 21680, 11239, 4674, 11300, 272, 476, 564, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What score did Jack Nicklaus have when he placed t6?
CREATE TABLE table_name_92 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_92 WHERE place = "t6" AND player = "jack nicklaus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 7, 9022, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 410, 4496, 7486, 40, 2064, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 286, 3274, 96, 17, 948, 121, 3430, 1959, 3274, 96, 9325, 3, 11191, 40, 2064, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What position did the team with 3 losses finish?
CREATE TABLE table_16034882_4 (position INTEGER, loses VARCHAR)
SELECT MIN(position) FROM table_16034882_4 WHERE loses = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 3710, 4060, 357, 834, 591, 41, 4718, 3, 21342, 17966, 6, 2615, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 8, 372, 28, 220, 8467, 1992, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4718, 61, 21680, 953, 834, 19129, 3710, 4060, 357, 834, 591, 549, 17444, 427, 2615, 7, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
A bar chart shows the distribution of ACC_Regular_Season and Team_ID .
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Regular_Season, Team_ID FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What position did Luca Sbisa play for the Philadelphia Flyers?
CREATE TABLE table_name_53 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_53 WHERE player = "luca sbisa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 3, 11748, 9, 180, 11514, 9, 577, 21, 8, 9511, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1959, 3274, 96, 11525, 9, 3, 7, 11514, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Oberliga Baden-Württemberg has an Oberliga Hessen of fsv frankfurt in 1993-94?
CREATE TABLE table_name_77 (oberliga_baden_württemberg VARCHAR, oberliga_hessen VARCHAR, season VARCHAR)
SELECT oberliga_baden_württemberg FROM table_name_77 WHERE oberliga_hessen = "fsv frankfurt" AND season = "1993-94"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 32, 1152, 17140, 834, 5514, 35, 834, 14638, 17, 3524, 2235, 584, 4280, 28027, 6, 18299, 17140, 834, 88, 4932, 584, 4280, 28027, 6, 774, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18299, 17140, 834, 5514, 35, 834, 14638, 17, 3524, 2235, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 18299, 17140, 834, 88, 4932, 3274, 96, 89, 7, 208, 3, 89, 6254, 9827, 17, 121, 3430, 774, 3274, 96, 2294, ...
Name the Result of new zealand Nationality / Opponent?
CREATE TABLE table_60772 ( "Date" text, "Nationality / Opponent" text, "Ground" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_60772 WHERE "Nationality / Opponent" = 'new zealand'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4013, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 24732, 485, 3, 87, 4495, 9977, 121, 1499, 6, 96, 517, 7775, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 3328, 4013, 357, 549, 17444, 427, 96, 24732, 485, 3, 87, 4495, 9977, 121, 3274, 3, 31, 5534, 3, 776, 138, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the overall record of Oral Roberts college?
CREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR)
SELECT record FROM table_16295365_1 WHERE school = "Oral Roberts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 357, 3301, 10402, 834, 536, 41, 60, 7621, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1879, 1368, 13, 955, 138, 2715, 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, 1368, 21680, 953, 834, 2938, 357, 3301, 10402, 834, 536, 549, 17444, 427, 496, 3274, 96, 7395, 138, 2715, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the name of the parish that has a former local authority of St Neots urban district?
CREATE TABLE table_name_71 ( name VARCHAR, former_local_authority VARCHAR )
SELECT name FROM table_name_71 WHERE former_local_authority = "st neots urban district"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 564, 584, 4280, 28027, 6, 1798, 834, 16882, 834, 17415, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 14961, 24,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1798, 834, 16882, 834, 17415, 485, 3274, 96, 7, 17, 3, 29, 15, 32, 17, 7, 4150, 3939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What high assists has the high points of andrew bynum (23)?
CREATE TABLE table_name_71 ( high_assists VARCHAR, high_points VARCHAR )
SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (23)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 306, 13041, 65, 8, 306...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 232, 60, 210, 57, 5525, 4743, 5268, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Rank has a Name of thomas morgenstern, and Points larger than 368.9?
CREATE TABLE table_name_38 ( rank INTEGER, name VARCHAR, points VARCHAR )
SELECT AVG(rank) FROM table_name_38 WHERE name = "thomas morgenstern" AND points > 368.9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 11003, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 5570, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 564, 3274, 96, 189, 32, 2754, 8030, 729, 13072, 121, 3430, 979, 2490, 220, 3651, 5, 1298, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What are the lost where points lost is 353?
CREATE TABLE table_13758945_1 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_13758945_1 WHERE points_for = "353"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3072, 3914, 2128, 834, 536, 41, 2298, 17, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1513, 213, 979, 1513, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1513, 21680, 953, 834, 2368, 3072, 3914, 2128, 834, 536, 549, 17444, 427, 979, 834, 1161, 3274, 96, 2469, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the campus fee of 'San Jose State University' in year 1996?
CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE faculty ( campus number, year number, faculty number ) CREATE TABLE csu_fees ( campus number, year number, campusfee number ) CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE degrees ( year number, campus number, degrees number )
SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7998, 834, 35, 4046, 4128, 41, 4730, 381, 6, 7998, 381, 6, 215, 381, 6, 12260, 381, 6, 5213, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 25784, 41, 3, 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, 4730, 89, 15, 15, 21680, 25784, 6157, 332, 536, 3, 15355, 3162, 3, 75, 7, 76, 834, 89, 15, 15, 7, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 3, 17, 4416, 25532, 549, 17444, 427, 3, 17, 5411, 25532, 3274, 9...
Which problems were reported before the date of any problem reported by the staff Lysanne Turcotte? Give me the ids of the problems.
CREATE TABLE product ( product_id number, product_name text, product_details text ) CREATE TABLE problem_category_codes ( problem_category_code text, problem_category_description text ) CREATE TABLE problems ( problem_id number, product_id number, closure_authorised_by_staff_id number, reported_by_staff_id number, date_problem_reported time, date_problem_closed time, problem_description text, other_problem_details text ) CREATE TABLE problem_status_codes ( problem_status_code text, problem_status_description text ) CREATE TABLE problem_log ( problem_log_id number, assigned_to_staff_id number, problem_id number, problem_category_code text, problem_status_code text, log_entry_date time, log_entry_description text, log_entry_fix text, other_log_details text ) CREATE TABLE staff ( staff_id number, staff_first_name text, staff_last_name text, other_staff_details text )
SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported < (SELECT MIN(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Lysanne" AND T4.staff_last_name = "Turcotte")
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 556, 41, 556, 834, 23, 26, 381, 6, 556, 834, 4350, 1499, 6, 556, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 682, 834, 8367, 839, 651, 834,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 19307, 834, 23, 26, 21680, 982, 6157, 332, 536, 3, 15355, 3162, 871, 6157, 332, 357, 9191, 332, 5411, 60, 16262, 834, 969, 834, 26416, 834, 23, 26, 3274, 332, 4416, 26416, 834, 23, 26, 549, 17444, 427, ...
Who did the high assists in the game played on February 9?
CREATE TABLE table_22879323_8 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_22879323_8 WHERE date = "February 9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4225, 4271, 2773, 834, 927, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 410, 8, 306, 13041, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 2884, 4225, 4271, 2773, 834, 927, 549, 17444, 427, 833, 3274, 96, 31122, 668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
In how many locations was the episode with the Bailey family filmed?
CREATE TABLE table_23390 ( "No. in series" text, "No. in season" real, "Family/families" text, "Location(s)" text, "Original air date" text )
SELECT COUNT("Location(s)") FROM table_23390 WHERE "Family/families" = 'The Bailey Family'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 2394, 41, 96, 4168, 5, 16, 939, 121, 1499, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 371, 3690, 120, 87, 89, 3690, 4664, 121, 1499, 6, 96, 434, 32, 75, 257, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 434, 32, 75, 257, 599, 7, 61, 8512, 21680, 953, 834, 20879, 2394, 549, 17444, 427, 96, 371, 3690, 120, 87, 89, 3690, 4664, 121, 3274, 3, 31, 634, 24042, 3712, 31, 1, -100, -100, -100, -100, ...
What event has 8 as the days held?
CREATE TABLE table_name_33 ( event VARCHAR, days_held VARCHAR )
SELECT event FROM table_name_33 WHERE days_held = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 605, 584, 4280, 28027, 6, 477, 834, 14796, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 65, 505, 38, 8, 477, 1213, 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, 605, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 477, 834, 14796, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the number of the dates of birth of entrepreneurs with investor 'Simon Woodroffe' or 'Peter Jones'?, and could you list x axis in ascending order please?
CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text )
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" ORDER BY Date_of_Birth
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 26696, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 1958, 1499, 6, 8833, 834, 1649, 835, 6265, 490, 6, 16873, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 2847, 17161, 599, 308, 342, 834, 858, 834, 279, 23, 52, 189, 61, 21680, 3, 12290, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, ...
Name the number of episods for segment c being s oyster
CREATE TABLE table_19917 ( "Series Ep." text, "Episode" real, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT COUNT("Episode") FROM table_19917 WHERE "Segment C" = 's Oyster'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19479, 2517, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6, 96, 134, 15, 122, 297, 272, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 427, 102, 159, 32, 221, 8512, 21680, 953, 834, 19479, 2517, 549, 17444, 427, 96, 134, 15, 122, 297, 205, 121, 3274, 3, 31, 7, 411, 63, 1370, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which Laps have a Time/Retired of +23.215, and a Grid larger than 11?
CREATE TABLE table_76655 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MIN("Laps") FROM table_76655 WHERE "Time/Retired" = '+23.215' AND "Grid" > '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 4122, 755, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 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, 3, 17684, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 3959, 4122, 755, 549, 17444, 427, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 1220, 357, 19162, 1808, 31, 3430, 96, 13313, 26, 121, 2490, 3, 31, 2596,...
provide the number of patients whose primary disease is cerebral aneurysm/sda and drug route is iv?
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 ( 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "CEREBRAL ANEURYSM/SDA" AND prescriptions.route = "IV"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Stacked bar chart of the total number for with each Sex in each rank, order by the x axis in descending.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER )
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Sex, Rank ORDER BY Rank DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 350, 4630, 6880, 272, 476, 679, 226, 6, 3, 22557, 4674, 11300, 272, 476, 3, 22557, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the production code for episode 229?
CREATE TABLE table_14889988_1 ( production_code INTEGER, no_in_series VARCHAR )
SELECT MAX(production_code) FROM table_14889988_1 WHERE no_in_series = 229
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4060, 3264, 4060, 834, 536, 41, 999, 834, 4978, 3, 21342, 17966, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 20762, 834, 4978, 61, 21680, 953, 834, 2534, 4060, 3264, 4060, 834, 536, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 204, 3166, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the date when the venue is stade général seyni kountché , niamey?
CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_10 WHERE venue = "stade général seyni kountché , niamey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 5522, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 116, 8, 5669, 19, 3342, 221, 8956, 142, 63, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 5669, 3274, 96, 2427, 221, 8956, 142, 63, 29, 23, 3, 157, 32, 202, 17, 8831, 3, 6, 3, 29, 23, 265, 15, 63, 121, 1, -100, -100, -100, -100, -100, -100, -1...
For Ynysybwl RFC, what was the losing bonus for 416 points?
CREATE TABLE table_name_48 (losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR)
SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 2298, 53, 834, 5407, 302, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 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, 5489, 834, 5407, 302, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 979, 834, 1161, 3274, 96, 591, 2938, 121, 3430, 1886, 3274, 96, 63, 29, 63, 7, 63, 115, 210, 40, 3, 52, 89, 75, 121, 1, -100, -100, -100, ...
provide the number of patients admitted prematurely via clinic referral who have procedure icd9 code 4573.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( 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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND procedures.icd9_code = "4573"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what is the number of patients whose marital status is widowed and item id is 51069?
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 ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.itemid = "51069"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which skip's third is Steffen Walstad?
CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR)
SELECT skip FROM table_name_1 WHERE third = "steffen walstad"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 4009, 102, 584, 4280, 28027, 6, 1025, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11202, 31, 7, 1025, 19, 3557, 13602, 8586, 2427, 26, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11202, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1025, 3274, 96, 849, 13602, 3, 5380, 2427, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...