NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the percentage of Glendale when Pasadena is 14%?
CREATE TABLE table_name_87 ( glendale VARCHAR, pasadena VARCHAR )
SELECT glendale FROM table_name_87 WHERE pasadena = "14%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 3, 3537, 29, 5437, 584, 4280, 28027, 6, 330, 9, 537, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5294, 13, 8300, 5437, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 3537, 29, 5437, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 330, 9, 537, 9, 3274, 96, 536, 5988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the 2nd member elected in 1461?
CREATE TABLE table_name_46 (elected VARCHAR)
SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 204, 727, 1144, 8160, 16, 968, 4241, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 204, 6157, 3, 727, 834, 12066, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 8160, 3274, 96, 2534, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is drug code and drug route of drug name cefpodoxime proxetil?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Cefpodoxime Proxetil"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 6, 7744, 7, 5, 20300, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 254, 15, 89, 11410, 14443, 526, 749, 226, 15, 17, 173, 121, 1, -100, ...
What is the Name listed for the Nickname of Storm?
CREATE TABLE table_64644 ( "Name" text, "Nickname" text, "Location" text, "Home ground(s)" text, "Coach" text, "Captain" text )
SELECT "Name" FROM table_64644 WHERE "Nickname" = 'storm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 4389, 591, 41, 96, 23954, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 19040, 1591, 599, 7, 61, 121, 1499, 6, 96, 3881...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 4389, 4389, 591, 549, 17444, 427, 96, 567, 3142, 4350, 121, 3274, 3, 31, 21556, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which engine finished 7th with the reynard 95i chassis?
CREATE TABLE table_name_51 ( engine VARCHAR, rank VARCHAR, chassis VARCHAR )
SELECT engine FROM table_name_51 WHERE rank = "7th" AND chassis = "reynard 95i"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 1948, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1948, 2369, 489, 189, 28, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 11003, 3274, 96, 940, 189, 121, 3430, 22836, 3274, 96, 60, 63, 29, 986, 11923, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When Type was rowexit what was the Category?
CREATE TABLE table_37678 ( "Category" text, "Type" text, "Attribute" text, "Bubbles" text, "Cancelable" text )
SELECT "Category" FROM table_37678 WHERE "Type" = 'rowexit'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3959, 3940, 41, 96, 18610, 6066, 651, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 188, 17, 5135, 17, 15, 121, 1499, 6, 96, 7793, 7310, 7, 121, 1499, 6, 96, 254, 663...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18610, 6066, 651, 121, 21680, 953, 834, 519, 3959, 3940, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 3623, 994, 155, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which restaurant in Dallas were reviewed by user Patrick ?
CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE category ( id int, business_id varchar, category_name varchar ) CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int, year int, month varchar ) CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar )
SELECT business.name FROM business, category, review, user WHERE business.city = 'Dallas' AND category.business_id = business.business_id AND category.category_name = 'restaurant' AND review.business_id = business.business_id AND user.name = 'Patrick' AND user.user_id = review.user_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 268, 41, 6894, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 564, 3, 4331, 4059, 6, 423, 834, 9, 26, 12039, 3, 4331, 4059, 6, 690, 3, 4331, 4059, 6, 50, 6592, 3, 4331, 4059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 268, 5, 4350, 21680, 268, 6, 3295, 6, 1132, 6, 1139, 549, 17444, 427, 268, 5, 6726, 3274, 3, 31, 308, 1748, 9, 7, 31, 3430, 3295, 5, 16394, 834, 23, 26, 3274, 268, 5, 16394, 834, 23, 26, 3430, 3295, 5, 8367, ...
What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins?
CREATE TABLE table_name_86 ( year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR )
SELECT MIN(year) FROM table_name_86 WHERE wins > 0 AND team = "linto" AND points < 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 215, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 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, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 9204, 2490, 3, 632, 3430, 372, 3274, 96, 40, 77, 235, 121, 3430, 979, 3, 2, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many native american with whites being 1.0%
CREATE TABLE table_18064 ( "Country" text, "Population" real, "Native American" text, "Whites" text, "s Mestizo" text, "es Mulatto" text, "Blacks" text, "s Zambo" text, "Asians" text )
SELECT COUNT("Native American") FROM table_18064 WHERE "Whites" = '1.0%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 4389, 41, 96, 10628, 651, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 567, 1528, 797, 121, 1499, 6, 96, 25571, 7, 121, 1499, 6, 96, 7, 283, 222, 14406, 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, 567, 1528, 797, 8512, 21680, 953, 834, 20829, 4389, 549, 17444, 427, 96, 25571, 7, 121, 3274, 3, 31, 12734, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the 125cc winnder for the Phillip Island circuit?
CREATE TABLE table_12186237_1 (circuit VARCHAR)
SELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = "Phillip Island"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2606, 4056, 4118, 834, 536, 41, 15357, 21560, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3, 10124, 75, 75, 1369, 29, 588, 21, 8, 16202, 2834, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 10124, 6157, 3, 75, 75, 834, 3757, 687, 21680, 953, 834, 2122, 2606, 4056, 4118, 834, 536, 549, 17444, 427, 4558, 3274, 96, 23305, 7446, 2834, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the 2006 census population when the area is 159?
CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, area__km_2__ VARCHAR)
SELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE area__km_2__ = 159
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3914, 2596, 4542, 834, 519, 41, 75, 35, 7, 302, 834, 21196, 834, 9791, 7830, 584, 4280, 28027, 6, 616, 834, 834, 5848, 834, 357, 834, 834, 584, 4280, 28027, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 75, 35, 7, 302, 834, 21196, 834, 9791, 7830, 61, 21680, 953, 834, 2577, 3914, 2596, 4542, 834, 519, 549, 17444, 427, 616, 834, 834, 5848, 834, 357, 834, 834, 3274, 3, 27904, 1, -100, -100, -100, ...
What is indiana college's average pick?
CREATE TABLE table_50978 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT AVG("Pick") FROM table_50978 WHERE "College" = 'indiana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 21441, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 71, 17217, 599, 121, 345, 3142, 8512, 21680, 953, 834, 1752, 21441, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 77, 8603, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the record against Boston?
CREATE TABLE table_17323529_8 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17323529_8 WHERE team = "Boston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2668, 2469, 3166, 834, 927, 41, 60, 7621, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 581, 5053, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 2517, 2668, 2469, 3166, 834, 927, 549, 17444, 427, 372, 3274, 96, 279, 32, 4411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which championship has a final score of 3–6, 4–6, 2–6?
CREATE TABLE table_2201724_1 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 9887, 2266, 834, 536, 41, 17788, 12364, 2009, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 10183, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10183, 21680, 953, 834, 357, 9887, 2266, 834, 536, 549, 17444, 427, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 519, 104, 11071, 314, 104, 11071, 204, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
How many times did kingfisher east bengal fc win?
CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR)
SELECT MIN(winners) FROM table_12303563_1 WHERE nation = "Kingfisher East Bengal FC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 1458, 2469, 3891, 834, 536, 41, 3757, 687, 7, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 3, 1765, 6779, 49, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 687, 7, 61, 21680, 953, 834, 2122, 1458, 2469, 3891, 834, 536, 549, 17444, 427, 2982, 3274, 96, 439, 53, 6779, 49, 1932, 20008, 7914, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?
CREATE TABLE table_name_96 ( games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR )
SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = "susan day"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1031, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 3, 102, 17, 7, 834, 7261, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3, 102, 17, 7, 834, 7261, 2490, 3, 14912, 3430, 979, 3274, 460, 3430, 564, 3274, 96, 7, 302, 152, 239, 121, 1, -100, -100, -100, -10...
What are the notes for the shirt that said Pavv after 2007?
CREATE TABLE table_33723 ( "Year" real, "Kit Supplier" text, "Sponsor" text, "Shirt Printing" text, "Notes" text )
SELECT "Notes" FROM table_33723 WHERE "Shirt Printing" = 'pavv' AND "Year" > '2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4118, 2773, 41, 96, 476, 2741, 121, 490, 6, 96, 439, 155, 16406, 121, 1499, 6, 96, 134, 5041, 7, 127, 121, 1499, 6, 96, 16671, 6763, 53, 121, 1499, 6, 96, 10358, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10358, 15, 7, 121, 21680, 953, 834, 519, 4118, 2773, 549, 17444, 427, 96, 16671, 6763, 53, 121, 3274, 3, 31, 102, 9, 208, 208, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 20615, 31, 1, -100, -100, -100, -100,...
What is the number of March that has 25-10-9 record and a Game more than 44?
CREATE TABLE table_38451 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text )
SELECT COUNT("March") FROM table_38451 WHERE "Record" = '25-10-9' AND "Game" > '44'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 2128, 536, 41, 96, 23055, 121, 490, 6, 96, 25019, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 25019, 8512, 21680, 953, 834, 3747, 2128, 536, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 1828, 4536, 7141, 31, 3430, 96, 23055, 121, 2490, 3, 31, 3628, 31, 1, -100, -100, -100, -100, ...
TAIL papers in NIPS
CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int )
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'TAIL' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND venue.venueid = paper.venueid AND venue.venuename = 'NIPS'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5669, 41, 5669, 23, 26, 16, 17, 6, 5669, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2291, 41, 2291, 23, 26, 16, 17, 6, 2291, 4350, 3, 4331, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 5669, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 3221, 3502, 31, 3430, 1040, 4397, 27111, 5, ...
How many grid numbers had a lap number bigger than 54?
CREATE TABLE table_11192 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT COUNT("Grid") FROM table_11192 WHERE "Laps" > '54'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 19978, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13313, 26, 8512, 21680, 953, 834, 2596, 19978, 549, 17444, 427, 96, 3612, 102, 7, 121, 2490, 3, 31, 5062, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the L2 cache for the Mobile Pentium 333?
CREATE TABLE table_9499 ( "Model number" text, "sSpec number" text, "Frequency" text, "L2 cache" text, "Mult." text, "Voltage" text, "Socket" text, "Part number(s)" text )
SELECT "L2 cache" FROM table_9499 WHERE "Model number" = 'mobile pentium 333'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4240, 3264, 41, 96, 24663, 381, 121, 1499, 6, 96, 7, 7727, 381, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 357, 11800, 121, 1499, 6, 96, 329, 83, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 357, 11800, 121, 21680, 953, 834, 4240, 3264, 549, 17444, 427, 96, 24663, 381, 121, 3274, 3, 31, 14814, 4550, 17, 2552, 3, 23360, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Where does the Kuskokwim Mountains rank on the chart?
CREATE TABLE table_name_5 ( rank INTEGER, mountain_range VARCHAR )
SELECT MAX(rank) FROM table_name_5 WHERE mountain_range = "kuskokwim mountains"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 11003, 3, 21342, 17966, 6, 4180, 834, 5517, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 405, 8, 3695, 17869, 157, 210, 603, 18183, 11003...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 4180, 834, 5517, 3274, 96, 2729, 17869, 157, 210, 603, 8022, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the subject when the highest mark is 79?
CREATE TABLE table_31360 ( "Subject" text, "No. Sat" real, "No. Passed" real, "% Pass" real, "Highest mark" real, "Lowest mark" real, "Mean" real )
SELECT "Subject" FROM table_31360 WHERE "Highest mark" = '79'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 19208, 41, 96, 25252, 11827, 121, 1499, 6, 96, 4168, 5, 8821, 121, 490, 6, 96, 4168, 5, 3424, 15, 26, 121, 490, 6, 96, 1454, 3424, 121, 490, 6, 96, 21417, 222, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25252, 11827, 121, 21680, 953, 834, 3341, 19208, 549, 17444, 427, 96, 21417, 222, 3946, 121, 3274, 3, 31, 4440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When is the Mexican grand prix?
CREATE TABLE table_56867 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text )
SELECT "Date" FROM table_56867 WHERE "Race" = 'mexican grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3651, 3708, 41, 96, 448, 3302, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 1102, 121, 1499, 6, 96, 371, 9, 7, 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, 308, 342, 121, 21680, 953, 834, 755, 3651, 3708, 549, 17444, 427, 96, 448, 3302, 121, 3274, 3, 31, 51, 994, 23, 1608, 1907, 3407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score for set 1 with a total of 117–109?
CREATE TABLE table_name_58 (set_1 VARCHAR, total VARCHAR)
SELECT set_1 FROM table_name_58 WHERE total = "117–109"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 2244, 834, 536, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 356, 209, 28, 3, 9, 792, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 356, 834, 536, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 792, 3274, 96, 20275, 104, 17304, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who directed the episode that was watched by 2.97 million U.S. viewers?
CREATE TABLE table_29920800_1 ( directed_by VARCHAR, us_viewers__million_ VARCHAR )
SELECT directed_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 27749, 6192, 834, 536, 41, 6640, 834, 969, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 3166, 27749, 6192, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 4416, 4327, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Enrollment for the Pilots?
CREATE TABLE table_7062 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text )
SELECT MIN("Enrollment") FROM table_7062 WHERE "Team Nickname" = 'pilots'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 4056, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 188, 89, 8027, 23, 257, 121, 1499, 6, 96, 8532, 4046, 297...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8532, 4046, 297, 8512, 21680, 953, 834, 2518, 4056, 549, 17444, 427, 96, 18699, 7486, 4350, 121, 3274, 3, 31, 24650, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the amount of founder , and group by attribute founder, and sort by the x axis in asc.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Founder, COUNT(Founder) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 19145, 6, 2847, 17161, 599, 19145, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145,...
What 1953 has 2 as a 1949, and 3 as 1952?
CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 23726, 65, 204, 38, 3, 9, 24319, 6, 11, 220, 38, 23744, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23726, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 24319, 3274, 96, 357, 121, 3430, 23744, 3274, 96, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the final in which Melanie South played with partner Katie O'Brien?
CREATE TABLE table_name_27 ( score VARCHAR, partner VARCHAR )
SELECT score FROM table_name_27 WHERE partner = "katie o'brien"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 2604, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 804, 16, 84, 31297, 1013, 1944, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 2397, 3274, 96, 8682, 23, 15, 3, 32, 31, 2160, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the 2006 when the 2013 is 1r, and the 2012 is 1r?
CREATE TABLE table_75955 ( "Tournament" text, "2006" text, "2009" text, "2012" text, "2013" text )
SELECT "2006" FROM table_75955 WHERE "2013" = '1r' AND "2012" = '1r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3301, 755, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 21196, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 12172, 121, 1499, 6, 96, 11138, 121, 1499, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21196, 121, 21680, 953, 834, 3072, 3301, 755, 549, 17444, 427, 96, 11138, 121, 3274, 3, 31, 536, 52, 31, 3430, 96, 12172, 121, 3274, 3, 31, 536, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
were there more or less than 15 points scored in week 7 ?
CREATE TABLE table_203_405 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number )
SELECT (SELECT "result" FROM table_203_405 WHERE "week" = 7) > 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3076, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 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, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 60, 7, 83, 17, 121, 21680, 953, 834, 23330, 834, 591, 3076, 549, 17444, 427, 96, 8041, 121, 3274, 3, 12703, 2490, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose gender is f and diagnoses icd9 code is 56962?
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 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "56962"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the bronze number for the nation with less than 0 gold?
CREATE TABLE table_64839 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Bronze") FROM table_64839 WHERE "Gold" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3707, 3288, 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, 22780, 29, 776, 8512, 21680, 953, 834, 948, 3707, 3288, 549, 17444, 427, 96, 23576, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, show me about the distribution of headquarter and the sum of code , and group by attribute headquarter in a bar chart.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 3845, 9, 26, 19973, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476,...
what is the total number dallara chassis listed in the table ?
CREATE TABLE table_203_99 ( id number, "season" number, "date" text, "driver" text, "team" text, "chassis" text, "engine" text, "race distance\nlaps" number, "race distance\nmiles (km)" text, "race time" text, "average speed\n(mph)" number, "report" text )
SELECT COUNT(*) FROM table_203_99 WHERE "chassis" = 'dallara'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3264, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 13739, 52, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 524, 6500, 7, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 3264, 549, 17444, 427, 96, 524, 6500, 7, 121, 3274, 3, 31, 26, 1748, 2551, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the Attendance on Week 8?
CREATE TABLE table_9780 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT AVG("Attendance") FROM table_9780 WHERE "Week" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4327, 2079, 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, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4327, 2079, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the minimum 2010 GDP if the 2009 GDP is larger than 3,749, 1995 GDP is 876 and 2008 GDP is larger than 4,885?
CREATE TABLE table_52808 ( "Year" text, "2010" real, "2009" real, "2008" real, "2005" real, "2000" real, "1995" real, "1990" real, "1985" real )
SELECT MIN("2010") FROM table_52808 WHERE "2009" > '3,749' AND "1995" = '876' AND "2008" > '4,885'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2577, 4018, 41, 96, 476, 2741, 121, 1499, 6, 96, 14926, 121, 490, 6, 96, 16660, 121, 490, 6, 96, 16128, 121, 490, 6, 96, 22594, 121, 490, 6, 96, 13527, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 14926, 8512, 21680, 953, 834, 755, 2577, 4018, 549, 17444, 427, 96, 16660, 121, 2490, 3, 31, 6355, 940, 3647, 31, 3430, 96, 19479, 17395, 3274, 3, 31, 927, 3959, 31, 3430, 96, 16128, 121, 2490, ...
I want the attendance which has a result of l 49 21
CREATE TABLE table_57665 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Attendance" FROM table_57665 WHERE "Result" = 'l 49–21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 3539, 755, 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, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 3436, 3539, 755, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 40, 9526, 104, 2658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many lap two's did marco andretti do?
CREATE TABLE table_23018775_3 ( lap_two VARCHAR, name VARCHAR )
SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 25828, 3072, 834, 519, 41, 14941, 834, 8264, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14941, 192, 31, 7, 410, 14124,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8478, 834, 8264, 61, 21680, 953, 834, 13427, 25828, 3072, 834, 519, 549, 17444, 427, 564, 3274, 96, 7286, 509, 275, 52, 10652, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most overall for dwight freeney with round less than 1
CREATE TABLE table_name_8 ( overall INTEGER, name VARCHAR, round VARCHAR )
SELECT MAX(overall) FROM table_name_8 WHERE name = "dwight freeney" AND round < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 1879, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 1879, 21, 3, 26, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 564, 3274, 96, 26, 210, 2632, 339, 3186, 121, 3430, 1751, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What day was the record 14-27?
CREATE TABLE table_23274514_6 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_23274514_6 WHERE record = "14-27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2555, 2128, 2534, 834, 948, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 239, 47, 8, 1368, 968, 18, 2555, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2773, 2555, 2128, 2534, 834, 948, 549, 17444, 427, 1368, 3274, 96, 2534, 18, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the 2011 entry for the row with a 2007 entry of 558?
CREATE TABLE table_name_36 ( Id VARCHAR )
SELECT 2011 FROM table_name_36 WHERE 2007 = "558"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2722, 1764, 21, 8, 7358, 28, 3, 9, 4101, 1764, 13, 305, 3449, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2722, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 4101, 3274, 96, 755, 3449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Voges-Proskauer reading for proteus mirabilis?
CREATE TABLE table_name_70 (voges_proskauer VARCHAR, species VARCHAR)
SELECT voges_proskauer FROM table_name_70 WHERE species = "proteus mirabilis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1621, 2897, 834, 1409, 10717, 7014, 584, 4280, 28027, 6, 3244, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3152, 2897, 18, 3174, 107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 1621, 2897, 834, 1409, 10717, 7014, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3244, 3274, 96, 102, 14919, 302, 1870, 14237, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the lowest judge rank for danny and frankie?
CREATE TABLE table_26375386_16 (judges INTEGER, couple VARCHAR)
SELECT MIN(judges) FROM table_26375386_16 WHERE couple = "Danny and Frankie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 22954, 519, 3840, 834, 2938, 41, 14312, 2897, 3, 21342, 17966, 6, 1158, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 5191, 11003, 21, 1352, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14312, 2897, 61, 21680, 953, 834, 2688, 22954, 519, 3840, 834, 2938, 549, 17444, 427, 1158, 3274, 96, 308, 15159, 11, 4937, 23, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For all course_name from courses table, group by the course name and count them with a bar chart, and list by the the number of course name from low to high.
CREATE TABLE People ( person_id INTEGER, first_name VARCHAR(255), middle_name VARCHAR(255), last_name VARCHAR(255), cell_mobile_number VARCHAR(40), email_address VARCHAR(40), login_name VARCHAR(40), password VARCHAR(40) ) CREATE TABLE Courses ( course_id VARCHAR(100), course_name VARCHAR(120), course_description VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Student_Course_Registrations ( student_id INTEGER, course_id INTEGER, registration_date DATETIME ) CREATE TABLE Student_Course_Attendance ( student_id INTEGER, course_id INTEGER, date_of_attendance DATETIME ) CREATE TABLE Addresses ( address_id INTEGER, line_1 VARCHAR(80), line_2 VARCHAR(80), city VARCHAR(50), zip_postcode CHAR(20), state_province_county VARCHAR(50), country VARCHAR(50) ) CREATE TABLE People_Addresses ( person_address_id INTEGER, person_id INTEGER, address_id INTEGER, date_from DATETIME, date_to DATETIME ) CREATE TABLE Students ( student_id INTEGER, student_details VARCHAR(255) ) CREATE TABLE Candidate_Assessments ( candidate_id INTEGER, qualification CHAR(15), assessment_date DATETIME, asessment_outcome_code CHAR(15) ) CREATE TABLE Candidates ( candidate_id INTEGER, candidate_details VARCHAR(255) )
SELECT course_name, COUNT(course_name) FROM Courses GROUP BY course_name ORDER BY COUNT(course_name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2449, 41, 568, 834, 23, 26, 3, 21342, 17966, 6, 166, 834, 4350, 584, 4280, 28027, 599, 25502, 201, 2214, 834, 4350, 584, 4280, 28027, 599, 25502, 201, 336, 834, 4350, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 503, 834, 4350, 6, 2847, 17161, 599, 19221, 834, 4350, 61, 21680, 8670, 7, 350, 4630, 6880, 272, 476, 503, 834, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 19221, 834, 4350, 61, 1, -100, -100, -100, -100, -100, -...
Which Score has an Opponent of melanie south?
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_58 WHERE opponent = "melanie south"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 46, 4495, 9977, 13, 3, 2341, 2738, 15, 3414, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 15264, 3274, 96, 2341, 2738, 15, 3414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?
CREATE TABLE table_57589 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Points" FROM table_57589 WHERE "Year" < '1977' AND "Engine" = 'cosworth v8' AND "Entrant" = 'hb bewaking alarm systems'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3072, 3914, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22512, 7, 121, 21680, 953, 834, 755, 3072, 3914, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4013, 31, 3430, 96, 31477, 121, 3274, 3, 31, 509, 7, 7048, 3, 208, 927, 31, 3430, 96, 16924, 3569, 1...
Find the name of the organization that has published the largest number of papers.
CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16, 7, 17, 41, 4350, 584, 4280, 28027, 6, 16, 2248, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2291, 2009, 41, 77, 2248, 26, 584, 4280, 28027, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 4350, 21680, 16, 7, 17, 6157, 3, 17, 536, 3, 15355, 3162, 2291, 2009, 6157, 3, 17, 357, 9191, 3, 17, 5411, 77, 2248, 26, 3274, 3, 17, 4416, 77, 2248, 26, 3, 15355, 3162, 5778, 6157, 3, 17, 519, ...
what number of patients having diagnosed with malig neo ascend colon had also the lab test category as hematology?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( 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 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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Malig neo ascend colon" AND lab."CATEGORY" = "Hematology"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
give me the number of patients whose insurance is private and lab test name is urea nitrogen, urine?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( 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 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Private" AND lab.label = "Urea Nitrogen, Urine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What year did Miyoshi Umeki make a film?
CREATE TABLE table_name_25 (year VARCHAR, name VARCHAR)
SELECT year FROM table_name_25 WHERE name = "miyoshi umeki"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1201, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 2133, 63, 32, 5605, 2432, 15, 2168, 143, 3, 9, 814,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 564, 3274, 96, 51, 23, 63, 32, 5605, 561, 15, 2168, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Chassis from before 1997 with a Lamborghini v12 engine?
CREATE TABLE table_name_98 ( chassis VARCHAR, year VARCHAR, engine VARCHAR )
SELECT chassis FROM table_name_98 WHERE year < 1997 AND engine = "lamborghini v12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 22836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4004, 6500, 7, 45, 274,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22836, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 215, 3, 2, 6622, 3430, 1948, 3274, 96, 40, 265, 23685, 2907, 23, 3, 208, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What collegiate institution has an active status and a charter date of march 30, 2002?
CREATE TABLE table_name_56 (collegiate_institution VARCHAR, status VARCHAR, charter_date VARCHAR)
SELECT collegiate_institution FROM table_name_56 WHERE status = "active" AND charter_date = "march 30, 2002"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 31003, 834, 77, 17448, 584, 4280, 28027, 6, 2637, 584, 4280, 28027, 6, 13382, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 31003, 834, 77, 17448, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2637, 3274, 96, 6645, 121, 3430, 13382, 834, 5522, 3274, 96, 51, 7064, 11558, 4407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the director of the film that was not nominated and had the Spanish title of play?
CREATE TABLE table_20404716_1 ( director VARCHAR, result VARCHAR, spanish_title VARCHAR )
SELECT director FROM table_20404716_1 WHERE result = "Not Nominated" AND spanish_title = "Play"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 2445, 4177, 2938, 834, 536, 41, 2090, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 8438, 1273, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 264...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2090, 21680, 953, 834, 1755, 2445, 4177, 2938, 834, 536, 549, 17444, 427, 741, 3274, 96, 10358, 465, 1109, 920, 121, 3430, 8438, 1273, 834, 21869, 3274, 96, 15800, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many numbers were recorded for high points when the team played against Oklahoma City?
CREATE TABLE table_1660 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT COUNT("High points") FROM table_1660 WHERE "Team" = 'Oklahoma City'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3328, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21417, 979, 8512, 21680, 953, 834, 2938, 3328, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 667, 8142, 10207, 9, 896, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date that a player went to the club Doncaster Rovers?
CREATE TABLE table_name_14 ( exit_date VARCHAR, to_club VARCHAR )
SELECT exit_date FROM table_name_14 WHERE to_club = "doncaster rovers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 7189, 834, 5522, 584, 4280, 28027, 6, 12, 834, 13442, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 24, 3, 9, 1959, 877, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7189, 834, 5522, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 12, 834, 13442, 3274, 96, 2029, 25327, 3, 8843, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what's the minimum tasmania value
CREATE TABLE table_1057262_2 (tasmania INTEGER)
SELECT MIN(tasmania) FROM table_1057262_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 5865, 4056, 834, 357, 41, 17, 9, 7, 22463, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 2559, 3, 17, 9, 7, 22463, 701, 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, 3, 17684, 599, 17, 9, 7, 22463, 61, 21680, 953, 834, 12869, 5865, 4056, 834, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the number of patients taking drug via sl route who were born before 2041.
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 ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2041" AND prescriptions.route = "SL"
[ 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...
what is the least draws when the position is lower than 5, the points is 62 and played is more than 38?
CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 19489, 7, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 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, 3, 17684, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 1102, 3, 2, 305, 3430, 979, 3274, 3, 4056, 3430, 1944, 2490, 6654, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which mountain peak has spanish peaks?
CREATE TABLE table_name_29 (mountain_peak VARCHAR, mountain_range VARCHAR)
SELECT mountain_peak FROM table_name_29 WHERE mountain_range = "spanish peaks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 11231, 9, 77, 834, 14661, 584, 4280, 28027, 6, 4180, 834, 5517, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4180, 6734, 65, 8438, 1273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4180, 834, 14661, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 4180, 834, 5517, 3274, 96, 7, 2837, 1273, 3, 25399, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was Holly Scouler's total votes
CREATE TABLE table_name_62 (total_votes VARCHAR, members VARCHAR)
SELECT total_votes FROM table_name_62 WHERE members = "holly scouler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 235, 1947, 834, 1621, 1422, 584, 4280, 28027, 6, 724, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 24205, 10711, 83, 49, 31, 7, 792, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 792, 834, 1621, 1422, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 724, 3274, 96, 2831, 120, 3, 3523, 83, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the smallest bronze with a Rank of 12, and a Silver smaller than 2?
CREATE TABLE table_name_5 ( bronze INTEGER, rank VARCHAR, silver VARCHAR )
SELECT MIN(bronze) FROM table_name_5 WHERE rank = 12 AND silver < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 13467, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 13467, 28, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 11003, 3274, 586, 3430, 4294, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is High Rebounds, when High Assists is 'Rafer Alston , Rashard Lewis , Hedo T rko lu (3)'?
CREATE TABLE table_name_80 ( high_rebounds VARCHAR, high_assists VARCHAR )
SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 306, 834, 23768, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1592, 419, 6115, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 52, 9, 1010, 491, 4411, 3, 6, 3, 12380, 986, 90, 210, 159, 3, 6, 3, 88, 26, 32, 3, 11150, 157, 32, 2, ...
with year greater than 1988 what is the total number of points?
CREATE TABLE table_name_62 (points VARCHAR, year INTEGER)
SELECT COUNT(points) FROM table_name_62 WHERE year > 1988
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 2700, 7, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 28, 215, 2123, 145, 10414, 125, 19, 8, 792, 381, 13, 979, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 215, 2490, 10414, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date with the catalogue number ptcd-1015-6?
CREATE TABLE table_39023 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text )
SELECT "Date" FROM table_39023 WHERE "Catalogue #" = 'ptcd-1015-6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2394, 2773, 41, 96, 10628, 651, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 10384, 1713, 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, 308, 342, 121, 21680, 953, 834, 519, 2394, 2773, 549, 17444, 427, 96, 18610, 9, 10384, 1713, 121, 3274, 3, 31, 102, 17, 75, 26, 4536, 1808, 5783, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many UCI points did Rabobank score?
CREATE TABLE table_57603 ( "Cyclist" text, "Country" text, "Team" text, "Time" text, "UCI Points" text )
SELECT "UCI Points" FROM table_57603 WHERE "Team" = 'rabobank'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 3328, 519, 41, 96, 254, 63, 75, 3350, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 6463, 196, 4564, 7, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6463, 196, 4564, 7, 121, 21680, 953, 834, 3436, 3328, 519, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 7093, 32, 4739, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the average rating % for shandong satellite tv and share % less than 1.74
CREATE TABLE table_name_13 ( rating___percentage_ INTEGER, channel VARCHAR, share___percentage_ VARCHAR )
SELECT AVG(rating___percentage_) FROM table_name_13 WHERE channel = "shandong satellite tv" AND share___percentage_ < 1.74
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 5773, 834, 834, 834, 883, 3728, 545, 834, 3, 21342, 17966, 6, 4245, 584, 4280, 28027, 6, 698, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027, 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, 71, 17217, 599, 52, 1014, 834, 834, 834, 883, 3728, 545, 834, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 4245, 3274, 96, 7, 2894, 2444, 7605, 3, 17, 208, 121, 3430, 698, 834, 834, 834, 883, 3728, 545, ...
Which Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6?
CREATE TABLE table_name_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_91 WHERE gold = 0 AND bronze < "6" AND rank = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 29, 257, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2982, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 2045, 3274, 3, 632, 3430, 13467, 3, 2, 96, 948, 121, 3430, 11003, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Whats teo fabi average lap time while having less than 9 grids?
CREATE TABLE table_58591 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT AVG("Laps") FROM table_58591 WHERE "Driver" = 'teo fabi' AND "Grid" < '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 3390, 536, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 3449, 3390, 536, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 17, 15, 32, 3, 12644, 23, 31, 3430, 96, 13313, 26, 121, 3, 2, 3, 31, 1298, 31, 1, ...
how many result with district being florida 14
CREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1341604_10 WHERE district = "Florida 14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 19129, 591, 834, 1714, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 741, 28, 3939, 271, 12215, 26, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 60, 7, 83, 17, 61, 21680, 953, 834, 23747, 19129, 591, 834, 1714, 549, 17444, 427, 3939, 3274, 96, 11251, 4055, 9, 968, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What play did henry s. uber / betty uber (eng) finish in?
CREATE TABLE table_name_99 ( place VARCHAR, name VARCHAR )
SELECT COUNT(place) FROM table_name_99 WHERE name = "henry s. uber / betty uber (eng)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 286, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 577, 410, 3, 3225, 651, 3, 7, 5, 3, 14659, 3, 87, 3, 88...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4687, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 564, 3274, 96, 3225, 651, 3, 7, 5, 3, 14659, 3, 87, 3, 8805, 63, 3, 14659, 41, 4606, 61, 121, 1, -100, -100, -100, -100, -100, -100,...
What is the nationality of the guard for the chool/Club Team in Virginia?
CREATE TABLE table_42465 ( "Player" text, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text )
SELECT "Nationality" FROM table_42465 WHERE "Position" = 'guard' AND "School/Club Team" = 'virginia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2266, 4122, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 16, 14374, 121, 1499, 6, 96, 29364...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 591, 2266, 4122, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 11010, 31, 3430, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 5771, 122, 77, 23, 9, 31, 1, ...
For those records from the products and each product's manufacturer, return a scatter chart about the correlation between price and code , and group by attribute founder.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Price, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 345, 4920, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145...
what is the number of patients whose ethnicity is white - russian and drug name is topiramate (topamax)?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND prescriptions.drug = "Topiramate (Topamax)"
[ 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...
What was the record for the game before game 6 against the chicago black hawks?
CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_54 WHERE game < 6 AND opponent = "chicago black hawks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 60, 7621, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 21, 8, 467, 274,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 467, 3, 2, 431, 3430, 15264, 3274, 96, 1436, 658, 839, 1001, 3, 14400, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many games did they play the carolina hurricanes?
CREATE TABLE table_26081 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real )
SELECT COUNT("Game") FROM table_26081 WHERE "Opponent" = 'Carolina Hurricanes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 4959, 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, 434, 32, 75, 257, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 23055, 8512, 21680, 953, 834, 18365, 4959, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 6936, 12057, 9, 19927, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the nationality of the players with a position of g?
CREATE TABLE table_name_77 (nationality VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_77 WHERE position = "g"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 16557, 485, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1157, 485, 13, 8, 1508, 28, 3, 9, 1102, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 1102, 3274, 96, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many goals did coe get?
CREATE TABLE table_60337 ( "Nat." text, "Name" text, "Since" text, "Goals" real, "Ends" real, "Transfer fee" text )
SELECT MIN("Goals") FROM table_60337 WHERE "Name" = 'coe'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 519, 4118, 41, 96, 567, 144, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 77, 565, 121, 1499, 6, 96, 6221, 5405, 121, 490, 6, 96, 8532, 26, 7, 121, 490, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 6221, 5405, 8512, 21680, 953, 834, 3328, 519, 4118, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 509, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the score for game #7?
CREATE TABLE table_23868 ( "#" real, "Date" text, "at/vs." text, "Opponent" text, "Score" text, "Attendance" real, "Record" text )
SELECT "Score" FROM table_23868 WHERE "#" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3747, 3651, 41, 96, 4663, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 144, 87, 208, 7, 535, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 357, 3747, 3651, 549, 17444, 427, 96, 4663, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the winning score in the year 2002?
CREATE TABLE table_name_28 ( winning_score VARCHAR, year VARCHAR )
SELECT winning_score FROM table_name_28 WHERE year = 2002
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 3447, 834, 7, 9022, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3447, 2604, 16, 8, 215, 4407, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 215, 3274, 4407, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What number was the game resulting in a 5-11 record?
CREATE TABLE table_21338 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT MIN("Game") FROM table_21338 WHERE "Record" = '5-11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2368, 3747, 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, 3, 17684, 599, 121, 23055, 8512, 21680, 953, 834, 357, 2368, 3747, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 755, 9169, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which tyres received 8 points?
CREATE TABLE table_name_56 (tyres VARCHAR, points VARCHAR)
SELECT tyres FROM table_name_56 WHERE points = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 17, 63, 60, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 17, 63, 60, 7, 1204, 505, 979, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17, 63, 60, 7, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 979, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Attendance when the Result was L 31 23?
CREATE TABLE table_name_33 ( attendance VARCHAR, result VARCHAR )
SELECT attendance FROM table_name_33 WHERE result = "l 31–23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 11364, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 22497, 663, 116, 8, 3, 20119, 47, 301, 2664, 1902,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 741, 3274, 96, 40, 2664, 104, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show me a bar chart for what are the ids and details of events that have more than one participants?
CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) )
SELECT T1.Event_Details, T1.Event_ID FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_Details
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19204, 834, 77, 834, 427, 2169, 7, 41, 8042, 834, 4309, 3, 21342, 17966, 6, 15077, 288, 834, 4309, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11137, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 2169, 834, 2962, 5756, 7, 6, 332, 5411, 427, 2169, 834, 4309, 21680, 11137, 6157, 332, 536, 3, 15355, 3162, 19204, 834, 77, 834, 427, 2169, 7, 6157, 332, 357, 9191, 332, 5411, 427, 2169, 834, 4309, ...
what cities are served by the n mes al s camargue c vennes airport ?
CREATE TABLE table_200_26 ( id number, "city served / location" text, "province" text, "icao" text, "iata" text, "airport name" text, "usage" text )
SELECT "city served / location" FROM table_200_26 WHERE "airport name" = 'nimes-ales-camargue-cevennes airport (garons airport)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 834, 2688, 41, 3, 23, 26, 381, 6, 96, 6726, 2098, 3, 87, 1128, 121, 1499, 6, 96, 1409, 2494, 565, 121, 1499, 6, 96, 2617, 32, 121, 1499, 6, 96, 17221, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6726, 2098, 3, 87, 1128, 121, 21680, 953, 834, 3632, 834, 2688, 549, 17444, 427, 96, 2256, 1493, 564, 121, 3274, 3, 31, 29, 5445, 7, 18, 4529, 18, 658, 1635, 5398, 18, 75, 6190, 1496, 3761, 41, 1478, 106, 7,...
Which Opponent has a Streak of lost 1, and a Date of april 30?
CREATE TABLE table_34123 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Bulls score" real, "Opponent score" real, "Record" text, "Streak" text )
SELECT "Opponent" FROM table_34123 WHERE "Streak" = 'lost 1' AND "Date" = 'april 30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 14574, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 7793, 195, 7, 2604, 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, 96, 667, 102, 9977, 121, 21680, 953, 834, 3710, 14574, 549, 17444, 427, 96, 11500, 15, 1639, 121, 3274, 3, 31, 2298, 17, 209, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 9, 2246, 40, 604, 31, 1, -100, -100, -100, ...
What is the Score for 09-oct-2006?
CREATE TABLE table_name_76 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_76 WHERE date = "09-oct-2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17763, 21, 14146, 18, 32, 75, 17, 18, 21196, 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...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 833, 3274, 96, 4198, 18, 32, 75, 17, 18, 21196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the statement detail and the corresponding document name for the statement with detail 'Private Project'.
CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR); CREATE TABLE Documents (document_name VARCHAR, document_id VARCHAR)
SELECT T1.statement_details, T2.document_name FROM Statements AS T1 JOIN Documents AS T2 ON T1.statement_id = T2.document_id WHERE T1.statement_details = 'Private Project'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16836, 7, 41, 5540, 297, 834, 221, 5756, 7, 584, 4280, 28027, 6, 2493, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 41, 28244, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5540, 297, 834, 221, 5756, 7, 6, 332, 4416, 28244, 834, 4350, 21680, 16836, 7, 6157, 332, 536, 3, 15355, 3162, 11167, 7, 6157, 332, 357, 9191, 332, 5411, 5540, 297, 834, 23, 26, 3274, 332, 4416, 28244, ...
What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5?
CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR)
SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = "arsine" AND field_stability < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 7279, 545, 834, 7, 17, 2020, 3, 21342, 17966, 6, 1057, 834, 7, 17, 2020, 584, 4280, 28027, 6, 3, 27147, 834, 9, 7, 834, 27798, 834, 9, 5560, 584, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 7279, 545, 834, 7, 17, 2020, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 3, 27147, 834, 9, 7, 834, 27798, 834, 9, 5560, 2490, 505, 3430, 3102, 3274, 96, 291, 7, 630, 121, 3430, 1057, 83...
Which Position has a Played larger than 9?
CREATE TABLE table_name_32 ( position INTEGER, played INTEGER )
SELECT SUM(position) FROM table_name_32 WHERE played > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 1102, 3, 21342, 17966, 6, 1944, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 14258, 65, 3, 9, 2911, 15, 26, 2186, 145, 668, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 4718, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1944, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the winner for rest day for 13 july
CREATE TABLE table_35001 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Winner" FROM table_35001 WHERE "Course" = 'rest day' AND "Date" = '13 july'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 17465, 41, 96, 308, 342, 121, 1499, 6, 96, 3881, 3589, 15, 121, 1499, 6, 96, 308, 23, 8389, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18455, 687, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 2469, 17465, 549, 17444, 427, 96, 3881, 3589, 15, 121, 3274, 3, 31, 6216, 239, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2368, 3, 2047, 120, 31, 1, -100, -100, -100, -100, -...
Who was the opponent on April 2?
CREATE TABLE table_name_56 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_56 WHERE date = "april 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 30, 1186, 204, 58, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the stepping for the processor released June 5, 2007?
CREATE TABLE table_6092 ( "Model Number" text, "Stepping" text, "Frequency" text, "L2 Cache" text, "Multi 1" text, "V Core" text, "Socket" text, "Release Date" text, "Part Number(s)" text )
SELECT "Stepping" FROM table_6092 WHERE "Release Date" = 'june 5, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4508, 41, 96, 24663, 7720, 121, 1499, 6, 96, 14337, 5341, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 357, 205, 4933, 121, 1499, 6, 96, 31922, 209...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14337, 5341, 121, 21680, 953, 834, 3328, 4508, 549, 17444, 427, 96, 1649, 40, 14608, 7678, 121, 3274, 3, 31, 6959, 15, 7836, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many kids stay in the rooms reserved by ROY SWEAZY?
CREATE TABLE Reservations (kids VARCHAR, FirstName VARCHAR, LastName VARCHAR)
SELECT kids FROM Reservations WHERE FirstName = "ROY" AND LastName = "SWEAZY"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27659, 7, 41, 2168, 26, 7, 584, 4280, 28027, 6, 1485, 23954, 584, 4280, 28027, 6, 2506, 23954, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1082, 1049, 16, 8, 2801, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1082, 21680, 27659, 7, 549, 17444, 427, 1485, 23954, 3274, 96, 4630, 476, 121, 3430, 2506, 23954, 3274, 96, 134, 15713, 10491, 476, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you show a bar chart to visualize the number of carriers?, and list x axis from high to low order.
CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int ) CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int )
SELECT Carrier, COUNT(Carrier) FROM phone GROUP BY Carrier ORDER BY Carrier DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 834, 8809, 41, 3611, 834, 4309, 16, 17, 6, 8924, 834, 4309, 1499, 6, 1174, 51, 834, 858, 834, 7149, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1184, 6711, 6, 2847, 17161, 599, 6936, 6711, 61, 21680, 951, 350, 4630, 6880, 272, 476, 1184, 6711, 4674, 11300, 272, 476, 1184, 6711, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose diagnoses long title is arthropathy, unspecified, site unspecified and lab test abnormal status is abnormal?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob 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 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Arthropathy, unspecified, site unspecified" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which Date has a Home team of philadelphia, and a Result of 104–110?
CREATE TABLE table_name_4 (date VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT date FROM table_name_4 WHERE home_team = "philadelphia" AND result = "104–110"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 5522, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 1210, 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, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 234, 834, 11650, 3274, 96, 18118, 15311, 11692, 9, 121, 3430, 741, 3274, 96, 15442, 104, 19277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the airdate when the director is george spenton-foster
CREATE TABLE table_15739098_1 (airdate VARCHAR, director VARCHAR)
SELECT airdate FROM table_15739098_1 WHERE director = "George Spenton-Foster"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4552, 2394, 3916, 834, 536, 41, 2256, 5522, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 799, 5522, 116, 8, 2090, 19, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 799, 5522, 21680, 953, 834, 1808, 4552, 2394, 3916, 834, 536, 549, 17444, 427, 2090, 3274, 96, 31317, 8974, 6992, 18, 371, 32, 1370, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the least world rank for south american rank 3
CREATE TABLE table_2249087_1 (world_rank INTEGER, south_american_rank VARCHAR)
SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 2394, 4225, 834, 536, 41, 7276, 834, 6254, 3, 21342, 17966, 6, 3414, 834, 23064, 29, 834, 6254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 296,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7276, 834, 6254, 61, 21680, 953, 834, 24622, 2394, 4225, 834, 536, 549, 17444, 427, 3414, 834, 23064, 29, 834, 6254, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...