NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the most gold where silver is 0?
CREATE TABLE table_name_42 (gold INTEGER, silver INTEGER)
SELECT MAX(gold) FROM table_name_42 WHERE silver < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 14910, 3, 21342, 17966, 6, 4294, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 2045, 213, 4294, 19, 3, 632, 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, 4800, 4, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 4294, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of patients whose primary disease is guillain barre syndrome and year of birth is less than 2076?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.dob_year < "2076"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 13961, 10781, 13570, 272, 4280, 4386, 180, 476, 10604, 13103, 427, 121, ...
Name the mountains classification for rabobank and damiano cunego
CREATE TABLE table_29077342_19 (mountains_classification VARCHAR, team_classification VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_29077342_19 WHERE team_classification = "Rabobank" AND general_classification = "Damiano Cunego"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 4013, 3710, 357, 834, 2294, 41, 11231, 13676, 834, 4057, 2420, 584, 4280, 28027, 6, 372, 834, 4057, 2420, 584, 4280, 28027, 6, 879, 834, 4057, 2420, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 8022, 834, 4057, 2420, 21680, 953, 834, 23838, 4013, 3710, 357, 834, 2294, 549, 17444, 427, 372, 834, 4057, 2420, 3274, 96, 448, 9008, 4739, 121, 3430, 879, 834, 4057, 2420, 3274, 96, 308, 265, 20028, 205, 444, 839, ...
What score did Ted Kroll get to come in at T2?
CREATE TABLE table_name_80 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_80 WHERE place = "t2" AND player = "ted kroll"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 7, 9022, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 410, 19332, 480, 4046, 129,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 286, 3274, 96, 17, 357, 121, 3430, 1959, 3274, 96, 1054, 3, 157, 4046, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average number of games drawn among teams that played over 14 games?
CREATE TABLE table_name_53 ( drawn INTEGER, played INTEGER )
SELECT AVG(drawn) FROM table_name_53 WHERE played > 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 6796, 3, 21342, 17966, 6, 1944, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 1031, 6796, 859, 2323, 24, 1944, 147,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19489, 29, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1944, 2490, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the average Against that has a Venue of twickenham , london on 25 november 1978?
CREATE TABLE table_65249 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text )
SELECT AVG("Against") FROM table_65249 WHERE "Venue" = 'twickenham , london' AND "Date" = '25 november 1978'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 357, 3647, 41, 96, 667, 102, 2748, 53, 2271, 121, 1499, 6, 96, 20749, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 17, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 20749, 8512, 21680, 953, 834, 4122, 357, 3647, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 17, 5981, 35, 1483, 3, 6, 3, 40, 106, 2029, 31, 3430, 96, 308, 342, 121, 3274, 3, 31,...
Which Date has a Location of davos, and a Time of 45.7?
CREATE TABLE table_name_86 (date VARCHAR, location VARCHAR, time VARCHAR)
SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 5522, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 10450, 13, 836, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1128, 3274, 96, 26, 9, 1621, 7, 121, 3430, 97, 3274, 96, 591, 27220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What tourmament has Genesis won previously?
CREATE TABLE table_548 ( "Championship" text, "Champion(s)" text, "Previous champion(s)" text, "Date Won" text, "Location" text )
SELECT "Championship" FROM table_548 WHERE "Previous champion(s)" = 'Genesis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3707, 41, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 254, 1483, 12364, 599, 7, 61, 121, 1499, 6, 96, 10572, 19117, 6336, 599, 7, 61, 121, 1499, 6, 96, 308, 342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1483, 12364, 2009, 121, 21680, 953, 834, 755, 3707, 549, 17444, 427, 96, 10572, 19117, 6336, 599, 7, 61, 121, 3274, 3, 31, 13714, 15, 7, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which conference does the school from Gainesville, Florida, play in?
CREATE TABLE table_37626 ( "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real, "Nickname" text, "Present Conference" text )
SELECT "Present Conference" FROM table_37626 WHERE "Location" = 'gainesville, florida'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3959, 2688, 41, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96, 683, 32, 630, 26, 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, 10572, 5277, 4379, 121, 21680, 953, 834, 519, 3959, 2688, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 16720, 15, 9727, 6, 12215, 26, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the names and buying prices of all the products?
CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR)
SELECT product_name, typical_buying_price FROM products
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 15892, 834, 4350, 584, 4280, 28027, 6, 4541, 834, 14584, 53, 834, 102, 4920, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3056, 11, 2611, 1596, 13, 66, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 556, 834, 4350, 6, 4541, 834, 14584, 53, 834, 102, 4920, 21680, 494, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What country is Craig Parry from?
CREATE TABLE table_60397 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_60397 WHERE "Player" = 'craig parry'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 519, 4327, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3328, 519, 4327, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 2935, 23, 122, 260, 651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What line has Newmarket Junction terminus?
CREATE TABLE table_name_4 ( line_name VARCHAR, terminus VARCHAR )
SELECT line_name FROM table_name_4 WHERE terminus = "newmarket junction"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 689, 834, 4350, 584, 4280, 28027, 6, 12089, 302, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 689, 65, 368, 8809, 29092, 12089, 302, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 689, 834, 4350, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 12089, 302, 3274, 96, 5534, 8809, 23704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which total number of starts has more than 2 wins and a money list rank greater than 1?
CREATE TABLE table_70143 ( "Year" text, "Starts" real, "Cuts made" real, "Wins" real, "Top 10" real, "Top 25" real, "Earnings (\u20ac)" real, "Money list rank" real )
SELECT COUNT("Starts") FROM table_70143 WHERE "Wins" > '2' AND "Money list rank" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 25133, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 15784, 17, 7, 263, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 335, 121, 490, 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, 2847, 17161, 599, 121, 7681, 17, 7, 8512, 21680, 953, 834, 2518, 25133, 549, 17444, 427, 96, 18455, 7, 121, 2490, 3, 31, 357, 31, 3430, 96, 9168, 15, 63, 570, 11003, 121, 2490, 3, 31, 536, 31, 1, -100, -100, -10...
How many points were there scored on October 27?
CREATE TABLE table_23308178_4 ( points INTEGER, date VARCHAR )
SELECT MAX(points) FROM table_23308178_4 WHERE date = "October 27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 4018, 27640, 834, 591, 41, 979, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 130, 132, 5799, 30, 1797, 2307, 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, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 20879, 4018, 27640, 834, 591, 549, 17444, 427, 833, 3274, 96, 28680, 2307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Country is Player Sam Snead with a To par of less than 5 from?
CREATE TABLE table_76215 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real )
SELECT "Country" FROM table_76215 WHERE "To par" < '5' AND "Player" = 'sam snead'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 357, 1808, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 490, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3959, 357, 1808, 549, 17444, 427, 96, 3696, 260, 121, 3, 2, 3, 31, 755, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 7, 265, 3, 7, 29, 15, 9, 26, 31, 1, -100, -100, -100, ...
WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2, TOTAL OF 17.85?
CREATE TABLE table_12236 ( "Rank" real, "Athlete" text, "Nanquan" real, "Nangun" real, "Total" real )
SELECT AVG("Nangun") FROM table_12236 WHERE "Rank" > '2' AND "Total" = '17.85'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 3420, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 567, 152, 4960, 29, 121, 490, 6, 96, 567, 1468, 202, 121, 490, 6, 96, 3696, 1947, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 567, 1468, 202, 8512, 21680, 953, 834, 20889, 3420, 549, 17444, 427, 96, 22557, 121, 2490, 3, 31, 357, 31, 3430, 96, 3696, 1947, 121, 3274, 3, 31, 2517, 5, 4433, 31, 1, -100, -100, -100, -100,...
count the number of patients whose procedure long title is circumcision?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Circumcision"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Find the average number of customers in all banks of Utah state.
CREATE TABLE bank ( no_of_customers INTEGER, state VARCHAR )
SELECT AVG(no_of_customers) FROM bank WHERE state = 'Utah'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 150, 834, 858, 834, 25697, 277, 3, 21342, 17966, 6, 538, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1348, 381, 13, 722, 16, 66, 5028, 13, 12339, 538, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 29, 32, 834, 858, 834, 25697, 277, 61, 21680, 2137, 549, 17444, 427, 538, 3274, 3, 31, 1265, 17, 9, 107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Add up all the Ends columns that have goals smaller than 0.
CREATE TABLE table_name_65 ( ends INTEGER, goals INTEGER )
SELECT SUM(ends) FROM table_name_65 WHERE goals < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 5542, 3, 21342, 17966, 6, 1766, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2334, 95, 66, 8, 3720, 7, 15752, 24, 43, 1766, 2755, 145, 4097, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 989, 7, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1766, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who manufactured the vehicle withdrawn after 1932?
CREATE TABLE table_name_24 (manufacturer VARCHAR, year_withdrawn INTEGER)
SELECT manufacturer FROM table_name_24 WHERE year_withdrawn > 1932
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 348, 76, 8717, 450, 49, 584, 4280, 28027, 6, 215, 834, 28032, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 2645, 9554, 8, 1689, 3, 28032, 227, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4818, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 215, 834, 28032, 2490, 957, 2668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is Charleston Southerns head coach where the result is L, 56-6?-
CREATE TABLE table_28465 ( "Year" real, "FBS Opponent" text, "Result" text, "Opponents Conference" text, "Opponents Head Coach" text, "Charleston Southerns Head Coach" text )
SELECT "Charleston Southerns Head Coach" FROM table_28465 WHERE "Result" = 'L, 56-6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4608, 4122, 41, 96, 476, 2741, 121, 490, 6, 96, 371, 4547, 4495, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 667, 102, 9977, 7, 4379, 121, 1499, 6, 96, 667, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18947, 109, 4411, 5193, 7, 3642, 9493, 121, 21680, 953, 834, 357, 4608, 4122, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 434, 6, 11526, 5783, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the number of male and female assistant professors. Plot them as bar chart.
CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Student ( StuID INTEGER, ...
SELECT Sex, COUNT(*) FROM Faculty WHERE Rank = "AsstProf" GROUP BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 834, 13725, 23, 3389, 6203, 834, 77, 41, 1699, 75, 4309, 3, 21342, 17966, 6, 1810, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 549, 17444, 427, 3, 22557, 3274, 96, 188, 7, 7, 17, 23057, 121, 350, 4630, 6880, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the area of Ulim with less than 30 villages?
CREATE TABLE table_name_53 ( land_area__km_2__ INTEGER, capital VARCHAR, villages VARCHAR )
SELECT AVG(land_area__km_2__) FROM table_name_53 WHERE capital = "ulim" AND villages < 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1322, 834, 498, 834, 834, 5848, 834, 357, 834, 834, 3, 21342, 17966, 6, 1784, 584, 4280, 28027, 6, 12293, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 40, 232, 834, 498, 834, 834, 5848, 834, 357, 834, 834, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1784, 3274, 96, 83, 603, 121, 3430, 12293, 3, 2, 604, 1, -100, -100, -100, -100, -100, ...
What's the type of the school in New London, Connecticut?
CREATE TABLE table_23270 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real )
SELECT "Type" FROM table_23270 WHERE "Location" = 'New London, Connecticut'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 17485, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25160, 121, 21680, 953, 834, 2773, 17485, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 6861, 1524, 6, 15505, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For couple Todd and Susie, what was the vote percentage?
CREATE TABLE table_23245 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text )
SELECT "Vote percentage" FROM table_23245 WHERE "Couple" = 'Todd and Susie'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23188, 2128, 41, 96, 22557, 121, 490, 6, 96, 3881, 413, 109, 121, 1499, 6, 96, 683, 13164, 7, 121, 490, 6, 96, 30931, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 553,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 32, 17, 15, 5294, 121, 21680, 953, 834, 23188, 2128, 549, 17444, 427, 96, 3881, 413, 109, 121, 3274, 3, 31, 3696, 26, 26, 11, 1923, 2452, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What home team plays at Arden Street Oval?
CREATE TABLE table_name_72 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_72 WHERE venue = "arden street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 234, 372, 4805, 44, 22635, 35, 1887, 411, 2165, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 5669, 3274, 96, 986, 35, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals?
CREATE TABLE table_42975 ( "Player" text, "Club" text, "League" real, "Play-offs" real, "FA Cup" real, "FA Trophy" real, "Total" real )
SELECT AVG("FA Cup") FROM table_42975 WHERE "Total" > '20' AND "FA Trophy" < '1' AND "League" < '25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3166, 3072, 41, 96, 15800, 49, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 2796, 9, 5398, 121, 490, 6, 96, 15800, 18, 1647, 7, 121, 490, 6, 96, 4795, 3802, 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, 4795, 3802, 8512, 21680, 953, 834, 591, 3166, 3072, 549, 17444, 427, 96, 3696, 1947, 121, 2490, 3, 31, 1755, 31, 3430, 96, 4795, 26912, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 2796, 9, 5398, 12...
what is the lowest rank when the peak position is 2, certification is platinum and the album is my december?
CREATE TABLE table_name_82 ( rank INTEGER, album VARCHAR, peak_position VARCHAR, certification VARCHAR )
SELECT MIN(rank) FROM table_name_82 WHERE peak_position = "2" AND certification = "platinum" AND album = "my december"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 11003, 3, 21342, 17966, 6, 2306, 584, 4280, 28027, 6, 6734, 834, 4718, 584, 4280, 28027, 6, 5151, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 6734, 834, 4718, 3274, 96, 357, 121, 3430, 5151, 3274, 96, 102, 14098, 440, 121, 3430, 2306, 3274, 96, 2258, 20, 75, 18247, 121, 1, -100, ...
I want the Grid for Laps of 35
CREATE TABLE table_name_97 ( grid VARCHAR, laps VARCHAR )
SELECT grid FROM table_name_97 WHERE laps = 35
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 23644, 21, 325, 102, 7, 13, 3097, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8634, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 14941, 7, 3274, 3097, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What hometown was FR Year, and ha Brown's Gymnastics club?
CREATE TABLE table_name_20 ( hometown VARCHAR, year VARCHAR, club VARCHAR )
SELECT hometown FROM table_name_20 WHERE year = "fr" AND club = "brown's gymnastics"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 22295, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 22295, 47, 3, 7422, 2929, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22295, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 215, 3274, 96, 89, 52, 121, 3430, 1886, 3274, 96, 14853, 29, 31, 7, 23379, 7636, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
list the number of patients who are male and admission type is newborn.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.admission_type = "NEWBORN"
[ 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, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 4171, 518, 8471...
What is the score on 15 Aug with a 17:30 time?
CREATE TABLE table_39777 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text, "Report" text )
SELECT "Score" FROM table_39777 WHERE "Date" = '15 aug' AND "Time" = '17:30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 26225, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 17175, 209, 121, 1499, 6, 96, 17175, 204, 121, 1499, 6, 96, 17175, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3288, 26225, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1808, 185, 122, 31, 3430, 96, 13368, 121, 3274, 3, 31, 536, 18078, 31, 1, -100, -100, -100, -100, -100, -100, -100...
what is the length (miles) when the name is l-56g?
CREATE TABLE table_name_19 (length__miles_ INTEGER, name VARCHAR)
SELECT MAX(length__miles_) FROM table_name_19 WHERE name = "l-56g"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 19457, 834, 834, 8770, 7, 834, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2475, 41, 8770, 7, 61, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 19457, 834, 834, 8770, 7, 834, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 564, 3274, 96, 40, 18, 4834, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What years did the player with a total larger than 157 have wins?
CREATE TABLE table_59210 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real )
SELECT "Year(s) won" FROM table_59210 WHERE "Total" > '157'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 15239, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 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, 476, 2741, 599, 7, 61, 751, 121, 21680, 953, 834, 3390, 15239, 549, 17444, 427, 96, 3696, 1947, 121, 2490, 3, 31, 27452, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Set 3 has a Set 1 of 25 20?
CREATE TABLE table_name_9 ( set_3 VARCHAR, set_1 VARCHAR )
SELECT set_3 FROM table_name_9 WHERE set_1 = "25–20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 356, 834, 519, 584, 4280, 28027, 6, 356, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2821, 220, 65, 3, 9, 2821, 209, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 356, 834, 519, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 356, 834, 536, 3274, 96, 1828, 104, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Player who won in 1931?
CREATE TABLE table_12877 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text )
SELECT "Player" FROM table_12877 WHERE "Year(s) won" = '1931'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 27697, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 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, 15800, 49, 121, 21680, 953, 834, 2122, 27697, 549, 17444, 427, 96, 476, 2741, 599, 7, 61, 751, 121, 3274, 3, 31, 2294, 3341, 31, 1, -100, -100, -100, -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 headquarter and the sum of price , and group by attribute headquarter, could you order bars in descending 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 Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter DESC
[ 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, 3642, 19973, 6, 180, 6122, 599, 345, 4920, 61, 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, 3642...
What team had a qual 1 of 59.895?
CREATE TABLE table_32367 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text )
SELECT "Team" FROM table_32367 WHERE "Qual 1" = '59.895'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 519, 3708, 41, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 5991, 138, 209, 121, 1499, 6, 96, 5991, 138, 204, 121, 1499, 6, 96, 17278, 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, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 2668, 519, 3708, 549, 17444, 427, 96, 5991, 138, 209, 121, 3274, 3, 31, 3390, 5, 3914, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
conferences in 2013
CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE venue ( venueid int, venue...
SELECT DISTINCT venueid FROM paper WHERE year = 2013
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 6757, 2244, 41, 1040, 23, 26, 16, 17, 6, 17953, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11858, 41, 1040, 23, 26, 16, 17, 6, 2291, 23, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 5669, 23, 26, 21680, 1040, 549, 17444, 427, 215, 3274, 2038, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 5522, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 15264, 834, 77, 834, 532, 834, 12406, 3274, 96, 89, 40, 2960, 32, 3, 3389, 32, 195, 9, 121, 1, -100, -100, -100, -100, ...
how many people had been diagnosed with hypernatremia - due to volume depletion in 2105?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtim...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'hypernatremia - due to volume depletion' AND STRFTIME('%y', diagnosis.diagnosistime) = '2105')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 8209, 5, 10061, 15129, 21545, 23, 26, 21680, 8209, 549, ...
provide the number of patients whose gender is f and lab test category is blood gas?
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.gender = "F" AND lab."CATEGORY" = "Blood Gas"
[ 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,...
For those records from the products and each product's manufacturer, show me about the distribution of headquarter and the sum of revenue , and group by attribute headquarter in a bar chart, and could you sort Y in desc 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 Headquarter, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Revenue) DESC
[ 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, 3642, 19973, 6, 180, 6122, 599, 1649, 15098, 61, 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, 36...
What incumbent has a re-elected result and first elected larger than 1884?
CREATE TABLE table_name_15 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_name_15 WHERE result = "re-elected" AND first_elected > 1884
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 77, 75, 5937, 295, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 28406, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 28406, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 741, 3274, 96, 60, 18, 19971, 121, 3430, 166, 834, 19971, 2490, 507, 4608, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose admission year is less than 2158 and procedure long title is radical neck dissection, unilateral?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2158" AND procedures.long_title = "Radical neck dissection, unilateral"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What song has 24 votes?
CREATE TABLE table_19763199_3 ( song VARCHAR, total_votes VARCHAR )
SELECT song FROM table_19763199_3 WHERE total_votes = 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 3891, 19479, 834, 519, 41, 2324, 584, 4280, 28027, 6, 792, 834, 1621, 1422, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2324, 65, 997, 11839, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 21680, 953, 834, 27181, 3891, 19479, 834, 519, 549, 17444, 427, 792, 834, 1621, 1422, 3274, 997, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are all the different descriptions for the buttonholer with cardboard box for storage and a low shank type?
CREATE TABLE table_74302 ( "For shank type" text, "Singer part number" text, "Uses templates?" text, "Description" text, "Storage case" text )
SELECT "Description" FROM table_74302 WHERE "Storage case" = 'cardboard box' AND "For shank type" = 'low'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 1458, 357, 41, 96, 3809, 6660, 5979, 686, 121, 1499, 6, 96, 134, 9963, 294, 381, 121, 1499, 6, 96, 1265, 2260, 7405, 4609, 1499, 6, 96, 2962, 11830, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2962, 11830, 121, 21680, 953, 834, 4581, 1458, 357, 549, 17444, 427, 96, 134, 235, 4843, 495, 121, 3274, 3, 31, 6043, 1976, 1367, 31, 3430, 96, 3809, 6660, 5979, 686, 121, 3274, 3, 31, 3216, 31, 1, -100, -100,...
Which Player has a School/Club Team of Illinois?
CREATE TABLE table_name_5 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_5 WHERE school_club_team = "illinois"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 20846, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 12387, 65, 3, 9, 1121, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 1092, 77, 32, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996?
CREATE TABLE table_name_63 ( match VARCHAR, city_country VARCHAR, year VARCHAR )
SELECT COUNT(match) FROM table_name_63 WHERE city_country = "karachi, pakistan" AND year > 1996
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1588, 584, 4280, 28027, 6, 690, 834, 17529, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6407, 43, 3, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 19515, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 690, 834, 17529, 3274, 96, 4031, 11015, 6, 3, 16864, 343, 152, 121, 3430, 215, 2490, 6911, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the school of Victor Jones, who was picked further than number 225?
CREATE TABLE table_name_7 ( school VARCHAR, pick VARCHAR, player VARCHAR )
SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 496, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 496, 13, 8884, 6193, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1432, 2490, 3, 20489, 3430, 1959, 3274, 96, 2099, 5317, 3, 1927, 1496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which boys' school wears Royal Blue and Gold and entered the competition in 1929?
CREATE TABLE table_40166 ( "School" text, "Location" text, "Enrolment" real, "Founded" real, "Denomination" text, "Boys/Girls" text, "Day/Boarding" text, "Year Entered Competition" real, "School Colors" text )
SELECT "School" FROM table_40166 WHERE "Boys/Girls" = 'boys' AND "Year Entered Competition" = '1929' AND "School Colors" = 'royal blue and gold'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20016, 3539, 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, 96, 29364, 121, 21680, 953, 834, 20016, 3539, 549, 17444, 427, 96, 279, 32, 63, 7, 87, 517, 23, 52, 40, 7, 121, 3274, 3, 31, 7531, 7, 31, 3430, 96, 476, 2741, 695, 11196, 15571, 121, 3274, 3, 31, 2294, 3166, 3...
Find the common personal name of course authors and students.
CREATE TABLE student_course_enrolment ( registration_id number, student_id number, course_id number, date_of_enrolment time, date_of_completion time ) CREATE TABLE subjects ( subject_id number, subject_name text ) CREATE TABLE course_authors_and_tutors ( author_id number, author_tu...
SELECT personal_name FROM course_authors_and_tutors INTERSECT SELECT personal_name FROM students
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 834, 19221, 834, 35, 3491, 297, 41, 3816, 834, 23, 26, 381, 6, 1236, 834, 23, 26, 381, 6, 503, 834, 23, 26, 381, 6, 833, 834, 858, 834, 35, 3491, 297, 97, 6, 833, 834, 85...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 525, 834, 4350, 21680, 503, 834, 17415, 7, 834, 232, 834, 17, 76, 5535, 3, 21342, 5249, 14196, 3, 23143, 14196, 525, 834, 4350, 21680, 481, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the BBI whent the economy is 5.68?
CREATE TABLE table_30800 ( "Player" text, "Matches" real, "Overs" text, "Wickets" real, "Average" text, "Economy" text, "BBI" text, "4wi" real )
SELECT "BBI" FROM table_30800 WHERE "Economy" = '5.68'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 6192, 41, 96, 15800, 49, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 23847, 7, 121, 1499, 6, 96, 518, 447, 8044, 7, 121, 490, 6, 96, 188, 624, 545, 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, 7640, 196, 121, 21680, 953, 834, 1458, 6192, 549, 17444, 427, 96, 427, 12036, 63, 121, 3274, 3, 31, 9125, 3651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average total with a nation of thailand with a gold smaller than 17?
CREATE TABLE table_name_54 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_54 WHERE nation = "thailand" AND gold < 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 235, 1947, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 792, 28, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 2982, 3274, 96, 189, 9, 173, 232, 121, 3430, 2045, 3, 2, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the countries that have both managers of age above 50 and managers of age below 46.
CREATE TABLE manager ( Country VARCHAR, Age INTEGER )
SELECT Country FROM manager WHERE Age > 50 INTERSECT SELECT Country FROM manager WHERE Age < 46
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2743, 41, 6993, 584, 4280, 28027, 6, 7526, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 1440, 24, 43, 321, 5903, 13, 1246, 756, 943, 11, 5903, 13, 1246, 666, 9668,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6993, 21680, 2743, 549, 17444, 427, 7526, 2490, 943, 3, 21342, 5249, 14196, 3, 23143, 14196, 6993, 21680, 2743, 549, 17444, 427, 7526, 3, 2, 9668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is diagnoses short title and diagnoses long title of diagnoses icd9 code e912?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT diagnoses.short_title, diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "E912"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 7, 14184, 834, 21869, 6, 18730, 7, 5, 2961, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 447, 26, 1298, 834, 4978, 3274, 96, 427, 4729, 357, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the pole position of the Portuguese Grand Prix?
CREATE TABLE table_name_54 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_54 WHERE grand_prix = "portuguese grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 14332, 834, 4718, 584, 4280, 28027, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11148, 1102, 13, 8, 21076, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11148, 834, 4718, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 1493, 76, 15991, 15, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
is the sample size of siena more or less than the sample size of quinnipiac ?
CREATE TABLE table_204_481 ( id number, "poll source" text, "date(s)\nadministered" text, "sample\nsize" number, "margin of\nerror" text, "andrew\ncuomo (d)" text, "rob\nastorino (r)" text, "other" text, "undecided" text )
SELECT (SELECT "sample\nsize" FROM table_204_481 WHERE "poll source" = 'siena') > (SELECT "sample\nsize" FROM table_204_481 WHERE "poll source" = 'quinnipiac')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3707, 536, 41, 3, 23, 26, 381, 6, 96, 3233, 40, 1391, 121, 1499, 6, 96, 5522, 599, 7, 61, 2, 29, 9, 26, 17791, 15, 26, 121, 1499, 6, 96, 7, 9, 9208, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 7, 9, 9208, 2, 29, 7991, 121, 21680, 953, 834, 26363, 834, 3707, 536, 549, 17444, 427, 96, 3233, 40, 1391, 121, 3274, 3, 31, 7, 23, 35, 9, 31, 61, 2490, 41, 23143, 14196, 96, 7, 9, 9208, ...
Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations?
CREATE TABLE table_name_7 (chinese VARCHAR, chapter VARCHAR, english_translation VARCHAR)
SELECT chinese FROM table_name_7 WHERE chapter > 4 AND english_translation = "food transformations"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1436, 1496, 15, 584, 4280, 28027, 6, 5800, 584, 4280, 28027, 6, 22269, 834, 7031, 6105, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 1436, 1496, 15, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 5800, 2490, 314, 3430, 22269, 834, 7031, 6105, 3274, 96, 12437, 6586, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the Event with a venue that was in toronto, canada?
CREATE TABLE table_name_62 ( event VARCHAR, venue VARCHAR )
SELECT event FROM table_name_62 WHERE venue = "toronto, canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 605, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 8042, 28, 3, 9, 5669, 24, 47, 16, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 5669, 3274, 96, 235, 4438, 32, 6, 19343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what are name and phone number of patients who had more than one appointment?
CREATE TABLE appointment ( patient VARCHAR ) CREATE TABLE patient ( ssn VARCHAR )
SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4141, 41, 1868, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 3, 7, 7, 29, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 6, 951, 21680, 4141, 6157, 332, 536, 3, 15355, 3162, 1868, 6157, 332, 357, 9191, 332, 5411, 10061, 3274, 332, 4416, 7, 7, 29, 350, 4630, 6880, 272, 476, 332, 5411, 10061, 454, 6968, 2365, 2847, 17161, 599, 1935...
what is the club when the runners-up is 1 and the last final won is 1999?
CREATE TABLE table_name_35 ( club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR )
SELECT club FROM table_name_35 WHERE runners_up = 1 AND last_final_won = "1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 1886, 584, 4280, 28027, 6, 16448, 834, 413, 584, 4280, 28027, 6, 336, 834, 12406, 834, 210, 106, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1886, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 16448, 834, 413, 3274, 209, 3430, 336, 834, 12406, 834, 210, 106, 3274, 96, 2294, 3264, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Score that has a Result of 2 1 on 5 july 2007?
CREATE TABLE table_38980 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Score" FROM table_38980 WHERE "Result" = '2–1' AND "Date" = '5 july 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3914, 2079, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 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, 134, 9022, 121, 21680, 953, 834, 519, 3914, 2079, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 357, 104, 536, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 755, 3, 2047, 120, 4101, 31, 1, -100, -100, -100, -100...
how many strikes had above 200,000 members affected ?
CREATE TABLE table_203_759 ( id number, "year" number, "company" text, "number of members affected" number, "duration of strike" text, "notes" text )
SELECT COUNT(*) FROM table_203_759 WHERE "number of members affected" > 200000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 3390, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 29179, 121, 1499, 6, 96, 5525, 1152, 13, 724, 4161, 121, 381, 6, 96, 1259, 2661, 13, 6585, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 940, 3390, 549, 17444, 427, 96, 5525, 1152, 13, 724, 4161, 121, 2490, 2766, 1206, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the number of patients who stayed in the hospital for more than 14 days and were lab tested for immunoglobulin m.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "14" AND lab.label = "Immunoglobulin M"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What are the name of the players who received a card in descending order of the hours of training?
CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text )
SELECT pname FROM player WHERE ycard = 'yes' ORDER BY hs DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 3, 75, 4350, 1499, 6, 538, 1499, 6, 3, 35, 52, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3, 12417, 381, 6, 3, 102, 4350, 1499, 6, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 102, 4350, 21680, 1959, 549, 17444, 427, 3, 63, 6043, 3274, 3, 31, 10070, 31, 4674, 11300, 272, 476, 3, 107, 7, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the driver of the european grand prix?
CREATE TABLE table_192 ( "Round" real, "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text )
SELECT "Winning Driver" FROM table_192 WHERE "Grand Prix" = 'European Grand Prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19978, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 4744, 727, 12942, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 121, 1499, 6, 96, 518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10503, 10546, 121, 21680, 953, 834, 19978, 549, 17444, 427, 96, 4744, 727, 12942, 121, 3274, 3, 31, 11351, 152, 2698, 12942, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the least number of miss united continents?
CREATE TABLE table_17522854_6 ( miss_united_continent INTEGER )
SELECT MIN(miss_united_continent) FROM table_17522854_6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 5373, 2577, 5062, 834, 948, 41, 3041, 834, 15129, 15, 26, 834, 27339, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 709, 381, 13, 3041, 18279, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 11502, 834, 15129, 15, 26, 834, 27339, 61, 21680, 953, 834, 2517, 5373, 2577, 5062, 834, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When laps are less than 80 and Bruce mclaren is the driver, what is the grid?
CREATE TABLE table_name_58 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_58 WHERE laps < 80 AND driver = "bruce mclaren"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 3496, 26, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 14941, 7, 33, 705, 145, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8634, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 14941, 7, 3, 2, 2775, 3430, 2535, 3274, 96, 9052, 565, 3, 51, 23982, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
subject has a clinical diagnosis of sepsis or septic shock
CREATE TABLE table_train_50 ( "id" int, "raynaud_syndrome" bool, "active_infection" bool, "antibiotic_treatment" bool, "receiving_vasopressor" bool, "sepsis" bool, "vasospastic_diathesis" bool, "organ_failure" bool, "septic_shock" bool, "NOUSE" float )
SELECT * FROM table_train_50 WHERE sepsis = 1 OR septic_shock = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 1752, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2866, 29, 402, 26, 834, 7, 63, 727, 11956, 121, 3, 12840, 40, 6, 96, 6645, 834, 77, 17856, 121, 3, 12840, 40, 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, 1429, 21680, 953, 834, 9719, 834, 1752, 549, 17444, 427, 142, 102, 7, 159, 3274, 209, 4674, 3, 7, 14629, 834, 7, 19076, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number with the builder hunslet and a works number greater than 822?
CREATE TABLE table_name_62 (number VARCHAR, builder VARCHAR, works_number VARCHAR)
SELECT COUNT(number) FROM table_name_62 WHERE builder = "hunslet" AND works_number > 822
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 5525, 1152, 584, 4280, 28027, 6, 918, 49, 584, 4280, 28027, 6, 930, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 918, 49, 3274, 96, 107, 202, 7, 1655, 121, 3430, 930, 834, 5525, 1152, 2490, 505, 2884, 1, -100, -100, -100, -100, -100, -100, -10...
Which episode was directed by Jeff Woolnough and written by Christopher Ambrose?
CREATE TABLE table_29041 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Title" FROM table_29041 WHERE "Directed by" = 'Jeff Woolnough' AND "Written by" = 'Christopher Ambrose'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 4853, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 23838, 4853, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 7851, 89, 89, 19690, 29, 4607, 31, 3430, 96, 24965, 324, 57, 121, 3274, 3, 31, 20941, 10775, 49, 73...
Name the song for points less than 16 and draw less than 3
CREATE TABLE table_34578 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" real )
SELECT "Song" FROM table_34578 WHERE "Points" < '16' AND "Draw" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2128, 3940, 41, 96, 308, 10936, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 11706, 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, 96, 134, 2444, 121, 21680, 953, 834, 519, 2128, 3940, 549, 17444, 427, 96, 22512, 7, 121, 3, 2, 3, 31, 2938, 31, 3430, 96, 308, 10936, 121, 3, 2, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
how long was harald v of norway the king of norway at the university of oxford ?
CREATE TABLE table_203_640 ( id number, "name" text, "college" text, "years" text, "reign" text )
SELECT "years" - "years" FROM table_203_640 WHERE "name" = 'harald v of norway'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 23714, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 3297, 7883, 121, 1499, 6, 96, 1201, 7, 121, 1499, 6, 96, 60, 3191, 121, 1499, 3, 61, 3, 32102, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1201, 7, 121, 3, 18, 96, 1201, 7, 121, 21680, 953, 834, 23330, 834, 23714, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 3272, 138, 26, 3, 208, 13, 3701, 1343, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
Which Runner-up played in the Season of 2000–01?
CREATE TABLE table_name_72 (runner_up VARCHAR, season VARCHAR)
SELECT runner_up FROM table_name_72 WHERE season = "2000–01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 10806, 834, 413, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 23572, 18, 413, 1944, 16, 8, 7960, 13, 2766, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 10806, 834, 413, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 774, 3274, 96, 13527, 104, 4542, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses?
CREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR)
SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 1996, 9, 1795, 834, 89, 40, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1996, 9, 1795, 834, 89, 40, 3274, 96, 16948, 62, 727, 1211, 15, 15, 121, 3430, 8467, 2490, 489, 1, -100, -100, -100, -100, -...
What is the type where the name is bojan?
CREATE TABLE table_11891841_2 ( type VARCHAR, name VARCHAR )
SELECT type FROM table_11891841_2 WHERE name = "Bojan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3914, 2606, 4853, 834, 357, 41, 686, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 686, 213, 8, 564, 19, 3005, 7066, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 686, 21680, 953, 834, 2596, 3914, 2606, 4853, 834, 357, 549, 17444, 427, 564, 3274, 96, 279, 32, 7066, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which record had a visitor of New Jersey Devils on May 7?
CREATE TABLE table_45399 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Record" FROM table_45399 WHERE "Visitor" = 'new jersey devils' AND "Date" = 'may 7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 519, 3264, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 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, 1649, 7621, 121, 21680, 953, 834, 2128, 519, 3264, 549, 17444, 427, 96, 553, 159, 155, 127, 121, 3274, 3, 31, 5534, 13426, 20, 6372, 7, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 13726, 489, 31, 1, -100, -100...
What train number is heading to amritsar?
CREATE TABLE table_12095519_1 ( train_no VARCHAR, destination VARCHAR )
SELECT train_no FROM table_12095519_1 WHERE destination = "Amritsar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4198, 3769, 2294, 834, 536, 41, 2412, 834, 29, 32, 584, 4280, 28027, 6, 3954, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2412, 381, 19, 6904, 12, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2412, 834, 29, 32, 21680, 953, 834, 2122, 4198, 3769, 2294, 834, 536, 549, 17444, 427, 3954, 3274, 96, 8123, 52, 7085, 291, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the highest number of goals for a game held at Hannover?
CREATE TABLE table_name_27 ( goal INTEGER, venue VARCHAR )
SELECT MAX(goal) FROM table_name_27 WHERE venue = "hannover"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 1288, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 381, 13, 1766, 21, 3, 9, 467, 1213, 44, 235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 839, 138, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 5669, 3274, 96, 2618, 29, 1890, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the order number for songs by the original artist Luis Fonsi?
CREATE TABLE table_12175755_1 ( order__number VARCHAR, original_artist VARCHAR )
SELECT order__number FROM table_12175755_1 WHERE original_artist = "Luis Fonsi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2517, 3436, 3769, 834, 536, 41, 455, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 926, 834, 1408, 343, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 455, 834, 834, 5525, 1152, 21680, 953, 834, 2122, 2517, 3436, 3769, 834, 536, 549, 17444, 427, 926, 834, 1408, 343, 3274, 96, 434, 76, 159, 377, 106, 7, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum number of starts?
CREATE TABLE table_4274 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT MAX("Starts") FROM table_4274
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 4581, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 6, 96, 893...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7681, 17, 7, 8512, 21680, 953, 834, 4165, 4581, 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, -10...
how many male patients have 3799 as the procedure icd9 code?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.icd9_code = "3799"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who had a time of 26.11?
CREATE TABLE table_name_39 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_39 WHERE time = "26.11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 4350, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 3, 9, 97, 13, 2208, 5, 2596, 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, 564, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 97, 3274, 96, 2688, 5, 2596, 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 name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?
CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)
SELECT shortstop FROM table_name_40 WHERE catcher = "johnny roseboro" AND third_baseman = "jim lefebvre" AND second_baseman = "nate oliver"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 7, 14184, 7618, 584, 4280, 28027, 6, 511, 834, 10925, 348, 584, 4280, 28027, 6, 3, 27073, 584, 4280, 28027, 6, 1025, 834, 10925, 348, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 710, 7618, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3, 27073, 3274, 96, 27341, 29, 63, 4659, 14901, 121, 3430, 1025, 834, 10925, 348, 3274, 96, 354, 603, 90, 89, 15, 115, 10859, 121, 3430, 511, 834, 10925,...
Name the air date for uk17
CREATE TABLE table_23414 ( "No. overall" text, "No. in series" real, "Family/families" text, "Location(s)" text, "Original air date" text )
SELECT "Original air date" FROM table_23414 WHERE "No. overall" = 'UK17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3710, 2534, 41, 96, 4168, 5, 1879, 121, 1499, 6, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 371, 3690, 120, 87, 89, 3690, 4664, 121, 1499, 6, 96, 434, 32, 75, 257, 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, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 357, 3710, 2534, 549, 17444, 427, 96, 4168, 5, 1879, 121, 3274, 3, 31, 15787, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which average attendance has stoneman (0-2) as the loss?
CREATE TABLE table_name_18 ( attendance INTEGER, loss VARCHAR )
SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 11364, 3, 21342, 17966, 6, 1453, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1348, 11364, 65, 3372, 348, 17482, 18, 7318, 38, 8, 1453, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1453, 3274, 96, 3009, 348, 17482, 18, 7318, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Round when the value for Fixtures is 2?
CREATE TABLE table_name_31 (round VARCHAR, fixtures VARCHAR)
SELECT round FROM table_name_31 WHERE fixtures = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 7775, 584, 4280, 28027, 6, 14613, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9609, 116, 8, 701, 21, 14269, 10471, 19, 204, 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, 1751, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 14613, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What 50 yard Freestyle has a 100 yard Butterfly of diving?
CREATE TABLE table_59616 ( "Combined" text, "50 yard Freestyle" text, "100 yard Freestyle" text, "200 yard Freestyle" text, "500 yard Freestyle" text, "100 yard Backstroke" text, "100 yard Butterfly" text )
SELECT "50 yard Freestyle" FROM table_59616 WHERE "100 yard Butterfly" = 'diving'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 948, 2938, 41, 96, 28257, 121, 1499, 6, 96, 1752, 6178, 1443, 4084, 121, 1499, 6, 96, 2915, 6178, 1443, 4084, 121, 1499, 6, 96, 3632, 6178, 1443, 4084, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1752, 6178, 1443, 4084, 121, 21680, 953, 834, 3390, 948, 2938, 549, 17444, 427, 96, 2915, 6178, 30946, 121, 3274, 3, 31, 8481, 53, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, show me about the distribution of name and price , and group by attribute name in a bar chart, show by the X in asc please.
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.Name
[ 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 artists won in 2008 and 2009 respectively ?
CREATE TABLE table_204_655 ( id number, "year" number, "winner" text, "album" text, "other finalists" text )
SELECT "winner" FROM table_204_655 WHERE "year" IN (2008, 2009)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4122, 755, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 3757, 687, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 9269, 3, 28077, 121, 1499, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 3757, 687, 121, 21680, 953, 834, 26363, 834, 4122, 755, 549, 17444, 427, 96, 1201, 121, 3388, 41, 16128, 6, 2464, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which awards happened more recently than 2005?
CREATE TABLE table_name_33 ( awards VARCHAR, year INTEGER )
SELECT awards FROM table_name_33 WHERE year > 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 6120, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 6120, 2817, 72, 1310, 145, 3105, 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, 6120, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 215, 2490, 3105, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Competition has a Score of 0-1, and Opponents of pkns fc?
CREATE TABLE table_name_33 (competition VARCHAR, score VARCHAR, opponents VARCHAR)
SELECT competition FROM table_name_33 WHERE score = "0-1" AND opponents = "pkns fc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 287, 4995, 4749, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 15571, 65, 3, 9, 17763...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 2604, 3274, 96, 632, 2292, 121, 3430, 16383, 3274, 96, 102, 157, 29, 7, 3, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the common name for furcifer pardalis
CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR)
SELECT common_name FROM table_175442_1 WHERE scientific_name = "Furcifer pardalis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 5062, 4165, 834, 536, 41, 287, 2157, 834, 4350, 584, 4280, 28027, 6, 4290, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1017, 564, 21, 4223,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1017, 834, 4350, 21680, 953, 834, 2517, 5062, 4165, 834, 536, 549, 17444, 427, 4290, 834, 4350, 3274, 96, 371, 450, 75, 99, 49, 260, 26, 4288, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total score when the score for floor exercise was 9.287?
CREATE TABLE table_11542215_3 (total VARCHAR, floor_exercise VARCHAR)
SELECT total FROM table_11542215_3 WHERE floor_exercise = "9.287"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 4165, 357, 1808, 834, 519, 41, 235, 1947, 584, 4280, 28027, 6, 1501, 834, 6667, 21645, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 792, 21680, 953, 834, 15660, 4165, 357, 1808, 834, 519, 549, 17444, 427, 1501, 834, 6667, 21645, 15, 3274, 96, 8797, 357, 4225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many games have a Score of 3 0, and a January larger than 12?
CREATE TABLE table_35991 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT COUNT("Game") FROM table_35991 WHERE "Score" = '3–0' AND "January" > '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3264, 536, 41, 96, 23055, 121, 490, 6, 96, 30404, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23055, 8512, 21680, 953, 834, 2469, 3264, 536, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 519, 104, 632, 31, 3430, 96, 30404, 121, 2490, 3, 31, 2122, 31, 1, -100, -100, -100, -100, -1...
What league is from the United States and a round smaller than 12.
CREATE TABLE table_5638 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text )
SELECT "College/Junior/Club Team (League)" FROM table_5638 WHERE "Nationality" = 'united states' AND "Round" < '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 3747, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, 683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9939, 7883, 87, 683, 202, 23, 127, 87, 254, 11158, 2271, 41, 2796, 9, 5398, 61, 121, 21680, 953, 834, 4834, 3747, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 448, 32...
What is the greatest goals for Curtis Davies if ends is greater than 2012?
CREATE TABLE table_name_9 (goals INTEGER, name VARCHAR, ends VARCHAR)
SELECT MAX(goals) FROM table_name_9 WHERE name = "curtis davies" AND ends > 2012
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 839, 5405, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 5542, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4016, 1766, 21, 4116, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 564, 3274, 96, 3663, 17, 159, 836, 5914, 7, 121, 3430, 5542, 2490, 1673, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What date was the final Score of 17-34?
CREATE TABLE table_11098 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text )
SELECT "Date" FROM table_11098 WHERE "Final Score" = '17-34'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19277, 3916, 41, 96, 308, 342, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 371, 10270, 17763, 121, 1499, 6, 96, 566, 3481, 2271, 121, 1499, 6, 96, 134, 17, 9, 12925,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 19277, 3916, 549, 17444, 427, 96, 371, 10270, 17763, 121, 3274, 3, 31, 2517, 18, 3710, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the round for the ufc on fox: velasquez vs. dos santos event?
CREATE TABLE table_name_8 (round INTEGER, event VARCHAR)
SELECT AVG(round) FROM table_name_8 WHERE event = "ufc on fox: velasquez vs. dos santos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 7775, 3, 21342, 17966, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1751, 21, 8, 3, 76, 89, 75, 30, 3, 20400, 10, 3, 491...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 605, 3274, 96, 76, 89, 75, 30, 3, 20400, 10, 3, 4911, 9, 7, 835, 172, 3, 208, 7, 5, 103, 7, 3, 7, 288, 32, 7, 121, 1, -100, -100,...