NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Date had a City/Location of vancouver, british columbia?
CREATE TABLE table_name_65 (date VARCHAR, city_location VARCHAR)
SELECT date FROM table_name_65 WHERE city_location = "vancouver, british columbia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 5522, 584, 4280, 28027, 6, 690, 834, 14836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 141, 3, 9, 896, 87, 434, 32, 75, 257, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 690, 834, 14836, 3274, 96, 2132, 3422, 624, 6, 3, 2160, 17, 1273, 7632, 5937, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of people hurt on april 2,1986 ?
CREATE TABLE table_204_514 ( id number, "date" text, "sub" number, "flight" text, "dead" number, "hurt" number, "pax." number, "type" text, "perpetrator" text, "description" text )
SELECT "hurt" FROM table_204_514 WHERE "date" = '2-apr-86'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 2534, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 7304, 121, 381, 6, 96, 89, 2242, 121, 1499, 6, 96, 221, 9, 26, 121, 381, 6, 96, 10666, 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, 10666, 17, 121, 21680, 953, 834, 26363, 834, 755, 2534, 549, 17444, 427, 96, 5522, 121, 3274, 3, 31, 7412, 9, 102, 52, 18, 3840, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine?
CREATE TABLE table_57291 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT MAX("Year") FROM table_57291 WHERE "Engine" = 'renault ef15 1.5 v6 t' AND "Points" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 357, 4729, 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, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 3436, 357, 4729, 549, 17444, 427, 96, 31477, 121, 3274, 3, 31, 1536, 10335, 3, 15, 89, 1808, 8613, 3, 208, 948, 3, 17, 31, 3430, 96, 22512, 7, 121, 2490, 3, ...
Give me a histogram to show the date and the amount for all the payments processed with Visa, order y axis in descending order.
CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) )
SELECT Date_Payment_Made, Amount_Payment FROM Payments WHERE Payment_Method_Code = 'Visa' ORDER BY Amount_Payment DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4779, 8345, 41, 7781, 603, 834, 4309, 3, 21342, 17966, 6, 7587, 834, 4309, 3, 21342, 17966, 6, 7678, 834, 254, 521, 603, 834, 329, 9, 221, 309, 6048, 6, 7678, 834, 254, 521, 603, 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, 7678, 834, 19702, 297, 834, 329, 9, 221, 6, 71, 11231, 834, 19702, 297, 21680, 12248, 7, 549, 17444, 427, 12248, 834, 23351, 107, 32, 26, 834, 22737, 3274, 3, 31, 553, 159, 9, 31, 4674, 11300, 272, 476, 71, 11231,...
which grid did less than 20 laps in a time of +58.353?
CREATE TABLE table_name_82 ( grid INTEGER, time VARCHAR, laps VARCHAR )
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 8634, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 84, 8634, 410, 705, 145, 460, 1494...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 97, 3274, 96, 1220, 3449, 5, 2469, 519, 121, 3430, 14941, 7, 3, 2, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which chasis was in the year 1954?
CREATE TABLE table_name_76 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_76 WHERE year = 1954
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 524, 6500, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 3441, 7, 159, 47, 16, 8, 215, 24970, 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, 22836, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 215, 3274, 24970, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which vocal type has the band mate with last name "Heilo" played the most?
CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR)
SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE lastname = "Heilo" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6721, 7, 41, 3348, 5058, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1928, 41, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6721, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 12016, 5668, 21680, 6721, 7, 6157, 332, 536, 3, 15355, 3162, 1928, 6157, 332, 357, 9191, 332, 5411, 3348, 5058, 3274, 332, 4416, 23, 26, 549, 17444, 427, 336, 4350, 3274, 96, 3845, 173, 32, 121, 350, 4630, 6880, ...
what is 2012 when the tournament is cincinnati masters?
CREATE TABLE table_name_66 ( tournament VARCHAR )
SELECT 2012 FROM table_name_66 WHERE tournament = "cincinnati masters"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 1673, 116, 8, 5892, 19, 13935, 29, 18530, 2325, 7, 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, 1673, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 5892, 3274, 96, 75, 11542, 29, 18530, 2325, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
get me the number of white ethnic background patients who were born before the year 2058.
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 ) 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 WHERE demographic.ethnicity = "WHITE" AND demographic.dob_year < "2058"
[ 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, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, ...
What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985?
CREATE TABLE table_35041 ( "Name" text, "Year" real, "Propulsion" text, "launched by" text, "Country" text )
SELECT "Name" FROM table_35041 WHERE "Propulsion" = 'turbojet' AND "Year" > '1985' AND "launched by" = 'surface, sub'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16975, 4853, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 3174, 20567, 121, 1499, 6, 96, 27493, 15, 26, 57, 121, 1499, 6, 96, 10628, 651, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 16975, 4853, 549, 17444, 427, 96, 3174, 20567, 121, 3274, 3, 31, 2905, 115, 32, 9245, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4433, 31, 3430, 96, 27493, 15, 26, 57, 121, ...
What is the highest attendance for December 14, 1958 for after week 12
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_40 WHERE date = "december 14, 1958" AND week > 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 15116, 663, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 11364, 21, 1882, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 11363, 22306, 121, 3430, 471, 2490, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients are below 70 years of age and lab test item id 50965?
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 ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "70" AND lab.itemid = "50965"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
give me the gender and language of travis hofman.
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 ) 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 )
SELECT demographic.gender, demographic.language FROM demographic WHERE demographic.name = "Travis Hofman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 122, 3868, 6, 14798, 5, 24925, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 9402, 3466, 17176, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees who was hired before 2002-06-21, a scatter chart shows the correlation between employee_id and salary .
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT EMPLOYEE_ID, SALARY FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In which class had 252 laps and a position of dnf?
CREATE TABLE table_name_5 ( class VARCHAR, pos VARCHAR, laps VARCHAR )
SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 853, 584, 4280, 28027, 6, 3, 2748, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 853, 141, 944, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 3, 2748, 3274, 96, 26, 29, 89, 121, 3430, 14941, 7, 3274, 944, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show how many country from each country, show bars in desc order.
CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int )
SELECT Country, COUNT(Country) FROM artist GROUP BY Country ORDER BY Country DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 41, 22371, 834, 4309, 16, 17, 6, 2929, 16, 17, 6, 37, 526, 1499, 6, 9152, 834, 4309, 16, 17, 6, 3, 15569, 834, 345, 4920, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 10628, 651, 61, 21680, 2377, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 6993, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the margin of victory at the Texas International Open?
CREATE TABLE table_name_44 ( margin_of_victory VARCHAR, tournament VARCHAR )
SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6346, 13, 6224, 44, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6346, 834, 858, 834, 7287, 10972, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 5892, 3274, 96, 10354, 9, 7, 1038, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity?
CREATE TABLE table_26211058_1 ( calculated_activity___bq__ VARCHAR, specimen_weight_size VARCHAR )
SELECT COUNT(calculated_activity___bq__) FROM table_26211058_1 WHERE specimen_weight_size = "1000 g / 8.79 cm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2658, 1714, 3449, 834, 536, 41, 11338, 834, 21661, 834, 834, 834, 115, 1824, 834, 834, 584, 4280, 28027, 6, 19622, 834, 9378, 834, 7991, 584, 4280, 28027, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 10379, 83, 920, 834, 21661, 834, 834, 834, 115, 1824, 834, 834, 61, 21680, 953, 834, 2688, 2658, 1714, 3449, 834, 536, 549, 17444, 427, 19622, 834, 9378, 834, 7991, 3274, 96, 16824, 3, 122, 3, 87, ...
Who wrote the sorry of the episode directed by Dan Attias?
CREATE TABLE table_13755296_1 (story_by VARCHAR, directed_by VARCHAR)
SELECT story_by FROM table_13755296_1 WHERE directed_by = "Dan Attias"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3072, 5373, 4314, 834, 536, 41, 13029, 834, 969, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 8, 8032, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 733, 834, 969, 21680, 953, 834, 2368, 3072, 5373, 4314, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 308, 152, 486, 17, 23, 9, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
After March 19, what's the score of game 67?
CREATE TABLE table_38530 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT "Score" FROM table_38530 WHERE "March" > '19' AND "Game" = '67'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 26918, 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, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3747, 26918, 549, 17444, 427, 96, 25019, 121, 2490, 3, 31, 2294, 31, 3430, 96, 23055, 121, 3274, 3, 31, 3708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of laps with rank of 8
CREATE TABLE table_67790 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT COUNT("Laps") FROM table_67790 WHERE "Rank" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 940, 2394, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 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, 2847, 17161, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 3708, 940, 2394, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Player of napoleon lajoie, and a Team of cleveland bronchos, and a Doubles of 49 which years record stood?
CREATE TABLE table_75215 ( "Doubles" real, "Player" text, "Team" text, "Year" real, "Years Record Stood" text )
SELECT "Years Record Stood" FROM table_75215 WHERE "Player" = 'napoleon lajoie' AND "Team" = 'cleveland bronchos' AND "Doubles" = '49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 357, 1808, 41, 96, 4135, 76, 2296, 7, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 476, 2741, 7, 11392, 8272...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 11392, 8272, 32, 26, 121, 21680, 953, 834, 3072, 357, 1808, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 29, 9, 14332, 106, 50, 1927, 23, 15, 31, 3430, 96, 18699, 121, 3274, 3, 31, 75, 4...
What is the firefox value with a 22.0% internet explorer?
CREATE TABLE table_79527 ( "Date" text, "Internet Explorer" text, "Firefox" text, "Safari" text, "Opera" text )
SELECT "Firefox" FROM table_79527 WHERE "Internet Explorer" = '22.0%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3301, 2555, 41, 96, 308, 342, 121, 1499, 6, 96, 22912, 15762, 121, 1499, 6, 96, 3183, 60, 20400, 121, 1499, 6, 96, 134, 9, 5544, 23, 121, 1499, 6, 96, 667, 883, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3183, 60, 20400, 121, 21680, 953, 834, 940, 3301, 2555, 549, 17444, 427, 96, 22912, 15762, 121, 3274, 3, 31, 2884, 5, 6932, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Where is the headquarters of the airline which has the ICAO code of AAU?
CREATE TABLE table_1294 ( "Airline" text, "ICAO" text, "IATA" text, "Callsign" text, "Commenced operations" real, "Fleet size" real, "Headquarters" text )
SELECT "Headquarters" FROM table_1294 WHERE "ICAO" = 'AAU'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4240, 41, 96, 20162, 747, 121, 1499, 6, 96, 15038, 667, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 254, 1748, 6732, 121, 1499, 6, 96, 10205, 1433, 26, 2673, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 9, 26, 19973, 7, 121, 21680, 953, 834, 2122, 4240, 549, 17444, 427, 96, 15038, 667, 121, 3274, 3, 31, 188, 6727, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Year that has Notes of dnf?
CREATE TABLE table_name_17 (year INTEGER, notes VARCHAR)
SELECT MIN(year) FROM table_name_17 WHERE notes = "dnf"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 1201, 3, 21342, 17966, 6, 3358, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 24, 65, 2507, 7, 13, 3, 26, 29, 89, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 3358, 3274, 96, 26, 29, 89, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Doctor Who episode has a Episode # of 11?
CREATE TABLE table_name_78 ( doctor_who_episode VARCHAR, episode__number VARCHAR )
SELECT doctor_who_episode FROM table_name_78 WHERE episode__number = "11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 2472, 834, 8903, 834, 15, 102, 159, 32, 221, 584, 4280, 28027, 6, 5640, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2472, 834, 8903, 834, 15, 102, 159, 32, 221, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 5640, 834, 834, 5525, 1152, 3274, 96, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest value for col(m) at North Island?
CREATE TABLE table_18946749_4 ( col__m_ INTEGER, island VARCHAR )
SELECT MAX(col__m_) FROM table_18946749_4 WHERE island = "North island"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4240, 3708, 3647, 834, 591, 41, 7632, 834, 834, 51, 834, 3, 21342, 17966, 6, 3368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 701, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3297, 834, 834, 51, 834, 61, 21680, 953, 834, 2606, 4240, 3708, 3647, 834, 591, 549, 17444, 427, 3368, 3274, 96, 22969, 3368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Nation has a Gold entry that is greater than 0, a Total that is greater than 2, a Silver entry that is larger than 1, and 0 Bronze?
CREATE TABLE table_name_28 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR, total VARCHAR)
SELECT nation FROM table_name_28 WHERE gold > 0 AND total > 2 AND bronze = 0 AND silver > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 29, 257, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2982, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 2045, 2490, 3, 632, 3430, 792, 2490, 204, 3430, 13467, 3274, 3, 632, 3430, 4294, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the total number of every ship type by categorizing by nationality?, and sort the number of type in ascending order.
CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )
SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY COUNT(Type)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 8960, 834, 4309, 16, 17, 6, 15508, 834, 4309, 16, 17, 6, 3636, 1499, 6, 17113, 15, 26, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 9913, 834, 157, 2264, 7, 16, 17, 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, 6632, 6, 2847, 17161, 599, 25160, 61, 21680, 4383, 350, 4630, 6880, 272, 476, 868, 485, 6, 6632, 4674, 11300, 272, 476, 2847, 17161, 599, 25160, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the total days held on # 1st ?
CREATE TABLE table_204_23 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days held" number, "location" text, "event" text, "notes" text )
SELECT "days held" FROM table_204_23 WHERE "#" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2773, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 210, 6216, 1171, 7, 121, 1499, 6, 96, 60, 3191, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 1135, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1135, 7, 1213, 121, 21680, 953, 834, 26363, 834, 2773, 549, 17444, 427, 96, 4663, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest Rank when the goals are less than 124 for Jeff Cunningham?
CREATE TABLE table_name_50 (rank INTEGER, goals VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 6254, 3, 21342, 17966, 6, 1766, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 3, 22557, 116, 8, 1766...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 1766, 2490, 3, 22504, 3430, 564, 3274, 96, 1924, 89, 89, 123, 9416, 1483, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the total number of won tosses ?
CREATE TABLE table_203_255 ( id number, "no" number, "test no" number, "1st team" text, "2nd team" text, "winner" text, "margin" text, "toss" text, "bat" text, "date" text )
SELECT COUNT(*) FROM table_203_255 WHERE "toss" = 'won'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 25502, 41, 3, 23, 26, 381, 6, 96, 29, 32, 121, 381, 6, 96, 4377, 150, 121, 381, 6, 96, 536, 7, 17, 372, 121, 1499, 6, 96, 357, 727, 372, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 25502, 549, 17444, 427, 96, 235, 7, 7, 121, 3274, 3, 31, 210, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the alternate of the nation with Erkki Lill as the skip?
CREATE TABLE table_name_55 (alternate VARCHAR, skip VARCHAR)
SELECT alternate FROM table_name_55 WHERE skip = "erkki lill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 8818, 29, 342, 584, 4280, 28027, 6, 11202, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 13902, 13, 8, 2982, 28, 848, 8511, 23, 1414...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13902, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 11202, 3274, 96, 49, 8511, 23, 3, 40, 1092, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the highest front row starts for Alain Prost?
CREATE TABLE table_name_52 ( front_row_starts INTEGER, driver VARCHAR )
SELECT MAX(front_row_starts) FROM table_name_52 WHERE driver = "alain prost"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 851, 834, 3623, 834, 10208, 7, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 851, 7358, 3511, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6849, 834, 3623, 834, 10208, 7, 61, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 2535, 3274, 96, 138, 9, 77, 17074, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the highest points when the chassis is focus rs wrc 08 and 09 and the stage wins is more than 91?
CREATE TABLE table_name_42 (points INTEGER, chassis VARCHAR, stage_wins VARCHAR)
SELECT MAX(points) FROM table_name_42 WHERE chassis = "focus rs wrc 08 and 09" AND stage_wins > 91
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 2700, 7, 3, 21342, 17966, 6, 22836, 584, 4280, 28027, 6, 1726, 834, 3757, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2030, 979...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 22836, 3274, 96, 25198, 3, 52, 7, 3, 210, 52, 75, 12046, 11, 14146, 121, 3430, 1726, 834, 3757, 7, 2490, 3, 4729, 1, -100, -100, -100...
What's the callsign in Tacloban?
CREATE TABLE table_43557 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text )
SELECT "Callsign" FROM table_43557 WHERE "Location" = 'tacloban'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2469, 3436, 41, 96, 18304, 727, 53, 121, 1499, 6, 96, 254, 1748, 6732, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 23553, 41, 21729, 61, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1748, 6732, 121, 21680, 953, 834, 591, 2469, 3436, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 17, 9, 3903, 3478, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
CREATE TABLE table_name_19 ( year VARCHAR, llws VARCHAR, city VARCHAR )
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 215, 584, 4280, 28027, 6, 3, 195, 210, 7, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 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, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 3, 195, 210, 7, 3274, 96, 591, 189, 286, 121, 3430, 690, 3274, 96, 12425, 1493, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there Plot them as bar chart, and sort by the the total number in descending.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int )
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 96, 19040, 4463, 121, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 28998, 127, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 28998, 127, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What network garnered 2.74 million viewers for Supernatural?
CREATE TABLE table_2170969_2 ( network VARCHAR, viewers_in_millions VARCHAR )
SELECT network FROM table_2170969_2 WHERE viewers_in_millions = "2.74"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2517, 4198, 3951, 834, 357, 41, 1229, 584, 4280, 28027, 6, 13569, 834, 77, 834, 17030, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1229, 22639, 1271,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1229, 21680, 953, 834, 357, 2517, 4198, 3951, 834, 357, 549, 17444, 427, 13569, 834, 77, 834, 17030, 7, 3274, 96, 21280, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the enrollment and primary_conference of the oldest college.
CREATE TABLE university ( enrollment VARCHAR, primary_conference VARCHAR, founded VARCHAR )
SELECT enrollment, primary_conference FROM university ORDER BY founded LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 17938, 584, 4280, 28027, 6, 2329, 834, 28496, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 17938, 11, 2329, 834, 28496, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17938, 6, 2329, 834, 28496, 21680, 3819, 4674, 11300, 272, 476, 5710, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the most wins associated with under 4 events with 0 top-5s?
CREATE TABLE table_41729 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT MAX("Wins") FROM table_41729 WHERE "Top-5" > '0' AND "Events" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2517, 3166, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 18455, 7, 8512, 21680, 953, 834, 591, 2517, 3166, 549, 17444, 427, 96, 22481, 18, 17395, 2490, 3, 31, 632, 31, 3430, 96, 427, 2169, 7, 121, 3, 2, 3, 31, 591, 31, 1, -100, -100, -100, -100, -...
Which Rank has a Finish of 8?
CREATE TABLE table_name_11 ( rank VARCHAR, finish VARCHAR )
SELECT rank FROM table_name_11 WHERE finish = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 11003, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 17578, 13, 505, 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, 11003, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1992, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the highest round when the overall is less than 17?
CREATE TABLE table_name_32 (round INTEGER, overall INTEGER)
SELECT MAX(round) FROM table_name_32 WHERE overall < 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 7775, 3, 21342, 17966, 6, 1879, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2030, 1751, 116, 8, 1879, 19, 705, 145, 1003, 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, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1879, 3, 2, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was from Great Britain in lane 5?
CREATE TABLE table_name_28 ( name VARCHAR, nationality VARCHAR, lane VARCHAR )
SELECT name FROM table_name_28 WHERE nationality = "great britain" AND lane = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 564, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 45, 1651, 7190, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1157, 485, 3274, 96, 20288, 3, 115, 10694, 77, 121, 3430, 3, 8102, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Venue of the 2009 Gulf Cup of Nations?
CREATE TABLE table_47637 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_47637 WHERE "Competition" = '2009 gulf cup of nations'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3959, 4118, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 591, 3959, 4118, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 16660, 3, 6106, 89, 4119, 13, 9352, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the name of physicians who are in charge of more than one patient.
CREATE TABLE patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR)
SELECT T1.name FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 4051, 345, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10027, 41, 4350, 584, 4280, 28027, 6, 3490, 23, 26, 584, 4280, 28027, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 332, 5411, 4350, 21680, 10027, 6157, 332, 536, 3, 15355, 3162, 1868, 6157, 332, 357, 9191, 332, 5411, 15, 51, 7379, 63, 15, 15, 23, 26, 3274, 332, 4416, 4051, 345, 350, 4630, 6880, 272, 476, 332, 5411, 15, 51, 737...
What is the First elected that has a republican party and california 4?
CREATE TABLE table_name_4 ( first_elected VARCHAR, party VARCHAR, district VARCHAR )
SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 166, 834, 19971, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1485, 8160, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 19971, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1088, 3274, 96, 60, 15727, 152, 121, 3430, 3939, 3274, 96, 15534, 1161, 29, 23, 9, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many black/african american patients have stayed in the hospital for more than 3 days?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 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 WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.days_stay > "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 6282, 5593, 11425, 3, 17683, 5593, 11425, 121, 3430...
Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic
CREATE TABLE table_1346118_5 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_1346118_5 WHERE candidates = "Henry E. Barbour (R) 52.1% Henry Hawson (D) 47.9%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4448, 20056, 834, 755, 41, 8071, 584, 4280, 28027, 6, 4341, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1088, 47, 8, 28406, 45, 116, 8, 212, 12416, 6203,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8071, 61, 21680, 953, 834, 2368, 4448, 20056, 834, 755, 549, 17444, 427, 4341, 3274, 96, 566, 35, 651, 262, 5, 11038, 1211, 41, 448, 61, 9065, 5, 4704, 7780, 1626, 210, 739, 41, 308, 61, 10635, 5...
Name the number where population 2010 is 171906
CREATE TABLE table_17015_2 (no VARCHAR, population__2010_ VARCHAR)
SELECT no FROM table_17015_2 WHERE population__2010_ = 171906
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2518, 1808, 834, 357, 41, 29, 32, 584, 4280, 28027, 6, 2074, 834, 834, 14926, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 213, 2074, 2735, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 150, 21680, 953, 834, 536, 2518, 1808, 834, 357, 549, 17444, 427, 2074, 834, 834, 14926, 834, 3274, 1003, 2294, 5176, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On which dates did the episodes directed by TR Babu Subramaniam air?
CREATE TABLE table_17355820_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_17355820_1 WHERE directed_by = "TR Babu Subramaniam"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 3449, 1755, 834, 536, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 5128, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 2517, 2469, 3449, 1755, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 11421, 11563, 76, 3325, 2375, 11219, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the home team's score when the away team scored 13.14 (92)?
CREATE TABLE table_33155 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_33155 WHERE "Away team score" = '13.14 (92)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 20896, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 4201, 20896, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2368, 5, 2534, 14156, 7318, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What date did Virginia Commonwealth Rams win?
CREATE TABLE table_name_14 ( date_s_ VARCHAR, winner VARCHAR )
SELECT date_s_ FROM table_name_14 WHERE winner = "virginia commonwealth rams"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 833, 834, 7, 834, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 5382, 21260, 4425, 7, 1369, 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, 834, 7, 834, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 4668, 3274, 96, 5771, 122, 77, 23, 9, 1017, 1123, 138, 189, 3, 2375, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many results are there with the original title of ani ohev otach roza ( )?
CREATE TABLE table_17642 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text )
SELECT COUNT("Result") FROM table_17642 WHERE "Original title" = 'Ani Ohev Otach Roza (אני אוהב אותך רוזה)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26782, 4165, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 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, 20119, 8512, 21680, 953, 834, 26782, 4165, 549, 17444, 427, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 188, 29, 23, 3359, 15, 208, 411, 17, 1836, 2158, 1629, 41, 2, 3, 2, 3, 2, 3, 2, ...
Return a bar chart to show how many documents for different budget type description.
CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) )
SELECT Budget_Type_Description, COUNT(Budget_Type_Description) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY Budget_Type_Description
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 11167, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 2786, 834, 4309, 3, 21342, 17966, 6, 11167, 834, 308, 342, 309, 6048, 382, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 12532, 834, 25160, 834, 2962, 11830, 6, 2847, 17161, 599, 279, 13164, 17, 834, 25160, 834, 2962, 11830, 61, 21680, 11167, 7, 834, 4065, 834, 12882, 5167, 7, 6157, 332, 536, 3, 15355, 3162, 419, 89, 834, 279, 13164, ...
What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
CREATE TABLE table_31000 ( "Movies" text, "December 25" text, "December 26" text, "December 27" text, "December 28" text, "December 25-28 total" text, "Total 2-week Gross" text )
SELECT "December 28" FROM table_31000 WHERE "Movies" = 'Ang Tanging Ina Mo (Last na ''To!)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 2313, 41, 96, 329, 9881, 15, 7, 121, 1499, 6, 96, 29835, 944, 121, 1499, 6, 96, 29835, 2208, 121, 1499, 6, 96, 29835, 2307, 121, 1499, 6, 96, 29835, 2059, 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, 29835, 2059, 121, 21680, 953, 834, 3341, 2313, 549, 17444, 427, 96, 329, 9881, 15, 7, 121, 3274, 3, 31, 8365, 18939, 53, 86, 9, 1290, 41, 3612, 7, 17, 3, 29, 9, 3, 31, 31, 3696, 4819, 31, 1, -100, -100, ...
What event has 8 as the days held?
CREATE TABLE table_37028 ( "Wrestler" text, "Reign" text, "Days held" text, "Location" text, "Event" text )
SELECT "Event" FROM table_37028 WHERE "Days held" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 2577, 41, 96, 518, 6216, 1171, 121, 1499, 6, 96, 1649, 3191, 121, 1499, 6, 96, 16803, 7, 1213, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 427, 2169, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 22520, 2577, 549, 17444, 427, 96, 16803, 7, 1213, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
who has the most number of affiliates ?
CREATE TABLE table_204_796 ( id number, "network name" text, "flagship" text, "programming type" text, "owner" text, "affiliates" number )
SELECT "network name" FROM table_204_796 ORDER BY "affiliates" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 4314, 41, 3, 23, 26, 381, 6, 96, 1582, 1981, 564, 121, 1499, 6, 96, 89, 5430, 2009, 121, 1499, 6, 96, 7050, 53, 686, 121, 1499, 6, 96, 13238, 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, 1582, 1981, 564, 121, 21680, 953, 834, 26363, 834, 940, 4314, 4674, 11300, 272, 476, 96, 4127, 13565, 1422, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the home team that scored 12.6 (78)?
CREATE TABLE table_74570 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_74570 WHERE "Home team score" = '12.6 (78)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 28363, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 4581, 28363, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 9368, 948, 41, 3940, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is maximum days of hospital stay of patients whose death status is 1?
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 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 MAX(demographic.days_stay) FROM demographic WHERE demographic.expire_flag = "1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 994, 2388, 15, 834, 89, 5430, 3274, 96, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number that 0 silver?
CREATE TABLE table_name_14 ( total VARCHAR, silver INTEGER )
SELECT COUNT(total) FROM table_name_14 WHERE silver < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 792, 584, 4280, 28027, 6, 4294, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 24, 3, 632, 4294, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 4294, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the HT value of threw Athlon x2 5200b model?
CREATE TABLE table_13869651_3 ( ht VARCHAR, model_number VARCHAR )
SELECT ht FROM table_13869651_3 WHERE model_number = "Athlon X2 5200B"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3840, 4314, 5553, 834, 519, 41, 3, 107, 17, 584, 4280, 28027, 6, 825, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 10966, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 107, 17, 21680, 953, 834, 2368, 3840, 4314, 5553, 834, 519, 549, 17444, 427, 825, 834, 5525, 1152, 3274, 96, 188, 189, 40, 106, 3, 4, 357, 305, 3632, 279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Where did Geelong play as the away team?
CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_9 WHERE away_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 15098, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 410, 961, 15, 2961, 577, 38, 8, 550, 372, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 550, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest to par with a place of t8 and West Germany as the country?
CREATE TABLE table_name_37 ( to_par INTEGER, place VARCHAR, country VARCHAR )
SELECT MAX(to_par) FROM table_name_37 WHERE place = "t8" AND country = "west germany"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 12, 834, 1893, 3, 21342, 17966, 6, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 12, 260, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 286, 3274, 96, 17, 927, 121, 3430, 684, 3274, 96, 12425, 13692, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the common login name of course authors and students.
CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR); CREATE TABLE Students (login_name VARCHAR)
SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 41, 2152, 77, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4375, 41, 2152, 77, 834, 4350, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11255, 834, 4350, 21680, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 3, 21342, 5249, 14196, 3, 23143, 14196, 11255, 834, 4350, 21680, 4375, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What type of disaster is rms atlantic categorized in that was located in Nova Scotia?
CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR)
SELECT type FROM table_name_62 WHERE location = "nova scotia" AND disaster = "rms atlantic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 6137, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 6912, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 13, 6912, 19, 3, 52, 51, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 1128, 3274, 96, 14979, 3, 7, 4310, 23, 9, 121, 3430, 6912, 3274, 96, 52, 51, 7, 3, 31767, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the station type of DWMC-TV?
CREATE TABLE table_2610582_3 (station_type VARCHAR, callsign VARCHAR)
SELECT station_type FROM table_2610582_3 WHERE callsign = "DWMC-TV"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 12869, 4613, 834, 519, 41, 6682, 834, 6137, 584, 4280, 28027, 6, 580, 6732, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2478, 686, 13, 3, 20293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2478, 834, 6137, 21680, 953, 834, 2688, 12869, 4613, 834, 519, 549, 17444, 427, 580, 6732, 3274, 96, 20293, 3698, 18, 4562, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the place of birth for the elector Laborante de Panormo?
CREATE TABLE table_62719 ( "Elector" text, "Place of birth" text, "Cardinalatial title" text, "Elevated" text, "Elevator" text )
SELECT "Place of birth" FROM table_62719 WHERE "Elector" = 'laborante de panormo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2555, 2294, 41, 96, 21543, 127, 121, 1499, 6, 96, 345, 11706, 13, 3879, 121, 1499, 6, 96, 6936, 26, 10270, 9, 10646, 2233, 121, 1499, 6, 96, 427, 10912, 920, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 11706, 13, 3879, 121, 21680, 953, 834, 948, 2555, 2294, 549, 17444, 427, 96, 21543, 127, 121, 3274, 3, 31, 9456, 1841, 20, 2131, 127, 51, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the date when the attendance was 63995
CREATE TABLE table_14875671_1 ( date VARCHAR, attendance VARCHAR )
SELECT date FROM table_14875671_1 WHERE attendance = 63995
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4225, 4834, 4450, 834, 536, 41, 833, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 116, 8, 11364, 47, 431, 3288...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2534, 4225, 4834, 4450, 834, 536, 549, 17444, 427, 11364, 3274, 431, 3288, 3301, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What district did Donald Ray Matthews belong to?
CREATE TABLE table_18401 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "District" FROM table_18401 WHERE "Incumbent" = 'Donald Ray Matthews'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 20016, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 20066, 121, 21680, 953, 834, 2606, 20016, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 13843, 138, 26, 8279, 9771, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest goals entry with drawn larger than 6 and goals against 85?
CREATE TABLE table_78893 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT MAX("Goals For") FROM table_78893 WHERE "Goals Against" = '85' AND "Drawn" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3914, 519, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 6221, 5405, 242, 8512, 21680, 953, 834, 3940, 3914, 519, 549, 17444, 427, 96, 6221, 5405, 3, 20749, 121, 3274, 3, 31, 4433, 31, 3430, 96, 308, 10936, 29, 121, 2490, 3, 31, 948, 31, 1, -100, -1...
What position is associated with a Time of 20:39.171?
CREATE TABLE table_57100 ( "Pos." real, "Driver" text, "Time" text, "Best time" text, "Points" real )
SELECT AVG("Pos.") FROM table_57100 WHERE "Time" = '20:39.171'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 2915, 41, 96, 345, 32, 7, 535, 490, 6, 96, 20982, 52, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 17278, 97, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 345, 32, 7, 5, 8512, 21680, 953, 834, 3436, 2915, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 1755, 10, 3288, 5, 2517, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What batting team played in Karachi?
CREATE TABLE table_name_55 ( batting_team VARCHAR, venue VARCHAR )
SELECT batting_team FROM table_name_55 WHERE venue = "karachi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 3, 27759, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 27759, 372, 1944, 16, 17422, 1436, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 27759, 834, 11650, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 5669, 3274, 96, 4031, 11015, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?
CREATE TABLE table_39086 ( "Team" text, "Recopa 1994" text, "Supercopa 1994" text, "CONMEBOL 1994" text, "Copa Libertadores 1995" text )
SELECT "Team" FROM table_39086 WHERE "Recopa 1994" = 'n/a' AND "CONMEBOL 1994" = '1st round'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2394, 3840, 41, 96, 18699, 121, 1499, 6, 96, 1649, 10845, 9, 7520, 121, 1499, 6, 96, 23290, 10845, 9, 7520, 121, 1499, 6, 96, 17752, 4369, 279, 5194, 7520, 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, 18699, 121, 21680, 953, 834, 519, 2394, 3840, 549, 17444, 427, 96, 1649, 10845, 9, 7520, 121, 3274, 3, 31, 29, 87, 9, 31, 3430, 96, 17752, 4369, 279, 5194, 7520, 121, 3274, 3, 31, 536, 7, 17, 1751, 31, 1, ...
Name the status for six flags new england
CREATE TABLE table_68352 ( "Name" text, "Park" text, "Country" text, "Inversions" real, "Opened" text, "Status" text )
SELECT "Status" FROM table_68352 WHERE "Park" = 'six flags new england'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 2469, 357, 41, 96, 23954, 121, 1499, 6, 96, 26163, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 1570, 8674, 7, 121, 490, 6, 96, 22696, 15, 26, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 144, 302, 121, 21680, 953, 834, 3651, 2469, 357, 549, 17444, 427, 96, 26163, 121, 3274, 3, 31, 7, 2407, 5692, 7, 126, 3, 4606, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When is the Save of Ayala and a Loss of Olivares
CREATE TABLE table_38928 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text )
SELECT "Date" FROM table_38928 WHERE "Save" = 'ayala' AND "Loss" = 'olivares'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3914, 2577, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 23163, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 519, 3914, 2577, 549, 17444, 427, 96, 23163, 121, 3274, 3, 31, 9, 63, 138, 9, 31, 3430, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 4172, 4331, 15, 7, 31, 1, -100, -100, -100, -1...
What was the attendance on 1997-12-14?
CREATE TABLE table_name_54 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_54 WHERE date = "1997-12-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 30, 6622, 5947, 11590, 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, 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, 11364, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 833, 3274, 96, 2294, 4327, 5947, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Parish (Prestegjeld) was built in 1907?
CREATE TABLE table_name_2 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)
SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 1893, 1273, 834, 834, 2026, 849, 122, 354, 8804, 834, 584, 4280, 28027, 6, 215, 834, 16152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 219...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 215, 834, 16152, 3274, 96, 2294, 4560, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the resolution for the fight against tom bolger by submission (guillotine choke)?
CREATE TABLE table_76626 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Time" text )
SELECT "Res." FROM table_76626 WHERE "Method" = 'submission (guillotine choke)' AND "Opponent" = 'tom bolger'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3539, 2688, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7, 535, 21680, 953, 834, 940, 3539, 2688, 549, 17444, 427, 96, 23351, 107, 32, 26, 121, 3274, 3, 31, 7304, 5451, 41, 7938, 195, 32, 4070, 29787, 61, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 235,...
What is the highest RNA segment having a protein of vp2 and a base pair size over 2690?
CREATE TABLE table_name_20 ( rna_segment__gene_ INTEGER, protein VARCHAR, size___s_base_pair__ VARCHAR )
SELECT MAX(rna_segment__gene_) FROM table_name_20 WHERE protein = "vp2" AND size___s_base_pair__ > 2690
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 3, 52, 29, 9, 834, 7, 15, 122, 297, 834, 834, 729, 15, 834, 3, 21342, 17966, 6, 3619, 584, 4280, 28027, 6, 812, 834, 834, 834, 7, 834, 10925, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 52, 29, 9, 834, 7, 15, 122, 297, 834, 834, 729, 15, 834, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 3619, 3274, 96, 208, 102, 357, 121, 3430, 812, 834, 834, 834, 7, 834, 10925, 834, 1...
how many patients with brain mass, intracranial hemorrhage had a blood test by lab?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 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.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
For those records from the products and each product's manufacturer, give me the comparison about the sum of price over the headquarter , and group by attribute headquarter by a bar chart, and I want to order from low to high by the y-axis.
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 Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Price)
[ 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, 3642, 19973, 6, 180, 6122, 599, 345, 4920, 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, 3642...
What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 7261, 7, 3, 21342, 17966, 6, 1513, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 13, 5880, 28, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 1513, 2490, 204, 3430, 979, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the Player in the 1998-2000 Year of Grizzlies?
CREATE TABLE table_name_14 ( player VARCHAR, years_for_grizzlies VARCHAR )
SELECT player FROM table_name_14 WHERE years_for_grizzlies = "1998-2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 1959, 584, 4280, 28027, 6, 203, 834, 1161, 834, 3496, 5271, 4664, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 12387, 16, 8, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 203, 834, 1161, 834, 3496, 5271, 4664, 3274, 96, 2294, 3916, 18, 13527, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of job_id and the sum of salary , and group by attribute job_id, show in asc by the y axis.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY SUM(SALARY)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, 834, 4309, ...
What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?
CREATE TABLE table_name_8 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_8 WHERE silver = 1 AND rank < 4 AND gold > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 13711, 776, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 4294, 3274, 209, 3430, 11003, 3, 2, 314, 3430, 2045, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many runners up for the team that won in 1993?
CREATE TABLE table_name_66 ( runners_up INTEGER, years_won VARCHAR )
SELECT MIN(runners_up) FROM table_name_66 WHERE years_won = "1993"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 16448, 834, 413, 3, 21342, 17966, 6, 203, 834, 210, 106, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16448, 95, 21, 8, 372, 24, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 10806, 7, 834, 413, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 203, 834, 210, 106, 3274, 96, 2294, 4271, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the smallest number of Matches with less than 97 losses and a Win rate of 28.68%?
CREATE TABLE table_name_59 (matches INTEGER, win__percentage VARCHAR, lost VARCHAR)
SELECT MIN(matches) FROM table_name_59 WHERE win__percentage = "28.68%" AND lost < 97
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 19515, 15, 7, 3, 21342, 17966, 6, 1369, 834, 834, 883, 3728, 545, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1369, 834, 834, 883, 3728, 545, 3274, 96, 2577, 5, 3651, 1454, 121, 3430, 1513, 3, 2, 3, 4327, 1, -100, -100, -100, -100, -100, ...
Who is the executive director of the Lemery, Batangas extension?
CREATE TABLE table_name_84 (executive_director VARCHAR, type VARCHAR, location VARCHAR)
SELECT executive_director FROM table_name_84 WHERE type = "extension" AND location = "lemery, batangas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 6667, 3044, 757, 834, 25982, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4297,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4297, 834, 25982, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 686, 3274, 96, 994, 13177, 121, 3430, 1128, 3274, 96, 109, 935, 63, 6, 3795, 1468, 9, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
who had more gold medals , russia or georgia ?
CREATE TABLE table_204_297 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_204_297 WHERE "nation" IN ('russia', 'georgia') ORDER BY "gold" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 4327, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 26363, 834, 357, 4327, 549, 17444, 427, 96, 29, 257, 121, 3388, 41, 31, 26165, 31, 6, 3, 31, 397, 1677, 23, 9, 31, 61, 4674, 11300, 272, 476, 96, 14910, 121, 309, 25067, 8729, ...
what is date of birth and death status of subject name dominga garvin?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.dob, demographic.expire_flag FROM demographic WHERE demographic.name = "Dominga Garvin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 32, 115, 6, 14798, 5, 994, 2388, 15, 834, 89, 5430, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 4135, 51, 53, 9, 3121, 2494, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which player played for the Grizzlies from 1997-1998?
CREATE TABLE table_8684 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text )
SELECT "Player" FROM table_8684 WHERE "Years for Grizzlies" = '1997-1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3840, 4608, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3840, 4608, 549, 17444, 427, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 121, 3274, 3, 31, 2294, 4327, 4481, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the wins are less than 0 and the Top-5 1 what is the average cuts?
CREATE TABLE table_name_31 ( cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR )
SELECT AVG(cuts_made) FROM table_name_31 WHERE top_5 = 1 AND wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 8620, 834, 4725, 3, 21342, 17966, 6, 420, 834, 755, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 9204, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 3044, 7, 834, 4725, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 420, 834, 755, 3274, 209, 3430, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who had the highest points on January 2?
CREATE TABLE table_23274514_6 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_23274514_6 WHERE date = "January 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2555, 2128, 2534, 834, 948, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 2030, 979, 30, 1762...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 2773, 2555, 2128, 2534, 834, 948, 549, 17444, 427, 833, 3274, 96, 30404, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many floors does the building on 800 Boylston Street have?
CREATE TABLE table_name_52 ( floors INTEGER, street_address VARCHAR )
SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 8242, 3, 21342, 17966, 6, 2815, 834, 9, 26, 12039, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8242, 405, 8, 740, 30, 8640, 7508,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 20924, 7, 61, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 2815, 834, 9, 26, 12039, 3274, 96, 6192, 4940, 40, 4411, 2815, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show me about the distribution of Sex and the amount of Sex , and group by attribute Sex in a bar chart, rank y-axis from high to low order.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY COUNT(Sex) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 2847, 17161, 599, 134, 994, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 2847, 17161, 599, 134, 994, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the name of the report that lists the race name as long beach grand prix?
CREATE TABLE table_10707142_2 ( report VARCHAR, race_name VARCHAR )
SELECT report FROM table_10707142_2 WHERE race_name = "Long Beach Grand Prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18057, 4560, 24978, 834, 357, 41, 934, 584, 4280, 28027, 6, 1964, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 13, 8, 934, 24, 7809, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 934, 21680, 953, 834, 18057, 4560, 24978, 834, 357, 549, 17444, 427, 1964, 834, 4350, 3274, 96, 434, 2444, 2979, 2698, 12942, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which name had 6 goals?
CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
SELECT name FROM table_name_49 WHERE goals = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 4350, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 564, 141, 431, 1766, 58, 1, 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, 564, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1766, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the previous experience of the player from East Jordan, Michigan?
CREATE TABLE table_1024 ( "Player" text, "Position" text, "Games started" text, "Hometown" text, "Height" text, "Weight" real, "Class" text, "Previous experience" text )
SELECT "Previous experience" FROM table_1024 WHERE "Hometown" = 'East Jordan, Michigan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2266, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 23055, 7, 708, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 3845, 2632, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10572, 19117, 351, 121, 21680, 953, 834, 1714, 2266, 549, 17444, 427, 96, 19040, 3540, 121, 3274, 3, 31, 25235, 8480, 6, 5847, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What machine has 5 as the place?
CREATE TABLE table_name_95 ( machine VARCHAR, place VARCHAR )
SELECT machine FROM table_name_95 WHERE place = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 1437, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1437, 65, 305, 38, 8, 286, 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, 1437, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 286, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...