NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who is from south korea and has a heat less than 3?
CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 4350, 584, 4280, 28027, 6, 1678, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 45, 3414, 3, 5543, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1678, 3, 2, 220, 3430, 1157, 485, 3274, 96, 7, 670, 107, 3, 5543, 15, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Title when the winner was suntory sungoliath, and a Season of 2011-12 details?
CREATE TABLE table_name_37 (title VARCHAR, winner VARCHAR, season VARCHAR)
SELECT title FROM table_name_37 WHERE winner = "suntory sungoliath" AND season = "2011-12 details"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 21869, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11029, 116, 8, 4668, 47, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 4668, 3274, 96, 7, 202, 10972, 3, 7, 425, 4172, 9, 189, 121, 3430, 774, 3274, 96, 13907, 5947, 1030, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Location has a Competition of Group Stage, a Lineup of Start and a Date of 2000-09-17?
CREATE TABLE table_43668 ( "Match" text, "Date" text, "Location" text, "Lineup" text, "Result" text, "Competition" text )
SELECT "Location" FROM table_43668 WHERE "Competition" = 'group stage' AND "Lineup" = 'start' AND "Date" = '2000-09-17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3420, 3651, 41, 96, 329, 14547, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 21022, 413, 121, 1499, 6, 96, 20119, 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, 434, 32, 75, 257, 121, 21680, 953, 834, 591, 3420, 3651, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 10739, 1726, 31, 3430, 96, 21022, 413, 121, 3274, 3, 31, 10208, 31, 3430, 96, 308, 342, 121, ...
In what district was incumbent first elected in 1938?
CREATE TABLE table_1342013_42 ( district VARCHAR, first_elected VARCHAR )
SELECT district FROM table_1342013_42 WHERE first_elected = 1938
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 11138, 834, 4165, 41, 3939, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 3939, 47, 28406, 166, 8160, 16, 2574...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 23747, 11138, 834, 4165, 549, 17444, 427, 166, 834, 19971, 3274, 25745, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose diagnoses icd9 code is 78321 and drug type is base?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "78321" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which team has the outgoing manager John Meyler?
CREATE TABLE table_11190568_7 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_11190568_7 WHERE outgoing_manager = "John Meyler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2294, 3076, 3651, 834, 940, 41, 11650, 584, 4280, 28027, 6, 91, 9545, 834, 24185, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 8, 91, 9545, 2743,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 2596, 2294, 3076, 3651, 834, 940, 549, 17444, 427, 91, 9545, 834, 24185, 3274, 96, 18300, 1212, 63, 1171, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many audition city's are there with an episode air date of June 24, 2010?
CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR)
SELECT COUNT(audition_city) FROM table_27615445_1 WHERE episode_air_date = "June 24, 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4241, 5062, 2128, 834, 536, 41, 402, 10569, 834, 6726, 584, 4280, 28027, 6, 5640, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 402, 10569, 834, 6726, 61, 21680, 953, 834, 2555, 4241, 5062, 2128, 834, 536, 549, 17444, 427, 5640, 834, 2256, 834, 5522, 3274, 96, 683, 444, 14320, 2735, 121, 1, -100, -100, -100, -100, -100, -100,...
provide the number of patients on nu route of drug administration who were born before 2121.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2121" AND prescriptions.route = "NU"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
which three countries are tied for last place ?
CREATE TABLE table_203_716 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_716 WHERE "rank" = (SELECT "rank" FROM table_203_716 ORDER BY "rank" DESC LIMIT 1)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 2938, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 940, 2938, 549, 17444, 427, 96, 6254, 121, 3274, 41, 23143, 14196, 96, 6254, 121, 21680, 953, 834, 23330, 834, 940, 2938, 4674, 11300, 272, 476, 96, 6254, 121, 309, 250...
Who was home on November 26?
CREATE TABLE table_name_73 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_73 WHERE date = "november 26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 234, 30, 1671, 2208, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 2208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley?
CREATE TABLE table_name_95 ( date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR )
SELECT date FROM table_name_95 WHERE tournament = "national jewish hospital open" AND runner_s__up = "pat bradley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 833, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 6, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 767...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 5892, 3274, 96, 16557, 528, 210, 1273, 2833, 539, 121, 3430, 3, 10806, 834, 7, 834, 834, 413, 3274, 96, 4665, 3858, 26, 1306, 121, 1, -100, -100, -100, -100, ...
What was the score on April 6, 2008?
CREATE TABLE table_name_12 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_12 WHERE date = "april 6, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 1186, 8580, 2628, 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, 2604, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 8580, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying group stage?
CREATE TABLE table_name_43 ( lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR )
SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying – group stage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 15561, 584, 4280, 28027, 6, 2094, 834, 3968, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4919, 413, 24, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15561, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 2094, 834, 3968, 3274, 96, 1720, 40, 23, 3, 195, 32, 63, 26, 121, 3430, 2259, 3274, 96, 14926, 975, 658, 658, 89, 296, 4119, 18002, 3, 104, 563, 1726, 121,...
What is Lisbeth Trickett's time?
CREATE TABLE table_63357 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real )
SELECT COUNT("Time") FROM table_63357 WHERE "Name" = 'lisbeth trickett'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 519, 3436, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 490, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13368, 8512, 21680, 953, 834, 3891, 519, 3436, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 40, 159, 346, 189, 3, 3929, 12922, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the won when the points for was 496?
CREATE TABLE table_12792876_3 (won VARCHAR, points_for VARCHAR)
SELECT won FROM table_12792876_3 WHERE points_for = "496"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4440, 2577, 3959, 834, 519, 41, 210, 106, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 751, 116, 8, 979, 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, 751, 21680, 953, 834, 2122, 4440, 2577, 3959, 834, 519, 549, 17444, 427, 979, 834, 1161, 3274, 96, 591, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how long after 1999 was there a relegated movement ?
CREATE TABLE table_204_42 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text )
SELECT (SELECT "season" FROM table_204_42 WHERE "movements" = 'relegated') - 1999
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4165, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 4563, 121, 1499, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 14309, 121, 1499, 6, 96, 4718, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 9476, 121, 21680, 953, 834, 26363, 834, 4165, 549, 17444, 427, 96, 7168, 10420, 121, 3274, 3, 31, 60, 8791, 26, 31, 61, 3, 18, 5247, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Away Team Score of the Collingwood Home Team?
CREATE TABLE table_name_26 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 8006, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 71, 1343, 2271, 17763, 13, 8, 9919, 53, 2037, 1210, 2271, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3297, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which method has a record of 3-0?
CREATE TABLE table_68577 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text )
SELECT "Method" FROM table_68577 WHERE "Record" = '3-0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 755, 4013, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23351, 107, 32, 26, 121, 21680, 953, 834, 3651, 755, 4013, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 22773, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients with sepsis diagnosis had csf lab test?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Sepsis" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
how many gold 's has brazil won ?
CREATE TABLE table_204_360 ( id number, "year" number, "host" text, "gold" text, "silver" text, "bronze" text )
SELECT COUNT(*) FROM table_204_360 WHERE "gold" = 'brazil'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 19208, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 12675, 121, 1499, 6, 96, 14910, 121, 1499, 6, 96, 7, 173, 624, 121, 1499, 6, 96, 13711, 776, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 19208, 549, 17444, 427, 96, 14910, 121, 3274, 3, 31, 1939, 702, 40, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Engine used before 1983?
CREATE TABLE table_70586 ( "Year" real, "Team" text, "Chassis" text, "Engine" text, "Rank" text, "Points" real )
SELECT "Engine" FROM table_70586 WHERE "Year" < '1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 755, 3840, 41, 96, 476, 2741, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 31477, 121, 21680, 953, 834, 2518, 755, 3840, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marter
CREATE TABLE table_1277350_1 ( thursday_iuppiter__jupiter_ VARCHAR, tuesday_mars__mars_ VARCHAR )
SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE tuesday_mars__mars_ = "Marterì"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4013, 16975, 834, 536, 41, 3, 189, 3589, 1135, 834, 23, 413, 5230, 49, 834, 834, 2047, 5230, 49, 834, 584, 4280, 28027, 6, 3, 17, 76, 15, 7, 1135, 834, 1635, 7, 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, 3, 189, 3589, 1135, 834, 23, 413, 5230, 49, 834, 834, 2047, 5230, 49, 834, 21680, 953, 834, 2122, 4013, 16975, 834, 536, 549, 17444, 427, 3, 17, 76, 15, 7, 1135, 834, 1635, 7, 834, 834, 1635, 7, 834, 3274, 96, ...
Who was the Rookie of the Year for the Season in 2000?
CREATE TABLE table_name_72 ( rookie_of_the_year VARCHAR, season VARCHAR )
SELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 24188, 834, 858, 834, 532, 834, 1201, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 391, 21132, 13, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 24188, 834, 858, 834, 532, 834, 1201, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 774, 3274, 2766, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
cardiogenic shock or severe hemodynamic instability,
CREATE TABLE table_test_3 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "severe_hemodynamic_instability" bool, "consent" bool, "hemoglobin_a1c_hba1c" float, "metallic_implants" bool, "allergy_to_aspirin" bool, "creatinine_clearance_cl" float, "post_menopausal" bool, "clinical_evidence_of_active_bleeding" bool, "cardiogenic_shock" bool, "platelet_count" float, "contraindication_for_nmr" bool, "kidney_disease" bool, "claustrophobia" bool, "hypertension" bool, "age" float, "NOUSE" float )
SELECT * FROM table_test_3 WHERE cardiogenic_shock = 1 OR severe_hemodynamic_instability = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 519, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 7, 3258, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 4377, 834, 519, 549, 17444, 427, 16216, 17890, 834, 7, 19076, 3274, 209, 4674, 5274, 834, 6015, 32, 16928, 834, 77, 7, 17, 2020, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Team 1, when Team 2 is "Iskra Odintsovo"?
CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_36 WHERE team_2 = "iskra odintsovo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 11650, 834, 536, 584, 4280, 28027, 6, 372, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2271, 1914, 116, 2271, 204, 19, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 536, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 372, 834, 357, 3274, 96, 159, 9669, 3, 32, 2644, 17, 7, 32, 1621, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the smallest number of gold medals a country with 7 medals has?
CREATE TABLE table_60858 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Gold") FROM table_60858 WHERE "Total" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 927, 3449, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 23576, 8512, 21680, 953, 834, 3328, 927, 3449, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the route for the destination of guruvayur?
CREATE TABLE table_4240 ( "Train number" real, "Train name" text, "Origin" text, "Destination" text, "Service" text, "Route/Via." text )
SELECT "Route/Via." FROM table_4240 WHERE "Destination" = 'Guruvayur'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 11944, 41, 96, 9402, 77, 381, 121, 490, 6, 96, 9402, 77, 564, 121, 1499, 6, 96, 667, 3380, 77, 121, 1499, 6, 96, 308, 222, 77, 257, 121, 1499, 6, 96, 15260, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 670, 15, 87, 553, 23, 9, 535, 21680, 953, 834, 591, 11944, 549, 17444, 427, 96, 308, 222, 77, 257, 121, 3274, 3, 31, 517, 450, 76, 900, 63, 450, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which person has an expiring term of December 31, 2020, and has Terry Branstad as the appointing governor?
CREATE TABLE table_name_8 ( name VARCHAR, term_expires VARCHAR, appointing_governor VARCHAR )
SELECT name FROM table_name_8 WHERE term_expires = "december 31, 2020" AND appointing_governor = "terry branstad"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 564, 584, 4280, 28027, 6, 1657, 834, 994, 2388, 15, 7, 584, 4280, 28027, 6, 3, 9, 102, 15989, 834, 122, 1890, 29, 127, 584, 4280, 28027, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 1657, 834, 994, 2388, 15, 7, 3274, 96, 221, 75, 18247, 12074, 6503, 121, 3430, 3, 9, 102, 15989, 834, 122, 1890, 29, 127, 3274, 96, 449, 651, 3858, 29, 2427, ...
What is the sum of sliver medals when there were 2 gold medals, less than 15 total medals, and the rank is greater than 5?
CREATE TABLE table_name_88 ( silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR )
SELECT SUM(silver) FROM table_name_88 WHERE gold = 2 AND total < 15 AND rank > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 4294, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 792, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 2045, 3274, 204, 3430, 792, 3, 2, 627, 3430, 11003, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
At which ground did Dirk Nannes have a figure of 4/23?
CREATE TABLE table_name_37 ( ground VARCHAR, figures VARCHAR )
SELECT ground FROM table_name_37 WHERE figures = "4/23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 1591, 584, 4280, 28027, 6, 5638, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 486, 84, 1591, 410, 7454, 157, 15206, 1496, 43, 3, 9, 2320, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1591, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 5638, 3274, 96, 591, 87, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
CREATE TABLE table_29225103_2 ( cm_winning_team VARCHAR, fm_winning_team VARCHAR )
SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 20489, 17864, 834, 357, 41, 2446, 834, 8163, 834, 11650, 584, 4280, 28027, 6, 3, 89, 51, 834, 8163, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2446, 834, 8163, 834, 11650, 21680, 953, 834, 3166, 20489, 17864, 834, 357, 549, 17444, 427, 3, 89, 51, 834, 8163, 834, 11650, 3274, 96, 4663, 2517, 1289, 900, 3, 18, 5222, 121, 1, -100, -100, -100, -100, -100, -100...
Name the record for june 7
CREATE TABLE table_21315 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT "Record" FROM table_21315 WHERE "Date" = 'June 7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2368, 1808, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 357, 2368, 1808, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 683, 444, 489, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country had a paste publication in 2009?
CREATE TABLE table_76805 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" real )
SELECT "Country" FROM table_76805 WHERE "Year" = '2009' AND "Publication" = 'paste'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 2079, 755, 41, 96, 30931, 257, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 19543, 32, 14712, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 22557, 121, 490, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3959, 2079, 755, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 16660, 31, 3430, 96, 30931, 257, 121, 3274, 3, 31, 102, 8323, 31, 1, -100, -100, -100, -100, -100, -100, -10...
tell me the age and health insurance of patient with patient id 17595.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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.age, demographic.insurance FROM demographic WHERE demographic.subject_id = "17595"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 545, 6, 14798, 5, 29441, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 2517, 3390, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was Turkey's lowest gold when there were less than 2 bronze?
CREATE TABLE table_name_83 ( gold INTEGER, nation VARCHAR, bronze VARCHAR )
SELECT MIN(gold) FROM table_name_83 WHERE nation = "turkey" AND bronze < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 2045, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 9299, 31, 7, 7402, 2045, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 2982, 3274, 96, 2905, 4397, 121, 3430, 13467, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Year won of Davis Love III with a Total of less than 149?
CREATE TABLE table_64861 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real )
SELECT COUNT("Year won") FROM table_64861 WHERE "Player" = 'davis love iii' AND "Total" < '149'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 3840, 536, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 751, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 121, 490, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 751, 8512, 21680, 953, 834, 4389, 3840, 536, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 26, 2960, 7, 333, 3, 23, 23, 23, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 248...
What is the sum of Grid, when Time is "+16.687"?
CREATE TABLE table_name_60 (grid INTEGER, time VARCHAR)
SELECT SUM(grid) FROM table_name_60 WHERE time = "+16.687"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 3496, 26, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 23644, 6, 116, 2900, 19, 96, 18446, 28833,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 97, 3274, 96, 18446, 28833, 4225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id.
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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 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, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1...
Return the name of rooms and the number of reservations made for each of the rooms to draw a bar chart, and order bars in asc order.
CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT )
SELECT roomName, COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY roomName
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27659, 7, 41, 3636, 3, 21342, 17966, 6, 4181, 3, 3463, 4, 382, 6, 1972, 1570, 3, 3463, 4, 382, 6, 1972, 15767, 3, 3463, 4, 382, 6, 13002, 17833, 6, 2506, 23954, 3, 3463, 4, 382, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 562, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 27659, 7, 6157, 332, 536, 3, 15355, 3162, 4181, 7, 6157, 332, 357, 9191, 332, 5411, 22778, 51, 3274, 332, 4416, 22778, 51, 196, 26, 350, 4630, 6880, 272, 476, 332, ...
What city of license has a value of k293bg for its call sign?
CREATE TABLE table_69636 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "City of license" FROM table_69636 WHERE "Call sign" = 'k293bg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 948, 3420, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 13, 3344, 121, 21680, 953, 834, 3951, 948, 3420, 549, 17444, 427, 96, 254, 1748, 1320, 121, 3274, 3, 31, 157, 357, 4271, 115, 122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For the Persian Title , what were the results?
CREATE TABLE table_23115 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Persian title" text, "Director" text, "Result" text )
SELECT "Result" FROM table_23115 WHERE "Persian title" = 'میم مثل مادر'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 15660, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 12988, 10488, 2233, 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, 20119, 121, 21680, 953, 834, 2773, 15660, 549, 17444, 427, 96, 12988, 10488, 2233, 121, 3274, 3, 31, 2, 3, 2, 3, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When did sla ana peji , who was evicted on day 29, enter the house?
CREATE TABLE table_name_82 ( entered_the_house VARCHAR, evicted VARCHAR, name VARCHAR )
SELECT entered_the_house FROM table_name_82 WHERE evicted = "day 29" AND name = "slađana pejić"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 5136, 834, 532, 834, 1840, 584, 4280, 28027, 6, 3, 15, 7287, 1054, 584, 4280, 28027, 6, 564, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5136, 834, 532, 834, 1840, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 3, 15, 7287, 1054, 3274, 96, 1135, 2838, 121, 3430, 564, 3274, 96, 7, 521, 2, 152, 9, 158, 354, 23, 2, 121, 1, -100, -100, -100, -100...
What is the largest week with the Atlanta Falcons as the opponent?
CREATE TABLE table_48711 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Week") FROM table_48711 WHERE "Opponent" = 'atlanta falcons'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4225, 2596, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 518, 10266, 8512, 21680, 953, 834, 591, 4225, 2596, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 144, 6761, 9, 12553, 8056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the name of track and the number of races in each track Visualize by bar chart, order in desc by the Name.
CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text )
SELECT T2.Name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.Track_ID = T2.Track_ID GROUP BY T1.Track_ID ORDER BY T2.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1463, 41, 8799, 834, 4309, 16, 17, 6, 5570, 1499, 6, 10450, 1499, 6, 15915, 53, 490, 6, 2929, 834, 22696, 15, 26, 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, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 1964, 6157, 332, 536, 3, 15355, 3162, 1463, 6157, 332, 357, 9191, 332, 5411, 382, 16729, 834, 4309, 3274, 332, 4416, 382, 16729, 834, 4309, 350, 4630, 6880, 272,...
What is the title of episode number 14?
CREATE TABLE table_19161605_2 ( title VARCHAR, _number VARCHAR )
SELECT title FROM table_19161605_2 WHERE _number = 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2938, 2938, 3076, 834, 357, 41, 2233, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 5640, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 2294, 2938, 2938, 3076, 834, 357, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many locations does the team Newcastle Jets come from?
CREATE TABLE table_17916 ( "Team" text, "Location" text, "Stadium" text, "Founded" real, "Joined" real, "Head Coach" text, "Captain" text )
SELECT COUNT("Location") FROM table_17916 WHERE "Team" = 'Newcastle Jets'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 2938, 41, 96, 18699, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 683, 32, 630, 26, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 434, 32, 75, 257, 8512, 21680, 953, 834, 26593, 2938, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 6861, 5254, 109, 12434, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
On what Date was the Works Number 7?
CREATE TABLE table_58106 ( "Number" text, "Builder" text, "Type" text, "Date" text, "Works number" text )
SELECT "Date" FROM table_58106 WHERE "Works number" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 16431, 41, 96, 567, 5937, 49, 121, 1499, 6, 96, 24752, 49, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 12492, 7, 381, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3449, 16431, 549, 17444, 427, 96, 12492, 7, 381, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is hte nuumber of employees that has a revenue of 104.000?
CREATE TABLE table_name_60 (employees__world_ VARCHAR, revenue__mil€_ VARCHAR)
SELECT employees__world_ FROM table_name_60 WHERE revenue__mil€_ = "104.000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 15, 51, 7379, 63, 15, 15, 7, 834, 834, 7276, 834, 584, 4280, 28027, 6, 3751, 834, 834, 51, 173, 3378, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1652, 834, 834, 7276, 834, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 3751, 834, 834, 51, 173, 3378, 834, 3274, 96, 1714, 30952, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is minimum age for different job title. Show a pie chart.
CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER )
SELECT job, MIN(age) FROM Person GROUP BY job
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1246, 3, 21342, 17966, 6, 690, 3, 3463, 4, 382, 6, 7285, 3, 3463, 4, 382, 6, 613, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 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, 613, 6, 3, 17684, 599, 545, 61, 21680, 5780, 350, 4630, 6880, 272, 476, 613, 1, -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 away team when the home team was Sunderland?
CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_48 WHERE home_team = "sunderland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 116, 8, 234, 372, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 7248, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the highest NGC number for right ascension of 09h40m28.5s
CREATE TABLE table_name_57 ( ngc_number INTEGER, right_ascension___j2000__ VARCHAR )
SELECT MAX(ngc_number) FROM table_name_57 WHERE right_ascension___j2000__ = "09h40m28.5s"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 3, 1725, 75, 834, 5525, 1152, 3, 21342, 17966, 6, 269, 834, 9, 7, 75, 35, 1938, 834, 834, 834, 354, 13527, 834, 834, 584, 4280, 28027, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1725, 75, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 269, 834, 9, 7, 75, 35, 1938, 834, 834, 834, 354, 13527, 834, 834, 3274, 96, 4198, 107, 2445, 51, 357, 19253, 7, 12...
What is the Java EE compatibility of the 5.2.4 edition?
CREATE TABLE table_49691 ( "Product" text, "Vendor" text, "Edition" text, "Release date" text, "Java EE compatibility" text, "License" text )
SELECT "Java EE compatibility" FROM table_49691 WHERE "Edition" = '5.2.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 3951, 536, 41, 96, 3174, 7472, 121, 1499, 6, 96, 553, 989, 127, 121, 1499, 6, 96, 427, 10569, 121, 1499, 6, 96, 1649, 40, 14608, 833, 121, 1499, 6, 96, 683, 8644, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 683, 8644, 3, 5080, 14235, 485, 121, 21680, 953, 834, 3647, 3951, 536, 549, 17444, 427, 96, 427, 10569, 121, 3274, 3, 31, 9125, 17638, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of silver medals for karate athletes with over 2 golds?
CREATE TABLE table_name_33 (silver VARCHAR, sport VARCHAR, gold VARCHAR)
SELECT COUNT(silver) FROM table_name_33 WHERE sport = "karate" AND gold > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 7, 173, 624, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 4294,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 2600, 3274, 96, 4031, 342, 121, 3430, 2045, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the challenger on Episode 5?
CREATE TABLE table_23982399_1 ( challenger VARCHAR, overall_episode__number VARCHAR )
SELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3916, 2773, 3264, 834, 536, 41, 1921, 52, 584, 4280, 28027, 6, 1879, 834, 15, 102, 159, 32, 221, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1921, 52, 21680, 953, 834, 2773, 3916, 2773, 3264, 834, 536, 549, 17444, 427, 1879, 834, 15, 102, 159, 32, 221, 834, 834, 5525, 1152, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the new WNBA team of the player selected with a pick over 7?
CREATE TABLE table_name_52 ( new_wnba_team VARCHAR, pick INTEGER )
SELECT new_wnba_team FROM table_name_52 WHERE pick > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 126, 834, 210, 29, 115, 9, 834, 11650, 584, 4280, 28027, 6, 1432, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 126, 3, 21170, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 126, 834, 210, 29, 115, 9, 834, 11650, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1432, 2490, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What sensor has a resolution of 640x480 with small CPU usage, jpeg compressed output and a camera of sony playstation eyetoy?
CREATE TABLE table_name_21 (sensor VARCHAR, camera VARCHAR, output VARCHAR, sensor_resolution VARCHAR, cpu_usage VARCHAR)
SELECT sensor FROM table_name_21 WHERE sensor_resolution = "640x480" AND cpu_usage = "small" AND output = "jpeg compressed" AND camera = "sony playstation eyetoy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 26052, 584, 4280, 28027, 6, 1861, 584, 4280, 28027, 6, 3911, 584, 4280, 28027, 6, 7824, 834, 60, 14913, 584, 4280, 28027, 6, 3, 75, 4987, 834, 18672, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7824, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 7824, 834, 60, 14913, 3274, 96, 23714, 226, 20579, 121, 3430, 3, 75, 4987, 834, 18672, 3274, 96, 23728, 121, 3430, 3911, 3274, 96, 354, 855, 122, 25423, 121, ...
Name the points for where lost is 4
CREATE TABLE table_15467476_2 ( points_for VARCHAR, lost VARCHAR )
SELECT COUNT(points_for) FROM table_15467476_2 WHERE lost = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4448, 4581, 3959, 834, 357, 41, 979, 834, 1161, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 979, 21, 213, 1513, 19, 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, 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, 2700, 7, 834, 1161, 61, 21680, 953, 834, 1808, 4448, 4581, 3959, 834, 357, 549, 17444, 427, 1513, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the hometown/high school of 170 pound player tyler wilson?
CREATE TABLE table_name_81 ( hometown_highschool VARCHAR, weight VARCHAR, name VARCHAR )
SELECT hometown_highschool FROM table_name_81 WHERE weight = 170 AND name = "tyler wilson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 22295, 834, 6739, 6646, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 22295, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 22295, 834, 6739, 6646, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1293, 3274, 209, 2518, 3430, 564, 3274, 96, 17, 63, 1171, 3, 210, 173, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was her lowest final score with a qualifying score of 74.075?
CREATE TABLE table_79564 ( "Year" real, "Competition Description" text, "Location" text, "Apparatus" text, "Rank-Final" text, "Score-Final" real, "Rank-Qualifying" text, "Score-Qualifying" real )
SELECT MIN("Score-Final") FROM table_79564 WHERE "Score-Qualifying" = '74.075'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4834, 591, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 7726, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 9648, 9, 1795, 302, 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, 3, 17684, 599, 121, 134, 9022, 18, 371, 10270, 8512, 21680, 953, 834, 4440, 4834, 591, 549, 17444, 427, 96, 134, 9022, 18, 5991, 138, 8587, 121, 3274, 3, 31, 940, 15021, 3072, 31, 1, -100, -100, -100, -100, -100, ...
Which country is ranked 24?
CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_57 WHERE rank = "24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 17529, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 19, 3, 8232, 997, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 11003, 3274, 96, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Player has a Place of T2 and a Country listed as Fiji?
CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_33 WHERE place = "t2" AND country = "fiji"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 20846, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 12387, 65, 3, 9, 3399, 13, 332, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 286, 3274, 96, 17, 357, 121, 3430, 684, 3274, 96, 89, 17279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients with white ethnicity and diagnosed for panic disorder without agoraphobia?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Panic disorder without agoraphobia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What were Will Rackley's total rounds?
CREATE TABLE table_name_89 ( round VARCHAR, name VARCHAR )
SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 1751, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 2003, 24688, 1306, 31, 7, 792, 14419, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 564, 3274, 96, 8894, 7782, 1306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which game type has most number of games?
CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE plays_games ( stuid number, gameid number, hours_played number )
SELECT gtype FROM video_games GROUP BY gtype ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 671, 834, 7261, 7, 41, 467, 23, 26, 381, 6, 3, 122, 4350, 1499, 6, 3, 122, 6137, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 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, 3, 122, 6137, 21680, 671, 834, 7261, 7, 350, 4630, 6880, 272, 476, 3, 122, 6137, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average of all the years when the notes are electronics brand?
CREATE TABLE table_name_36 ( year INTEGER, notes VARCHAR )
SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 215, 3, 21342, 17966, 6, 3358, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 13, 66, 8, 203, 116, 8, 3358, 33, 12800, 105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 3358, 3274, 96, 15, 3437, 52, 4554, 7, 1056, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the average crowd size when the Home team is melbourne?
CREATE TABLE table_78356 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT AVG("Crowd") FROM table_78356 WHERE "Home team" = 'melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 2469, 948, 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, 71, 17217, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 3940, 2469, 948, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Draw a bar chart about the distribution of All_Home and the average of School_ID , and group by attribute All_Home.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 19040, 6, 71, 17217, 599, 29364, 834, 4309, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is the opponent in the final of the match on 19 February 2006?
CREATE TABLE table_36977 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Opponent in the final" FROM table_36977 WHERE "Date" = '19 february 2006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3951, 4013, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16, 8, 804, 121, 21680, 953, 834, 519, 3951, 4013, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2294, 29976, 76, 1208, 3581, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the director of the episode with a season after 8 and an episode of XVI?
CREATE TABLE table_name_77 (directed_by VARCHAR, season VARCHAR, episode VARCHAR)
SELECT directed_by FROM table_name_77 WHERE season > 8 AND episode = "xvi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 22955, 834, 969, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2090, 13, 8, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 774, 2490, 505, 3430, 5640, 3274, 96, 226, 2099, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score of the game when the record was 35-47?
CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_76 WHERE record = "35-47"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 7, 9022, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 116, 8, 1368, 47, 3097, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 1368, 3274, 96, 2469, 18, 4177, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which major has between 2 and 30 number of students? List major and the number of students.
CREATE TABLE Student ( Major VARCHAR )
SELECT Major, COUNT(*) FROM Student GROUP BY Major HAVING COUNT(Major) BETWEEN 2 AND 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 9236, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 779, 65, 344, 204, 11, 604, 381, 13, 481, 58, 6792, 779, 11, 8, 381, 13, 481, 5, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9236, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 9236, 454, 6968, 2365, 2847, 17161, 599, 329, 9, 12775, 61, 272, 7969, 518, 23394, 204, 3430, 604, 1, -100, -100, -100, -100, -100, -100, ...
what number is associated with the baltic fleet and leninets ( )?
CREATE TABLE table_4475 ( "Number" text, "Name" text, "Meaning" text, "Fleet" text, "Launched" text )
SELECT "Number" FROM table_4475 WHERE "Fleet" = 'baltic' AND "Name" = 'leninets (ленинец)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 3072, 41, 96, 567, 5937, 49, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 329, 15, 152, 53, 121, 1499, 6, 96, 371, 109, 15, 17, 121, 1499, 6, 96, 3612, 202, 4513, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 567, 5937, 49, 121, 21680, 953, 834, 3628, 3072, 549, 17444, 427, 96, 371, 109, 15, 17, 121, 3274, 3, 31, 3849, 1225, 31, 3430, 96, 23954, 121, 3274, 3, 31, 26532, 1582, 7, 41, 6588, 21302, 14142, 2, 61, 31,...
Find the emails and phone numbers of all the customers, ordered by email address and phone number.
CREATE TABLE customers ( customer_id number, customer_type_code text, address_line_1 text, address_line_2 text, town_city text, state text, email_address text, phone_number text ) CREATE TABLE complaints ( complaint_id number, product_id number, customer_id number, complaint_outcome_code text, complaint_status_code text, complaint_type_code text, date_complaint_raised time, date_complaint_closed time, staff_id number ) CREATE TABLE staff ( staff_id number, gender text, first_name text, last_name text, email_address text, phone_number text ) CREATE TABLE products ( product_id number, parent_product_id number, product_category_code text, date_product_first_available time, date_product_discontinued time, product_name text, product_description text, product_price number )
SELECT email_address, phone_number FROM customers ORDER BY email_address, phone_number
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 884, 834, 23, 26, 381, 6, 884, 834, 6137, 834, 4978, 1499, 6, 1115, 834, 747, 834, 536, 1499, 6, 1115, 834, 747, 834, 357, 1499, 6, 1511, 834, 6726, 1499, 6, 538, 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, 791, 834, 9, 26, 12039, 6, 951, 834, 5525, 1152, 21680, 722, 4674, 11300, 272, 476, 791, 834, 9, 26, 12039, 6, 951, 834, 5525, 1152, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who's the player that's male and on the original season of RW: Key West?
CREATE TABLE table_name_36 ( player VARCHAR, gender VARCHAR, original_season VARCHAR )
SELECT player FROM table_name_36 WHERE gender = "male" AND original_season = "rw: key west"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 1959, 584, 4280, 28027, 6, 7285, 584, 4280, 28027, 6, 926, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 31, 7, 8, 1959, 24,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 7285, 3274, 96, 13513, 121, 3430, 926, 834, 9476, 3274, 96, 52, 210, 10, 843, 4653, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List all payment methods and number of payments using each payment methods by a bar chart, show by the Y-axis in descending.
CREATE TABLE Customer_Payments ( customer_id INTEGER, datetime_payment DATETIME, payment_method_code VARCHAR(10), amount_payment DOUBLE ) CREATE TABLE Vehicles ( vehicle_id INTEGER, vehicle_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_address_id INTEGER, customer_status_code VARCHAR(15), date_became_customer DATETIME, date_of_birth DATETIME, first_name VARCHAR(80), last_name VARCHAR(80), amount_outstanding DOUBLE, email_address VARCHAR(250), phone_number VARCHAR(255), cell_mobile_phone_number VARCHAR(255) ) CREATE TABLE Lessons ( lesson_id INTEGER, customer_id INTEGER, lesson_status_code VARCHAR(15), staff_id INTEGER, vehicle_id INTEGER, lesson_date DATETIME, lesson_time VARCHAR(10), price DOUBLE ) CREATE TABLE Staff ( staff_id INTEGER, staff_address_id INTEGER, nickname VARCHAR(80), first_name VARCHAR(80), middle_name VARCHAR(80), last_name VARCHAR(80), date_of_birth DATETIME, date_joined_staff DATETIME, date_left_staff DATETIME ) CREATE TABLE Addresses ( address_id INTEGER, line_1_number_building VARCHAR(80), city VARCHAR(50), zip_postcode VARCHAR(20), state_province_county VARCHAR(50), country VARCHAR(50) )
SELECT payment_method_code, COUNT(*) FROM Customer_Payments GROUP BY payment_method_code ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7327, 834, 19702, 4128, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 833, 715, 834, 21752, 309, 6048, 382, 15382, 6, 1942, 834, 23152, 834, 4978, 584, 4280, 28027, 599, 16968, 6, 866, 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, 1942, 834, 23152, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 7327, 834, 19702, 4128, 350, 4630, 6880, 272, 476, 1942, 834, 23152, 834, 4978, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100...
Against what opponent did the Wildcats have a record of 5-4?
CREATE TABLE table_24464253_1 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_24464253_1 WHERE record = "5-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4448, 4165, 4867, 834, 536, 41, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 20749, 125, 15264, 410, 8, 5342, 2138, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 2266, 4448, 4165, 4867, 834, 536, 549, 17444, 427, 1368, 3274, 96, 755, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage?
CREATE TABLE table_20444 ( "Party" text, "Marplan" text, "Gallup" text, "National Opinion Polls (NOP)" text, "Opinion Research Centre (OPC)" text, "Harris" text )
SELECT "Opinion Research Centre (OPC)" FROM table_20444 WHERE "National Opinion Polls (NOP)" = '1.3%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 3628, 41, 96, 13725, 63, 121, 1499, 6, 96, 7286, 3767, 121, 1499, 6, 96, 517, 1748, 413, 121, 1499, 6, 96, 24732, 411, 22441, 14457, 7, 41, 7400, 345, 61, 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, 667, 22441, 2200, 2969, 41, 4652, 254, 61, 121, 21680, 953, 834, 26363, 3628, 549, 17444, 427, 96, 24732, 411, 22441, 14457, 7, 41, 7400, 345, 61, 121, 3274, 3, 31, 13606, 1454, 31, 1, -100, -100, -100, -100, ...
For each account type, find the average account balance of customers with credit score lower than 50 Show bar chart, and display by the bars in desc please.
CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE loan ( loan_ID varchar(3), loan_type varchar(15), cust_ID varchar(3), branch_ID varchar(3), amount int ) CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, state varchar(20) )
SELECT acc_type, AVG(acc_bal) FROM customer WHERE credit_score < 50 GROUP BY acc_type ORDER BY acc_type DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 6421, 834, 4309, 16, 17, 6, 3, 115, 4350, 3, 4331, 4059, 599, 1755, 201, 150, 834, 858, 834, 25697, 277, 16, 17, 6, 690, 3, 4331, 4059, 599, 16968, 6, 538, 3, 4331, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6004, 834, 6137, 6, 71, 17217, 599, 6004, 834, 3849, 61, 21680, 884, 549, 17444, 427, 998, 834, 7, 9022, 3, 2, 943, 350, 4630, 6880, 272, 476, 3, 6004, 834, 6137, 4674, 11300, 272, 476, 3, 6004, 834, 6137, 30...
Return a bar chart about the number of companies for each industry, and order in asc by the Y please.
CREATE TABLE employment ( Company_ID int, People_ID int, Year_working int ) CREATE TABLE people ( People_ID int, Age int, Name text, Nationality text, Graduation_College text ) CREATE TABLE company ( Company_ID real, Name text, Headquarters text, Industry text, Sales_in_Billion real, Profits_in_Billion real, Assets_in_Billion real, Market_Value_in_Billion real )
SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry ORDER BY COUNT(Industry)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4311, 41, 1958, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 2929, 834, 9238, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9036, 6, 2847, 17161, 599, 1570, 8655, 8224, 61, 21680, 349, 350, 4630, 6880, 272, 476, 9036, 4674, 11300, 272, 476, 2847, 17161, 599, 1570, 8655, 8224, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those dates that have the 5 highest cloud cover rates, please bin the date into the day of week interval and count their frequency.
CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT )
SELECT date, COUNT(date) FROM weather
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 3, 21342, 17966, 6, 564, 3, 3463, 4, 382, 6, 50, 17, 13046, 13098, 4666, 6, 307, 13046, 13098, 4666, 6, 12908, 834, 13362, 3, 21342, 17966, 6, 690, 3, 3463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For each nationality, how many different constructors are there?
CREATE TABLE pitstops ( raceid number, driverid number, stop number, lap number, time text, duration text, milliseconds number ) CREATE TABLE constructors ( constructorid number, constructorref text, name text, nationality text, url text ) CREATE TABLE driverstandings ( driverstandingsid number, raceid number, driverid number, points number, position number, positiontext text, wins number ) CREATE TABLE status ( statusid number, status text ) CREATE TABLE laptimes ( raceid number, driverid number, lap number, position number, time text, milliseconds number ) CREATE TABLE circuits ( circuitid number, circuitref text, name text, location text, country text, lat number, lng number, alt number, url text ) CREATE TABLE seasons ( year number, url text ) CREATE TABLE results ( resultid number, raceid number, driverid number, constructorid number, number number, grid number, position number, positiontext text, positionorder number, points number, laps number, time text, milliseconds number, fastestlap number, rank number, fastestlaptime text, fastestlapspeed text, statusid number ) CREATE TABLE races ( raceid number, year number, round number, circuitid number, name text, date text, time text, url text ) CREATE TABLE drivers ( driverid number, driverref text, number number, code text, forename text, surname text, dob text, nationality text, url text ) CREATE TABLE constructorstandings ( constructorstandingsid number, raceid number, constructorid number, points number, position number, positiontext text, wins number ) CREATE TABLE qualifying ( qualifyid number, raceid number, driverid number, constructorid number, number number, position number, q1 text, q2 text, q3 text ) CREATE TABLE constructorresults ( constructorresultsid number, raceid number, constructorid number, points number, status number )
SELECT COUNT(*), nationality FROM constructors GROUP BY nationality
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7688, 7618, 7, 41, 1964, 23, 26, 381, 6, 1262, 4055, 381, 6, 1190, 381, 6, 14941, 381, 6, 97, 1499, 6, 8659, 1499, 6, 3293, 23, 12091, 7, 381, 3, 61, 3, 32102, 32103, 32102, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 201, 1157, 485, 21680, 6774, 127, 7, 350, 4630, 6880, 272, 476, 1157, 485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what was this artists last album under the curling legs label ?
CREATE TABLE table_204_529 ( id number, "year" number, "personnel" text, "album" text, "label" text, "peak positions\nnor" number )
SELECT "album" FROM table_204_529 WHERE "label" = 'curling legs' ORDER BY "year" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 3166, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 6075, 29, 15, 40, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 40, 10333, 121, 1499, 6, 96, 146...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23703, 121, 21680, 953, 834, 26363, 834, 755, 3166, 549, 17444, 427, 96, 40, 10333, 121, 3274, 3, 31, 3663, 697, 6217, 31, 4674, 11300, 272, 476, 96, 1201, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100,...
when 0 100km/h (60mph) is 5.8 seconds (5.5), what is the engine?
CREATE TABLE table_27082 ( "Year" real, "Engine" text, "Power" text, "Torque" text, "Transmission" text, "0\u2013100km/h (60mph)" text, "Top speed" text, "CO2" text )
SELECT "Engine" FROM table_27082 WHERE "0\u2013100km/h (60mph)" = '5.8 seconds (5.5)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17485, 4613, 41, 96, 476, 2741, 121, 490, 6, 96, 31477, 121, 1499, 6, 96, 23553, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 6, 96, 18474, 5451, 121, 1499, 6, 96, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 31477, 121, 21680, 953, 834, 17485, 4613, 549, 17444, 427, 96, 632, 2, 76, 11138, 2915, 5848, 87, 107, 41, 3328, 7656, 61, 121, 3274, 3, 31, 9125, 927, 3978, 41, 15938, 61, 31, 1, -100, -100, -100, -100, -100,...
How tall is the contestant from Aruba?
CREATE TABLE table_23814 ( "Country" text, "Contestant" text, "Age" real, "Height (cm)" real, "Height (ft)" text, "Hometown" text )
SELECT "Height (ft)" FROM table_23814 WHERE "Country" = 'Aruba'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3747, 2534, 41, 96, 10628, 651, 121, 1499, 6, 96, 4302, 4377, 288, 121, 1499, 6, 96, 188, 397, 121, 490, 6, 96, 3845, 2632, 41, 75, 51, 61, 121, 490, 6, 96, 3845, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3845, 2632, 41, 89, 17, 61, 121, 21680, 953, 834, 357, 3747, 2534, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 188, 14446, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool?
CREATE TABLE table_73619 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Table" text, "Incoming manager" text, "Date of appointment" text )
SELECT "Date of appointment" FROM table_73619 WHERE "Team" = 'Liverpool' AND "Incoming manager" = 'Roy Hodgson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3420, 2294, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 13, 4141, 121, 21680, 953, 834, 940, 3420, 2294, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 24179, 52, 13194, 31, 3430, 96, 1570, 10622, 2743, 121, 3274, 3, 31, 448, 32, 63, 1546, 26, 122, 739, ...
Studio host of john ryder, and a Year of 2007-08 had what play by play?
CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR)
SELECT play_by_play FROM table_name_38 WHERE studio_host = "john ryder" AND year = "2007-08"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 4895, 834, 969, 834, 4895, 584, 4280, 28027, 6, 3100, 834, 12675, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5929, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 577, 834, 969, 834, 4895, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 3100, 834, 12675, 3274, 96, 27341, 3, 651, 588, 121, 3430, 215, 3274, 96, 20615, 18, 4018, 121, 1, -100, -100, -100, -100, -100, -100, -10...
In which round was Jerry Butler chosen?
CREATE TABLE table_name_58 ( round VARCHAR, player VARCHAR )
SELECT round FROM table_name_58 WHERE player = "jerry butler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1751, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 1751, 47, 16637, 21742, 3934, 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, 1751, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1959, 3274, 96, 12488, 651, 68, 1171, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
show me the number of patients who were injected or infused oxazolidinone class of antibiotics and discharged to skilled nursing facility.
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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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 ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "SNF" AND procedures.long_title = "Injection or infusion of oxazolidinone class of antibiotics"
[ 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,...
Which Tournament was on 2 October 2006?
CREATE TABLE table_42891 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Tournament" FROM table_42891 WHERE "Date" = '2 october 2006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2577, 4729, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 16, 8, 804, 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, 382, 1211, 20205, 17, 121, 21680, 953, 834, 591, 2577, 4729, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 357, 3, 32, 75, 235, 1152, 3581, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the number of courses offered by Psychology department in each building with a bar chart, and rank in asc by the X.
CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) )
SELECT building, COUNT(building) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY building ORDER BY building
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 4699, 3, 4331, 4059, 15757, 6, 564, 3, 4331, 4059, 599, 1755, 201, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 12, 17, 834, 17216, 206, 17552, 599, 6355, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 740, 6, 2847, 17161, 599, 10905, 61, 21680, 503, 6157, 332, 536, 3, 15355, 3162, 1375, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, 19221, 834, 23, 26, 549, 17444, 427, 332, 5411, 26, 6707, ...
Show the facility codes of apartments with more than 4 bedrooms.
CREATE TABLE Apartment_Facilities (facility_code VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER)
SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 371, 9, 13067, 3010, 41, 89, 9, 75, 14277, 834, 4978, 584, 4280, 28027, 6, 3, 6789, 834, 23, 26, 584, 4280, 28027, 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, 332, 5411, 89, 9, 75, 14277, 834, 4978, 21680, 15970, 834, 371, 9, 13067, 3010, 6157, 332, 536, 3, 15355, 3162, 15970, 7, 6157, 332, 357, 9191, 332, 5411, 6789, 834, 23, 26, 3274, 332, 4416, 6789, 834, 23, 26, 549...
Which venue had a match played on August 16, 2006?
CREATE TABLE table_name_90 ( venue VARCHAR, date VARCHAR )
SELECT venue FROM table_name_90 WHERE date = "august 16, 2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 141, 3, 9, 1588, 1944, 30, 1660, 11940, 3581, 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, 5669, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 833, 3274, 96, 402, 17198, 11940, 3581, 121, 1, -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 first_name and salary in a bar chart.
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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT FIRST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 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, 30085, 834, 567, 17683, 6, 180, 4090, 24721, 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, 834,...
For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have?
CREATE TABLE table_name_66 ( screen_pixels VARCHAR, maker VARCHAR, weight VARCHAR )
SELECT screen_pixels FROM table_name_66 WHERE maker = "amazon.com" AND weight = "221g (7.8oz)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 1641, 834, 14251, 7, 584, 4280, 28027, 6, 13762, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 2536, 5, 287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1641, 834, 14251, 7, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 13762, 3274, 96, 9, 18983, 106, 5, 287, 121, 3430, 1293, 3274, 96, 357, 2658, 122, 13649, 5, 927, 32, 172, 61, 121, 1, -100, -100, -100, -100...
What is the Pick # for the Edmonton Eskimos?
CREATE TABLE table_name_14 ( pick__number VARCHAR, cfl_team VARCHAR )
SELECT COUNT(pick__number) FROM table_name_14 WHERE cfl_team = "edmonton eskimos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 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, 363, 19, 8, 8356, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 3, 75, 89, 40, 834, 11650, 3274, 96, 15, 26, 4662, 106, 3, 15, 4009, 3972, 121, 1, -100, -100, -100, -100, -100...
How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have?
CREATE TABLE table_name_16 ( caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR )
SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 16753, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 1886, 834, 1409, 2494, 565, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 4010, 7, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1886, 834, 1409, 2494, 565, 3274, 96, 51, 202, 1370, 121, 3430, 1102, 3274, 96, 4029, 121, 3430, 1959, 3274, 96, 51, 3142, 3, 32, 3...
Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
CREATE TABLE table_name_30 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 4055, 49, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 4818, 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, 2564, 52, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 14941, 7, 3, 2, 604, 3430, 4818, 3274, 96, 22990, 1024, 121, 3430, 97, 3274, 96, 6004, 4215, 121, 3430, 8634, 2490, 220, 1, -100, -100, -100, -100, -100, ...
What time has phil mcgurk as the rider?
CREATE TABLE table_name_34 ( time VARCHAR, rider VARCHAR )
SELECT time FROM table_name_34 WHERE rider = "phil mcgurk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 97, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 97, 65, 3, 18118, 3, 51, 75, 7840, 157, 38, 8, 2564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 2564, 52, 3274, 96, 18118, 3, 51, 75, 7840, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What seasons had 288 games and more than 100 goals?
CREATE TABLE table_name_88 ( seasons VARCHAR, goals VARCHAR, games VARCHAR )
SELECT seasons FROM table_name_88 WHERE goals > 100 AND games = 288
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 9385, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 9385, 141, 204, 4060, 1031, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9385, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1766, 2490, 910, 3430, 1031, 3274, 204, 4060, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What team does bobby hillin jr. (r) drive a buick regal for?
CREATE TABLE table_58296 ( "Team" text, "Make" text, "Driver" text, "Sponsor" text, "Car Owner" text )
SELECT "Team" FROM table_58296 WHERE "Make" = 'buick regal' AND "Driver" = 'bobby hillin jr. (r)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 357, 4314, 41, 96, 18699, 121, 1499, 6, 96, 22638, 121, 1499, 6, 96, 20982, 52, 121, 1499, 6, 96, 134, 5041, 7, 127, 121, 1499, 6, 96, 6936, 13307, 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, 18699, 121, 21680, 953, 834, 3449, 357, 4314, 549, 17444, 427, 96, 22638, 121, 3274, 3, 31, 3007, 3142, 3, 24080, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 17396, 969, 9956, 77, 3, 354, 52, 5, 41, 52, 61, ...