NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
what's the species in the world with peruvian amazon vs. peru (percent)  of 63
CREATE TABLE table_11727969_1 (species_in_the_world VARCHAR, peruvian_amazon_vs_peru__percent_ VARCHAR)
SELECT species_in_the_world FROM table_11727969_1 WHERE peruvian_amazon_vs_peru__percent_ = 63
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20275, 357, 4440, 3951, 834, 536, 41, 7576, 725, 834, 77, 834, 532, 834, 7276, 584, 4280, 28027, 6, 399, 76, 5907, 29, 834, 9, 18983, 106, 834, 208, 7, 834, 883, 76, 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, 3244, 834, 77, 834, 532, 834, 7276, 21680, 953, 834, 20275, 357, 4440, 3951, 834, 536, 549, 17444, 427, 399, 76, 5907, 29, 834, 9, 18983, 106, 834, 208, 7, 834, 883, 76, 834, 834, 883, 3728, 834, 3274, 3, 3891, ...
How many schools have an enrollment of 850?
CREATE TABLE table_16630 ( "School" text, "Location" text, "Enrolment" real, "Founded" real, "Denomination" text, "Day/Boarding" text, "School Colours" text, "Abbreviation" text, "In competition since" real )
SELECT COUNT("Founded") FROM table_16630 WHERE "Enrolment" = '850'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26811, 1458, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8532, 3491, 297, 121, 490, 6, 96, 20100, 121, 490, 6, 96, 308, 35, 32, 14484, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 20100, 8512, 21680, 953, 834, 26811, 1458, 549, 17444, 427, 96, 8532, 3491, 297, 121, 3274, 3, 31, 17246, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest erp w with a 90.5 frequency mhz?
CREATE TABLE table_79689 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT MAX("ERP W") FROM table_79689 WHERE "Frequency MHz" = '90.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 4314, 3914, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3316, 345, 549, 8512, 21680, 953, 834, 940, 4314, 3914, 549, 17444, 427, 96, 371, 60, 835, 11298, 3, 20210, 121, 3274, 3, 31, 1298, 12100, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Country when the language is italian english, and the television service is disney xd +1?
CREATE TABLE table_name_12 (country VARCHAR, language VARCHAR, television_service VARCHAR)
SELECT country FROM table_name_12 WHERE language = "italian english" AND television_service = "disney xd +1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 17529, 584, 4280, 28027, 6, 1612, 584, 4280, 28027, 6, 4390, 834, 5114, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6993, 116, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1612, 3274, 96, 155, 9, 9928, 22269, 121, 3430, 4390, 834, 5114, 3274, 96, 26, 159, 3186, 3, 226, 26, 3, 18446, 121, 1, -100, -100, -100, -100, -100, -100, -...
What category did MCG get a nominee in?
CREATE TABLE table_name_62 ( category VARCHAR, label VARCHAR, result VARCHAR )
SELECT category FROM table_name_62 WHERE label = "mcg" AND result = "nominee"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 3295, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3295, 410, 283, 12150, 129, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3295, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 3783, 3274, 96, 51, 75, 122, 121, 3430, 741, 3274, 96, 3114, 630, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On what day was Tie #29 played?
CREATE TABLE table_name_55 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_55 WHERE tie_no = "29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 5522, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 239, 47, 2262, 15, 1713, 3166, 1944, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 3166, 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 average number of scotland 's total apps ?
CREATE TABLE table_204_159 ( id number, "name" text, "nation" text, "position" text, "league apps" number, "league goals" number, "fa cup apps" number, "fa cup goals" number, "total apps" number, "total goals" number )
SELECT AVG("total apps") FROM table_204_159 WHERE "nation" = 'scotland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 27904, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 29, 257, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 29512, 4050, 121, 381, 6, 96, 29512, 1766, 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, 71, 17217, 599, 121, 235, 1947, 4050, 8512, 21680, 953, 834, 26363, 834, 27904, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 7, 4310, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Champion with a Year that is 2008?
CREATE TABLE table_name_65 (champion VARCHAR, year VARCHAR)
SELECT champion FROM table_name_65 WHERE year = 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 17788, 12364, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16127, 28, 3, 9, 2929, 24, 19, 2628, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6336, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 215, 3274, 2628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many cities are below 1000 in population ?
CREATE TABLE table_204_6 ( id number, "category" text, "urban settlements" text, "population" number, "male" text, "female" text, "inhabited localities in jurisdiction" text )
SELECT COUNT("urban settlements") FROM table_204_6 WHERE "population" < 1000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 41, 3, 23, 26, 381, 6, 96, 8367, 839, 651, 121, 1499, 6, 96, 19413, 7025, 7, 121, 1499, 6, 96, 9791, 7830, 121, 381, 6, 96, 13513, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 19413, 7025, 7, 8512, 21680, 953, 834, 26363, 834, 948, 549, 17444, 427, 96, 9791, 7830, 121, 3, 2, 5580, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the bleeding times when both the platelet count was unaffected and the partial thromboplastin time was unaffected
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
SELECT bleeding_time FROM table_1099080_1 WHERE partial_thromboplastin_time = "Unaffected" AND platelet_count = "Unaffected"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 2394, 2079, 834, 536, 41, 27779, 53, 834, 715, 584, 4280, 28027, 6, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 584, 4280, 28027, 6, 3829, 1655, 834, 13362, 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, 19021, 834, 715, 21680, 953, 834, 17304, 2394, 2079, 834, 536, 549, 17444, 427, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 3274, 96, 5110, 9, 27488, 121, 3430, 3829, 1655, 834, 13362, 3274, 96, 5110, 9, 27488, 121, ...
Which Margin of victory has a Runner(s)-up of mark o'meara?
CREATE TABLE table_name_19 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_19 WHERE runner_s__up = "mark o'meara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 1635, 122, 77, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 6, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6346, 834, 858, 834, 7287, 10972, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 3, 10806, 834, 7, 834, 834, 413, 3274, 96, 3920, 3, 32, 31, 526, 2551, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest attendance at a game with a result of 5-1?
CREATE TABLE table_name_94 (attendance INTEGER, result VARCHAR)
SELECT MAX(attendance) FROM table_name_94 WHERE result = "5-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 15116, 663, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 11364, 44, 3, 9, 467, 28, 3, 9, 741, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 741, 3274, 96, 755, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose age is less than 71 and lab test name is epithelial cells?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "71" AND lab.label = "Epithelial Cells"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which Attendance has a Date of september 29, 1968, and a Week smaller than 3?
CREATE TABLE table_name_17 ( attendance INTEGER, date VARCHAR, week VARCHAR )
SELECT MIN(attendance) FROM table_name_17 WHERE date = "september 29, 1968" AND week < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 11364, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 22497, 663, 65, 3, 9, 7678, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 14405, 16506, 121, 3430, 471, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Round has an Opponent of jorge magalhaes?
CREATE TABLE table_name_83 ( round INTEGER, opponent VARCHAR )
SELECT AVG(round) FROM table_name_83 WHERE opponent = "jorge magalhaes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 1751, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 9609, 65, 46, 4495, 9977, 13, 3, 12775, 397, 6396, 138, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 15264, 3274, 96, 12775, 397, 6396, 138, 1024, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When London Bridge is the destination, what is the frequency?
CREATE TABLE table_1569516_1 ( frequency__per_hour_ VARCHAR, destination VARCHAR )
SELECT frequency__per_hour_ FROM table_1569516_1 WHERE destination = "London Bridge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25463, 3301, 2938, 834, 536, 41, 7321, 834, 834, 883, 834, 5842, 834, 584, 4280, 28027, 6, 3954, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 1524, 6132, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7321, 834, 834, 883, 834, 5842, 834, 21680, 953, 834, 25463, 3301, 2938, 834, 536, 549, 17444, 427, 3954, 3274, 96, 29712, 6132, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When did the episodes first air that had a production code of 107?
CREATE TABLE table_18335117_2 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_18335117_2 WHERE production_code = 107
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24361, 2469, 20275, 834, 357, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 13562, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 24361, 2469, 20275, 834, 357, 549, 17444, 427, 999, 834, 4978, 3274, 3, 18057, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which kind of Edition that has a Surface of clay, and Park Sung-Hee as an opponent?
CREATE TABLE table_71362 ( "Edition" text, "Round" text, "Date" text, "Surface" text, "Opponent" text, "Result" text )
SELECT "Edition" FROM table_71362 WHERE "Surface" = 'clay' AND "Opponent" = 'park sung-hee'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 3420, 357, 41, 96, 427, 10569, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 10569, 121, 21680, 953, 834, 4450, 3420, 357, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 4651, 63, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 6334, 3, 7, 425, 18, 88, 15, 31, 1, -100,...
combined , how many winning golfers does england and wales have in the masters ?
CREATE TABLE table_204_396 ( id number, "country" text, "masters" number, "u.s. open" number, "the open" number, "pga" number, "total" number )
SELECT SUM("masters") FROM table_204_396 WHERE "country" IN ('england', 'wales')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 4314, 41, 3, 23, 26, 381, 6, 96, 17529, 121, 1499, 6, 96, 7429, 7, 121, 381, 6, 96, 76, 5, 7, 5, 539, 121, 381, 6, 96, 532, 539, 121, 381, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 7429, 7, 8512, 21680, 953, 834, 26363, 834, 519, 4314, 549, 17444, 427, 96, 17529, 121, 3388, 41, 31, 4606, 40, 232, 31, 6, 3, 31, 210, 4529, 31, 61, 1, -100, -100, -100, -100, -100, -100, -...
What is the nickname of staff with first name as Janessa and last name as Sawayn?
CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE staff ( staff_id number, staff_address_id number, nickname text, first_name text, middle_name text, last_name text, date_of_birth time, date_joined_staff time, date_left_staff time ) CREATE TABLE...
SELECT nickname FROM staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3203, 41, 1689, 834, 23, 26, 381, 6, 1689, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 871, 41, 871, 834, 23, 26, 381, 6, 871, 834, 9, 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, 24649, 21680, 871, 549, 17444, 427, 166, 834, 4350, 3274, 96, 683, 9, 655, 9, 121, 3430, 336, 834, 4350, 3274, 96, 134, 8006, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the circuit held on 15 april?
CREATE TABLE table_77934 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text )
SELECT "Circuit" FROM table_77934 WHERE "Date" = '15 april'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 4271, 591, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23, 52, 21560, 121, 21680, 953, 834, 4013, 4271, 591, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1808, 3, 9, 2246, 40, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Cardinalatial Title has an Elevator of pope eugenius iv?
CREATE TABLE table_5554 ( "Elector" text, "Nationality" text, "Cardinalatial Title" text, "Elevated" text, "Elevator" text )
SELECT "Cardinalatial Title" FROM table_5554 WHERE "Elevator" = 'pope eugenius iv'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 5062, 41, 96, 21543, 127, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 6936, 26, 10270, 9, 10646, 11029, 121, 1499, 6, 96, 427, 10912, 920, 121, 1499, 6, 96, 427...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6936, 26, 10270, 9, 10646, 11029, 121, 21680, 953, 834, 3769, 5062, 549, 17444, 427, 96, 427, 10912, 1016, 121, 3274, 3, 31, 9791, 15, 3, 15, 12972, 22901, 3, 23, 208, 31, 1, -100, -100, -100, -100, -100, -100...
What score has zadar as the tournament?
CREATE TABLE table_name_27 ( score VARCHAR, tournament VARCHAR )
SELECT score FROM table_name_27 WHERE tournament = "zadar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 2604, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 65, 3, 1629, 3439, 38, 8, 5892, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 5892, 3274, 96, 1629, 3439, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
CREATE TABLE table_60944 ( "Place" real, "Nation" text, "All Around" real, "Final" real, "Total" real )
SELECT SUM("Final") FROM table_60944 WHERE "Place" > '2' AND "Nation" = 'finland' AND "All Around" > '18.9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4240, 591, 41, 96, 345, 11706, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 6838, 16140, 121, 490, 6, 96, 371, 10270, 121, 490, 6, 96, 3696, 1947, 121, 490, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 371, 10270, 8512, 21680, 953, 834, 3328, 4240, 591, 549, 17444, 427, 96, 345, 11706, 121, 2490, 3, 31, 357, 31, 3430, 96, 567, 257, 121, 3274, 3, 31, 89, 25948, 31, 3430, 96, 6838, 16140, 121,...
If it is possible to increase the number of police officers, which place is with the first priority?
CREATE TABLE greatermanchestercrime ( crimeid text, crimets time, location text, lsoa text, type text, outcome text )
SELECT location FROM greatermanchestercrime GROUP BY location ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2123, 348, 13263, 2685, 526, 41, 5447, 23, 26, 1499, 6, 5447, 17, 7, 97, 6, 1128, 1499, 6, 3, 40, 7, 32, 9, 1499, 6, 686, 1499, 6, 6138, 1499, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 21680, 2123, 348, 13263, 2685, 526, 350, 4630, 6880, 272, 476, 1128, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and price , and group by attribute name, show Y-axis from low to high order.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Price
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 6, 332, 5411, 345, 4920, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 541...
Which is the lowest round to have a pick of 12 and position of linebacker?
CREATE TABLE table_name_86 (round INTEGER, pick__number VARCHAR, position VARCHAR)
SELECT MIN(round) FROM table_name_86 WHERE pick__number = 12 AND position = "linebacker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 7775, 3, 21342, 17966, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 19, 8, 7402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3274, 586, 3430, 1102, 3274, 96, 747, 1549, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which party had a member on August 26, 2008?
CREATE TABLE table_33495 ( "Date" text, "Name" text, "Party" text, "Province" text, "Details" text )
SELECT "Party" FROM table_33495 WHERE "Date" = 'august 26, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3710, 3301, 41, 96, 308, 342, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 2962, 5756, 7, 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, 0...
[ 3, 23143, 14196, 96, 13725, 63, 121, 21680, 953, 834, 519, 3710, 3301, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 402, 17198, 13597, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the overall rank for roland schoeman
CREATE TABLE table_name_50 ( overall_rank VARCHAR, swimmer VARCHAR )
SELECT overall_rank FROM table_name_50 WHERE swimmer = "roland schoeman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 1879, 834, 6254, 584, 4280, 28027, 6, 27424, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1879, 11003, 21, 3, 3491, 232, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1879, 834, 6254, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 27424, 3274, 96, 3491, 232, 3, 7, 3995, 15, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a scatter chart about the correlation between commission_pct and department_id .
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY...
SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 1...
List the amount of carbon emissions for models that go from 0-62 MPH in 8.5 seconds.
CREATE TABLE table_25837 ( "Model" text, "Engine" text, "Displacement" text, "Max. power output" text, "Peak torque" text, "0\u2013100km/h,s 0-62mph,s" text, "Top speed" text, "CO 2 emissions" text, "Years" text, "Note" text, "Engine code" text )
SELECT "CO 2 emissions" FROM table_25837 WHERE "0\u2013100km/h,s 0-62mph,s" = '8.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3449, 4118, 41, 96, 24663, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 23664, 11706, 297, 121, 1499, 6, 96, 21298, 5, 579, 3911, 121, 1499, 6, 96, 345, 15, 1639, 1952...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5911, 204, 9830, 121, 21680, 953, 834, 357, 3449, 4118, 549, 17444, 427, 96, 632, 2, 76, 11138, 2915, 5848, 87, 107, 6, 7, 3, 9498, 4056, 7656, 6, 7, 121, 3274, 3, 31, 19253, 31, 1, -100, -100, -100, -100, ...
What District has a Location of tharamani?
CREATE TABLE table_name_24 (district VARCHAR, location VARCHAR)
SELECT district FROM table_name_24 WHERE location = "tharamani"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 26, 23, 20066, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3570, 65, 3, 9, 10450, 13, 3, 17, 14888, 348, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1128, 3274, 96, 17, 14888, 348, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the first elected year of the district that Ed Towns is an incumbent of?
CREATE TABLE table_1341453_34 ( first_elected VARCHAR, incumbent VARCHAR )
SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 4867, 834, 3710, 41, 166, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 166, 8160, 215, 13, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 19971, 21680, 953, 834, 23747, 2534, 4867, 834, 3710, 549, 17444, 427, 28406, 3274, 96, 427, 26, 4463, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the date of the Greater Greensboro Chrysler Classic?
CREATE TABLE table_75100 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real )
SELECT "Date" FROM table_75100 WHERE "Tournament" = 'greater greensboro chrysler classic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 2915, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 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, 308, 342, 121, 21680, 953, 834, 3072, 2915, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 20288, 49, 1442, 7, 14901, 3, 524, 651, 7, 1171, 2431, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many visitors in 2007 were there for ski jumping hill?
CREATE TABLE table_name_10 (_2007 VARCHAR, visitors INTEGER, type VARCHAR)
SELECT SUM(visitors), _2007 FROM table_name_10 WHERE type = "ski jumping hill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 834, 20615, 584, 4280, 28027, 6, 2692, 3, 21342, 17966, 6, 686, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2692, 16, 4101, 130, 132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 3466, 23, 5535, 201, 3, 834, 20615, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 686, 3274, 96, 4009, 15539, 9956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many results of the count of Latin Americans in Yukon in 2001 are there?
CREATE TABLE table_1939405_2 (latin_americans_2001 VARCHAR, province VARCHAR)
SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3288, 591, 3076, 834, 357, 41, 14098, 834, 23064, 29, 7, 834, 23658, 584, 4280, 28027, 6, 7985, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 772, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14098, 834, 23064, 29, 7, 834, 23658, 61, 21680, 953, 834, 2294, 3288, 591, 3076, 834, 357, 549, 17444, 427, 7985, 3274, 96, 476, 1598, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the rings are 60.500, what is the parallel bars number?
CREATE TABLE table_18662026_1 (parallel_bars VARCHAR, rings VARCHAR)
SELECT parallel_bars FROM table_18662026_1 WHERE rings = "60.500"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25398, 26898, 2688, 834, 536, 41, 1893, 13701, 40, 834, 1047, 7, 584, 4280, 28027, 6, 10631, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 10631, 33, 1640, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8449, 834, 1047, 7, 21680, 953, 834, 25398, 26898, 2688, 834, 536, 549, 17444, 427, 10631, 3274, 96, 3328, 5, 2560, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What player was chosen for the Chicago Sky?
CREATE TABLE table_name_57 (player VARCHAR, wnba_team VARCHAR)
SELECT player FROM table_name_57 WHERE wnba_team = "chicago sky"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 20846, 584, 4280, 28027, 6, 3, 210, 29, 115, 9, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 47, 3934, 21, 8, 3715, 5643...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 3, 210, 29, 115, 9, 834, 11650, 3274, 96, 1436, 658, 839, 5796, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What won best pc demo when tower power (camelot) won best c64 demo?
CREATE TABLE table_27181 ( "Year" text, "Amiga demo" text, "PC demo" text, "C64 demo" text, "Amiga intro" text, "PC intro" text )
SELECT "PC demo" FROM table_27181 WHERE "C64 demo" = 'Tower Power (Camelot)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2606, 536, 41, 96, 476, 2741, 121, 1499, 6, 96, 8123, 12581, 8698, 121, 1499, 6, 96, 4051, 8698, 121, 1499, 6, 96, 254, 4389, 8698, 121, 1499, 6, 96, 8123, 12581, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4051, 8698, 121, 21680, 953, 834, 2555, 2606, 536, 549, 17444, 427, 96, 254, 4389, 8698, 121, 3274, 3, 31, 3696, 3321, 2621, 41, 254, 265, 15, 3171, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the crowd with Away team of hawthorn?
CREATE TABLE table_name_94 ( crowd INTEGER, away_team VARCHAR )
SELECT AVG(crowd) FROM table_name_94 WHERE away_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 4374, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4374, 28, 71, 1343, 372, 13, 4244, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the total number of home games played ?
CREATE TABLE table_203_534 ( id number, "week" number, "date" text, "opponent" text, "home/away" text, "result" text, "bye" text )
SELECT COUNT(*) FROM table_203_534 WHERE "home/away" = 'home'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3710, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 5515, 87, 8006, 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, 23330, 834, 755, 3710, 549, 17444, 427, 96, 5515, 87, 8006, 121, 3274, 3, 31, 5515, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R?
CREATE TABLE table_77382 ( "Tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text...
SELECT "2002" FROM table_77382 WHERE "1994" = 'a' AND "1989" = 'nme' AND "1999" = '2r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 3747, 357, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4060, 121, 1499, 6, 96, 2294, 3914, 121, 1499, 6, 96, 2294, 2394, 121, 1499, 6, 96, 2294, 4729, 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, 24898, 121, 21680, 953, 834, 4013, 3747, 357, 549, 17444, 427, 96, 19479, 20364, 3274, 3, 31, 9, 31, 3430, 96, 2294, 3914, 121, 3274, 3, 31, 29, 526, 31, 3430, 96, 2294, 3264, 121, 3274, 3, 31, 357, 52, 31, ...
Which venues closed in the 1990s?
CREATE TABLE table_name_76 ( venue VARCHAR, closed VARCHAR )
SELECT venue FROM table_name_76 WHERE closed = "1990s"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 5669, 584, 4280, 28027, 6, 3168, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 11778, 3168, 16, 8, 5541, 7, 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, 5669, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 3168, 3274, 96, 2294, 2394, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the opponent which has a home/away of home and date of july 27
CREATE TABLE table_name_9 ( opponent VARCHAR, home_away VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_9 WHERE home_away = "home" AND date = "july 27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 15264, 584, 4280, 28027, 6, 234, 834, 8006, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 15264, 84, 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, 15264, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 234, 834, 8006, 3274, 96, 5515, 121, 3430, 833, 3274, 96, 2047, 120, 2307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
13.7 million watched the 22nd year . how many watched the previous year ?
CREATE TABLE table_204_996 ( id number, "no." text, "air date" text, "network" text, "household\nrating" number, "viewers\n(millions)" text )
SELECT "viewers\n(millions)" FROM table_204_996 WHERE "no." = 22 - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3264, 948, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 1499, 6, 96, 2256, 833, 121, 1499, 6, 96, 1582, 1981, 121, 1499, 6, 96, 1840, 6134, 2, 29, 52, 1014, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4576, 277, 2, 29, 599, 17030, 7, 61, 121, 21680, 953, 834, 26363, 834, 3264, 948, 549, 17444, 427, 96, 29, 32, 535, 3274, 1630, 3, 18, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which school is the player who is headed to Duke from?
CREATE TABLE table_name_68 ( school VARCHAR, college VARCHAR )
SELECT school FROM table_name_68 WHERE college = "duke"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 496, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 496, 19, 8, 1959, 113, 19, 7467, 12, 15090, 45, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1900, 3274, 96, 1259, 1050, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Score on April 6?
CREATE TABLE table_name_71 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_71 WHERE date = "april 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17763, 30, 1186, 431, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 431, 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 highest grid when the race was retired due to the gearbox after 67 laps?
CREATE TABLE table_name_70 ( grid INTEGER, time_retired VARCHAR, laps VARCHAR )
SELECT MAX(grid) FROM table_name_70 WHERE time_retired = "gearbox" AND laps > 67
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 8634, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 397, 291, 2689, 121, 3430, 14941, 7, 2490, 3, 3708, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the rank of the company who has a revenue of $428.2 billion?
CREATE TABLE table_50640 ( "Rank" real, "Company" text, "Country" text, "Industry" text, "Revenue in USD" text )
SELECT COUNT("Rank") FROM table_50640 WHERE "Revenue in USD" = '$428.2 billion'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 23714, 41, 96, 22557, 121, 490, 6, 96, 5890, 2837, 63, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 1570, 8655, 8224, 121, 1499, 6, 96, 1649, 15098, 16, 9513, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 1752, 23714, 549, 17444, 427, 96, 1649, 15098, 16, 9513, 121, 3274, 3, 31, 3229, 591, 2577, 5, 357, 2108, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What team does Anthony Redmond ride for?
CREATE TABLE table_name_32 ( team VARCHAR, rider VARCHAR )
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 372, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 405, 11016, 1624, 6764, 2564, 21, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 2564, 52, 3274, 96, 152, 189, 106, 63, 1131, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many documents in different ending date? Return a bar chart binning ending date by weekday, order y-axis from low to high order.
CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTE...
SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations ORDER BY COUNT(Date_in_Locaton_To)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 834, 235, 834, 346, 834, 2962, 6626, 10093, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 2973, 26853, 834, 23602, 127, 3375, 834, 969, 834, 427, 51, 7379, 63, 15, 15, 834, 430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 77, 834, 434, 32, 2138, 106, 834, 3696, 6, 2847, 17161, 599, 308, 342, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 61, 21680, 11167, 834, 434, 32, 75, 1628, 4674, 11300, 272, 476, 2847, 17161, 599, 308...
find out the number of patients less than 79 years who have been diagnosed with wheelchair dependence.
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "79" AND diagnoses.short_title = "Wheelchair dependence"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
what was the name of the drug to which patient 015-46307 was allergic since 83 months ago.
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 TA...
SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-46307')) AND DATETIME(allergy.allergytime) >= DATETIME(CURRENT_TIME(), '...
[ 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, 23886, 5, 26, 13534, 4350, 21680, 23886, 549, 17444, 427, 23886, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, ...
What power belongs to the LP Class and has an Identifier of CBLI?
CREATE TABLE table_41022 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text )
SELECT "Power" FROM table_41022 WHERE "Class" = 'lp' AND "Identifier" = 'cbli'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24175, 2884, 41, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 21153, 7903, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 23553, 121, 1499, 6, 96, 21486, 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, 23553, 121, 21680, 953, 834, 24175, 2884, 549, 17444, 427, 96, 21486, 121, 3274, 3, 31, 40, 102, 31, 3430, 96, 21153, 7903, 121, 3274, 3, 31, 75, 7437, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Year won for the player with a larger than 4 To par and less the 157 Total?
CREATE TABLE table_41508 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real )
SELECT "Year won" FROM table_41508 WHERE "To par" > '4' AND "Total" < '157'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1808, 4018, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 751, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 121, 490, 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, 476, 2741, 751, 121, 21680, 953, 834, 591, 1808, 4018, 549, 17444, 427, 96, 3696, 260, 121, 2490, 3, 31, 591, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 27452, 31, 1, -100, -100, -100, -100, -100, -100, -10...
What is the area of Austria's territory in square kilometers?
CREATE TABLE table_24066938_1 ( area_km_2 VARCHAR, member_state VARCHAR )
SELECT area_km_2 FROM table_24066938_1 WHERE member_state = "Austria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 5176, 3951, 3747, 834, 536, 41, 616, 834, 5848, 834, 357, 584, 4280, 28027, 6, 1144, 834, 5540, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 616, 834, 5848, 834, 357, 21680, 953, 834, 2266, 5176, 3951, 3747, 834, 536, 549, 17444, 427, 1144, 834, 5540, 3274, 96, 14934, 1788, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the production number of the episode titel of pre-hysterical hare?
CREATE TABLE table_name_76 ( production_number VARCHAR, title VARCHAR )
SELECT COUNT(production_number) FROM table_name_76 WHERE title = "pre-hysterical hare"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 999, 834, 5525, 1152, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 999, 381, 13, 8, 5640, 3, 28993, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 20762, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2233, 3274, 96, 2026, 18, 107, 63, 1370, 1950, 3, 3272, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many of the versions are over 6 minutes ?
CREATE TABLE table_203_289 ( id number, "version" text, "length" text, "album" text, "remixed by" text, "year" number, "comment" text )
SELECT COUNT("version") FROM table_203_289 WHERE "length" >= 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3914, 41, 3, 23, 26, 381, 6, 96, 8674, 121, 1499, 6, 96, 19457, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 60, 13682, 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, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 8674, 8512, 21680, 953, 834, 23330, 834, 357, 3914, 549, 17444, 427, 96, 19457, 121, 2490, 2423, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of Points, when Played is less than 114, when Team is Gimnasia De Jujuy, and when 1994-1995 is less than 32?
CREATE TABLE table_9671 ( "Team" text, "Average" real, "Points" real, "Played" real, "1992-93" text, "1993-94" text, "1994-1995" real )
SELECT SUM("Points") FROM table_9671 WHERE "Played" < '114' AND "Team" = 'gimnasia de jujuy' AND "1994-1995" < '32'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4314, 4450, 41, 96, 18699, 121, 1499, 6, 96, 188, 624, 545, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 19479, 7412, 4271, 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, 180, 6122, 599, 121, 22512, 7, 8512, 21680, 953, 834, 4314, 4450, 549, 17444, 427, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 18959, 31, 3430, 96, 18699, 121, 3274, 3, 31, 122, 603, 29, 15974, 20, 3, 2047, 2047, 63, ...
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?
CREATE TABLE table_name_10 ( year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR )
SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 215, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1201, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 1948, 3274, 96, 9, 5291, 3, 23074, 40, 20353, 3, 208, 927, 121, 3430, 11003, 3274, 96, 536, 7, 17, 121, 3430, 22836, 3274, 96, 9, 5291...
Give the number of elective hospital admission patients on a heparin (iabp) prescription.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND prescriptions.drug = "Heparin (IABP)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Bar chart x axis year y axis total number of avg(price), order in desc by the sum avg(price).
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases IN...
SELECT Year, SUM(AVG(Price)) FROM wine ORDER BY SUM(AVG(Price)) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 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, 2929, 6, 180, 6122, 599, 188, 17217, 599, 345, 4920, 61, 61, 21680, 2013, 4674, 11300, 272, 476, 180, 6122, 599, 188, 17217, 599, 345, 4920, 61, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose admission type is elective and insurance is medicaid?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.insurance = "Medicaid"
[ 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, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 3577, 14196, 8087, 121, 3430, 14798, 5, 29441, 3274, 96, 15789, ...
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?
CREATE TABLE table_17069 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text )
SELECT "School" FROM table_17069 WHERE "College" = 'South Carolina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2518, 3951, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 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, 29364, 121, 21680, 953, 834, 536, 2518, 3951, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 22081, 5089, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position did the player from Baylor play?
CREATE TABLE table_10015132_1 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_10015132_1 WHERE school_club_team = "Baylor"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 1808, 23757, 834, 536, 41, 4718, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 8, 1959, 45, 247...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 2915, 1808, 23757, 834, 536, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 279, 9, 63, 322, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Was there a reissue with a release date of 1954-09-04 having a production number more than 1289 and a director of Robert McKimson?
CREATE TABLE table_66357 ( "Title" text, "Series" text, "Director" text, "Production Number" real, "Release date" text, "reissue?" text )
SELECT "reissue?" FROM table_66357 WHERE "Director" = 'robert mckimson' AND "Production Number" > '1289' AND "Release date" = '1954-09-04'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 519, 3436, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 7720, 121, 490, 6, 96, 1649, 40, 14608, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 60, 13159, 4609, 21680, 953, 834, 3539, 519, 3436, 549, 17444, 427, 96, 23620, 127, 121, 3274, 3, 31, 5840, 49, 17, 3, 51, 2406, 603, 739, 31, 3430, 96, 3174, 8291, 7720, 121, 2490, 3, 31, 2122, 3914, 31, 34...
What are the top 10 states that have the highest average math score and federal revenue they got through different categories?
CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number ) CREATE TABLE finrev_fed_key_17 ( state_code number, state text, #_records text ) CREATE TABLE ndecoreexcel_math_gr...
SELECT T2.state, SUM(c14), SUM(c25) FROM finrev_fed_17 AS T1 JOIN finrev_fed_key_17 AS T2 ON T1.state_code = T2.state_code JOIN ndecoreexcel_math_grade8 AS T3 ON T2.state = T3.state GROUP BY T2.state ORDER BY T3.average_scale_score DESC LIMIT 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2202, 60, 208, 834, 19565, 834, 2517, 41, 538, 834, 4978, 381, 6, 3, 23, 26, 75, 35, 7, 302, 381, 6, 496, 834, 26, 23, 20066, 1499, 6, 3, 3772, 7, 834, 23, 26, 1499, 6, 3, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5540, 6, 180, 6122, 599, 75, 2534, 201, 180, 6122, 599, 75, 1828, 61, 21680, 2202, 60, 208, 834, 19565, 834, 2517, 6157, 332, 536, 3, 15355, 3162, 2202, 60, 208, 834, 19565, 834, 4397, 834, 2517, 6157, ...
What was the record at the game held on December 24, 2005?
CREATE TABLE table_name_11 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_11 WHERE date = "december 24, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 44, 8, 467, 1213, 30, 1882, 14320, 3105, 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, 2596, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 14320, 3105, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the president from the Union for a Popular Movement party that represents the Hautes-Alpes department?
CREATE TABLE table_76676 ( "Number" text, "D\u00e9partment (or collectivity)" text, "Pr\u00e9sident" text, "Party" text, "Since" real )
SELECT "Pr\u00e9sident" FROM table_76676 WHERE "Party" = 'union for a popular movement' AND "D\u00e9partment (or collectivity)" = 'hautes-alpes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3539, 3959, 41, 96, 567, 5937, 49, 121, 1499, 6, 96, 308, 2, 76, 1206, 15, 1298, 2274, 297, 41, 127, 2868, 10696, 61, 121, 1499, 6, 96, 345, 52, 2, 76, 1206, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 52, 2, 76, 1206, 15, 1298, 7, 4215, 121, 21680, 953, 834, 940, 3539, 3959, 549, 17444, 427, 96, 13725, 63, 121, 3274, 3, 31, 16598, 21, 3, 9, 1012, 2426, 31, 3430, 96, 308, 2, 76, 1206, 15, 1298, 2274...
what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?
CREATE TABLE table_43798 ( "Event" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Gold") FROM table_43798 WHERE "Silver" = '1' AND "Event" = '2000 summer paralympics' AND "Bronze" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4118, 3916, 41, 96, 427, 2169, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, 1947, 121, 490, 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, 71, 17217, 599, 121, 23576, 8512, 21680, 953, 834, 591, 4118, 3916, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 536, 31, 3430, 96, 427, 2169, 121, 3274, 3, 31, 13527, 1248, 3856, 120, 51, 6174, 7, 31, ...
Tell me the average wins for class of 50cc and rank of 8th
CREATE TABLE table_name_47 ( wins INTEGER, class VARCHAR, rank VARCHAR )
SELECT AVG(wins) FROM table_name_47 WHERE class = "50cc" AND rank = "8th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 9204, 3, 21342, 17966, 6, 853, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1348, 9204, 21, 853, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 853, 3274, 96, 1752, 75, 75, 121, 3430, 11003, 3274, 96, 927, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
With order number 7 and the theme is Motown, who were the original artists?
CREATE TABLE table_24428 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text )
SELECT "Original artist" FROM table_24428 WHERE "Order #" = '7' AND "Theme" = 'Motown'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3628, 2577, 41, 96, 518, 10266, 1713, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 134, 2444, 1160, 121, 1499, 6, 96, 667, 3380, 10270, 2377, 121, 1499, 6, 96, 7395...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2377, 121, 21680, 953, 834, 357, 3628, 2577, 549, 17444, 427, 96, 7395, 588, 1713, 121, 3274, 3, 31, 940, 31, 3430, 96, 634, 526, 121, 3274, 3, 31, 329, 32, 3540, 31, 1, -100, -100, -100, -...
What is the born-died that has office of 13 September 1229 as the entered?
CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR)
SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 7473, 834, 2498, 26, 584, 4280, 28027, 6, 5136, 834, 19632, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2170, 18, 2498, 26, 24, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2170, 834, 2498, 26, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 5136, 834, 19632, 3274, 96, 2368, 16022, 18247, 586, 3166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Venue has a Competition of european championships, and a Position of 7th?
CREATE TABLE table_name_22 ( venue VARCHAR, competition VARCHAR, position VARCHAR )
SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 5669, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 29940, 65, 3, 9, 15571, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 2259, 3274, 96, 28188, 152, 10183, 7, 121, 3430, 1102, 3274, 96, 940, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the played with losing bonus of 3 and points against of 426
CREATE TABLE table_6333 ( "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 "Played" FROM table_6333 WHERE "Losing bonus" = '3' AND "Points against" = '426'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4201, 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, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 15, 26, 121, 21680, 953, 834, 3891, 4201, 549, 17444, 427, 96, 434, 32, 7, 53, 4023, 121, 3274, 3, 31, 519, 31, 3430, 96, 22512, 7, 581, 121, 3274, 3, 31, 591, 2688, 31, 1, -100, -100, -100, -100, -...
who is team 1 when team 2 is usl dunkerque (d2)?
CREATE TABLE table_14203 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text )
SELECT "Team 1" FROM table_14203 WHERE "Team 2" = 'usl dunkerque (d2)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 23330, 41, 96, 18699, 209, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 536, 7, 17, 1751, 121, 1499, 6, 96, 357, 727, 1751, 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, 1...
[ 3, 23143, 14196, 96, 18699, 209, 121, 21680, 953, 834, 2534, 23330, 549, 17444, 427, 96, 18699, 204, 121, 3274, 3, 31, 302, 40, 146, 29, 2304, 835, 41, 26, 7318, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score of the game where the record was 2-2?
CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_76 WHERE record = "2-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 7, 9022, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 213, 8, 1368, 47, 3, 22451, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 1368, 3274, 96, 22451, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where was the location and what was the attendance in the game that Anthony Parker (7) earned high assists?
CREATE TABLE table_21535 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_21535 WHERE "High assists" = 'Anthony Parker (7)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1808, 2469, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 22497, 663, 121, 21680, 953, 834, 357, 1808, 2469, 549, 17444, 427, 96, 21417, 13041, 121, 3274, 3, 31, 188, 29, 189, 106, 63, 13156, 3, 24358, 31, 1, -100, -100, -100, -100, -100, -100, -100...
What is latitude when 2010 population is 24 and water is more than 0.319?
CREATE TABLE table_name_24 ( latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR )
SELECT MAX(latitude) FROM table_name_24 WHERE pop__2010_ = 24 AND water__sqmi_ > 0.319
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 50, 6592, 3, 21342, 17966, 6, 2783, 834, 834, 14926, 834, 584, 4280, 28027, 6, 387, 834, 834, 7, 1824, 51, 23, 834, 584, 4280, 28027, 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, 4800, 4, 599, 521, 6592, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 2783, 834, 834, 14926, 834, 3274, 997, 3430, 387, 834, 834, 7, 1824, 51, 23, 834, 2490, 3, 19997, 2294, 1, -100, -100, -100, -100, -1...
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the average of salary bin hire_date by weekday in a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), ...
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 145...
What is the highest population within the municipality of Porsgrunn?
CREATE TABLE table_name_28 (population INTEGER, municipality VARCHAR)
SELECT MAX(population) FROM table_name_28 WHERE municipality = "porsgrunn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 9791, 7830, 3, 21342, 17966, 6, 27597, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 2074, 441, 8, 27597, 13, 9731, 7, 9667, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 7830, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 27597, 3274, 96, 102, 127, 7, 9667, 29, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the number of gas stations for each manager in a bar chart, and show by the names in ascending.
CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE company ( Company_ID int, Rank i...
SELECT Manager_Name, COUNT(Manager_Name) FROM gas_station GROUP BY Manager_Name ORDER BY Manager_Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1807, 834, 6682, 41, 5939, 834, 4309, 16, 17, 6, 2384, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 3440, 834, 23954, 1499, 6, 8236, 834, 27272, 834, 23954, 1499, 6, 13517, 834, 23954,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3440, 834, 23954, 6, 2847, 17161, 599, 27272, 834, 23954, 61, 21680, 1807, 834, 6682, 350, 4630, 6880, 272, 476, 3440, 834, 23954, 4674, 11300, 272, 476, 3440, 834, 23954, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of rounds that UCLA has?
CREATE TABLE table_52094 ( "Round" real, "Pick" real, "Name" text, "Position" text, "School" text )
SELECT COUNT("Round") FROM table_52094 WHERE "School" = 'ucla'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25356, 4240, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 25356, 4240, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 76, 4651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which event had the record of 18 5 (1)?
CREATE TABLE table_name_18 ( event VARCHAR, record VARCHAR )
SELECT event FROM table_name_18 WHERE record = "18–5 (1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 605, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 605, 141, 8, 1368, 13, 507, 305, 5637, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1368, 3274, 96, 2606, 104, 755, 5637, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the june 14, 2009 stat where october 20, 2008 stat is november 15, 2010
CREATE TABLE table_22376 ( "Mexico" text, "Ma\u00f1ana es para siempre" text, "El Canal de las Estrellas" text, "October 20, 2008" text, "June 14, 2009" text, "Monday to Friday" text )
SELECT "June 14, 2009" FROM table_22376 WHERE "October 20, 2008" = 'November 15, 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2773, 3959, 41, 96, 329, 994, 5807, 121, 1499, 6, 96, 329, 9, 2, 76, 1206, 89, 536, 152, 9, 3, 15, 7, 3856, 108, 25569, 121, 1499, 6, 96, 10991, 18565, 20, 50, 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, 683, 444, 11363, 2464, 121, 21680, 953, 834, 357, 2773, 3959, 549, 17444, 427, 96, 28680, 16047, 2628, 121, 3274, 3, 31, 28635, 10725, 2735, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is listed as the Winners with a Year of 2005?
CREATE TABLE table_15303 ( "Year" text, "Venue" text, "Winners" text, "2nd place" text, "3rd place" text )
SELECT "Winners" FROM table_15303 WHERE "Year" = '2005'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 23335, 41, 96, 476, 2741, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 18455, 687, 7, 121, 1499, 6, 96, 357, 727, 286, 121, 1499, 6, 96, 519, 52, 26, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 7, 121, 21680, 953, 834, 1808, 23335, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 22594, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
which utility vehicle has the most number in service ?
CREATE TABLE table_204_295 ( id number, "model" text, "origin" text, "type" text, "version" text, "in service" number, "notes" text )
SELECT "model" FROM table_204_295 ORDER BY "in service" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 3301, 41, 3, 23, 26, 381, 6, 96, 21770, 121, 1499, 6, 96, 32, 3380, 77, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 8674, 121, 1499, 6, 96, 77, 313, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21770, 121, 21680, 953, 834, 26363, 834, 357, 3301, 4674, 11300, 272, 476, 96, 77, 313, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the product category description of the product category with code 'Spices'.
CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text ) CREATE TABLE products ( product_id number, color_code text, product_category_code text, product_name text, typical_buying_price text, typical_selling_price text, ...
SELECT product_category_description FROM ref_product_categories WHERE product_category_code = "Spices"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 556, 834, 31886, 3040, 7, 41, 556, 834, 23, 26, 381, 6, 16115, 834, 23, 26, 381, 6, 556, 834, 31886, 3040, 834, 12097, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 556, 834, 8367, 839, 651, 834, 221, 11830, 21680, 6273, 834, 15892, 834, 8367, 839, 2593, 549, 17444, 427, 556, 834, 8367, 839, 651, 834, 4978, 3274, 96, 134, 6174, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100,...
What is Record, when High Points is 'Ray Allen (20)'?
CREATE TABLE table_9010 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Record" FROM table_9010 WHERE "High points" = 'ray allen (20)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 1714, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 13041, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2394, 1714, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 2866, 6127, 17543, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many games did the broncos win in 1998 by more than 10 points ?
CREATE TABLE table_203_114 ( id number, "week" number, "date" text, "tv time" text, "opponent" text, "result" text, "game site" text, "record" text, "attendance" number, "bye" text )
SELECT COUNT(*) FROM table_203_114 WHERE "result" - "result" > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 18959, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 208, 97, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 18959, 549, 17444, 427, 96, 60, 7, 83, 17, 121, 3, 18, 96, 60, 7, 83, 17, 121, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Game has a Score of 101-109 (ot)?
CREATE TABLE table_47732 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT AVG("Game") FROM table_47732 WHERE "Score" = '101-109 (ot)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4013, 2668, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 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, 71, 17217, 599, 121, 23055, 8512, 21680, 953, 834, 591, 4013, 2668, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 19621, 18, 17304, 41, 32, 17, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of ground for essendon
CREATE TABLE table_20750 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Date" text, "Crowd" real )
SELECT COUNT("Ground") FROM table_20750 WHERE "Home team" = 'Essendon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 9979, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 517, 7775,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 517, 7775, 8512, 21680, 953, 834, 1755, 9979, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 427, 4932, 2029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Fred Couples' score?
CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)
SELECT COUNT(score) FROM table_name_15 WHERE player = "fred couples"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 7, 9022, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 12264, 25185, 7, 31, 2604, 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, 2847, 17161, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 1959, 3274, 96, 89, 1271, 11992, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the attendance before week 1?
CREATE TABLE table_47390 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT COUNT("Attendance") FROM table_47390 WHERE "Week" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 519, 2394, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4177, 519, 2394, 549, 17444, 427, 96, 518, 10266, 121, 3, 2, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the tie no when scunthorpe united was the away team?
CREATE TABLE table_name_6 ( tie_no VARCHAR, away_team VARCHAR )
SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 6177, 834, 29, 32, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6177, 150, 116, 3, 7, 75,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6177, 834, 29, 32, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7, 75, 202, 189, 127, 855, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Height for Years of Rockets of 2005-06?
CREATE TABLE table_name_44 ( height_in_ft VARCHAR, years_for_rockets VARCHAR )
SELECT height_in_ft FROM table_name_44 WHERE years_for_rockets = "2005-06"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 3902, 834, 77, 834, 89, 17, 584, 4280, 28027, 6, 203, 834, 1161, 834, 6133, 15, 17, 7, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 834, 77, 834, 89, 17, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 203, 834, 1161, 834, 6133, 15, 17, 7, 3274, 96, 22594, 18, 5176, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the winning driver of the Circuit of Lausitzring?
CREATE TABLE table_name_15 ( winning_driver VARCHAR, circuit VARCHAR )
SELECT winning_driver FROM table_name_15 WHERE circuit = "lausitzring"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 3447, 2535, 13, 8, 17007, 13, 184...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 4558, 3274, 96, 40, 402, 10252, 1007, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Tournament, when 2001 is "1R"?
CREATE TABLE table_name_48 (tournament VARCHAR)
SELECT tournament FROM table_name_48 WHERE 2001 = "1r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 20502, 6, 116, 4402, 19, 96, 536, 448, 121, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 4402, 3274, 96, 536, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the winning pilot for hungary
CREATE TABLE table_23498 ( "Round" real, "Location" text, "Country" text, "Date" text, "Fastest Qualifying" text, "Winning Pilot" text, "Winning Aircraft" text )
SELECT "Winning Pilot" FROM table_23498 WHERE "Country" = 'Hungary'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3710, 3916, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 371, 9, 7, 4377...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17777, 121, 21680, 953, 834, 357, 3710, 3916, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 566, 425, 1208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose year of birth is less than 1850 and diagnoses short title is intestinal obstruct nos?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "1850" AND diagnoses.short_title = "Intestinal obstruct NOS"
[ 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, 5...