NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is every CFL team with the player Mark Farraway?
CREATE TABLE table_30258 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "CFL Team" FROM table_30258 WHERE "Player" = 'Mark Farraway'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 357, 3449, 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, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1458, 357, 3449, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 19762, 5186, 52, 8006, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Why did the manager who departed on August 1, 2008 leave?
CREATE TABLE table_name_84 ( reason_of_departure VARCHAR, date_outgoing VARCHAR )
SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1053, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 6, 833, 834, 670, 9545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1615, 410, 8, 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, 1053, 834, 858, 834, 221, 2274, 1462, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 833, 834, 670, 9545, 3274, 96, 402, 17198, 1914, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the largest total with a Silver of 1, and a Rank larger than 7?
CREATE TABLE table_name_73 ( total INTEGER, silver VARCHAR, rank VARCHAR )
SELECT MAX(total) FROM table_name_73 WHERE silver = 1 AND rank > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 792, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 792, 28, 3, 9, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 4294, 3274, 209, 3430, 11003, 2490, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the name of the song in Amma Cheppindi?
CREATE TABLE table_name_84 (song_title VARCHAR, movie VARCHAR)
SELECT song_title FROM table_name_84 WHERE movie = "amma cheppindi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 7, 2444, 834, 21869, 584, 4280, 28027, 6, 1974, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 2324, 16, 736, 51, 9, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2324, 834, 21869, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1974, 3274, 96, 9, 635, 9, 3, 1033, 1572, 8482, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Location when the Opponent shows vs. #23 south carolina?
CREATE TABLE table_name_83 ( location VARCHAR, opponent VARCHAR )
SELECT location FROM table_name_83 WHERE opponent = "vs. #23 south carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 1128, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10450, 116, 8, 4495, 9977, 1267, 3, 208, 7, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 15264, 3274, 96, 208, 7, 5, 1713, 2773, 3414, 443, 12057, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is 2nd Leg, when Team 1 is 'H'?
CREATE TABLE table_43866 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "2nd leg" FROM table_43866 WHERE "Team 1" = 'h'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 26750, 41, 96, 18699, 209, 121, 1499, 6, 96, 188, 4102, 535, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 357, 727, 4553, 121, 21680, 953, 834, 4906, 26750, 549, 17444, 427, 96, 18699, 209, 121, 3274, 3, 31, 107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients with drug type additive have procedure icd9 code 4610?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "4610" AND prescriptions.drug_type = "ADDITIVE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 3388, 18206...
What is the parameter when the best fit (WMAP only) is .9 .1, and symbol is a?
CREATE TABLE table_name_94 ( parameter VARCHAR, best_fit__wmap_only_ VARCHAR, symbol VARCHAR )
SELECT parameter FROM table_name_94 WHERE best_fit__wmap_only_ = ".9 ± .1" AND symbol = "a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 15577, 584, 4280, 28027, 6, 200, 834, 5616, 834, 834, 210, 11576, 834, 9926, 834, 584, 4280, 28027, 6, 6083, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15577, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 200, 834, 5616, 834, 834, 210, 11576, 834, 9926, 834, 3274, 96, 5, 1298, 3, 2, 3, 5, 536, 121, 3430, 6083, 3274, 96, 9, 121, 1, -100, -100, -100, -100, -...
Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23?
CREATE TABLE table_name_7 ( grid INTEGER, time VARCHAR, laps VARCHAR )
SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 8634, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 4505, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 97, 3274, 96, 1220, 27865, 3769, 121, 3430, 14941, 7, 2490, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?
CREATE TABLE table_name_30 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR)
SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 235, 1947, 834, 4576, 277, 584, 4280, 28027, 6, 3, 115, 115, 75, 834, 782, 834, 8041, 120, 834, 6254, 53, 584, 4280, 28027, 6, 5640, 834, 29, 32, 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, 792, 834, 4576, 277, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 3, 115, 115, 75, 834, 782, 834, 8041, 120, 834, 6254, 53, 2490, 489, 3430, 5640, 834, 29, 32, 3, 2, 314, 1, -100, -100, -100, -100, -100, -...
what is the intake method of the acetaminophen?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ( allergy...
SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'acetaminophen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 7757, 5, 20300, 20466, 29, 21680, 7757, 549, 17444, 427, 7757, 5, 26, 13534, 4350, 3274, 3, 31, 3302, 17, 9, 1109, 10775, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the most 1 credit for three of a kind
CREATE TABLE table_19614 ( "Hand" text, "1 credit" real, "2 credits" real, "3 credits" real, "4 credits" real, "5 credits" real )
SELECT MAX("1 credit") FROM table_19614 WHERE "Hand" = 'Three of a Kind'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26937, 2534, 41, 96, 566, 232, 121, 1499, 6, 96, 536, 998, 121, 490, 6, 96, 357, 11893, 121, 490, 6, 96, 519, 11893, 121, 490, 6, 96, 591, 11893, 121, 490, 6, 96, 755, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 536, 998, 8512, 21680, 953, 834, 26937, 2534, 549, 17444, 427, 96, 566, 232, 121, 3274, 3, 31, 11889, 15, 15, 13, 3, 9, 6557, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which venue was used 11 february 1996?
CREATE TABLE table_name_45 ( venue VARCHAR, date VARCHAR )
SELECT venue FROM table_name_45 WHERE date = "11 february 1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 47, 261, 850, 29976, 76, 1208, 6911, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 833, 3274, 96, 2596, 29976, 76, 1208, 6911, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What driver(s) had over 65 stag wins?
CREATE TABLE table_26007 ( "Pos" real, "Driver" text, "Starts" real, "Finishes" real, "Wins" real, "Podiums" real, "Stage wins" real, "Power stage wins" real, "Points" real )
SELECT "Driver" FROM table_26007 WHERE "Stage wins" = '65'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 4560, 41, 96, 345, 32, 7, 121, 490, 6, 96, 20982, 52, 121, 1499, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 371, 77, 1273, 15, 7, 121, 490, 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, 20982, 52, 121, 21680, 953, 834, 18365, 4560, 549, 17444, 427, 96, 134, 6505, 9204, 121, 3274, 3, 31, 4122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What day is their record 13-15?
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_14 WHERE record = "13-15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 239, 19, 70, 1368, 1179, 10106, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1368, 3274, 96, 2368, 10106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people attended the game against away team Cambridge City?
CREATE TABLE table_name_98 ( attendance VARCHAR, away_team VARCHAR )
SELECT attendance FROM table_name_98 WHERE away_team = "cambridge city"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 11364, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 5526, 8, 467, 581, 550, 372, 10096, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 550, 834, 11650, 3274, 96, 6527, 9818, 690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Seats 2005 has a Percentage in/de-crease of 50.0%, and a Governorate of dhi qar governorate, and a In/de-creased by larger than 6?
CREATE TABLE table_49642 ( "Governorate" text, "Seats 2010" real, "Seats 2005" real, "In/de-creased by" real, "Percentage in/de-crease" text )
SELECT SUM("Seats 2005") FROM table_49642 WHERE "Percentage in/de-crease" = '50.0%' AND "Governorate" = 'dhi qar governorate' AND "In/de-creased by" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 4389, 357, 41, 96, 27304, 127, 342, 121, 1499, 6, 96, 134, 1544, 7, 2735, 121, 490, 6, 96, 134, 1544, 7, 3105, 121, 490, 6, 96, 1570, 87, 221, 18, 24706, 26, 57, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 134, 1544, 7, 3105, 8512, 21680, 953, 834, 3647, 4389, 357, 549, 17444, 427, 96, 12988, 3728, 545, 16, 87, 221, 18, 24706, 121, 3274, 3, 31, 1752, 5, 6932, 31, 3430, 96, 27304, 127, 342, 121, ...
What was the home team with the away team of rushden & diamonds?
CREATE TABLE table_name_73 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_73 WHERE away_team = "rushden & diamonds"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 234, 372, 28, 8, 550, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 550, 834, 11650, 3274, 96, 17363, 537, 3, 184, 7097, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the median household income of sacramento?
CREATE TABLE table_72443 ( "County" text, "Population" real, "Per capita income" text, "Median household income" text, "Median family income" text )
SELECT "Median household income" FROM table_72443 WHERE "County" = 'Sacramento'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2266, 4906, 41, 96, 10628, 63, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 12988, 23219, 2055, 121, 1499, 6, 96, 24607, 29, 5699, 2055, 121, 1499, 6, 96, 24607, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24607, 29, 5699, 2055, 121, 21680, 953, 834, 940, 2266, 4906, 549, 17444, 427, 96, 10628, 63, 121, 3274, 3, 31, 134, 9, 2935, 297, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which points have a Combined elapsed time of 175d 20h 46m 04s?
CREATE TABLE table_70389 ( "Overall place" text, "Yacht name" text, "Skipper" text, "Points" text, "Combined elapsed time" text )
SELECT "Points" FROM table_70389 WHERE "Combined elapsed time" = '175d 20h 46m 04s'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 519, 3914, 41, 96, 23847, 1748, 286, 121, 1499, 6, 96, 476, 9, 3997, 564, 121, 1499, 6, 96, 134, 2168, 8153, 121, 1499, 6, 96, 22512, 7, 121, 1499, 6, 96, 28257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22512, 7, 121, 21680, 953, 834, 2518, 519, 3914, 549, 17444, 427, 96, 28257, 3, 15, 16543, 26, 97, 121, 3274, 3, 31, 536, 3072, 26, 460, 107, 9668, 51, 11484, 7, 31, 1, -100, -100, -100, -100, -100, -100, -1...
How many times did kevin love (22) have the high points?
CREATE TABLE table_27756314_8 (date VARCHAR, high_points VARCHAR)
SELECT COUNT(date) FROM table_27756314_8 WHERE high_points = "Kevin Love (22)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3072, 3891, 2534, 834, 927, 41, 5522, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 3, 1050, 2494, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 5522, 61, 21680, 953, 834, 2555, 3072, 3891, 2534, 834, 927, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 439, 15, 2494, 2129, 4743, 7318, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion?
CREATE TABLE table_name_61 (poles INTEGER, position VARCHAR, wins VARCHAR, top_5 VARCHAR)
SELECT MIN(poles) FROM table_name_61 WHERE wins = 0 AND top_5 = 0 AND position = "66th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 14332, 7, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 420, 834, 755, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 14332, 7, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 9204, 3274, 3, 632, 3430, 420, 834, 755, 3274, 3, 632, 3430, 1102, 3274, 96, 3539, 189, 121, 1, -100, -100, -100, -100, -100, -100, -...
How many classes are professor whose last name is Graztevski has?
CREATE TABLE CLASS (PROF_NUM VARCHAR); CREATE TABLE employee (EMP_NUM VARCHAR, EMP_LNAME VARCHAR)
SELECT COUNT(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM = T2.PROF_NUM WHERE T1.EMP_LNAME = 'Graztevski'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 31598, 41, 17618, 371, 834, 567, 6122, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3490, 41, 6037, 345, 834, 567, 6122, 584, 4280, 28027, 6, 262, 5244...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3490, 6157, 332, 536, 3, 15355, 3162, 3, 31598, 6157, 332, 357, 9191, 332, 5411, 6037, 345, 834, 567, 6122, 3274, 332, 4416, 17618, 371, 834, 567, 6122, 549, 17444, 427, 332, 5411, ...
What years are listed for the Tahunanui school with an authority of state?
CREATE TABLE table_name_31 ( years VARCHAR, authority VARCHAR, name VARCHAR )
SELECT years FROM table_name_31 WHERE authority = "state" AND name = "tahunanui school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 203, 584, 4280, 28027, 6, 5015, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 33, 2616, 21, 8, 2067, 107,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 203, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 5015, 3274, 96, 5540, 121, 3430, 564, 3274, 96, 17, 9, 107, 202, 9, 17965, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which patients have had the macrophage lab test done?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "Macrophage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who is the sitting Representative In the New York 10 polling area race?
CREATE TABLE table_1342256_32 ( incumbent VARCHAR, district VARCHAR )
SELECT incumbent FROM table_1342256_32 WHERE district = "New York 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 19337, 834, 2668, 41, 28406, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3823, 13517, 86, 8, 368, 1060, 335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28406, 21680, 953, 834, 2368, 4165, 19337, 834, 2668, 549, 17444, 427, 3939, 3274, 96, 6861, 1060, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When the Home team scored 14.14 (98), what did the Away Team score?
CREATE TABLE table_77624 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_77624 WHERE "Home team score" = '14.14 (98)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3959, 2266, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 2604, 121, 21680, 953, 834, 940, 3959, 2266, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 2534, 5, 2534, 41, 3916, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who had the most touchdowns with more than 0 Field goals?
CREATE TABLE table_4970 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT MAX("Touchdowns") FROM table_4970 WHERE "Field goals" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 2518, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313, 979, 121, 490, 6, 96, 3183, 8804, 1766, 121, 490, 6, 96, 22512, 7, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3696, 2295, 3035, 7, 8512, 21680, 953, 834, 3647, 2518, 549, 17444, 427, 96, 3183, 8804, 1766, 121, 2490, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name for me the total number in attendance for week before 2 and result of t 24-24
CREATE TABLE table_name_60 (attendance VARCHAR, result VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_60 WHERE result = "t 24-24" AND week < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 15116, 663, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 21, 140, 8, 792, 381, 16, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 741, 3274, 96, 17, 997, 14962, 121, 3430, 471, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the average star ratings of each movie title? Could you return me a bar chart?
CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date )
SELECT title, AVG(stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52, 4309, 16, 17, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 3, 51, 4309, 16, 17, 6, 2233, 1499, 6, 215, 16, 17, 6, 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, 2233, 6, 71, 17217, 599, 3624, 7, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 350, 4630, 6880, 272, 476, 2233, 1, -100, -100, -100, ...
Name the bronze for lahti
CREATE TABLE table_name_46 (bronze VARCHAR, place VARCHAR)
SELECT bronze FROM table_name_46 WHERE place = "lahti"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 13711, 776, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 13467, 21, 50, 107, 17, 23, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 13467, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 286, 3274, 96, 521, 107, 17, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What round was it when the method was TKO (would not stand up from Butt Scoot)?
CREATE TABLE table_name_89 ( round INTEGER, method VARCHAR )
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 1751, 3, 21342, 17966, 6, 1573, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 47, 34, 116, 8, 1573, 47, 332, 12725, 41, 30947, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 1573, 3274, 96, 17, 157, 32, 41, 30947, 59, 1518, 95, 45, 68, 17, 3, 3523, 32, 17, 61, 121, 1, -100, -100, -100, -100, -100, -100, -10...
What home team has coventry city as the away team?
CREATE TABLE table_76134 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_76134 WHERE "Away team" = 'coventry city'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 23747, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 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, 19040, 372, 121, 21680, 953, 834, 3959, 23747, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 509, 2169, 651, 690, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was reserved in the district that has 169 constituents?
CREATE TABLE table_62769 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2003)" real )
SELECT "Reserved for ( SC / ST /None)" FROM table_62769 WHERE "Constituency number" = '169'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2555, 3951, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 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, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, 121, 21680, 953, 834, 948, 2555, 3951, 549, 17444, 427, 96, 4302, 2248, 17, 76, 4392, 381, 121, 3274, 3, 31, 27096, 31, 1, -100, -100, -1...
at least how many aircrafts were forced to land
CREATE TABLE table_204_353 ( id number, "no." number, "date/time" text, "aircraft" text, "foe" text, "result" text, "location" text, "notes" text )
SELECT COUNT(*) FROM table_204_353 WHERE "result" = 'forced to land'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2469, 519, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 87, 715, 121, 1499, 6, 96, 2256, 6696, 121, 1499, 6, 96, 89, 32, 15, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 2469, 519, 549, 17444, 427, 96, 60, 7, 83, 17, 121, 3274, 3, 31, 10880, 26, 12, 1322, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
count the number of patients whose ethnicity is asian and admission year is less than 2165?
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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.admityear < "2165"
[ 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, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 27184...
Who won Division West when Division North was won by Alumina?
CREATE TABLE table_name_69 (division_west VARCHAR, division_north VARCHAR)
SELECT division_west FROM table_name_69 WHERE division_north = "alumina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 26, 23, 6610, 834, 12425, 584, 4280, 28027, 6, 4889, 834, 29, 127, 189, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 6022, 1244, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4889, 834, 12425, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 4889, 834, 29, 127, 189, 3274, 96, 9, 18497, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which fleet was named Orenburg?
CREATE TABLE table_7872 ( "Shipyard" text, "Name" text, "Laid down" text, "Launched" text, "Commissioned" text, "Fleet" text )
SELECT "Fleet" FROM table_7872 WHERE "Name" = 'orenburg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 5865, 41, 96, 134, 10462, 6636, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 434, 6146, 323, 121, 1499, 6, 96, 3612, 202, 4513, 121, 1499, 6, 96, 5890, 5451, 15, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 109, 15, 17, 121, 21680, 953, 834, 3940, 5865, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 127, 13576, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the number of womens doubles for 2011 rio de janeiro
CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, year_location VARCHAR)
SELECT COUNT(womens_doubles) FROM table_28138035_4 WHERE year_location = "2011 Rio de Janeiro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2368, 2079, 2469, 834, 591, 41, 210, 32, 904, 7, 834, 25761, 7, 584, 4280, 28027, 6, 215, 834, 14836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 210, 32, 904, 7, 834, 25761, 7, 61, 21680, 953, 834, 2577, 2368, 2079, 2469, 834, 591, 549, 17444, 427, 215, 834, 14836, 3274, 96, 13907, 10983, 20, 3049, 21810, 121, 1, -100, -100, -100, -100, -10...
What are the first names of all students who are older than 20?
CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE student ( stuid number, lname text, ...
SELECT fname FROM student WHERE age > 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1342, 834, 77, 41, 21341, 23, 26, 381, 6, 103, 52, 6983, 381, 6, 562, 834, 5525, 1152, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 103, 52, 51, 41, 103, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 89, 4350, 21680, 1236, 549, 17444, 427, 1246, 2490, 460, 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, ...
What country has CD format and catalog RCD 10523?
CREATE TABLE table_name_45 (country VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_45 WHERE format = "cd" AND catalog = "rcd 10523"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 17529, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 3190, 1910, 11, 10173, 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, 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, 2128, 549, 17444, 427, 1910, 3274, 96, 75, 26, 121, 3430, 10173, 3274, 96, 52, 75, 26, 3, 12869, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Score has a Place of 4?
CREATE TABLE table_name_78 ( score VARCHAR, place VARCHAR )
SELECT score FROM table_name_78 WHERE place = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 2604, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 3399, 13, 314, 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, 2604, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 286, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
the only player that started his career in 1965
CREATE TABLE table_203_754 ( id number, "no." number, "player" text, "position" text, "career" text, "date no. retired" text )
SELECT "player" FROM table_203_754 WHERE "career" = 1965
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3072, 591, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 2864, 49, 121, 1499, 6, 96, 5522, 150, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20846, 121, 21680, 953, 834, 23330, 834, 3072, 591, 549, 17444, 427, 96, 2864, 49, 121, 3274, 19201, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which opponent had the result of W 24-14?
CREATE TABLE table_32709 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Attendance" text )
SELECT "Opponent" FROM table_32709 WHERE "Result" = 'w 24-14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2555, 4198, 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, 1649, 7621, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 519, 2555, 4198, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 997, 11590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the elevator when the elector is Pietro Colonna?
CREATE TABLE table_name_77 (elevator VARCHAR, elector VARCHAR)
SELECT elevator FROM table_name_77 WHERE elector = "pietro colonna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 15, 10912, 1016, 584, 4280, 28027, 6, 11924, 127, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 19967, 116, 8, 11924, 127, 19, 2745, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19967, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 11924, 127, 3274, 96, 102, 23, 15252, 6718, 29, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is Team A when wilma hofschneider-david is team C?
CREATE TABLE table_name_35 (team_a VARCHAR, team_c VARCHAR)
SELECT team_a FROM table_name_35 WHERE team_c = "wilma hofschneider-david"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 11650, 834, 9, 584, 4280, 28027, 6, 372, 834, 75, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 2271, 71, 116, 3, 210, 173, 51, 9, 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, 372, 834, 9, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 372, 834, 75, 3274, 96, 210, 173, 51, 9, 3534, 89, 28557, 49, 18, 26, 9, 6961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the original title of the film from Japan/Taiwan before 2003?
CREATE TABLE table_71643 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director(s)" text )
SELECT "Original title" FROM table_71643 WHERE "Year" < '2003' AND "Country" = 'japan/taiwan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 4389, 519, 41, 96, 476, 2741, 121, 490, 6, 96, 26749, 2233, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 23620, 127, 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, 96, 667, 3380, 10270, 2233, 121, 21680, 953, 834, 4450, 4389, 519, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 23948, 31, 3430, 96, 10628, 651, 121, 3274, 3, 31, 1191, 2837, 87, 17, 9, 23, 3877, 31, 1, -...
What is the Opponent in the final when the outcome was runner-up?
CREATE TABLE table_name_66 (opponent_in_the_final VARCHAR, outcome VARCHAR)
SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 32, 102, 9977, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4495, 9977, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 6138, 3274, 96, 10806, 18, 413, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which opponent was next after jackson state ?
CREATE TABLE table_203_598 ( id number, "date" text, "time" text, "opponent" text, "site" text, "tv" text, "result" text, "attendance" number )
SELECT "opponent" FROM table_203_598 WHERE "date" > (SELECT "date" FROM table_203_598 WHERE "opponent" = 'jackson state') ORDER BY "date" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3916, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 3585, 121, 1499, 6, 96, 17, 208, 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, 32, 102, 9977, 121, 21680, 953, 834, 23330, 834, 755, 3916, 549, 17444, 427, 96, 5522, 121, 2490, 41, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 23330, 834, 755, 3916, 549, 17444, 427, 96, 32, 102, 9977, 121,...
What is the Flattening ratio associated with the Equatorial diameter of 120,536km?
CREATE TABLE table_name_75 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)
SELECT flattening_ratio FROM table_name_75 WHERE equatorial_diameter = "120,536km"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 13710, 324, 53, 834, 6850, 32, 584, 4280, 28027, 6, 3, 15, 4960, 17, 11929, 834, 26, 23, 9, 4401, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2667, 324, 53, 834, 6850, 32, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 3, 15, 4960, 17, 11929, 834, 26, 23, 9, 4401, 3274, 96, 15518, 6, 755, 3420, 5848, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
What position did the sheffield eagles finish in?
CREATE TABLE table_17926 ( "Position" real, "Club" text, "Played" real, "Won" real, "Drawn" real, "Lost" real, "Pts For" real, "Pts Agst" real, "B.P." real, "Points" real )
SELECT MAX("Position") FROM table_17926 WHERE "Club" = 'Sheffield Eagles'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 2688, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 308, 10936, 29, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 345, 32, 7, 4749, 8512, 21680, 953, 834, 26593, 2688, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 12736, 89, 1846, 10341, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which county has 438 (4%) listed under R. Bacon?
CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR)
SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 13362, 63, 584, 4280, 28027, 6, 3, 52, 834, 9305, 106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5435, 65, 314, 3747, 8457, 6210, 2616, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5435, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 3, 52, 834, 9305, 106, 3274, 96, 591, 3747, 8457, 6210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose ethnicity is hispanic or latino and drug type is additive?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND prescriptions.drug_type = "ADDITIVE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
give me the number of patients whose age is less than 20 and drug code is warf0?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "20" AND prescriptions.formulary_drug_cd = "WARF0"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What date was Wet Hare, directed by Robert McKimson, released?
CREATE TABLE table_79520 ( "Title" text, "Series" text, "Director" text, "Production Number" real, "Release date" text )
SELECT "Release date" FROM table_79520 WHERE "Director" = 'robert mckimson' AND "Title" = 'wet hare'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 25356, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 7720, 121, 490, 6, 96, 1649, 40, 14608, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 40, 14608, 833, 121, 21680, 953, 834, 4440, 25356, 549, 17444, 427, 96, 23620, 127, 121, 3274, 3, 31, 5840, 49, 17, 3, 51, 2406, 603, 739, 31, 3430, 96, 382, 155, 109, 121, 3274, 3, 31, 1123, 17, 3, ...
What circut has an unknown fastest lap on July 19?
CREATE TABLE table_name_76 (circuit VARCHAR, fastest_lap VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_76 WHERE fastest_lap = "unknown" AND date = "july 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 15357, 21560, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 15357, 3044, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4558, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 202, 5661, 121, 3430, 833, 3274, 96, 2047, 120, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the road team playing against Boston on April 16?
CREATE TABLE table_name_94 ( road_team VARCHAR, home_team VARCHAR, date VARCHAR )
SELECT road_team FROM table_name_94 WHERE home_team = "boston" AND date = "april 16"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 1373, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1373, 834, 11650, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 234, 834, 11650, 3274, 96, 115, 32, 4411, 121, 3430, 833, 3274, 96, 9, 2246, 40, 898, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show each location and the number of cinemas there.
CREATE TABLE schedule ( cinema_id number, film_id number, date text, show_times_per_day number, price number ) CREATE TABLE film ( film_id number, rank_in_series number, number_in_season number, title text, directed_by text, original_air_date text, production_code text )...
SELECT location, COUNT(*) FROM cinema GROUP BY location
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2023, 41, 10276, 834, 23, 26, 381, 6, 814, 834, 23, 26, 381, 6, 833, 1499, 6, 504, 834, 715, 7, 834, 883, 834, 1135, 381, 6, 594, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 6, 2847, 17161, 599, 1935, 61, 21680, 10276, 350, 4630, 6880, 272, 476, 1128, 1, -100, -100, -100, -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 year of death is less than or equal to 2131 and procedure short title is open incis hern-grft nec?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2131.0" AND procedures.short_title = "Open incis hern-grft NEC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the nationality of the player who had the pick of 52 and plays for the NBA team of Phoenix Suns?
CREATE TABLE table_name_15 (nationality VARCHAR, nba_team VARCHAR, pick VARCHAR)
SELECT nationality FROM table_name_15 WHERE nba_team = "phoenix suns" AND pick = 52
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 16557, 485, 584, 4280, 28027, 6, 3, 29, 115, 9, 834, 11650, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 3, 29, 115, 9, 834, 11650, 3274, 96, 9553, 35, 2407, 1997, 7, 121, 3430, 1432, 3274, 9065, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the winner with a mountain stage type on 22 May?
CREATE TABLE table_11705 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Winner" FROM table_11705 WHERE "Type" = 'mountain stage' AND "Date" = '22 may'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20275, 3076, 41, 96, 308, 342, 121, 1499, 6, 96, 3881, 3589, 15, 121, 1499, 6, 96, 308, 23, 8389, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18455, 687, 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, 18455, 687, 121, 21680, 953, 834, 20275, 3076, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 11231, 9, 77, 1726, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2884, 164, 31, 1, -100, -100, -100, -100, -100, -100, ...
Show me a bar chart for how many total credits are offered by each department?, sort by the total number of credits from low to high.
CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), ...
SELECT dept_name, SUM(credits) FROM course GROUP BY dept_name ORDER BY SUM(credits)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 4699, 3, 4331, 4059, 15757, 6, 564, 3, 4331, 4059, 599, 1755, 201, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 12, 17, 834, 17216, 206, 17552, 599, 6355, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 180, 6122, 599, 15547, 7, 61, 21680, 503, 350, 4630, 6880, 272, 476, 20, 102, 17, 834, 4350, 4674, 11300, 272, 476, 180, 6122, 599, 15547, 7, 61, 1, -100, -100, -100, -100, -100, -100, ...
When did Peter Butler leave his team?
CREATE TABLE table_62881 ( "Team" text, "Outgoing manager" text, "Date Outgoing" text, "Reason of departure" text, "Replaced by" text, "Date of Replacement" text )
SELECT "Date Outgoing" FROM table_62881 WHERE "Outgoing manager" = 'peter butler'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4060, 536, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 308, 342, 3387, 9545, 121, 1499, 6, 96, 1649, 9, 739, 13, 12028, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 3387, 9545, 121, 21680, 953, 834, 4056, 4060, 536, 549, 17444, 427, 96, 15767, 9545, 2743, 121, 3274, 3, 31, 4995, 49, 68, 1171, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Why did the change happened in Massachusetts (2)?
CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR)
SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = "Massachusetts (2)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4834, 3288, 5062, 834, 519, 41, 864, 739, 834, 1161, 834, 13073, 584, 4280, 28027, 6, 538, 834, 834, 4057, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 161...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1053, 834, 1161, 834, 13073, 21680, 953, 834, 2606, 4834, 3288, 5062, 834, 519, 549, 17444, 427, 538, 834, 834, 4057, 834, 3274, 96, 27189, 1836, 1074, 17, 17, 7, 6499, 121, 1, -100, -100, -100, -100, -100, -100, -1...
which providence's soccer stadium was founded in 2005?
CREATE TABLE table_27369069_1 ( province VARCHAR, founded VARCHAR )
SELECT province FROM table_27369069_1 WHERE founded = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3420, 2394, 3951, 834, 536, 41, 7985, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 84, 370, 3772, 31, 7, 10749, 14939, 47, 5710, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7985, 21680, 953, 834, 2555, 3420, 2394, 3951, 834, 536, 549, 17444, 427, 5710, 3274, 3105, 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 drug type of Estrella Carroll?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT prescriptions.drug_type FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Estrella Carroll"
[ 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, 7744, 7, 5, 26, 13534, 834, 6137, 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, 17444, 427, 14798, 5, 4350, 3274, 96, 14...
What is Shot Pct., when Stolen Ends is 2?
CREATE TABLE table_49861 ( "Province" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real )
SELECT "Shot Pct." FROM table_49861 WHERE "Stolen Ends" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 3840, 536, 41, 96, 3174, 2494, 565, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 8532, 26, 7, 549, 106, 121, 490, 6, 96, 8532, 26, 7, 19576, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 10718, 276, 75, 17, 535, 21680, 953, 834, 3647, 3840, 536, 549, 17444, 427, 96, 134, 235, 40, 35, 3720, 7, 121, 3274, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the total number of medals the ivory coast won ?
CREATE TABLE table_203_377 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "total" FROM table_203_377 WHERE "nation" = 'ivory coast'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 519, 4013, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 235, 1947, 121, 21680, 953, 834, 23330, 834, 519, 4013, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 23, 1967, 63, 4939, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What class has nsr250 as the machine, with points greater than 97?
CREATE TABLE table_39459 ( "Year" real, "Class" text, "Team" text, "Machine" text, "Points" real, "Rank" text, "Wins" real )
SELECT "Class" FROM table_39459 WHERE "Machine" = 'nsr250' AND "Points" > '97'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 591, 3390, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 329, 1836, 630, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 2255...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21486, 121, 21680, 953, 834, 3288, 591, 3390, 549, 17444, 427, 96, 329, 1836, 630, 121, 3274, 3, 31, 29, 7, 52, 11434, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 4327, 31, 1, -100, -100, -100, -100, -100, -10...
Which Years in Orlando has a Nationality of united states, and a Player of doug overton?
CREATE TABLE table_name_43 ( years_in_orlando VARCHAR, nationality VARCHAR, player VARCHAR )
SELECT years_in_orlando FROM table_name_43 WHERE nationality = "united states" AND player = "doug overton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 203, 834, 77, 834, 32, 7721, 32, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 407...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 203, 834, 77, 834, 32, 7721, 32, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1157, 485, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 26, 1063, 122, 147, 17, 106, 121, 1, -100, -100, -100, -100,...
What artist has a mintage of greater than 34,135?
CREATE TABLE table_name_29 ( artist VARCHAR, mintage INTEGER )
SELECT artist FROM table_name_29 WHERE mintage > 34 OFFSET 135
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 2377, 584, 4280, 28027, 6, 13983, 545, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2377, 65, 3, 9, 13983, 545, 13, 2123, 145, 6154, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2377, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 13983, 545, 2490, 6154, 3, 15316, 20788, 209, 2469, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which tires were in Class C in years before 1983?
CREATE TABLE table_name_70 ( tyres VARCHAR, class VARCHAR, year VARCHAR )
SELECT tyres FROM table_name_70 WHERE class = "c" AND year < 1983
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 3, 17, 63, 60, 7, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 12541, 130, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 63, 60, 7, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 853, 3274, 96, 75, 121, 3430, 215, 3, 2, 15041, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which date has a Result of 5 0, and an Opponent of tooting & mitcham?
CREATE TABLE table_15760 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text )
SELECT "Date" FROM table_15760 WHERE "Result" = '5–0' AND "Opponent" = 'tooting & mitcham'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 28212, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 1808, 28212, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 755, 104, 632, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 235, 32, 1222, 3, 184, 181, 17788, 31, 1, -100, -100,...
wWhich district has a retired republican hold with an incumbent of rufus p. spalding?
CREATE TABLE table_5538 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text )
SELECT "District" FROM table_5538 WHERE "Result" = 'retired republican hold' AND "Incumbent" = 'rufus p. spalding'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 3747, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 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, 308, 23, 20066, 121, 21680, 953, 834, 3769, 3747, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 10682, 1271, 20237, 152, 1520, 31, 3430, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 10977, 302, 3, 102, 5, 4174, ...
how many types of trains have a top speed of more than 100 km/h ?
CREATE TABLE table_203_154 ( id number, "type" text, "manufacturer" text, "numbers" text, "year built" number, "quantity built" number, "power (horsepower)" number, "max speed (km/h)" number, "note" text )
SELECT COUNT("type") FROM table_203_154 WHERE "max speed (km/h)" >= 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 27308, 41, 3, 23, 26, 381, 6, 96, 6137, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, 5525, 1152, 7, 121, 1499, 6, 96, 1201, 1192, 121, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 6137, 8512, 21680, 953, 834, 23330, 834, 27308, 549, 17444, 427, 96, 9128, 1634, 41, 5848, 87, 107, 61, 121, 2490, 2423, 910, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the alphabetically ordered list of all distinct medications?
CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text ) CREATE TABLE physician ( employeeid number, name text, position text, ssn number ) CREATE TABLE procedures ( code number, name text, cost number...
SELECT DISTINCT name FROM medication ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27766, 7, 41, 10027, 381, 6, 1868, 381, 6, 7757, 381, 6, 833, 97, 6, 4141, 381, 6, 6742, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10027, 41, 3490, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 564, 21680, 7757, 4674, 11300, 272, 476, 564, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the to par for Leonard Thompson from the United States with a place of T6?
CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_3 WHERE place = "t6" AND country = "united states" AND player = "leonard thompson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 235, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 286, 3274, 96, 17, 948, 121, 3430, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 109, 106, 986, 3, 189, 32, 1167, 739, 121, 1, -1...
What is the sum of Year, when Opponent is #3 UCONN?
CREATE TABLE table_45465 ( "Year" real, "Seed" real, "Round" text, "Opponent" text, "Result/Score" text )
SELECT SUM("Year") FROM table_45465 WHERE "Opponent" = '#3 uconn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 591, 4122, 41, 96, 476, 2741, 121, 490, 6, 96, 18648, 26, 121, 490, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 87, 134, 9022...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2128, 591, 4122, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 4663, 519, 3, 76, 1018, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Election has a 2nd Member of reform act 1867 : constituency abolished?
CREATE TABLE table_12985 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text )
SELECT "Election" FROM table_12985 WHERE "2nd Member" = 'reform act 1867 : constituency abolished'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22174, 4433, 41, 96, 427, 12252, 121, 1499, 6, 96, 536, 7, 17, 8541, 121, 1499, 6, 96, 536, 7, 17, 3450, 121, 1499, 6, 96, 357, 727, 8541, 121, 1499, 6, 96, 357, 727, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 12252, 121, 21680, 953, 834, 22174, 4433, 549, 17444, 427, 96, 357, 727, 8541, 121, 3274, 3, 31, 60, 2032, 1810, 507, 3708, 3, 10, 6439, 4392, 31226, 15, 26, 31, 1, -100, -100, -100, -100, -100, -100, -10...
What player has a t57 as the finish?
CREATE TABLE table_name_65 (player VARCHAR, finish VARCHAR)
SELECT player FROM table_name_65 WHERE finish = "t57"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 20846, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 65, 3, 9, 3, 17, 3436, 38, 8, 1992, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1992, 3274, 96, 17, 3436, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the finish for Lanny Wadkins of the United States?
CREATE TABLE table_59667 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Finish" FROM table_59667 WHERE "Country" = 'united states' AND "Player" = 'lanny wadkins'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3539, 940, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 371, 77, 1273, 121, 21680, 953, 834, 3390, 3539, 940, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 40, 15159, 8036, 26, 7815, 31, 1, -100...
Which Volleyball has a Golf of 2, and an Indoor track of 3?
CREATE TABLE table_43522 ( "School" text, "Bask" real, "Golf" text, "Soccer" text, "Soft" text, "Swimming" text, "Tennis" real, "Indoor track" text, "Outdoor track" text, "Volleyball" text, "Total" real )
SELECT "Volleyball" FROM table_43522 WHERE "Golf" = '2' AND "Indoor track" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2469, 2884, 41, 96, 29364, 121, 1499, 6, 96, 14885, 157, 121, 490, 6, 96, 6221, 40, 89, 121, 1499, 6, 96, 134, 13377, 49, 121, 1499, 6, 96, 28017, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22803, 1306, 3184, 121, 21680, 953, 834, 591, 2469, 2884, 549, 17444, 427, 96, 6221, 40, 89, 121, 3274, 3, 31, 357, 31, 3430, 96, 1570, 11968, 1463, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, ...
Which score was for Toronto Maple Leafs at home on November 12?
CREATE TABLE table_37852 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_37852 WHERE "Home" = 'toronto maple leafs' AND "Date" = 'november 12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 4433, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 4118, 4433, 357, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 235, 4438, 32, 22007, 8384, 7, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 586, 31, 1, -100, -100, -...
What team was Temple playing on January 19?
CREATE TABLE table_29556461_7 (team VARCHAR, date VARCHAR)
SELECT team FROM table_29556461_7 WHERE date = "January 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3769, 4389, 4241, 834, 940, 41, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 10999, 1556, 30, 1762, 957, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 3166, 3769, 4389, 4241, 834, 940, 549, 17444, 427, 833, 3274, 96, 30404, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average grid with brm and under 63 laps?
CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 63
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 3496, 26, 3, 21342, 17966, 6, 6774, 127, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 8634, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 6774, 127, 3274, 96, 115, 52, 51, 121, 3430, 14941, 7, 3, 2, 3, 3891, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who has the high assists when location attendance is 20,562?
CREATE TABLE table_name_20 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT high_assists FROM table_name_20 WHERE location_attendance = "20,562"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 8, 306, 13041, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 1755, 6, 4834, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Jump 2 of the person that has a Jump 1 of 7.14
CREATE TABLE table_32521 ( "Athlete Name" text, "Jump 1" text, "Jump 2" text, "Jump 3" text, "Best Jump" text )
SELECT "Jump 2" FROM table_32521 WHERE "Jump 1" = '7.14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 1828, 2658, 41, 96, 188, 189, 1655, 15, 5570, 121, 1499, 6, 96, 683, 440, 102, 209, 121, 1499, 6, 96, 683, 440, 102, 204, 121, 1499, 6, 96, 683, 440, 102, 220, 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, 683, 440, 102, 204, 121, 21680, 953, 834, 519, 1828, 2658, 549, 17444, 427, 96, 683, 440, 102, 209, 121, 3274, 3, 31, 25059, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the percentage for Republican: Dino Rossi when Democrat: Christine Gregoire polled at 53.7% and the lead margin was larger than 7?
CREATE TABLE table_48634 ( "Source" text, "Dates administered" text, "Democrat: Christine Gregoire" text, "Republican: Dino Rossi" text, "Lead Margin" real )
SELECT "Republican: Dino Rossi" FROM table_48634 WHERE "Lead Margin" > '7' AND "Democrat: Christine Gregoire" = '53.7%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3840, 3710, 41, 96, 23799, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 21110, 11859, 6534, 121, 1499, 6, 96, 1649, 15727, 152, 10, 3181, 32, 9616,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 15727, 152, 10, 3181, 32, 9616, 23, 121, 21680, 953, 834, 591, 3840, 3710, 549, 17444, 427, 96, 2796, 9, 26, 16409, 77, 121, 2490, 3, 31, 940, 31, 3430, 96, 19679, 10, 21110, 11859, 6534, 121, 3274, 3, ...
Which Score in the final has a Surface of hard on august 20, 1989?
CREATE TABLE table_45728 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Score in the final" FROM table_45728 WHERE "Surface" = 'hard' AND "Date" = 'august 20, 1989'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3436, 2577, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 16, 8, 804, 121, 21680, 953, 834, 591, 3436, 2577, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 5651, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 402, 17198, 16047, 9975, 31, 1, -100, -100...
what is the title when the citation is honor and the narrator is lincoln hoppe?
CREATE TABLE table_name_94 (title VARCHAR, citation VARCHAR, narrator VARCHAR)
SELECT title FROM table_name_94 WHERE citation = "honor" AND narrator = "lincoln hoppe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 21869, 584, 4280, 28027, 6, 3, 13903, 584, 4280, 28027, 6, 3, 29, 291, 52, 1016, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2233,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 3, 13903, 3274, 96, 107, 106, 127, 121, 3430, 3, 29, 291, 52, 1016, 3274, 96, 40, 77, 3297, 29, 13652, 855, 121, 1, -100, -100, -100, -100, -100, -100, -100...
what is the first city/town/village listed in the table ?
CREATE TABLE table_204_841 ( id number, "no." number, "temple" text, "honzon (main image)" text, "city/town/village" text, "prefecture" text )
SELECT "city/town/village" FROM table_204_841 WHERE id = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4608, 536, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 15076, 109, 121, 1499, 6, 96, 107, 106, 8892, 41, 7484, 1023, 61, 121, 1499, 6, 96, 6726, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6726, 87, 3540, 87, 208, 17614, 121, 21680, 953, 834, 26363, 834, 4608, 536, 549, 17444, 427, 3, 23, 26, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of phone_number and department_id , display from high to low by the X.
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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE...
SELECT PHONE_NUMBER, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER 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, 3, 8023, 7894, 834, 567, 6122, 12920, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, ...
What type has the characters ?
CREATE TABLE table_name_48 ( type VARCHAR, characters VARCHAR )
SELECT type FROM table_name_48 WHERE characters = "廣利"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 686, 584, 4280, 28027, 6, 2850, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 65, 8, 2850, 3, 58, 1, 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, 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, 686, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 2850, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is maximum age of patients whose marital status is single and primary disease is hypoxia?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.diagnosis = "HYPOXIA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 134, 2365, 3765, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 15761, 6618, 4, 196, 188, 121, ...
what is the number of patients whose admission year is less than 2182 and item id is 50801?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2182" AND lab.itemid = "50801"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is Score, when Name is Nicole ?
CREATE TABLE table_40379 ( "Index" text, "Name" text, "Song" text, "Group Song" text, "Score" text )
SELECT "Score" FROM table_40379 WHERE "Name" = 'nicole 赖淞凤'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 519, 4440, 41, 96, 26267, 226, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 27247, 11263, 121, 1499, 6, 96, 134, 9022, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 2445, 519, 4440, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2532, 32, 109, 3, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is 1999, when 1998 is 2R?
CREATE TABLE table_41952 ( "Tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text...
SELECT "1999" FROM table_41952 WHERE "1998" = '2r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 3301, 357, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4271, 121, 1499, 6, 96, 19479, 20364, 1499, 6, 96, 19479, 17395, 1499, 6, 96, 2294, 4314, 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, 2294, 3264, 121, 21680, 953, 834, 4853, 3301, 357, 549, 17444, 427, 96, 2294, 3916, 121, 3274, 3, 31, 357, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe?
CREATE TABLE table_14254419_3 ( Assistant VARCHAR, principal__2013_2014_ VARCHAR )
SELECT Assistant AS principal__2013_2014_ FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 1828, 3628, 2294, 834, 519, 41, 9255, 584, 4280, 28027, 6, 3218, 834, 834, 11138, 834, 10218, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 66,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 9255, 6157, 3218, 834, 834, 11138, 834, 10218, 834, 21680, 953, 834, 2534, 1828, 3628, 2294, 834, 519, 549, 17444, 427, 3218, 834, 834, 11138, 834, 10218, 834, 3274, 96, 13026, 17, 25182, 121, 1, -100, -100, -100, -10...
List all the cities in a decreasing order of each city's stations' highest latitude.
CREATE TABLE status ( station_id number, bikes_available number, docks_available number, time text ) CREATE TABLE station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text ) CREATE TABLE weather ( date text, max_te...
SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2637, 41, 2478, 834, 23, 26, 381, 6, 13490, 834, 28843, 381, 6, 12908, 7, 834, 28843, 381, 6, 97, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 21680, 2478, 350, 4630, 6880, 272, 476, 690, 4674, 11300, 272, 476, 4800, 4, 599, 40, 144, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who directed the episode that was viewed by 2.57 million people in the U.S.?
CREATE TABLE table_17223 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Directed by" FROM table_17223 WHERE "U.S. viewers (millions)" = '2.57'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 2773, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 15, 26, 57, 121, 21680, 953, 834, 27156, 2773, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 4416, 3436, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...