NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What final score was there on October 8, 2006?
CREATE TABLE table_name_96 ( score_in_the_final VARCHAR, date VARCHAR )
SELECT score_in_the_final FROM table_name_96 WHERE date = "october 8, 2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 804, 2604, 47, 132, 30, 179...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 9478, 3581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the difference in silver medals between china and chinese taipei ?
CREATE TABLE table_203_576 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT (SELECT "silver" FROM table_203_576 WHERE "nation" = 'china') - (SELECT "silver" FROM table_203_576 WHERE "nation" = 'chinese taipei')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3959, 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, 41, 23143, 14196, 96, 7, 173, 624, 121, 21680, 953, 834, 23330, 834, 755, 3959, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 5675, 9, 31, 61, 3, 18, 41, 23143, 14196, 96, 7, 173, 624, 121, 21680, 953, 834, ...
What is the number of gt1 winning team for rnd 5?
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)
SELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22011, 25991, 3651, 834, 357, 41, 122, 17, 536, 834, 8163, 834, 11650, 584, 4280, 28027, 6, 3, 52, 727, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 122, 17, 536, 834, 8163, 834, 11650, 61, 21680, 953, 834, 22011, 25991, 3651, 834, 357, 549, 17444, 427, 3, 52, 727, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is North American Release Date, when Japanese Release Date is "2011-06-23"?
CREATE TABLE table_name_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR)
SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 29, 127, 189, 834, 23064, 29, 834, 21019, 834, 5522, 584, 4280, 28027, 6, 2662, 2837, 15, 7, 15, 834, 21019, 834, 5522, 584, 4280, 28027, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3457, 834, 23064, 29, 834, 21019, 834, 5522, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2662, 2837, 15, 7, 15, 834, 21019, 834, 5522, 3274, 96, 13907, 18, 5176, 18, 2773, 121, 1, -100, -100, -100, -100, -100...
What country does charles coody play for?
CREATE TABLE table_name_21 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_21 WHERE player = "charles coody"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 405, 3, 4059, 965, 576, 9666, 577, 21, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1959, 3274, 96, 4059, 965, 576, 9666, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In the 6th round match with home team Bahia, who was the away team?
CREATE TABLE table_42254 ( "Round" text, "Date" text, "Home team" text, "Score" text, "Away team" text )
SELECT "Away team" FROM table_42254 WHERE "Round" = '6th' AND "Home team" = 'bahia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 1828, 591, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 4165, 1828, 591, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 948, 189, 31, 3430, 96, 19040, 372, 121, 3274, 3, 31, 17670, 23, 9, 31, 1, -100, -100, -100, -100,...
how many hours have elapsed since patient 011-55642 was admitted to the hospital?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREA...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '011-55642' AND patient.hospitaldischargetime IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 31386, 20466, 17, 715, 61, 61, 216...
How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
CREATE TABLE table_name_38 ( rank VARCHAR, silver VARCHAR, bronze VARCHAR )
SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 11003, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2323, 751, 72, 145, 204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 61, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 4294, 2490, 204, 3430, 13467, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
With U.S. viewers of 9.32 million, what is the production code?
CREATE TABLE table_19266557_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT production_code FROM table_19266557_1 WHERE us_viewers__millions_ = "9.32"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2688, 4122, 3436, 834, 536, 41, 20762, 834, 4978, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 2294, 2688, 4122, 3436, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 8797, 2668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients were born before the year 2101 with the procedure long title closed biopsy of skin and subcutaneous tissue?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2101" AND procedures.long_title = "Closed biopsy of skin and subcutaneous tissue"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the average goals Sawyer has?
CREATE TABLE table_name_46 (goals INTEGER, name VARCHAR)
SELECT AVG(goals) FROM table_name_46 WHERE name = "sawyer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 839, 5405, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 1766, 19716, 7975, 65, 58, 1, 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, 71, 17217, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 564, 3274, 96, 13125, 7975, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What years was Lebanon the nationality?
CREATE TABLE table_name_82 ( years_in_orlando VARCHAR, nationality VARCHAR )
SELECT years_in_orlando FROM table_name_82 WHERE nationality = "lebanon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 203, 834, 77, 834, 32, 7721, 32, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 47, 21502, 8, 1157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 203, 834, 77, 834, 32, 7721, 32, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1157, 485, 3274, 96, 109, 3478, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the opponent during week 8?
CREATE TABLE table_name_67 ( opponent VARCHAR, week VARCHAR )
SELECT opponent FROM table_name_67 WHERE week = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 15264, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 383, 471, 505, 58, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 471, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the comments when vendor and type is enterasys switches?
CREATE TABLE table_1206114_2 ( comments VARCHAR, vendor_and_type VARCHAR )
SELECT comments FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15518, 4241, 2534, 834, 357, 41, 2622, 584, 4280, 28027, 6, 11407, 834, 232, 834, 6137, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2622, 116, 11407, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2622, 21680, 953, 834, 15518, 4241, 2534, 834, 357, 549, 17444, 427, 11407, 834, 232, 834, 6137, 3274, 96, 16924, 1498, 7, 63, 7, 13218, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who's the opponent with a time of 3:24?
CREATE TABLE table_13265 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Opponent" FROM table_13265 WHERE "Time" = '3:24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23757, 4122, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 23757, 4122, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 519, 10, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of Game, when Attendance is '18,568'?
CREATE TABLE table_name_7 ( game VARCHAR, attendance VARCHAR )
SELECT COUNT(game) FROM table_name_7 WHERE attendance = 18 OFFSET 568
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 467, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 4435, 6, 116, 22497, 663, 19, 3, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7261, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 11364, 3274, 507, 3, 15316, 20788, 305, 3651, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show all main industry for all companies.
CREATE TABLE company ( main_industry VARCHAR )
SELECT DISTINCT main_industry FROM company
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 711, 834, 13580, 7, 8224, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 711, 681, 21, 66, 688, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 711, 834, 13580, 7, 8224, 21680, 349, 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,...
Who was the radio 1 presenter for the broadcast that had 9.73 million viewers?
CREATE TABLE table_24212608_1 (radio_1_presenter VARCHAR, viewers__millions_ VARCHAR)
SELECT radio_1_presenter FROM table_24212608_1 WHERE viewers__millions_ = "9.73"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2658, 2688, 4018, 834, 536, 41, 5883, 32, 834, 536, 834, 12640, 49, 584, 4280, 28027, 6, 13569, 834, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2252, 834, 536, 834, 12640, 49, 21680, 953, 834, 2266, 2658, 2688, 4018, 834, 536, 549, 17444, 427, 13569, 834, 834, 17030, 7, 834, 3274, 96, 8797, 4552, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there Plot them as bar chart, I want to show names from low to high order.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int )
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 96, 19040, 4463, 121, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 28998, 127, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 28998, 127, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Road Team of Game 3?
CREATE TABLE table_name_64 ( road_team VARCHAR, game VARCHAR )
SELECT road_team FROM table_name_64 WHERE game = "game 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 1373, 834, 11650, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2409, 2271, 13, 4435, 220, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1373, 834, 11650, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 467, 3274, 96, 7261, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the city for enrollment being 19900
CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
SELECT city FROM table_27378582_1 WHERE enrollment = 19900
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4118, 4433, 4613, 834, 536, 41, 6726, 584, 4280, 28027, 6, 17938, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 690, 21, 17938, 271, 5541, 632, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 2555, 4118, 4433, 4613, 834, 536, 549, 17444, 427, 17938, 3274, 5541, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the country of player vijay singh?
CREATE TABLE table_name_59 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_59 WHERE player = "vijay singh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 17529, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 684, 13, 1959, 5931, 1191, 63, 10159, 107, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1959, 3274, 96, 2099, 1191, 63, 10159, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the local/networked value for the show with an ad frequency of N/A?
CREATE TABLE table_name_38 (local_networked VARCHAR, ad_freq VARCHAR)
SELECT local_networked FROM table_name_38 WHERE ad_freq = "n/a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 16882, 834, 1582, 1981, 15, 26, 584, 4280, 28027, 6, 3, 9, 26, 834, 89, 60, 1824, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 415, 834, 1582, 1981, 15, 26, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 3, 9, 26, 834, 89, 60, 1824, 3274, 96, 29, 87, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the nationality of the player with 2 years of NBA experience for the previously played for the Los Angeles Lakers?
CREATE TABLE table_name_23 (nationality VARCHAR, previous_team VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)
SELECT nationality FROM table_name_23 WHERE years_of_nba_experience_[a_] = 2 AND previous_team = "los angeles lakers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 16557, 485, 584, 4280, 28027, 6, 1767, 834, 11650, 584, 4280, 28027, 6, 203, 834, 858, 834, 29, 115, 9, 834, 22602, 834, 584, 4280, 28027, 6, 3, 9, 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, 2773, 549, 17444, 427, 203, 834, 858, 834, 29, 115, 9, 834, 22602, 834, 6306, 9, 834, 908, 3274, 204, 3430, 1767, 834, 11650, 3274, 96, 2298, 11831, 15, 7, 50, 11758, 121, 1,...
how many total players withdrew from the 2010 french open tennis competition ?
CREATE TABLE table_204_188 ( id number, "rank" number, "player" text, "points" number, "points defending" number, "points won" number, "new points" number, "withdrew due to" text )
SELECT COUNT("player") FROM table_204_188
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 25794, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 2700, 7, 121, 381, 6, 96, 2700, 7, 3, 20309, 121, 381, 6, 96, 2700, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 20846, 8512, 21680, 953, 834, 26363, 834, 25794, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what secretary of state served under both prime minister laurier and prime minister king ?
CREATE TABLE table_201_27 ( id number, "#" number, "secretary of state" text, "prime minister" text, "tenure" text )
SELECT "secretary of state" FROM table_201_27 WHERE "prime minister" = 'laurier' INTERSECT SELECT "secretary of state" FROM table_201_27 WHERE "prime minister" = 'king'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22772, 834, 2555, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 27527, 1208, 13, 538, 121, 1499, 6, 96, 8234, 15, 6323, 121, 1499, 6, 96, 324, 1462, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 27527, 1208, 13, 538, 121, 21680, 953, 834, 22772, 834, 2555, 549, 17444, 427, 96, 8234, 15, 6323, 121, 3274, 3, 31, 521, 459, 49, 31, 3, 21342, 5249, 14196, 3, 23143, 14196, 96, 27527, 1208, 13, 538, 121, 216...
What is the tourism competitiveness in 2011 of venezuela?
CREATE TABLE table_name_90 ( tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR )
SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = "venezuela"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 8676, 834, 287, 19427, 757, 655, 834, 834, 13907, 834, 834, 834, 17, 17, 75, 23, 834, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 8676, 834, 287, 19427, 757, 655, 834, 834, 13907, 834, 834, 834, 17, 17, 75, 23, 834, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 684, 3274, 96, 25277, 76, 15, 521, 121, 1, -100, -100, -100, -100, -100, -10...
What is the final for middleweight 75 kg?
CREATE TABLE table_name_88 ( final VARCHAR, event VARCHAR )
SELECT final FROM table_name_88 WHERE event = "middleweight –75 kg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 804, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 804, 21, 2214, 9378, 6374, 9147, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 804, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 605, 3274, 96, 51, 23, 8437, 9378, 3, 104, 3072, 9147, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the circuit when Phil Hill has the fastest lap?
CREATE TABLE table_name_1 (circuit VARCHAR, fastest_lap VARCHAR)
SELECT circuit FROM table_name_1 WHERE fastest_lap = "phil hill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 15357, 21560, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 4558, 116, 8188, 3588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4558, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 18118, 9956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What number episode in the series was titled 'Best Laid Plans'?
CREATE TABLE table_3988 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT MAX("No. in series") FROM table_3988 WHERE "Title" = 'Best Laid Plans'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 4060, 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, 4800, 4, 599, 121, 4168, 5, 16, 939, 8512, 21680, 953, 834, 3288, 4060, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 17278, 325, 23, 26, 14423, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of the prominence in m of moussa ali terara peak?
CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR)
SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 1409, 1109, 1433, 834, 834, 51, 834, 3, 21342, 17966, 6, 6734, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 8, 31829, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1409, 1109, 1433, 834, 834, 51, 834, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 6734, 3274, 96, 51, 1162, 7, 9, 3, 4288, 3, 449, 2551, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Name the player for 68-68-75-74=285
CREATE TABLE table_70165 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Player" FROM table_70165 WHERE "Score" = '68-68-75-74=285'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 22823, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 15800, 49, 121, 21680, 953, 834, 2518, 22823, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3651, 18, 3651, 18, 3072, 18, 4581, 2423, 357, 4433, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What stadium does FK Jedinstvo play in?
CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)
SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Jedinstvo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3539, 4225, 4608, 834, 536, 41, 2427, 12925, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 14939, 405, 377, 439, 29231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14939, 21680, 953, 834, 2577, 3539, 4225, 4608, 834, 536, 549, 17444, 427, 234, 834, 11650, 3274, 96, 371, 439, 29231, 29, 7, 17, 1621, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the weights of entrepreneurs in descending order of money requested?
CREATE TABLE people ( Weight VARCHAR, People_ID VARCHAR ) CREATE TABLE entrepreneur ( People_ID VARCHAR, Money_Requested VARCHAR )
SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 14230, 584, 4280, 28027, 6, 2449, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 2449, 834, 4309, 584, 4280, 28027, 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, 332, 4416, 1326, 2632, 21680, 3, 12290, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, 3274, 332, 4416, 24337, 834, 4309, 4674, 11300, 272, 476, 332, 5411, 9168, 15, 63, 834, ...
Who was the Japan open runner up?
CREATE TABLE table_77803 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner-up" text )
SELECT "Runner-up" FROM table_77803 WHERE "Tournament" = 'japan open'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 2079, 519, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 18, 413, 121, 21680, 953, 834, 4013, 2079, 519, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 1191, 2837, 539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who is the the mens singles with mens doubles being kaj lindfors kaj osterberg
CREATE TABLE table_19031 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text )
SELECT "Mens singles" FROM table_19031 WHERE "Mens doubles" = 'Kaj Lindfors Kaj Osterberg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 3341, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 7, 1486, 7, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 35, 7, 712, 7, 121, 21680, 953, 834, 11776, 3341, 549, 17444, 427, 96, 329, 35, 7, 1486, 7, 121, 3274, 3, 31, 439, 9, 354, 14482, 1161, 7, 2209, 354, 22054, 2235, 31, 1, -100, -100, -100, -100, -100, ...
What's the smallest pick number of a player playing in Minnesota North Stars?
CREATE TABLE table_23129 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT MIN("Pick #") FROM table_23129 WHERE "NHL team" = 'Minnesota North Stars'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 22174, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 345, 3142, 1713, 8512, 21680, 953, 834, 2773, 22174, 549, 17444, 427, 96, 15743, 434, 372, 121, 3274, 3, 31, 12858, 1496, 32, 17, 9, 1117, 2042, 7, 31, 1, -100, -100, -100, -100, -100, -100, -1...
What is the largest number of top division titles with a 2012 position of 10th?
CREATE TABLE table_name_13 ( top_division_titles INTEGER, position_in_2012 VARCHAR )
SELECT MAX(top_division_titles) FROM table_name_13 WHERE position_in_2012 = "10th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 420, 834, 26, 23, 6610, 834, 21869, 7, 3, 21342, 17966, 6, 1102, 834, 77, 834, 12172, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2916, 834, 26, 23, 6610, 834, 21869, 7, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 1102, 834, 77, 834, 12172, 3274, 96, 1714, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the opponent of the home team of essendon?
CREATE TABLE table_57611 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_57611 WHERE "Home team" = 'essendon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4241, 536, 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, 121, 21680, 953, 834, 3436, 4241, 536, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 8185, 2029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What pick number was the player that was picked by Edmonton?
CREATE TABLE table_28059992_5 ( pick__number VARCHAR, cfl_team VARCHAR )
SELECT pick__number FROM table_28059992_5 WHERE cfl_team = "Edmonton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3076, 19446, 357, 834, 755, 41, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 3, 75, 89, 40, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1432, 834, 834, 5525, 1152, 21680, 953, 834, 2577, 3076, 19446, 357, 834, 755, 549, 17444, 427, 3, 75, 89, 40, 834, 11650, 3274, 96, 427, 26, 4662, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is L2 Cache, when Model Number is Atom Z625?
CREATE TABLE table_name_60 ( l2_cache VARCHAR, model_number VARCHAR )
SELECT l2_cache FROM table_name_60 WHERE model_number = "atom z625"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 3, 40, 357, 834, 75, 4933, 584, 4280, 28027, 6, 825, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 301, 357, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 40, 357, 834, 75, 4933, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 825, 834, 5525, 1152, 3274, 96, 10432, 3, 172, 4056, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total swimsuit with Preliminaries smaller than 8.27?
CREATE TABLE table_name_48 (swimsuit INTEGER, preliminaries INTEGER)
SELECT SUM(swimsuit) FROM table_name_48 WHERE preliminaries < 8.27
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 7, 210, 603, 7628, 3, 21342, 17966, 6, 554, 4941, 77, 5414, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 9728, 7628, 28, 1266, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 7, 210, 603, 7628, 61, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 554, 4941, 77, 5414, 3, 2, 4848, 2555, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of founder and the average of code , and group by attribute founder, and I want to sort by the the average of code from high to low.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T1.Code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 19145, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 1...
Episode of 9 in which performer 3 had?
CREATE TABLE table_36205 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text )
SELECT "Performer 3" FROM table_36205 WHERE "Episode" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 23201, 41, 96, 308, 342, 121, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 12988, 2032, 49, 209, 121, 1499, 6, 96, 12988, 2032, 49, 204, 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, 12988, 2032, 49, 220, 121, 21680, 953, 834, 3420, 23201, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is discharge time and diagnoses short title of subject name cynthia robinson?
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 demographic.dischtime, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Cynthia Robinson"
[ 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, 14798, 5, 26, 2499, 715, 6, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549, 17444, 42...
What is the level when points are larger than 25, and goals are 64–31?
CREATE TABLE table_name_43 (level VARCHAR, points VARCHAR, goals VARCHAR)
SELECT level FROM table_name_43 WHERE points > 25 AND goals = "64–31"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 4563, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 593, 116, 979, 33, 2186, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 593, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 979, 2490, 944, 3430, 1766, 3274, 96, 4389, 104, 3341, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the number of names of phones in a bar chart, display by the y-axis in asc.
CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Rankin...
SELECT Name, COUNT(Name) FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID GROUP BY Name ORDER BY COUNT(Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 41, 5570, 1499, 6, 8924, 834, 4309, 16, 17, 6, 19159, 834, 77, 834, 517, 16, 17, 6, 1184, 6711, 1499, 6, 5312, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 951, 834, 8809, 6157, 332, 536, 3, 15355, 3162, 512, 6157, 332, 357, 9191, 332, 5411, 22572, 834, 4309, 3274, 332, 4416, 22572, 834, 4309, 3, 15355, 3162, 951, 6157, 332, ...
Which driver has the highest point total after winning $133,386?
CREATE TABLE table_12047 ( "Driver" text, "Car #" real, "Make" text, "Points" real, "Laps" real, "Winnings" text )
SELECT MAX("Points") FROM table_12047 WHERE "Winnings" = '$133,386'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15518, 4177, 41, 96, 20982, 52, 121, 1499, 6, 96, 6936, 1713, 121, 490, 6, 96, 22638, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22512, 7, 8512, 21680, 953, 834, 15518, 4177, 549, 17444, 427, 96, 518, 10503, 7, 121, 3274, 3, 31, 3229, 22974, 6, 519, 3840, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the event with leonardo chocolate in 2009?
CREATE TABLE table_56893 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" real )
SELECT "Event" FROM table_56893 WHERE "Date" = '2009' AND "Opponent" = 'leonardo chocolate'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 3914, 519, 41, 96, 20119, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 308, 342, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 4834, 3914, 519, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 16660, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 109, 106, 986, 32, 3711, 31, 1, -100, -100, -100, -10...
In 2010-11, what was the League name?
CREATE TABLE table_74941 ( "Year" text, "League" text, "Reg. Season" text, "Playoffs" text, "Avg. attendance" text )
SELECT "League" FROM table_74941 WHERE "Year" = '2010-11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 4240, 536, 41, 96, 476, 2741, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17748, 5, 7960, 121, 1499, 6, 96, 15800, 1647, 7, 121, 1499, 6, 96, 188, 208, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2796, 9, 5398, 121, 21680, 953, 834, 4581, 4240, 536, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 14926, 9169, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What shows for gold when the rank is less than 3, and silver less than 1?
CREATE TABLE table_name_62 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 14910, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, 21, 2045, 116, 8, 11003, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 11003, 3, 2, 220, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the result of the game with a score of 3-2?
CREATE TABLE table_40531 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_40531 WHERE "Score" = '3-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3076, 3341, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 591, 3076, 3341, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 21160, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of email and department_id in a bar chart, order in desc by the Y.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JO...
SELECT EMAIL, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY DEPARTMENT_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 20211, 3502, 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, 427, 283, 15610, 17966,...
What is the lowest game number when the record was 26-24-9?
CREATE TABLE table_46036 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text )
SELECT MIN("Game") FROM table_46036 WHERE "Record" = '26-24-9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25991, 3420, 41, 96, 23055, 121, 490, 6, 96, 31122, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 3, 17684, 599, 121, 23055, 8512, 21680, 953, 834, 25991, 3420, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2688, 14962, 7141, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What place is Scott McCarron in?
CREATE TABLE table_59870 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT "Place" FROM table_59870 WHERE "Player" = 'scott mccarron'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3916, 2518, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 345, 11706, 121, 21680, 953, 834, 755, 3916, 2518, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 7, 10405, 3, 51, 75, 1720, 52, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who is the husband when ceased to be dauphine is 22 july 1461 became queen?
CREATE TABLE table_name_36 (husband VARCHAR, ceased_to_be_dauphine VARCHAR)
SELECT husband FROM table_name_36 WHERE ceased_to_be_dauphine = "22 july 1461 became queen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 11823, 3348, 584, 4280, 28027, 6, 3, 29220, 834, 235, 834, 346, 834, 26, 402, 22230, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2553, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 3, 29220, 834, 235, 834, 346, 834, 26, 402, 22230, 15, 3274, 96, 2884, 3, 2047, 120, 968, 4241, 1632, 14915, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
What is the line of Mangalore station?
CREATE TABLE table_name_54 ( line VARCHAR, name VARCHAR )
SELECT line FROM table_name_54 WHERE name = "mangalore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 689, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 689, 13, 26005, 322, 15, 2478, 58, 1, 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, 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, 689, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 564, 3274, 96, 348, 6191, 127, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the power that belongs to Class A with an Identifier of CBOC-FM?
CREATE TABLE table_name_90 ( power VARCHAR, class VARCHAR, identifier VARCHAR )
SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 579, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 3, 8826, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 579, 24, 16952, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 579, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 853, 3274, 96, 9, 121, 3430, 3, 8826, 52, 3274, 96, 75, 26943, 18, 89, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many weeks have a Result of t 10-10?
CREATE TABLE table_name_78 ( week VARCHAR, result VARCHAR )
SELECT COUNT(week) FROM table_name_78 WHERE result = "t 10-10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 471, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1274, 43, 3, 9, 3, 20119, 13, 3, 17, 335, 4536, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 741, 3274, 96, 17, 335, 4536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves?
CREATE TABLE table_name_7 ( date VARCHAR, home VARCHAR, visitor VARCHAR )
SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 833, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 16, 84,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 234, 3274, 96, 3496, 5271, 4664, 121, 3430, 7019, 3274, 96, 2998, 1152, 29219, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what's the district with result being re-elected and candidates being clarence f. lea (d) unopposed
CREATE TABLE table_1342233_6 (district VARCHAR, result VARCHAR, candidates VARCHAR)
SELECT district FROM table_1342233_6 WHERE result = "Re-elected" AND candidates = "Clarence F. Lea (D) Unopposed"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 20879, 834, 948, 41, 26, 23, 20066, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 4341, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 393...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 2368, 4165, 20879, 834, 948, 549, 17444, 427, 741, 3274, 96, 1649, 18, 19971, 121, 3430, 4341, 3274, 96, 254, 40, 291, 1433, 377, 5, 312, 9, 41, 308, 61, 597, 28236, 3843, 121, 1, -100, -100...
Name the least pick number for steven turner
CREATE TABLE table_25017530_5 ( pick__number INTEGER, player VARCHAR )
SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 2517, 26918, 834, 755, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 1432, 381, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 11434, 2517, 26918, 834, 755, 549, 17444, 427, 1959, 3274, 96, 14337, 1926, 19553, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what year is 4:00 long
CREATE TABLE table_name_16 ( year VARCHAR, length VARCHAR )
SELECT COUNT(year) FROM table_name_16 WHERE length = "4:00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 215, 584, 4280, 28027, 6, 2475, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 215, 19, 29415, 307, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 2475, 3274, 96, 591, 10, 1206, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many points did nobuatsu aoki earn ?
CREATE TABLE table_203_244 ( id number, "pos" text, "rider" text, "manufacturer" text, "time/retired" text, "points" number )
SELECT "points" FROM table_203_244 WHERE "rider" = 'nobuatsu aoki'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3628, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 4055, 49, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, 715, 87, 10682, 1271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2700, 7, 121, 21680, 953, 834, 23330, 834, 357, 3628, 549, 17444, 427, 96, 4055, 49, 121, 3274, 3, 31, 29, 32, 3007, 23766, 3, 9, 1825, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who has a constituency of 84?
CREATE TABLE table_63396 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Name" FROM table_63396 WHERE "Constituency number" = '84'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 519, 4314, 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, 23954, 121, 21680, 953, 834, 3891, 519, 4314, 549, 17444, 427, 96, 4302, 2248, 17, 76, 4392, 381, 121, 3274, 3, 31, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the date of the record of 43-28?
CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_69 WHERE record = "43-28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 1368, 13, 8838, 18, 2577, 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, 833, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1368, 3274, 96, 4906, 18, 2577, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of job_id and commission_pct in a bar chart, I want to show in descending by the x axis.
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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(...
SELECT JOB_ID, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID 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, 446, 10539, 834, 4309, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 42...
What is the number of matches played for the team with 0 draws and 33 points?
CREATE TABLE table_name_49 ( played VARCHAR, drawn VARCHAR, points VARCHAR )
SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "33"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 1944, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 6407, 1944, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1944, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 6796, 3274, 96, 632, 121, 3430, 979, 3274, 96, 4201, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What regular season result had an average attendance bigger than 3,170?
CREATE TABLE table_name_67 (reg_season VARCHAR, avg_attendance INTEGER)
SELECT reg_season FROM table_name_67 WHERE avg_attendance > 3 OFFSET 170
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 60, 122, 834, 9476, 584, 4280, 28027, 6, 3, 9, 208, 122, 834, 15116, 663, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 1646, 774, 741, 141,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5925, 834, 9476, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 3, 9, 208, 122, 834, 15116, 663, 2490, 220, 3, 15316, 20788, 209, 2518, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date of the game later than week 13 and 41,862 people attended?
CREATE TABLE table_33425 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Box scores" text, "Attendance" text )
SELECT "Date" FROM table_33425 WHERE "Week" > '13' AND "Attendance" = '41,862'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3710, 1828, 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, 134, 17, 9, 12925, 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, 308, 342, 121, 21680, 953, 834, 519, 3710, 1828, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 2368, 31, 3430, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 4853, 6, 3840, 357, 31, 1, -100, -100, -100, ...
Who were the opponents in the Rome championship?
CREATE TABLE table_24901152_4 (opponents VARCHAR, championship VARCHAR)
SELECT opponents FROM table_24901152_4 WHERE championship = "Rome"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2394, 15660, 357, 834, 591, 41, 32, 102, 9977, 7, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 16383, 16, 8, 7332, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16383, 21680, 953, 834, 2266, 2394, 15660, 357, 834, 591, 549, 17444, 427, 10183, 3274, 96, 448, 7159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Round has an Overall smaller than 6?
CREATE TABLE table_name_84 (round INTEGER, overall INTEGER)
SELECT MAX(round) FROM table_name_84 WHERE overall < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 7775, 3, 21342, 17966, 6, 1879, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 9609, 65, 46, 9126, 2755, 145, 431, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1879, 3, 2, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the average and minimum age of captains in different class?
CREATE TABLE captain (CLASS VARCHAR, age INTEGER)
SELECT AVG(age), MIN(age), CLASS FROM captain GROUP BY CLASS
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 31598, 584, 4280, 28027, 6, 1246, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1348, 11, 2559, 1246, 13, 14268, 7, 16, 315, 853, 58, 1, 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, 71, 17217, 599, 545, 201, 3, 17684, 599, 545, 201, 3, 31598, 21680, 14268, 350, 4630, 6880, 272, 476, 3, 31598, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of Tonnage, when Date is "25 June 1943"?
CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR)
SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 17, 106, 9761, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 8475, 9761, 6, 116, 7678, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17, 106, 9761, 61, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 833, 3274, 96, 1828, 3, 6959, 15, 26436, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest number of silver medals for a team with total less than 1?
CREATE TABLE table_78125 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MAX("Silver") FROM table_78125 WHERE "Total" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 10124, 41, 96, 22557, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, 1947, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 134, 173, 624, 8512, 21680, 953, 834, 3940, 10124, 549, 17444, 427, 96, 3696, 1947, 121, 3, 2, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the team when the time is 1:11.19.89?
CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR)
SELECT team FROM table_name_36 WHERE time = "1:11.19.89"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 11650, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 372, 116, 8, 97, 19, 19520, 11039, 8797, 3914, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 97, 3274, 96, 536, 10, 10032, 2294, 5, 3914, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is admission type of subject name ida cook?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT demographic.admission_type FROM demographic WHERE demographic.name = "Ida Cook"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 6137, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 196, 26, 9, 6176, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which nationality has rank 4?
CREATE TABLE table_name_90 ( nationality VARCHAR, rank VARCHAR )
SELECT nationality FROM table_name_90 WHERE rank = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 1157, 485, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1157, 485, 65, 11003, 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, 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, 1157, 485, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 11003, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tell me the route of administration and drug code for calcium acetate.
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 prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Calcium Acetate"
[ 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, 20128, 63, 834, 26, 13534, 834, 75, 26, 6, 7744, 7, 5, 20300, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 14318, 75, 2552, 71, 22309, 121, 1, -100, -100, -100, -100, -100, -100,...
What Circuit has a Date of 25 july?
CREATE TABLE table_name_55 ( circuit VARCHAR, date VARCHAR )
SELECT circuit FROM table_name_55 WHERE date = "25 july"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 4558, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 17007, 65, 3, 9, 7678, 13, 944, 3, 2047, 120, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4558, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 833, 3274, 96, 1828, 3, 2047, 120, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When was the game that had 58,025 people in attendance?
CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_26 WHERE attendance = "58,025"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 5522, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 24, 141, 3, 3449, 6, 632, 1828, 151, 16, 11364,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 11364, 3274, 96, 3449, 6, 4305, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Country's Content is TV Locale?
CREATE TABLE table_name_9 ( country VARCHAR, content VARCHAR )
SELECT country FROM table_name_9 WHERE content = "tv locale"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 684, 584, 4280, 28027, 6, 738, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6993, 31, 7, 7185, 19, 1424, 4593, 15, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 738, 3274, 96, 17, 208, 8522, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find all the songs that do not have a lead vocal.
CREATE TABLE albums ( aid number, title text, year number, label text, type text ) CREATE TABLE performance ( songid number, bandmate number, stageposition text ) CREATE TABLE tracklists ( albumid number, position number, songid number ) CREATE TABLE songs ( songid num...
SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE type = "lead"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14234, 41, 3052, 381, 6, 2233, 1499, 6, 215, 381, 6, 3783, 1499, 6, 686, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 821, 41, 2324, 23, 26, 381, 6, 1928, 5058...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 6721, 7, 6157, 3, 17, 536, 3, 15355, 3162, 3605, 6157, 3, 17, 357, 9191, 3, 17, 5411, 7, 2444, 23, 26, 3274, 3, 17, 4416, 7, 2444, 23, 26, 262, 4, 30416, 3, 23143, 14196, 3,...
When did the Cowboys score 13 points in 1966?
CREATE TABLE table_22801165_1 ( date VARCHAR, cowboys_points VARCHAR )
SELECT date FROM table_22801165_1 WHERE cowboys_points = 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 2079, 2596, 4122, 834, 536, 41, 833, 584, 4280, 28027, 6, 9321, 7531, 7, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 15477, 753...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2884, 2079, 2596, 4122, 834, 536, 549, 17444, 427, 9321, 7531, 7, 834, 2700, 7, 3274, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When did episode 6 first air with entrepreneur Guy Portelli?
CREATE TABLE table_80106 ( "Episode" text, "First aired" text, "Entrepreneur(s)" text, "Company or product name" text, "Money requested (\u00a3)" text, "Description of product" text, "Investing Dragon(s)" text )
SELECT "First aired" FROM table_80106 WHERE "Episode" = 'episode 6' AND "Entrepreneur(s)" = 'guy portelli'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 16431, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 3, 2378, 26, 121, 1499, 6, 96, 16924, 60, 2026, 29, 1238, 599, 7, 61, 121, 1499, 6, 96, 5890, 2837...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25171, 3, 2378, 26, 121, 21680, 953, 834, 2079, 16431, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 121, 3274, 3, 31, 15, 102, 159, 32, 221, 431, 31, 3430, 96, 16924, 60, 2026, 29, 1238, 599, 7, 61, 121, 3...
How many reviews has Niloofar written in 2015
CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE neighborhood ( id int, business_id varchar, ...
SELECT COUNT(DISTINCT (review.text)) FROM review, user WHERE review.year = 2015 AND user.name = 'Niloofar' AND user.user_id = review.user_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 268, 41, 6894, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 564, 3, 4331, 4059, 6, 423, 834, 9, 26, 12039, 3, 4331, 4059, 6, 690, 3, 4331, 4059, 6, 50, 6592, 3, 4331, 4059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41, 60, 4576, 5, 6327, 61, 61, 21680, 1132, 6, 1139, 549, 17444, 427, 1132, 5, 1201, 3274, 1230, 3430, 1139, 5, 4350, 3274, 3, 31, 567, 173, 32, 32, 5544, 31, 3430, 1139, 5, ...
Name the hdtv when number is 378
CREATE TABLE table_1363 ( "N\u00b0" real, "Television service" text, "Country" text, "Language" text, "Content" text, "DAR" text, "HDTV" text, "PPV" text, "Package/Option" text )
SELECT "HDTV" FROM table_1363 WHERE "N\u00b0" = '378'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3891, 41, 96, 567, 2, 76, 1206, 115, 632, 121, 490, 6, 96, 382, 400, 6610, 313, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 11083, 4562, 121, 21680, 953, 834, 2368, 3891, 549, 17444, 427, 96, 567, 2, 76, 1206, 115, 632, 121, 3274, 3, 31, 519, 3940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When did svishtov , bulgaria disband?
CREATE TABLE table_242785_1 ( date_disband VARCHAR, main_legionary_base VARCHAR )
SELECT date_disband FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2555, 4433, 834, 536, 41, 833, 834, 26, 159, 3348, 584, 4280, 28027, 6, 711, 834, 8492, 106, 1208, 834, 10925, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 26, 159, 3348, 21680, 953, 834, 2266, 2555, 4433, 834, 536, 549, 17444, 427, 711, 834, 8492, 106, 1208, 834, 10925, 3274, 96, 134, 208, 1273, 235, 208, 3, 6, 15536, 121, 1, -100, -100, -100, -100, -100, ...
Show the names of festivals that have nominated artworks of type 'Program Talent Show'.
CREATE TABLE festival_detail ( Festival_Name VARCHAR, Festival_ID VARCHAR ) CREATE TABLE nomination ( Artwork_ID VARCHAR, Festival_ID VARCHAR ) CREATE TABLE artwork ( Artwork_ID VARCHAR, Type VARCHAR )
SELECT T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T2.Type = "Program Talent Show"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3994, 834, 221, 5756, 41, 3397, 834, 23954, 584, 4280, 28027, 6, 3397, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 13588, 41, 1261, 1981, 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, 332, 5787, 371, 24742, 834, 23954, 21680, 13588, 6157, 332, 536, 3, 15355, 3162, 7924, 6157, 332, 357, 9191, 332, 5411, 7754, 1981, 834, 4309, 3274, 332, 4416, 7754, 1981, 834, 4309, 3, 15355, 3162, 3994, 834, 221, 57...
What is the sum of Points, when Home is "Pittsburgh", when Date is "December 21", and when Attendance is greater than 5,307?
CREATE TABLE table_name_84 (points INTEGER, attendance VARCHAR, home VARCHAR, date VARCHAR)
SELECT SUM(points) FROM table_name_84 WHERE home = "pittsburgh" AND date = "december 21" AND attendance > 5 OFFSET 307
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 2700, 7, 3, 21342, 17966, 6, 11364, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 833, 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, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 234, 3274, 96, 5230, 17, 7289, 107, 121, 3430, 833, 3274, 96, 221, 75, 18247, 1401, 121, 3430, 11364, 2490, 305, 3, 15316, 20788, 604, ...
Name the % for core moldova being 4.36%
CREATE TABLE table_19260_1 (_percentage VARCHAR, _percentage_core_moldova VARCHAR)
SELECT _percentage FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 18365, 834, 536, 41, 834, 883, 3728, 545, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 9022, 834, 51, 1490, 6194, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 3, 834, 883, 3728, 545, 21680, 953, 834, 2294, 18365, 834, 536, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 9022, 834, 51, 1490, 6194, 3274, 96, 7984, 3420, 834, 883, 3728, 545, 121, 1, -100, -100, -100, -100, -...
What is the smallest total for a nation with more than 1 silver?
CREATE TABLE table_name_75 (total INTEGER, silver INTEGER)
SELECT MIN(total) FROM table_name_75 WHERE silver > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 235, 1947, 3, 21342, 17966, 6, 4294, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 792, 21, 3, 9, 2982, 28, 72, 145, 209,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 4294, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What year is associated with a drama desk award ceremony and a Category of outstanding featured actress in a musical?
CREATE TABLE table_name_96 (year INTEGER, award_ceremony VARCHAR, category VARCHAR)
SELECT AVG(year) FROM table_name_96 WHERE award_ceremony = "drama desk award" AND category = "outstanding featured actress in a musical"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1201, 3, 21342, 17966, 6, 2760, 834, 2110, 15, 21208, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 19, 1968,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 2760, 834, 2110, 15, 21208, 3274, 96, 26, 10819, 4808, 2760, 121, 3430, 3295, 3274, 96, 670, 11018, 4510, 15676, 16, 3, 9, 4183, 121, 1, ...
Plot date claim settled by the number of date claim settled as a line chart, and list by the X from low to high.
CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE ) CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settl...
SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Settlements GROUP BY Date_Claim_Settled ORDER BY Date_Claim_Settled
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7327, 834, 8931, 447, 725, 41, 7587, 834, 4309, 3, 21342, 17966, 6, 7327, 834, 4309, 3, 21342, 17966, 6, 7587, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 3273, 834, 308, 342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 254, 521, 603, 834, 17175, 17, 1361, 6, 2847, 17161, 599, 308, 342, 834, 254, 521, 603, 834, 17175, 17, 1361, 61, 21680, 31044, 7, 350, 4630, 6880, 272, 476, 7678, 834, 254, 521, 603, 834, 17175, 17, 13...
Name the total number for mens single for 2002/2003
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR)
SELECT COUNT(mens_singles) FROM table_12193259_1 WHERE season = "2002/2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2294, 2668, 3390, 834, 536, 41, 904, 7, 834, 7, 53, 965, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 21, 1076, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 904, 7, 834, 7, 53, 965, 61, 21680, 953, 834, 2122, 2294, 2668, 3390, 834, 536, 549, 17444, 427, 774, 3274, 96, 24898, 87, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of black/haitian patients who had bone marrow biopsy.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND procedures.short_title = "Bone marrow biopsy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the average Black, when White is less than 6,02, and when Total is greater than 100,00?
CREATE TABLE table_7000 ( "Category" text, "Frequency" text, "White" real, "Brown" real, "Black" real, "Amerindian" real, "Yellow" real, "Total" real )
SELECT AVG("Black") FROM table_7000 WHERE "White" < '6,02' AND "Total" > '100,00'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27133, 41, 96, 18610, 6066, 651, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 25571, 121, 490, 6, 96, 279, 3623, 29, 121, 490, 6, 96, 20096, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 20096, 8512, 21680, 953, 834, 27133, 549, 17444, 427, 96, 25571, 121, 3, 2, 3, 31, 11071, 4305, 31, 3430, 96, 3696, 1947, 121, 2490, 3, 31, 1714, 27229, 31, 1, -100, -100, -100, -100, -100, -1...
How many 5+/inns have tyron henderson as the player, with wickets less than 21?
CREATE TABLE table_name_40 ( _inns VARCHAR, player VARCHAR, wickets VARCHAR )
SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 3, 834, 77, 29, 7, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 29719, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 305, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15757, 1768, 3, 834, 77, 29, 7, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1959, 3274, 96, 17, 63, 52, 106, 3, 107, 3868, 739, 121, 3430, 29719, 7, 3, 2, 1401, 1, -100, -100, -100, -100, -10...
provide the number of patients whose age is less than 81 and procedure long title is insertion of endotracheal tube?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "81" AND procedures.long_title = "Insertion of endotracheal tube"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
tell me the number of widow patients for whom total cholesterol lab test was ordered.
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.marital_status = "WIDOWED" AND lab.label = "Cholesterol, Total"
[ 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,...