NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What was the pick # of the player who has a hometown/school of Atlanta, GA?
CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR)
SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = "atlanta, ga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 17967, 3, 21342, 17966, 6, 22295, 834, 6646, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1432, 1713, 13, 8, 1959, 113, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 17967, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 22295, 834, 6646, 3274, 96, 144, 6761, 9, 6, 7922, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Count the hometown by hometown using a bar chart, and could you list y axis in desc order please?
CREATE TABLE purchase ( Member_ID int, Branch_ID text, Year text, Total_pounds real ) CREATE TABLE membership_register_branch ( Member_ID int, Branch_ID text, Register_Year text ) CREATE TABLE branch ( Branch_ID int, Name text, Open_year text, Address_road text, City te...
SELECT Hometown, COUNT(Hometown) FROM member GROUP BY Hometown ORDER BY COUNT(Hometown) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1242, 41, 8541, 834, 4309, 16, 17, 6, 14009, 834, 4309, 1499, 6, 2929, 1499, 6, 9273, 834, 8861, 7, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 22149,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1210, 3540, 6, 2847, 17161, 599, 19040, 3540, 61, 21680, 1144, 350, 4630, 6880, 272, 476, 1210, 3540, 4674, 11300, 272, 476, 2847, 17161, 599, 19040, 3540, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, ...
Is prothrombin time long when thromboplastin is prolonged?
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2688, 11434, 834, 536, 41, 1409, 8514, 51, 4517, 834, 715, 584, 4280, 28027, 6, 19021, 834, 715, 584, 4280, 28027, 6, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 813, 8514, 51, 4517, 834, 715, 21680, 953, 834, 2122, 2688, 11434, 834, 536, 549, 17444, 427, 19021, 834, 715, 3274, 96, 3174, 23629, 121, 3430, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 3274, 96, 3174, 23629, 121,...
Which Taper/in that has a Small end larger than 0.7000000000000001, and a Taper of #19, and a Large end larger than 2.375?
CREATE TABLE table_76927 ( "Taper" text, "Large end" real, "Small end" real, "Length" real, "Taper/ ft" real, "Taper/ in" real, "Angle from center/\u00b0" real )
SELECT MIN("Taper/ in") FROM table_76927 WHERE "Small end" > '0.7000000000000001' AND "Taper" = '#19' AND "Large end" > '2.375'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3951, 2555, 41, 96, 382, 9, 883, 121, 1499, 6, 96, 434, 8240, 15, 414, 121, 490, 6, 96, 134, 1982, 40, 414, 121, 490, 6, 96, 434, 4606, 189, 121, 490, 6, 96, 382...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 382, 9, 883, 87, 16, 8512, 21680, 953, 834, 940, 3951, 2555, 549, 17444, 427, 96, 134, 1982, 40, 414, 121, 2490, 3, 31, 22426, 19568, 19568, 19568, 17465, 31, 3430, 96, 382, 9, 883, 121, 3274, ...
What is the winner women and third is italy and runner-up is finland?
CREATE TABLE table_17481 ( "Season" text, "Winner" text, "Runner-up" text, "Third" text, "Winner Men" text, "Winner Women" text )
SELECT "Winner Women" FROM table_17481 WHERE "Third" = 'Italy' AND "Runner-up" = 'Finland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 4959, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 18455, 687, 313...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 4047, 121, 21680, 953, 834, 27693, 4959, 549, 17444, 427, 96, 382, 9288, 26, 121, 3274, 3, 31, 196, 17, 9, 120, 31, 3430, 96, 23572, 18, 413, 121, 3274, 3, 31, 371, 25948, 31, 1, -100, -100, -100...
What was the position in 1959-1960 for the Sporting De Braga club?
CREATE TABLE table_name_19 (position_in_1959_1960 VARCHAR, clubs VARCHAR)
SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 4718, 834, 77, 834, 2294, 3390, 834, 2294, 3328, 584, 4280, 28027, 6, 8122, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 834, 77, 834, 2294, 3390, 834, 2294, 3328, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 8122, 3274, 96, 6661, 53, 20, 6397, 4711, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total series percent that has total attempted less than 49, and a percent made of 0.777
CREATE TABLE table_name_63 ( series_percent VARCHAR, total_attempted VARCHAR, percent_made VARCHAR )
SELECT COUNT(series_percent) FROM table_name_63 WHERE total_attempted < 49 AND percent_made = 0.777
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 939, 834, 883, 3728, 584, 4280, 28027, 6, 792, 834, 144, 22765, 584, 4280, 28027, 6, 1093, 834, 4725, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 10833, 7, 834, 883, 3728, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 792, 834, 144, 22765, 3, 2, 9526, 3430, 1093, 834, 4725, 3274, 4097, 26225, 1, -100, -100, -100, -100, -100, -100, -...
What is the margin of victory in a semgroup championship?
CREATE TABLE table_43394 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Margin of victory" FROM table_43394 WHERE "Tournament" = 'semgroup championship'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 3288, 591, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 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, 7286, 122, 77, 13, 6224, 121, 21680, 953, 834, 4906, 3288, 591, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 7, 15, 51, 10739, 10183, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Where the wins are 46, what is the win%?
CREATE TABLE table_40316 ( "Season" text, "Conference" text, "Division" text, "Finish" text, "Wins" text, "Losses" text, "Win%" text, "Awards" text )
SELECT "Win%" FROM table_40316 WHERE "Wins" = '46'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 25946, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 4302, 11788, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 18455, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 1454, 121, 21680, 953, 834, 2445, 25946, 549, 17444, 427, 96, 18455, 7, 121, 3274, 3, 31, 4448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose year of birth is less than 2071 and drug route is ed?
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2071" AND prescriptions.route = "ED"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who is the authority for the coed Eastbourne school?
CREATE TABLE table_name_46 ( authority VARCHAR, area VARCHAR, gender VARCHAR )
SELECT authority FROM table_name_46 WHERE area = "eastbourne" AND gender = "coed"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 5015, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 6, 7285, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 5015, 21, 8, 576, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5015, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 616, 3274, 96, 11535, 26255, 121, 3430, 7285, 3274, 96, 509, 15, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what year was there no competition for women?
CREATE TABLE table_80135 ( "Year" text, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT "Year" FROM table_80135 WHERE "Women's singles" = 'no competition'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 536, 2469, 41, 96, 476, 2741, 121, 1499, 6, 96, 329, 35, 31, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 31, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 31, 7, 1486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 2079, 536, 2469, 549, 17444, 427, 96, 518, 32, 904, 31, 7, 712, 7, 121, 3274, 3, 31, 29, 32, 2259, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What average rank that has a silver less than 0?
CREATE TABLE table_41446 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Rank") FROM table_41446 WHERE "Silver" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2534, 4448, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22557, 8512, 21680, 953, 834, 591, 2534, 4448, 549, 17444, 427, 96, 134, 173, 624, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the Opponent with a Result of l 17 24?
CREATE TABLE table_name_78 ( opponent VARCHAR, result VARCHAR )
SELECT opponent FROM table_name_78 WHERE result = "l 17–24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 15264, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4495, 9977, 28, 3, 9, 3, 20119, 13, 3, 40, 1003...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 741, 3274, 96, 40, 1003, 104, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose primary disease is acidosis and age is less than 63?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ACIDOSIS" AND demographic.age < "63"
[ 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, 188, 3597, 9857, 14408, 121, 3430, 14798, 5, 545, 3, 2, 96, 3891, 12...
what was the number of aneurysm resection / repair procedures that were performed a year before?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TAB...
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'aneurysm resection / repair' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1058, 549, 17444, 427, 1058, 5, 26889, 4350, 3274, 3, 31, 152, 1238, 63, 7, 51, 3, 60, 14309, 3, 87, 2096, 31, 3430, 309, 6048, 382, 15382, 599, 26889, 5, 26889, 715, 6, 3, 31,...
What was the date of the game that had a loss of Johnson (9-8)?
CREATE TABLE table_name_30 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_30 WHERE loss = "johnson (9-8)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 5522, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 24, 141, 3, 9, 1453, 13, 5891, 141...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 1453, 3274, 96, 27341, 739, 14156, 18, 13520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the track that hosted the Swedish Grand Prix in 1979?
CREATE TABLE table_name_79 (track VARCHAR, year VARCHAR)
SELECT track FROM table_name_79 WHERE year = "1979"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 11991, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1463, 24, 6523, 8, 16531, 2698, 12942, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1463, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 215, 3274, 96, 2294, 4440, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?
CREATE TABLE table_23285849_11 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (42)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 3449, 3647, 834, 2596, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 443, 2341, 32, 46, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 6739, 834, 23768, 61, 21680, 953, 834, 2773, 2577, 3449, 3647, 834, 2596, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 6936, 2341, 32, 11016, 8457, 7318, 121, 1, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the last_name by a bar chart, and could you display by the bar in desc please?
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal...
SELECT LAST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 12510, 834, 567, 17683, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, ...
How many attendances have 9 as the week?
CREATE TABLE table_75376 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT COUNT("Attendance") FROM table_75376 WHERE "Week" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 519, 3959, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3072, 519, 3959, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Date has Points smaller than 80, Home of Los Angeles, and a Visitor of Pittsburgh?
CREATE TABLE table_name_76 (date VARCHAR, visitor VARCHAR, points VARCHAR, home VARCHAR)
SELECT date FROM table_name_76 WHERE points < 80 AND home = "los angeles" AND visitor = "pittsburgh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 5522, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7678, 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, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 979, 3, 2, 2775, 3430, 234, 3274, 96, 2298, 11831, 15, 7, 121, 3430, 7019, 3274, 96, 5230, 17, 7289, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
What points awarded are higher than 6 but smaller than 9
CREATE TABLE table_name_51 ( points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR, points_awarded__silver_ VARCHAR )
SELECT MAX(points_awarded__platinum_) FROM table_name_51 WHERE points_awarded__gold_ = 9 AND points_awarded__silver_ > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 979, 834, 9, 28288, 834, 834, 102, 14098, 440, 834, 3, 21342, 17966, 6, 979, 834, 9, 28288, 834, 834, 14910, 834, 584, 4280, 28027, 6, 979, 834, 9, 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, 4800, 4, 599, 2700, 7, 834, 9, 28288, 834, 834, 102, 14098, 440, 834, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 979, 834, 9, 28288, 834, 834, 14910, 834, 3274, 668, 3430, 979, 834, 9, 28288, 834, 834,...
4tab of commercial broadcaster Radio Tab broadcasts at what frequency?
CREATE TABLE table_name_75 ( frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR )
SELECT frequency FROM table_name_75 WHERE purpose = "commercial" AND on_air_id = "radio tab" AND callsign = "4tab"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 7321, 584, 4280, 28027, 6, 580, 6732, 584, 4280, 28027, 6, 1730, 584, 4280, 28027, 6, 30, 834, 2256, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 1730, 3274, 96, 27260, 121, 3430, 30, 834, 2256, 834, 23, 26, 3274, 96, 5883, 32, 3808, 121, 3430, 580, 6732, 3274, 96, 591, 10309, 121, 1, -100, -100, -100, ...
What is the least number of penalties he got when his point total was over 1419 in more than 98 games?
CREATE TABLE table_name_45 (penalties INTEGER, points_total VARCHAR, played VARCHAR)
SELECT MIN(penalties) FROM table_name_45 WHERE points_total = 1419 AND played > 98
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 3208, 138, 3010, 3, 21342, 17966, 6, 979, 834, 235, 1947, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 3208, 138, 3010, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 979, 834, 235, 1947, 3274, 968, 2294, 3430, 1944, 2490, 3, 3916, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What driver has BRM as a constructor and had more than 30 laps?
CREATE TABLE table_53777 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Driver" FROM table_53777 WHERE "Constructor" = 'brm' AND "Laps" > '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 26225, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20982, 52, 121, 21680, 953, 834, 4867, 26225, 549, 17444, 427, 96, 4302, 7593, 127, 121, 3274, 3, 31, 115, 52, 51, 31, 3430, 96, 3612, 102, 7, 121, 2490, 3, 31, 1458, 31, 1, -100, -100, -100, -100, -100, -10...
Name the attendance with result of t 14-14
CREATE TABLE table_name_92 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_92 WHERE result = "t 14-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 15116, 663, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 11364, 28, 741, 13, 3, 17, 968, 11590, 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, 11364, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 741, 3274, 96, 17, 968, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many single patients are diagnosed with migrne unsp wo ntrc mgrn?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.short_title = "Migrne unsp wo ntrc mgrn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
find out the short title of diagnoses and health insurance by which patient with patient id 9271 is covered.
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 demographic.insurance, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "9271"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 29441, 6, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, ...
Who is the Prime Minister of Antoine Wehenkel?
CREATE TABLE table_67961 ( "Minister" text, "Party" text, "Start date" text, "End date" text, "Prime Minister" text )
SELECT "Prime Minister" FROM table_67961 WHERE "Minister" = 'antoine wehenkel'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 4314, 536, 41, 96, 12858, 5805, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 7681, 17, 833, 121, 1499, 6, 96, 8532, 26, 833, 121, 1499, 6, 96, 7855, 526, 3271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7855, 526, 3271, 121, 21680, 953, 834, 3708, 4314, 536, 549, 17444, 427, 96, 12858, 5805, 121, 3274, 3, 31, 288, 32, 630, 62, 3225, 5768, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the candidates result that is tom j. murray (d) unopposed?
CREATE TABLE table_1342149_42 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_1342149_42 WHERE candidates = "Tom J. Murray (D) Unopposed"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2658, 3647, 834, 4165, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 4341, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4341, 741, 24, 19, 12, 51, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 23747, 2658, 3647, 834, 4165, 549, 17444, 427, 4341, 3274, 96, 3696, 51, 446, 5, 15497, 41, 308, 61, 597, 28236, 3843, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the snatch score and clean jerk score of body builders in ascending order of snatch score. Plot them as scatter chart.
CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text )
SELECT Snatch, Clean_Jerk FROM body_builder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 643, 834, 16422, 49, 41, 8501, 834, 24752, 49, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 180, 29, 14547, 490, 6, 7433, 834, 683, 49, 157, 490, 6, 9273, 490, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 29, 14547, 6, 7433, 834, 683, 49, 157, 21680, 643, 834, 16422, 49, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the names of the technicians by ascending order of quality rank for the machine they are assigned, and count them by a pie chart
CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE repair ( repair_ID int, name text, ...
SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id GROUP BY Name ORDER BY T2.quality_rank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1437, 41, 5879, 834, 4309, 16, 17, 6, 9918, 834, 476, 2741, 16, 17, 6, 4501, 1499, 6, 2271, 1499, 6, 5879, 834, 10833, 7, 1499, 6, 701, 834, 2700, 7, 490, 6, 463, 834, 6254, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 2096, 834, 9, 7, 6732, 297, 6157, 332, 536, 3, 15355, 3162, 1437, 6157, 332, 357, 9191, 332, 5411, 329, 1836, 630, 834, 4309, 3274, 332, 4416, 329, 1836, 630, 834, 4309, ...
What is the nationality of the Team Georgia Tech?
CREATE TABLE table_48319 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text )
SELECT "Nationality" FROM table_48319 WHERE "School/Club Team" = 'georgia tech'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 519, 2294, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 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, 24732, 485, 121, 21680, 953, 834, 3707, 519, 2294, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 397, 1677, 23, 9, 5256, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?
CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, matt_entenza__dfl_ VARCHAR)
SELECT tom_horner__i_ FROM table_20032301_3 WHERE matt_entenza__dfl_ = "31%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23948, 13427, 536, 834, 519, 41, 235, 51, 834, 6293, 49, 834, 834, 23, 834, 584, 4280, 28027, 6, 6928, 17, 834, 295, 35, 1629, 834, 834, 26, 89, 40, 834, 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, 12, 51, 834, 6293, 49, 834, 834, 23, 834, 21680, 953, 834, 23948, 13427, 536, 834, 519, 549, 17444, 427, 6928, 17, 834, 295, 35, 1629, 834, 834, 26, 89, 40, 834, 3274, 96, 519, 4704, 121, 1, -100, -100, -100, -1...
What's the total number of points scored during the 1951 NSWRFL Grand Final?
CREATE TABLE table_name_3 ( points VARCHAR, details VARCHAR )
SELECT COUNT(points) FROM table_name_3 WHERE details = "1951 nswrfl grand final"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 979, 584, 4280, 28027, 6, 1030, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 381, 13, 979, 5799, 383, 8, 25684, 20535, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1030, 3274, 96, 2294, 5553, 3, 29, 7, 210, 52, 89, 40, 1907, 804, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79?
CREATE TABLE table_1601027_1 (earpads VARCHAR, headphone_class VARCHAR, us_msrp VARCHAR)
SELECT COUNT(earpads) FROM table_1601027_1 WHERE headphone_class = "Prestige" AND us_msrp = "$79"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 1714, 2555, 834, 536, 41, 2741, 5612, 7, 584, 4280, 28027, 6, 819, 6399, 834, 4057, 584, 4280, 28027, 6, 178, 834, 51, 7, 52, 102, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2741, 5612, 7, 61, 21680, 953, 834, 19129, 1714, 2555, 834, 536, 549, 17444, 427, 819, 6399, 834, 4057, 3274, 96, 10572, 7, 9134, 121, 3430, 178, 834, 51, 7, 52, 102, 3274, 96, 3229, 4440, 121, 1...
What is the lowest round that Adam Wiesel was picked?
CREATE TABLE table_name_9 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_9 WHERE player = "adam wiesel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 7775, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1751, 24, 7124, 2142, 20736, 47, 4758, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1959, 3274, 96, 9, 7812, 587, 7, 15, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many patients whose language is ptun died in or before 2138?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "PTUN" AND demographic.dod_year <= "2138.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 24925, 3274, 96, 6383, 7443, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 2423, 96, 357, ...
What is the date for the podcast episode number 103?
CREATE TABLE table_32993 ( "Episode Number" real, "Title" text, "Podcast Date" text, "Run time" text, "Historical References" text )
SELECT "Podcast Date" FROM table_32993 WHERE "Episode Number" = '103'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 3264, 519, 41, 96, 427, 102, 159, 32, 221, 7720, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 16665, 5254, 7678, 121, 1499, 6, 96, 448, 202, 97, 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, 16665, 5254, 7678, 121, 21680, 953, 834, 2668, 3264, 519, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 7720, 121, 3274, 3, 31, 17864, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the notes for the time 6:05.21?
CREATE TABLE table_66139 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text )
SELECT "Notes" FROM table_66139 WHERE "Time" = '6:05.21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 24090, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 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, 10358, 15, 7, 121, 21680, 953, 834, 3539, 24090, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 948, 10, 3076, 5, 2658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Category were Libby Goldstein and Junie Lowry-Johnson recipients and nominees for?
CREATE TABLE table_63974 ( "Year" real, "Category" text, "Recipients and nominees" text, "Role/Episode" text, "Result" text )
SELECT "Category" FROM table_63974 WHERE "Recipients and nominees" = 'libby goldstein and junie lowry-johnson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4327, 591, 41, 96, 476, 2741, 121, 490, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 1649, 3389, 4741, 7, 11, 21077, 7, 121, 1499, 6, 96, 448, 32, 109, 87, 427, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18610, 6066, 651, 121, 21680, 953, 834, 3891, 4327, 591, 549, 17444, 427, 96, 1649, 3389, 4741, 7, 11, 21077, 7, 121, 3274, 3, 31, 6856, 969, 2045, 4008, 11, 3, 6959, 23, 15, 731, 651, 18, 27341, 739, 31, 1,...
Who is the owner of the branding gx94?
CREATE TABLE table_name_78 (owner VARCHAR, branding VARCHAR)
SELECT owner FROM table_name_78 WHERE branding = "gx94"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 13238, 584, 4280, 28027, 6, 14282, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 2527, 13, 8, 14282, 3, 122, 226, 4240, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2527, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 14282, 3274, 96, 122, 226, 4240, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years?
CREATE TABLE table_54105 ( "End of Fiscal Year" real, "Gross Debt in $Billions undeflated Treas." real, "as % of GDP Low-High" text, "Debt Held By Public ($Billions)" real, "as % of GDP (Treas/MW, OMB or OMB/MW)" real, "GDP $Billions OMB/BEA est.=MW.com" text )
SELECT AVG("Gross Debt in $Billions undeflated Treas.") FROM table_54105 WHERE "End of Fiscal Year" > '1980' AND "as % of GDP Low-High" = '83.4-84.4' AND "Debt Held By Public ($Billions)" < '7,552'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 12869, 41, 96, 8532, 26, 13, 29169, 2929, 121, 490, 6, 96, 517, 1859, 7, 9794, 17, 16, 1514, 279, 14916, 7, 3550, 13710, 15, 26, 4691, 9, 7, 535, 490, 6, 96, 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, 71, 17217, 599, 121, 517, 1859, 7, 9794, 17, 16, 1514, 279, 14916, 7, 3550, 13710, 15, 26, 4691, 9, 7, 5, 8512, 21680, 953, 834, 5062, 12869, 549, 17444, 427, 96, 8532, 26, 13, 29169, 2929, 121, 2490, 3, 31, 229...
who is the person that plays left wing and is from canada that plays on the st. louis blues
CREATE TABLE table_2840500_3 (player VARCHAR, nhl_team VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT player FROM table_2840500_3 WHERE position = "Left Wing" AND nationality = "Canada" AND nhl_team = "St. Louis Blues"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2445, 2560, 834, 519, 41, 20846, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 2577, 2445, 2560, 834, 519, 549, 17444, 427, 1102, 3274, 96, 2796, 89, 17, 15753, 121, 3430, 1157, 485, 3274, 96, 28811, 121, 3430, 3, 29, 107, 40, 834, 11650, 3274, 96, 134, 17, 5, 5181, 24...
how many female patients had 7742 as their diagnosis icd9 code?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "7742"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the least total number of medals when the bronze medals is 1, and Czech Republic (CZE) is the nation?
CREATE TABLE table_name_46 (total INTEGER, bronze VARCHAR, nation VARCHAR)
SELECT MIN(total) FROM table_name_46 WHERE bronze = 1 AND nation = "czech republic (cze)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 235, 1947, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 709, 792, 381, 13, 93...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 13467, 3274, 209, 3430, 2982, 3274, 96, 75, 776, 524, 20237, 41, 75, 776, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league?
CREATE TABLE table_63652 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text, "Leagues entering at this round" text )
SELECT "New entries this round" FROM table_63652 WHERE "Leagues entering at this round" = 'tff third league & turkish regional amateur league'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 10402, 357, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 254, 11158, 7, 4080, 121, 490, 6, 96, 254, 11158, 7, 1381, 121, 490, 6, 96, 18455, 687, 7, 45, 1767, 1751, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6861, 10066, 48, 1751, 121, 21680, 953, 834, 948, 10402, 357, 549, 17444, 427, 96, 2796, 9, 15991, 7084, 44, 48, 1751, 121, 3274, 3, 31, 17, 89, 89, 1025, 5533, 3, 184, 3, 2905, 157, 1273, 3518, 13217, 5533, ...
How many episodes were written by Jack Burditt & Robert Carlock
CREATE TABLE table_15938543_1 ( production_code VARCHAR, written_by VARCHAR )
SELECT COUNT(production_code) FROM table_15938543_1 WHERE written_by = "Jack Burditt & Robert Carlock"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4271, 4433, 4906, 834, 536, 41, 999, 834, 4978, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13562, 130, 1545,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 20762, 834, 4978, 61, 21680, 953, 834, 1808, 4271, 4433, 4906, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 683, 4365, 4152, 26, 155, 17, 3, 184, 2715, 1184, 4029, 121, 1, -100, -100, -100,...
What is Year is Walt Disney Pictures Imagemovers Digital?
CREATE TABLE table_13744 ( "Year" real, "Title" text, "Director" text, "Studio(s)" text, "Notes" text )
SELECT SUM("Year") FROM table_13744 WHERE "Studio(s)" = 'walt disney pictures imagemovers digital'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24636, 3628, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 13076, 26, 23, 32, 599, 7, 61, 121, 1499, 6, 96, 10358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 24636, 3628, 549, 17444, 427, 96, 13076, 26, 23, 32, 599, 7, 61, 121, 3274, 3, 31, 5380, 17, 1028, 3186, 1933, 1023, 24844, 1125, 31, 1, -100, -100, -100, -10...
What winning score has in-kyung kim as the runner(s)-up?
CREATE TABLE table_62004 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text, "Winner's share ( $ )" real )
SELECT "Winning score" FROM table_62004 WHERE "Runner(s)-up" = 'in-kyung kim'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 21653, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, 7286, 122, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10503, 2604, 121, 21680, 953, 834, 948, 21653, 549, 17444, 427, 96, 23572, 599, 7, 61, 18, 413, 121, 3274, 3, 31, 77, 18, 3781, 425, 3, 19754, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what 's the number of teams that won the cup four times ?
CREATE TABLE table_204_448 ( id number, "team" text, "winners" number, "runners-up" number, "years won" text, "years runner-up" text )
SELECT COUNT("team") FROM table_204_448 WHERE "winners" = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 3707, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 3757, 687, 7, 121, 381, 6, 96, 10806, 7, 18, 413, 121, 381, 6, 96, 1201, 7, 751, 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, 2847, 17161, 599, 121, 11650, 8512, 21680, 953, 834, 26363, 834, 591, 3707, 549, 17444, 427, 96, 3757, 687, 7, 121, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the average hours of all projects.
CREATE TABLE projects ( hours INTEGER )
SELECT AVG(hours) FROM projects
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 716, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1348, 716, 13, 66, 1195, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 5842, 7, 61, 21680, 1195, 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, -100, -100, -100, -100, -100, ...
Which final score had a surface of hard (i) on October 22, 2000?
CREATE TABLE table_name_47 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_47 WHERE surface = "hard (i)" AND date = "october 22, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 7, 9022, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1774, 3274, 96, 5651, 41, 23, 61, 121, 3430, 833, 3274, 96, 32, 75, 235, 1152, 12889, 2766, 121, 1, -100, -100, -100, -100, -...
Which track was used on September 12, 1981?
CREATE TABLE table_22765887_1 (track VARCHAR, date VARCHAR)
SELECT track FROM table_22765887_1 WHERE date = "September 12, 1981"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3959, 3449, 4225, 834, 536, 41, 11991, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1463, 47, 261, 30, 1600, 10440, 15465, 58, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1463, 21680, 953, 834, 2884, 3959, 3449, 4225, 834, 536, 549, 17444, 427, 833, 3274, 96, 27652, 10440, 15465, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Bin the hire date into Month interval, and then compute the average salary of employees in each month for a bar chart, note that just select those employees without the letter M in their first name, and sort the average of salary in asc order please.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY AVG(SALARY)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 4486, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 329, 1454, 31, 4674, 11300, 272, 476, 71, 17217, 599, 134, 40...
which team did this person play against after portugal in 1989 ?
CREATE TABLE table_204_836 ( id number, "#" number, "date" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT "opponent" FROM table_204_836 WHERE "#" = (SELECT "#" FROM table_204_836 WHERE "opponent" = 'portugal' AND "date" = 1989) + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3420, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 60, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 927, 3420, 549, 17444, 427, 96, 4663, 121, 3274, 41, 23143, 14196, 96, 4663, 121, 21680, 953, 834, 26363, 834, 927, 3420, 549, 17444, 427, 96, 32, 102, 9977, 121,...
What is the surface when the tournament is manta, ecuador?
CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 26899, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1774, 116, 8, 5892, 19, 388, 17, 9, 6, 3, 15, 1071...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1774, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 5892, 3274, 96, 348, 17, 9, 6, 3, 15, 1071, 7923, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 6254, 3, 21342, 17966, 6, 1192, 584, 4280, 28027, 6, 740, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 3, 22557, 28, 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, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1192, 3, 2, 4101, 3430, 740, 3274, 96, 4067, 986, 3, 27341, 739, 1595, 3, 5671, 9, 6216, 121, 1, -100, -100, -100, -100, -100, -100, -10...
how many patients whose religion is jehovah's witness and diagnoses short title is perforation of intestine?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "JEHOVAH'S WITNESS" AND diagnoses.short_title = "Perforation of intestine"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
How many courses for each subject? Plot a bar chart, and order by the x axis in ascending.
CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_des...
SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY subject_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 41, 3816, 834, 23, 26, 3, 21342, 17966, 6, 1236, 834, 23, 26, 3, 21342, 17966, 6, 503, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1426, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 8670, 7, 6157, 332, 536, 3, 15355, 3162, 19237, 7, 6157, 332, 357, 9191, 332, 5411, 7304, 11827, 834, 23, 26, 3274, 332, 4416, 7304, 11827, 834, 23, 26, 350, ...
What is the smallest amount of spectators when the away team was Hawthorn?
CREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_93 WHERE away_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 75, 3623, 26, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 866, 13, 21380, 7, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which country scored 69-67-69-70=275?
CREATE TABLE table_name_22 ( country VARCHAR, score VARCHAR )
SELECT country FROM table_name_22 WHERE score = 69 - 67 - 69 - 70 = 275
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 5799, 3, 3951, 18, 3708, 18, 3951, 18, 2518, 2423, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 2604, 3274, 3, 3951, 3, 18, 3, 3708, 3, 18, 3, 3951, 3, 18, 2861, 3274, 3, 25988, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the weight of the youngest dog.
CREATE TABLE pets (weight VARCHAR, pet_age VARCHAR)
SELECT weight FROM pets ORDER BY pet_age LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8636, 41, 9378, 584, 4280, 28027, 6, 3947, 834, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1293, 13, 8, 19147, 1782, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0...
[ 3, 23143, 14196, 1293, 21680, 8636, 4674, 11300, 272, 476, 3947, 834, 545, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients are diagnosed with hx surgery to organs nec and base drug type?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hx surgery to organs NEC" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
calculate the minimum age of emergency hospital admission patients who were hospitalized for a day.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic (...
SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.days_stay = "1"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 427, 13098, 18464, 17063, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 3274, 96, 536, 121, 1, -100, -...
What 2012 amount of earnings corresponds with less than 28 tournaments played?
CREATE TABLE table_name_59 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR)
SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "2012"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 2741, 29, 53, 7, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 5892, 7, 834, 4895, 15, 26, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8783, 834, 834, 834, 3229, 834, 834, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 5892, 7, 834, 4895, 15, 26, 3, 2, 2059, 3430, 215, 3274, 96, 12172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the name of bowl for 2006 season
CREATE TABLE table_2517159_1 (name_of_bowl VARCHAR, last_appearance VARCHAR)
SELECT COUNT(name_of_bowl) FROM table_2517159_1 WHERE last_appearance = "2006 Season"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2517, 27904, 834, 536, 41, 4350, 834, 858, 834, 17710, 40, 584, 4280, 28027, 6, 336, 834, 3096, 2741, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4350, 834, 858, 834, 17710, 40, 61, 21680, 953, 834, 1828, 2517, 27904, 834, 536, 549, 17444, 427, 336, 834, 3096, 2741, 663, 3274, 96, 21196, 7960, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
If the third name is Bruno Bonifacio, what is the champion?
CREATE TABLE table_3302 ( "Season" real, "Champion" text, "Second" text, "Third" text, "Team Champion" text, "National Trophy/Rookie" text )
SELECT "Champion" FROM table_3302 WHERE "Third" = 'Bruno Bonifacio'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17225, 357, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 18699, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 121, 21680, 953, 834, 17225, 357, 549, 17444, 427, 96, 382, 9288, 26, 121, 3274, 3, 31, 9465, 29, 32, 4523, 99, 4268, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator?
CREATE TABLE table_5929 ( "Country" text, "Project Name" text, "Year startup" text, "Operator" text, "Peak" text )
SELECT "Year startup" FROM table_5929 WHERE "Operator" = 'albian sands' AND "Project Name" = 'jackpine mine (ph 2)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3166, 41, 96, 10628, 651, 121, 1499, 6, 96, 3174, 11827, 5570, 121, 1499, 6, 96, 476, 2741, 11459, 121, 1499, 6, 96, 667, 883, 1016, 121, 1499, 6, 96, 345, 15, 1639...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11459, 121, 21680, 953, 834, 3390, 3166, 549, 17444, 427, 96, 667, 883, 1016, 121, 3274, 3, 31, 138, 12032, 3, 7, 232, 7, 31, 3430, 96, 3174, 11827, 5570, 121, 3274, 3, 31, 9325, 3180, 15, 2000, 4...
What is Date, when Viewers is 4.4 million?
CREATE TABLE table_name_92 ( date VARCHAR, viewers VARCHAR )
SELECT date FROM table_name_92 WHERE viewers = "4.4 million"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 833, 584, 4280, 28027, 6, 13569, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 4197, 277, 19, 3, 23444, 770, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 13569, 3274, 96, 23444, 770, 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 average round for Georgia Tech with a pick greater than 103?
CREATE TABLE table_name_81 ( round INTEGER, school VARCHAR, pick VARCHAR )
SELECT AVG(round) FROM table_name_81 WHERE school = "georgia tech" AND pick > 103
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1751, 3, 21342, 17966, 6, 496, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 1751, 21, 5664, 713...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 496, 3274, 96, 397, 1677, 23, 9, 5256, 121, 3430, 1432, 2490, 3, 17864, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is total population of Saint-Agapit (code 33045)?
CREATE TABLE table_name_99 ( region INTEGER, name VARCHAR, code VARCHAR )
SELECT SUM(region) FROM table_name_99 WHERE name = "saint-agapit" AND code < 33045
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 1719, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 1081, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 792, 2074, 13, 2788, 18, 188...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 18145, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 564, 3274, 96, 7, 9, 77, 17, 18, 4711, 5230, 121, 3430, 1081, 3, 2, 3, 17225, 2128, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many schools are named otafuku tholi?
CREATE TABLE table_16799784_4 (year_named VARCHAR, name VARCHAR)
SELECT COUNT(year_named) FROM table_16799784_4 WHERE name = "Otafuku Tholi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4440, 21441, 591, 834, 591, 41, 1201, 834, 4350, 26, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2061, 33, 2650, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 834, 4350, 26, 61, 21680, 953, 834, 2938, 4440, 21441, 591, 834, 591, 549, 17444, 427, 564, 3274, 96, 667, 17, 9, 89, 1598, 76, 5791, 4172, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many years have a Name of tour quartier des spectacles, and Floors smaller than 31?
CREATE TABLE table_name_51 ( year VARCHAR, name VARCHAR, floors VARCHAR )
SELECT COUNT(year) FROM table_name_51 WHERE name = "tour quartier des spectacles" AND floors < 31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 215, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 8242, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 43, 3, 9, 5570, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 564, 3274, 96, 17, 1211, 15492, 93, 13498, 7, 121, 3430, 8242, 3, 2, 2664, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest value of Total Goals?
CREATE TABLE table_10240125_1 ( total_goals INTEGER )
SELECT MAX(total_goals) FROM table_10240125_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 11944, 10124, 834, 536, 41, 792, 834, 839, 5405, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 701, 13, 9273, 17916, 7, 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, 235, 1947, 834, 839, 5405, 61, 21680, 953, 834, 1714, 11944, 10124, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What club has less than 61 goals for and 55 goals against?
CREATE TABLE table_69341 ( "Position" real, "Club" text, "Played" real, "Points" text, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT "Club" FROM table_69341 WHERE "Goals for" < '61' AND "Goals against" = '55'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3710, 536, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 1499, 6, 96, 18455, 7, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 11158, 121, 21680, 953, 834, 3951, 3710, 536, 549, 17444, 427, 96, 6221, 5405, 21, 121, 3, 2, 3, 31, 4241, 31, 3430, 96, 6221, 5405, 581, 121, 3274, 3, 31, 3769, 31, 1, -100, -100, -100, -100, -100, -10...
I want the tsongas of may 22, 2007
CREATE TABLE table_name_45 ( tsongas__d_ VARCHAR, date VARCHAR )
SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 3, 17, 739, 5556, 834, 834, 26, 834, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 3, 17, 739, 5556, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 739, 5556, 834, 834, 26, 834, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 833, 3274, 96, 13726, 12889, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the cfl team for steven turner
CREATE TABLE table_27275 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "CFL Team" FROM table_27275 WHERE "Player" = 'Steven Turner'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 25988, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10765, 2271, 121, 21680, 953, 834, 2555, 25988, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 14337, 1926, 19553, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which competition was ranked 9?
CREATE TABLE table_name_53 ( competition VARCHAR, rank VARCHAR )
SELECT competition FROM table_name_53 WHERE rank = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 2259, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2259, 47, 3, 8232, 668, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0...
[ 3, 23143, 14196, 2259, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 11003, 3274, 668, 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...
Who was the opponent in the game that was attended by 48,000 people?
CREATE TABLE table_name_93 ( opponent_number VARCHAR, attendance VARCHAR )
SELECT opponent_number FROM table_name_93 WHERE attendance = "48,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 15264, 834, 5525, 1152, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 16, 8, 467, 24, 47, 552...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 11364, 3274, 96, 591, 16235, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many years did Peter Lorimer play?
CREATE TABLE table_237757_9 ( nasl_years VARCHAR, player VARCHAR )
SELECT COUNT(nasl_years) FROM table_237757_9 WHERE player = "Peter Lorimer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4013, 3436, 834, 1298, 41, 3, 29, 9, 7, 40, 834, 1201, 7, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 410, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 29, 9, 7, 40, 834, 1201, 7, 61, 21680, 953, 834, 2773, 4013, 3436, 834, 1298, 549, 17444, 427, 1959, 3274, 96, 345, 15, 449, 8410, 23, 935, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
How many laps did BRM have with a grid of 11?
CREATE TABLE table_name_33 ( laps VARCHAR, constructor VARCHAR, grid VARCHAR )
SELECT COUNT(laps) FROM table_name_33 WHERE constructor = "brm" AND grid = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 14941, 7, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14941, 7, 410, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 6774, 127, 3274, 96, 115, 52, 51, 121, 3430, 8634, 3274, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is from Spain with a to par of e?
CREATE TABLE table_66815 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Player" FROM table_66815 WHERE "To par" = 'e' AND "Country" = 'spain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 927, 1808, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 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, 15800, 49, 121, 21680, 953, 834, 3539, 927, 1808, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 15, 31, 3430, 96, 10628, 651, 121, 3274, 3, 31, 14147, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
which position between the quarterback and defensive end has the larger count ?
CREATE TABLE table_204_70 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text )
SELECT "position" FROM table_204_70 WHERE "position" IN ('quarterback', 'defensive end') GROUP BY "position" ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2518, 41, 3, 23, 26, 381, 6, 96, 17967, 1713, 121, 381, 6, 96, 29, 89, 40, 372, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 3297, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4718, 121, 21680, 953, 834, 26363, 834, 2518, 549, 17444, 427, 96, 4718, 121, 3388, 41, 31, 19973, 1549, 31, 6, 3, 31, 221, 23039, 15, 414, 31, 61, 350, 4630, 6880, 272, 476, 96, 4718, 121, 4674, 11300, 272, ...
What is the average total of the 0-8 tally?
CREATE TABLE table_65862 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text )
SELECT AVG("Total") FROM table_65862 WHERE "Tally" = '0-8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 3840, 357, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 382, 1427, 121, 1499, 6, 96, 3696, 1947, 121, 490, 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...
[ 3, 23143, 14196, 71, 17217, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 4122, 3840, 357, 549, 17444, 427, 96, 382, 1427, 121, 3274, 3, 31, 632, 6039, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the first riding ?
CREATE TABLE table_204_786 ( id number, "riding" text, "candidate" text, "gender" text, "residence" text, "occupation" text, "votes" number, "%" number, "rank" text, "biographical notes" text )
SELECT "riding" FROM table_204_786 WHERE id = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 3840, 41, 3, 23, 26, 381, 6, 96, 4055, 53, 121, 1499, 6, 96, 1608, 12416, 342, 121, 1499, 6, 96, 122, 3868, 121, 1499, 6, 96, 60, 1583, 3772, 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, 4055, 53, 121, 21680, 953, 834, 26363, 834, 940, 3840, 549, 17444, 427, 3, 23, 26, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show me a bar chart for how many faculty members do we have for each faculty rank?
CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Activity ( actid INTEGER, a...
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank
[ 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, 6341, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 350, 4630, 6880, 272, 476, 3, 22557, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Height, when Name is 'Manuela Zanchi'?
CREATE TABLE table_name_95 ( height VARCHAR, name VARCHAR )
SELECT height FROM table_name_95 WHERE name = "manuela zanchi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 3902, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 24231, 6, 116, 5570, 19, 3, 31, 7296, 76, 15, 521, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 564, 3274, 96, 348, 76, 15, 521, 3, 10241, 1436, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result for the nomination of Best Revival of a Musical?
CREATE TABLE table_name_90 ( result VARCHAR, category VARCHAR )
SELECT result FROM table_name_90 WHERE category = "best revival of a musical"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 741, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 21, 8, 13588, 13, 1648, 6342, 23, 2165, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 3295, 3274, 96, 9606, 26327, 13, 3, 9, 4183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which tournament's 2001 and 2006s were a?
CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT tournament FROM table_name_25 WHERE 2001 = "a" AND 2006 = "a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 31, 7, 4402, 11, 3581, 7, 130, 3, 9, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 4402, 3274, 96, 9, 121, 3430, 3581, 3274, 96, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest position of pilot mario kiessling from Germany?
CREATE TABLE table_name_23 ( position INTEGER, country VARCHAR, pilot VARCHAR )
SELECT MIN(position) FROM table_name_23 WHERE country = "germany" AND pilot = "mario kiessling"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1102, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 6, 4487, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1102, 13, 4487, 277...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4718, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 684, 3274, 96, 1304, 348, 63, 121, 3430, 4487, 3274, 96, 17289, 32, 3, 11390, 7, 7, 697, 121, 1, -100, -100, -100, -100, -100, -100, -100...
Which result has a Score of 30-44?
CREATE TABLE table_55549 ( "Date" text, "Competition" text, "Venue" text, "Result" text, "Score" text, "Goals" text )
SELECT "Result" FROM table_55549 WHERE "Score" = '30-44'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28803, 3647, 41, 96, 308, 342, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 134, 9022, 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, 20119, 121, 21680, 953, 834, 28803, 3647, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 1458, 18, 3628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the name, location, mascot for all schools.
CREATE TABLE school ( school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR )
SELECT school_name, LOCATION, mascot FROM school
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 496, 834, 4350, 584, 4280, 28027, 6, 301, 5618, 8015, 584, 4280, 28027, 6, 3, 2754, 4310, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 564, 6, 1128, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 834, 4350, 6, 301, 5618, 8015, 6, 3, 2754, 4310, 21680, 496, 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, -100...
What was the amount won with tries against at 54?
CREATE TABLE table_12828723_5 (won VARCHAR, tries_against VARCHAR)
SELECT won FROM table_12828723_5 WHERE tries_against = "54"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4613, 4225, 2773, 834, 755, 41, 210, 106, 584, 4280, 28027, 6, 3, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 866, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 751, 21680, 953, 834, 2122, 4613, 4225, 2773, 834, 755, 549, 17444, 427, 3, 9000, 834, 9, 16720, 7, 17, 3274, 96, 5062, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the smallest crowd at junction oval?
CREATE TABLE table_name_61 ( crowd INTEGER, venue VARCHAR )
SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 4374, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 17924, 4374, 44, 23704, 17986, 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, 3, 17684, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the try bonus of points against at 430
CREATE TABLE table_12792876_4 ( try_bonus VARCHAR, points_against VARCHAR )
SELECT try_bonus FROM table_12792876_4 WHERE points_against = "430"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4440, 2577, 3959, 834, 591, 41, 653, 834, 5407, 302, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 653, 834, 5407, 302, 21680, 953, 834, 2122, 4440, 2577, 3959, 834, 591, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 25449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the total losses when there are 8 wins and less than 2 byes?
CREATE TABLE table_64004 ( "Wimmera FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT SUM("Losses") FROM table_64004 WHERE "Wins" = '8' AND "Byes" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23714, 6348, 41, 96, 518, 12174, 9, 7212, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, 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, 180, 6122, 599, 121, 434, 13526, 7, 8512, 21680, 953, 834, 23714, 6348, 549, 17444, 427, 96, 18455, 7, 121, 3274, 3, 31, 927, 31, 3430, 96, 279, 10070, 121, 3, 2, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100,...
For all employees who have the letters D or S in their first name, what is the relationship between employee_id and salary ?
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25...
SELECT EMPLOYEE_ID, SALARY FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 134, 1...
Who is the director when the title is 2003?
CREATE TABLE table_name_27 ( director VARCHAR, title VARCHAR )
SELECT director FROM table_name_27 WHERE title = "2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 2090, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 2090, 116, 8, 2233, 19, 3888, 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, 2090, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 2233, 3274, 96, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...