NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
provide the number of patients whose days of hospital stay is greater than 34 and drug code is adva250ih?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "34" AND prescriptions.formulary_drug_cd = "ADVA250IH"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which player was picked in round 15 with a pick smaller than 13?
CREATE TABLE table_name_76 (name VARCHAR, pick__number VARCHAR, round VARCHAR)
SELECT name FROM table_name_76 WHERE pick__number < 13 AND round = 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 4350, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 47, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3, 2, 1179, 3430, 1751, 3274, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0
CREATE TABLE table_name_92 ( silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR )
SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 4294, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 792, 2490, 209, 3430, 13467, 3274, 209, 3430, 2045, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Visitor has a Home of bulls?
CREATE TABLE table_name_64 ( visitor VARCHAR, home VARCHAR )
SELECT visitor FROM table_name_64 WHERE home = "bulls"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 7019, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4957, 127, 65, 3, 9, 1210, 13, 8434, 7, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 234, 3274, 96, 20638, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was No. 8 when No. 10 Jackson and No. 5 Mason?
CREATE TABLE table_9096 ( "Region (year)" text, "No. 1" text, "No. 2" text, "No. 3" text, "No. 4" text, "No. 5" text, "No. 6" text, "No. 7" text, "No. 8" text, "No. 9" text, "No. 10" text )
SELECT "No. 8" FROM table_9096 WHERE "No. 10" = 'jackson' AND "No. 5" = 'mason'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 4314, 41, 96, 17748, 23, 106, 41, 1201, 61, 121, 1499, 6, 96, 4168, 5, 209, 121, 1499, 6, 96, 4168, 5, 204, 121, 1499, 6, 96, 4168, 5, 220, 121, 1499, 6, 96, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4168, 5, 505, 121, 21680, 953, 834, 2394, 4314, 549, 17444, 427, 96, 4168, 5, 335, 121, 3274, 3, 31, 9325, 739, 31, 3430, 96, 4168, 5, 3, 17395, 3274, 3, 31, 2754, 106, 31, 1, -100, -100, -100, -100, -100, ...
What are all the distinct payment types?
CREATE TABLE payments ( payment_type_code VARCHAR )
SELECT DISTINCT payment_type_code FROM payments
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4364, 41, 1942, 834, 6137, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 66, 8, 6746, 1942, 1308, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1942, 834, 6137, 834, 4978, 21680, 4364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the name of the Outfielder that was picked prior to Pick 42?
CREATE TABLE table_40284 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text )
SELECT "Player" FROM table_40284 WHERE "Position" = 'outfielder' AND "Pick" < '42'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 357, 4608, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 2445, 357, 4608, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 670, 1846, 49, 31, 3430, 96, 345, 3142, 121, 3, 2, 3, 31, 4165, 31, 1, -100, -100, -100, -100, -10...
give me the length of stay of patient 022-89058's first stay in the icu.
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-89058') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 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, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 26, 159, 7993, 715, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 21680, 1868, 549, 17444, 427...
Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches?
CREATE TABLE table_name_5 ( matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR )
SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win__percentage < 31.25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 6407, 584, 4280, 28027, 6, 1369, 834, 834, 883, 3728, 545, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 6796, 3, 2, 997, 3430, 1513, 3, 2, 1003, 3430, 1369, 834, 834, 883, 3728, 545, 3, 2, 2664, 5, 1828, 1, -100, -100, -100, -100...
what is minimum age of patients whose marital status is divorced and primary disease is aortic insufficiency\re-do sternotomy; aortic valve replacement ?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT "
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 308, 7589, 2990, 254, 2326, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 188, 2990, 18679, 3...
What is the Series with a High rebounds with gasol (10)?
CREATE TABLE table_name_54 (series VARCHAR, high_rebounds VARCHAR)
SELECT series FROM table_name_54 WHERE high_rebounds = "gasol (10)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 10833, 7, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4531, 28, 3, 9, 1592, 3, 23768, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 939, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 306, 834, 23768, 3274, 96, 122, 9, 4099, 41, 16968, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the least track with song of little sister
CREATE TABLE table_name_67 ( track INTEGER, song_title VARCHAR )
SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 1463, 3, 21342, 17966, 6, 2324, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 1463, 28, 2324, 13, 385, 4806, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 11991, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 2324, 834, 21869, 3274, 96, 26192, 4806, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?
CREATE TABLE table_20405 ( "Country" text, "Total Freshwater Withdrawal (km 3 /yr)" text, "Per Capita Withdrawal (m 3 /p/yr)" real, "Domestic Use (m 3 /p/yr)(in %)" text, "Industrial Use (m 3 /p/yr)(in %)" text, "Agricultural Use (m 3 /p/yr)(in %)" text )
SELECT COUNT("Total Freshwater Withdrawal (km 3 /yr)") FROM table_20405 WHERE "Agricultural Use (m 3 /p/yr)(in %)" = '428(62%)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 3076, 41, 96, 10628, 651, 121, 1499, 6, 96, 3696, 1947, 8767, 3552, 438, 19489, 138, 41, 5848, 220, 3, 87, 63, 52, 61, 121, 1499, 6, 96, 12988, 4000, 155, 9, 438, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8767, 3552, 438, 19489, 138, 41, 5848, 220, 3, 87, 63, 52, 61, 8512, 21680, 953, 834, 26363, 3076, 549, 17444, 427, 96, 24354, 2048, 41, 51, 220, 3, 87, 102, 87, 63, 52, 61, 59...
What was the record for less than 78 games and a score of 114 109 (ot)?
CREATE TABLE table_79062 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Streak" text )
SELECT "Record" FROM table_79062 WHERE "Game" < '78' AND "Score" = '114–109 (ot)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 5176, 357, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 87, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 4440, 5176, 357, 549, 17444, 427, 96, 23055, 121, 3, 2, 3, 31, 3940, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 18959, 104, 17304, 41, 32, 17, 61, 31, 1, -100, -100, -100, ...
What solvent has a boiling point of 100 103 c?
CREATE TABLE table_44374 ( "Solvent" text, "Chemical Formula" text, "Boiling point" text, "Dielectric constant" text, "Density" text, "Dipole moment ( D )" text )
SELECT "Solvent" FROM table_44374 WHERE "Boiling point" = '100–103 °c'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 519, 4581, 41, 96, 5231, 40, 2169, 121, 1499, 6, 96, 254, 6015, 1950, 13786, 121, 1499, 6, 96, 279, 32, 173, 53, 500, 121, 1499, 6, 96, 308, 23, 17470, 3917, 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, 5231, 40, 2169, 121, 21680, 953, 834, 3628, 519, 4581, 549, 17444, 427, 96, 279, 32, 173, 53, 500, 121, 3274, 3, 31, 2915, 104, 17864, 3, 1956, 75, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the exact Cubic inches of the Unit of kruzhka?
CREATE TABLE table_35533 ( "Unit" text, "Russian" text, "Translation" text, "Ratio" text, "Cubic inches (exact)" text, "Metric value" text, "Imperial value" text, "US Customary" text )
SELECT "Cubic inches (exact)" FROM table_35533 WHERE "Unit" = 'kruzhka'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 4867, 519, 41, 96, 5110, 155, 121, 1499, 6, 96, 29613, 29, 121, 1499, 6, 96, 18474, 6105, 121, 1499, 6, 96, 448, 144, 23, 32, 121, 1499, 6, 96, 15784, 15979, 5075, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15784, 15979, 5075, 41, 994, 2708, 61, 121, 21680, 953, 834, 2469, 4867, 519, 549, 17444, 427, 96, 5110, 155, 121, 3274, 3, 31, 157, 52, 76, 172, 107, 1258, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
what was the time patient 031-19622 was discharged from the hospital for the last time?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time )
SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '031-19622' ORDER BY patient.hospitaldischargetime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 26, 159, 7993, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 3341, 18, 26937, 2884, 31, 4674, 11300, 272, 476, 1868, 5, 31386, 26, 159, 7993, 715, 309, 25067, 8729, ...
Name the most goals for josep samitier
CREATE TABLE table_name_8 ( goals INTEGER, name VARCHAR )
SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 1766, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 1766, 21, 7406, 15, 102, 3, 7, 3690, 3276, 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, 4800, 4, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 564, 3274, 96, 1927, 7, 15, 102, 3, 7, 3690, 3276, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the density in Garran?
CREATE TABLE table_17160 ( "Suburb" text, "Population (in 2008)" real, "Median age (in 2006)" text, "Mean household size (in 2006)" text, "Area (km\u00b2)" text, "Density (/km\u00b2)" real, "Date first settled as a suburb" real, "Gazetted as a Division Name" text )
SELECT MIN("Density (/km\u00b2)") FROM table_17160 WHERE "Suburb" = 'Garran'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 19129, 41, 96, 25252, 450, 115, 121, 1499, 6, 96, 27773, 7830, 41, 77, 2628, 61, 121, 490, 6, 96, 24607, 29, 1246, 41, 77, 3581, 61, 121, 1499, 6, 96, 329, 15, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 308, 35, 7, 485, 41, 87, 5848, 2, 76, 1206, 115, 7318, 8512, 21680, 953, 834, 2517, 19129, 549, 17444, 427, 96, 25252, 450, 115, 121, 3274, 3, 31, 21846, 2002, 31, 1, -100, -100, -100, -100, ...
What was the surface for the May 10, 2009 tournament?
CREATE TABLE table_71174 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Surface" FROM table_71174 WHERE "Date" = 'may 10, 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 27693, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, 121, 1499, 6, 96, 667, 102, 9977, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 450, 4861, 121, 21680, 953, 834, 4450, 27693, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 13726, 10372, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
diabetes type ii ( hba1c = > 7 % )
CREATE TABLE table_dev_3 ( "id" int, "bleeding" int, "hemoglobin_a1c_hba1c" float, "trauma" bool, "diabetic" string, "creatinine_clearance_cl" float, "surgery" bool, "autonomic_dysfunction" bool, "urine_protein" int, "proteinuria" int, "body_mass_index_bmi" float, "NOUSE" float )
SELECT * FROM table_dev_3 WHERE diabetic = 'ii' OR hemoglobin_a1c_hba1c >= 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 519, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 121, 3, 12660, 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, 1429, 21680, 953, 834, 9776, 834, 519, 549, 17444, 427, 17496, 447, 3274, 3, 31, 23, 23, 31, 4674, 24731, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 2490, 2423, 489, 1, -100, -100, -100, -100, -100, ...
Name the venue for netherlands opponent
CREATE TABLE table_name_88 (venue VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_88 WHERE opponent = "netherlands"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 15098, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5669, 21, 3134, 760, 6347, 15264, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 15264, 3274, 96, 29, 16764, 6347, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest total score among skaters from West Germany with a rank of 20 and a figure skating score less than 74.85?
CREATE TABLE table_57321 ( "Rank" real, "Name" text, "Nation" text, "Placings" text, "Figures" real, "Free" real, "Total" real )
SELECT MIN("Total") FROM table_57321 WHERE "Nation" = 'west germany' AND "Rank" = '20' AND "Figures" < '74.85'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 519, 2658, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 345, 9700, 53, 7, 121, 1499, 6, 96, 16691, 7, 121, 490, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 3436, 519, 2658, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 12425, 13692, 63, 31, 3430, 96, 22557, 121, 3274, 3, 31, 1755, 31, 3430, 96, 16691, 7, 121, ...
What tournament what held in Cincinnati in 2009?
CREATE TABLE table_name_53 (tournament VARCHAR)
SELECT 2009 FROM table_name_53 WHERE tournament = "cincinnati"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5892, 125, 1213, 16, 20862, 16, 2464, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2464, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 5892, 3274, 96, 75, 11542, 29, 18530, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A pie chart for listing the number of the names of products that are not in any event.
CREATE TABLE Agreements ( Document_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Assets ( Asset_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel_ID INTEGER, Event_Type_Code CHAR(15), Finance_ID INTEGER, Location_ID INTEGER ) CREATE TABLE Assets_in_Events ( Asset_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Addresses ( Address_ID INTEGER, address_details VARCHAR(255) ) CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Products_in_Events ( Product_in_Event_ID INTEGER, Event_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Parties_in_Events ( Party_ID INTEGER, Event_ID INTEGER, Role_Code CHAR(15) ) CREATE TABLE Finances ( Finance_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Products ( Product_ID INTEGER, Product_Type_Code CHAR(15), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4) ) CREATE TABLE Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) )
SELECT Product_Name, COUNT(Product_Name) FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events) GROUP BY Product_Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7139, 7, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 8042, 834, 4309, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 18202, 7, 41, 18202, 834, 4309, 3, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6246, 834, 23954, 6, 2847, 17161, 599, 3174, 7472, 834, 23954, 61, 21680, 7554, 549, 17444, 427, 4486, 6246, 834, 4309, 3388, 41, 23143, 14196, 6246, 834, 4309, 21680, 7554, 834, 77, 834, 427, 2169, 7, 61, 350, 4630, ...
What is the max week where kate and anton are eliminated?
CREATE TABLE table_12305325_4 (week INTEGER, eliminated VARCHAR)
SELECT MAX(week) FROM table_12305325_4 WHERE eliminated = "Kate and Anton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 1458, 4867, 1828, 834, 591, 41, 8041, 3, 21342, 17966, 6, 17809, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9858, 471, 213, 3, 157, 342, 11, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 61, 21680, 953, 834, 2122, 1458, 4867, 1828, 834, 591, 549, 17444, 427, 17809, 3274, 96, 439, 342, 11, 14407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the smallest point amount for years prior to 1958 when the class is 350cc?
CREATE TABLE table_name_91 ( points INTEGER, year VARCHAR, class VARCHAR )
SELECT MIN(points) FROM table_name_91 WHERE year < 1958 AND class = "350cc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 979, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 500, 866, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 215, 3, 2, 22306, 3430, 853, 3274, 96, 16975, 75, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many receptions were smaller than 161 receiving yards but also had less than 14 rushing TDs?
CREATE TABLE table_name_6 (receptions VARCHAR, receiving_yards VARCHAR, rushing_tds VARCHAR)
SELECT COUNT(receptions) FROM table_name_6 WHERE receiving_yards < 161 AND rushing_tds < 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 60, 7239, 7, 584, 4280, 28027, 6, 4281, 834, 6636, 7, 584, 4280, 28027, 6, 3, 15842, 834, 17, 26, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 7239, 7, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 4281, 834, 6636, 7, 3, 2, 898, 536, 3430, 3, 15842, 834, 17, 26, 7, 3, 2, 968, 1, -100, -100, -100, -100, -100, -100, -100, ...
What director had a production number of 1490?
CREATE TABLE table_name_27 (director VARCHAR, production_number VARCHAR)
SELECT director FROM table_name_27 WHERE production_number = 1490
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 25982, 584, 4280, 28027, 6, 999, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2090, 141, 3, 9, 999, 381, 13, 968, 2394, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 999, 834, 5525, 1152, 3274, 968, 2394, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, draw a scatter chart about the correlation between code and manufacturer , and group by attribute headquarter.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Code, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 22737, 6, 332, 5411, 7296, 76, 8717, 450, 49, 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,...
What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010?
CREATE TABLE table_name_90 ( rank INTEGER, code__iata_icao_ VARCHAR )
SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 11003, 3, 21342, 17966, 6, 1081, 834, 834, 17221, 834, 2617, 32, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 1081, 834, 834, 17221, 834, 2617, 32, 834, 3274, 96, 115, 75, 51, 87, 40, 52, 115, 75, 121, 3430, 2735, 2490, 3, 11944, 3, 15316, 20788, ...
How many players had 6 180s?
CREATE TABLE table_23721 ( "Player" text, "Played" real, "Legs Won" real, "Legs Lost" real, "100+" real, "140+" real, "180s" real, "High Checkout" real, "3-dart Average" text )
SELECT COUNT("Player") FROM table_23721 WHERE "180s" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 2658, 41, 96, 15800, 49, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 2796, 122, 7, 549, 106, 121, 490, 6, 96, 2796, 122, 7, 19576, 121, 490, 6, 96, 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, 2847, 17161, 599, 121, 15800, 49, 8512, 21680, 953, 834, 357, 4118, 2658, 549, 17444, 427, 96, 20829, 7, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many positions drafted for the Minnesota North Stars?
CREATE TABLE table_30871 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT COUNT("Position") FROM table_30871 WHERE "NHL team" = 'Minnesota North Stars'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 4225, 536, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 32, 7, 4749, 8512, 21680, 953, 834, 1458, 4225, 536, 549, 17444, 427, 96, 15743, 434, 372, 121, 3274, 3, 31, 12858, 1496, 32, 17, 9, 1117, 2042, 7, 31, 1, -100, -100, -100, -100, -100, ...
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 1828, 3072, 536, 834, 591, 41, 4517, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 584, 4280, 28027, 6, 3041, 834, 7846, 15, 834, 18118, 23, 1572, 4477, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2701, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 21680, 953, 834, 2606, 1828, 3072, 536, 834, 591, 549, 17444, 427, 3041, 834, 7846, 15, 834, 18118, 23, 1572, 4477, 3274, 96, 517, 23, 15822, 10916, 5...
Which company name has headquarters in nagaokakyo, kyoto?
CREATE TABLE table_237199_1 ( company_name VARCHAR, world_headquarters VARCHAR )
SELECT company_name FROM table_237199_1 WHERE world_headquarters = "Nagaokakyo, Kyoto"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 19479, 834, 536, 41, 349, 834, 4350, 584, 4280, 28027, 6, 296, 834, 3313, 19973, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 349, 564, 65, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 349, 834, 4350, 21680, 953, 834, 357, 4118, 19479, 834, 536, 549, 17444, 427, 296, 834, 3313, 19973, 7, 3274, 96, 567, 4711, 1825, 9, 3781, 32, 6, 31329, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the three most expensive procedures.
CREATE TABLE appointment ( appointmentid number, patient number, prepnurse number, physician number, start time, end time, examinationroom text ) CREATE TABLE affiliated_with ( physician number, department number, primaryaffiliation boolean ) CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text ) CREATE TABLE room ( roomnumber number, roomtype text, blockfloor number, blockcode number, unavailable boolean ) CREATE TABLE department ( departmentid number, name text, head number ) CREATE TABLE undergoes ( patient number, procedures number, stay number, dateundergoes time, physician number, assistingnurse number ) CREATE TABLE block ( blockfloor number, blockcode number ) CREATE TABLE patient ( ssn number, name text, address text, phone text, insuranceid number, pcp number ) CREATE TABLE procedures ( code number, name text, cost number ) CREATE TABLE on_call ( nurse number, blockfloor number, blockcode number, oncallstart time, oncallend time ) CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time ) CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number ) CREATE TABLE medication ( code number, name text, brand text, description text ) CREATE TABLE stay ( stayid number, patient number, room number, staystart time, stayend time ) CREATE TABLE physician ( employeeid number, name text, position text, ssn number )
SELECT name FROM procedures ORDER BY cost LIMIT 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4141, 41, 4141, 23, 26, 381, 6, 1868, 381, 6, 13422, 29, 3589, 15, 381, 6, 10027, 381, 6, 456, 97, 6, 414, 97, 6, 6498, 3082, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 4293, 4674, 11300, 272, 476, 583, 8729, 12604, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the date for the game in prague for the world group, consolation round competition?
CREATE TABLE table_name_57 ( date VARCHAR, location VARCHAR, competition VARCHAR )
SELECT date FROM table_name_57 WHERE location = "prague" AND competition = "world group, consolation round"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 833, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 21, 8, 467, 16, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 1128, 3274, 96, 5319, 5398, 121, 3430, 2259, 3274, 96, 7276, 563, 6, 6900, 32, 6105, 1751, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Game had a Result of 136-112?
CREATE TABLE table_name_9 ( game VARCHAR, result VARCHAR )
SELECT game FROM table_name_9 WHERE result = "136-112"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 467, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4435, 141, 3, 9, 3, 20119, 13, 3, 23459, 9169, 357, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 741, 3274, 96, 23459, 9169, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the greek modern for słyszałeś był / słyszałaś była
CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR)
SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25987, 11776, 536, 834, 536, 41, 3584, 15, 157, 834, 834, 18306, 834, 584, 4280, 28027, 6, 12535, 834, 834, 994, 19827, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3542, 10266, 834, 834, 18306, 834, 21680, 953, 834, 25987, 11776, 536, 834, 536, 549, 17444, 427, 12535, 834, 834, 994, 19827, 834, 3274, 96, 7, 2, 63, 7, 1629, 2, 15, 2, 57, 2, 3, 87, 3, 7, 2, 63, 7, 1629, ...
Tell me the distinct block codes where some rooms are available.
CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number ) CREATE TABLE medication ( code number, name text, brand text, description text ) CREATE TABLE undergoes ( patient number, procedures number, stay number, dateundergoes time, physician number, assistingnurse number ) CREATE TABLE procedures ( code number, name text, cost number ) CREATE TABLE appointment ( appointmentid number, patient number, prepnurse number, physician number, start time, end time, examinationroom text ) CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text ) CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time ) CREATE TABLE department ( departmentid number, name text, head number ) CREATE TABLE patient ( ssn number, name text, address text, phone text, insuranceid number, pcp number ) CREATE TABLE room ( roomnumber number, roomtype text, blockfloor number, blockcode number, unavailable boolean ) CREATE TABLE on_call ( nurse number, blockfloor number, blockcode number, oncallstart time, oncallend time ) CREATE TABLE physician ( employeeid number, name text, position text, ssn number ) CREATE TABLE block ( blockfloor number, blockcode number ) CREATE TABLE stay ( stayid number, patient number, room number, staystart time, stayend time ) CREATE TABLE affiliated_with ( physician number, department number, primaryaffiliation boolean )
SELECT DISTINCT blockcode FROM room WHERE unavailable = 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10444, 41, 3490, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 3366, 3, 12840, 109, 152, 6, 3, 7, 7, 29, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 2463, 4978, 21680, 562, 549, 17444, 427, 24948, 3274, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What circuit has qualifying as the session?
CREATE TABLE table_name_77 ( circuit VARCHAR, session VARCHAR )
SELECT circuit FROM table_name_77 WHERE session = "qualifying"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 4558, 584, 4280, 28027, 6, 2363, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4558, 65, 18002, 38, 8, 2363, 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, 4558, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 2363, 3274, 96, 11433, 8587, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
College of san diego state, and a Pick # smaller than 30 is what lowest overall?
CREATE TABLE table_68563 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MIN("Overall") FROM table_68563 WHERE "College" = 'san diego state' AND "Pick #" < '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4834, 519, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 3, 17684, 599, 121, 23847, 1748, 8512, 21680, 953, 834, 3651, 4834, 519, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 7, 152, 67, 839, 538, 31, 3430, 96, 345, 3142, 1713, 121, 3, 2, 3, 31, 1458, 31, 1, -...
How many parties of the time they left office, binning the left office time into Year interval, and then split by the minister's name.
CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text ) CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE party_events ( Event_ID int, Event_Name text, Party_ID int, Member_in_charge_ID int ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text )
SELECT Left_office, COUNT(Left_office) FROM party GROUP BY Minister
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 8541, 834, 4309, 16, 17, 6, 8541, 834, 23954, 1499, 6, 3450, 834, 4309, 1499, 6, 86, 834, 19632, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1719, 41,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14298, 834, 19632, 6, 2847, 17161, 599, 2796, 89, 17, 834, 19632, 61, 21680, 1088, 350, 4630, 6880, 272, 476, 3271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the duration of the Archers with Norman Painting as an actor?
CREATE TABLE table_64913 ( "Actor" text, "Character" text, "Soap Opera" text, "Years" text, "Duration" text )
SELECT "Duration" FROM table_64913 WHERE "Soap Opera" = 'the archers' AND "Actor" = 'norman painting'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3647, 2368, 41, 96, 188, 5317, 121, 1499, 6, 96, 18947, 2708, 49, 121, 1499, 6, 96, 5231, 9, 102, 6411, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 12998, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12998, 2661, 121, 21680, 953, 834, 948, 3647, 2368, 549, 17444, 427, 96, 5231, 9, 102, 6411, 121, 3274, 3, 31, 532, 11508, 277, 31, 3430, 96, 188, 5317, 121, 3274, 3, 31, 29, 127, 348, 3924, 31, 1, -100, -10...
What language has a publication range from 1955 1999?
CREATE TABLE table_name_85 ( language VARCHAR, publication_range VARCHAR )
SELECT language FROM table_name_85 WHERE publication_range = "1955–1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 1612, 584, 4280, 28027, 6, 5707, 834, 5517, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1612, 65, 3, 9, 5707, 620, 45, 23652, 5247, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1612, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 5707, 834, 5517, 3274, 96, 2294, 3769, 104, 2294, 3264, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which actor from Serbia was nominated for best actor in a supporting role?
CREATE TABLE table_10236830_4 ( actors_name VARCHAR, nomination VARCHAR, country VARCHAR )
SELECT actors_name FROM table_10236830_4 WHERE nomination = "Best Actor in a Supporting Role" AND country = "Serbia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2773, 3651, 1458, 834, 591, 41, 10485, 834, 4350, 584, 4280, 28027, 6, 13588, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 75...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10485, 834, 4350, 21680, 953, 834, 1714, 2773, 3651, 1458, 834, 591, 549, 17444, 427, 13588, 3274, 96, 17278, 1983, 127, 16, 3, 9, 4224, 53, 2158, 109, 121, 3430, 684, 3274, 96, 134, 49, 15500, 121, 1, -100, -100, ...
Show all card type codes and the number of cards in each type by a bar chart.
CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) )
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5421, 834, 18474, 4787, 7, 41, 5878, 834, 23, 26, 3, 21342, 17966, 6, 1767, 834, 7031, 4787, 834, 23, 26, 3, 21342, 17966, 6, 905, 834, 23, 26, 3, 21342, 17966, 6, 895, 834, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 895, 834, 6137, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 16423, 834, 6936, 26, 7, 350, 4630, 6880, 272, 476, 895, 834, 6137, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
who had the high points on november 20?
CREATE TABLE table_name_61 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_name_61 WHERE date = "november 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 141, 8, 306, 979, 30, 3, 5326, 18247, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the LB&SCR number that has SR number of 8597–8600
CREATE TABLE table_name_7 (lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR)
SELECT lb & scr_no FROM table_name_7 WHERE sr_no = "8597–8600"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 40, 115, 584, 4280, 28027, 6, 14667, 834, 29, 32, 584, 4280, 28027, 6, 3, 7, 52, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 557...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 3, 40, 115, 3, 184, 14667, 834, 29, 32, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 3, 7, 52, 834, 29, 32, 3274, 96, 4433, 4327, 104, 3840, 1206, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest league cup of danny collins, who has more than 1 premier league?
CREATE TABLE table_name_97 ( league_cup INTEGER, name VARCHAR, premier_league VARCHAR )
SELECT MAX(league_cup) FROM table_name_97 WHERE name = "danny collins" AND premier_league > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 5533, 834, 4658, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 2761, 834, 29512, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 29512, 834, 4658, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 564, 3274, 96, 26, 15159, 8029, 77, 7, 121, 3430, 2761, 834, 29512, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100...
what is the place for Heath Slocum?
CREATE TABLE table_69099 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Place" FROM table_69099 WHERE "Player" = 'heath slocum'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2394, 3264, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 345, 11706, 121, 21680, 953, 834, 948, 2394, 3264, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 88, 9, 189, 3, 7, 5133, 440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose lab test fluid is pleural had been admitted in emergency?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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.admission_type = "EMERGENCY" AND lab.fluid = "Pleural"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What date was the visiting team of Los Angeles Rams, earlier than 1958?
CREATE TABLE table_name_58 ( date VARCHAR, visiting_team VARCHAR, year VARCHAR )
SELECT date FROM table_name_58 WHERE visiting_team = "los angeles rams" AND year < 1958
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 833, 584, 4280, 28027, 6, 3644, 834, 11650, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 3644, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 3644, 834, 11650, 3274, 96, 2298, 11831, 15, 7, 3, 2375, 7, 121, 3430, 215, 3, 2, 22306, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?
CREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = "Lazar Saric & Jed Spingarn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2266, 3951, 2394, 834, 755, 41, 302, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 21680, 953, 834, 1828, 2266, 3951, 2394, 834, 755, 549, 17444, 427, 1545, 834, 969, 3274, 96, 3612, 7061, 1138, 2234, 3, 184, 1022, 26, 10792, 1478, 29, 121, 1, -100, ...
In what Tournament was Janet Young a Partner?
CREATE TABLE table_35164 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Tournament" FROM table_35164 WHERE "Partner" = 'janet young'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 26987, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 2469, 26987, 549, 17444, 427, 96, 13725, 687, 121, 3274, 3, 31, 1191, 1582, 1021, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of elective hospital admission patients who had urethral catheterization?
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 ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.short_title = "Ureteral catheterization"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what was the last title in 2002 to gross the most money ?
CREATE TABLE table_203_762 ( id number, "#" number, "date" text, "film" text, "gross" text, "notes" text )
SELECT "film" FROM table_203_762 ORDER BY "gross" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3959, 357, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 9988, 121, 1499, 6, 96, 3844, 7, 7, 121, 1499, 6, 96, 7977, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9988, 121, 21680, 953, 834, 23330, 834, 3959, 357, 4674, 11300, 272, 476, 96, 3844, 7, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the share of votes equals 21.8%, what's the sum of the total amount of seats?
CREATE TABLE table_name_61 ( total_seats INTEGER, share_of_votes VARCHAR )
SELECT SUM(total_seats) FROM table_name_61 WHERE share_of_votes = "21.8%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 792, 834, 7, 1544, 7, 3, 21342, 17966, 6, 698, 834, 858, 834, 1621, 1422, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 698, 13, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 834, 7, 1544, 7, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 698, 834, 858, 834, 1621, 1422, 3274, 96, 2658, 5, 5953, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class?
CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 6646, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 834, 834, 834, 13362, 63, 584, 4280, 28027, 6, 17938, 584, 4280, 28027, 6, 3, 23, 107, 7, 9, 9, 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, 496, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 17938, 2490, 314, 4552, 3430, 3, 23, 107, 7, 9, 9, 834, 4057, 3274, 96, 9, 9, 9, 121, 3430, 3, 834, 5525, 1152, 834, 834, 834, 13362, 63, 3274, 96, 5865, ...
What is the Record of the game on September 6?
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_49 WHERE date = "september 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 60, 7621, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11392, 13, 8, 467, 30, 1600, 431, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose drug code is bupr75?
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "BUPR75"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is the name of the episode whose writers were jeff astrof & matt goldman?
CREATE TABLE table_27914606_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_27914606_1 WHERE written_by = "Jeff Astrof & Matt Goldman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4729, 4448, 5176, 834, 536, 41, 21869, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 13, 8, 5640, 3, 2544...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 2555, 4729, 4448, 5176, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 7851, 89, 89, 15001, 89, 3, 184, 5199, 2540, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the team classification for stage of 6
CREATE TABLE table_name_47 ( team_classification VARCHAR, stage VARCHAR )
SELECT team_classification FROM table_name_47 WHERE stage = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 372, 834, 4057, 2420, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 372, 13774, 21, 1726, 13, 431, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1726, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many times is the incoming head coach abdollah veysi?
CREATE TABLE table_27383390_4 ( team VARCHAR, incoming_head_coach VARCHAR )
SELECT COUNT(team) FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3747, 4201, 2394, 834, 591, 41, 372, 584, 4280, 28027, 6, 3, 19583, 834, 3313, 834, 509, 1836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 11650, 61, 21680, 953, 834, 2555, 3747, 4201, 2394, 834, 591, 549, 17444, 427, 3, 19583, 834, 3313, 834, 509, 1836, 3274, 96, 8952, 26, 32, 195, 9, 107, 3901, 63, 7, 23, 121, 1, -100, -100, -100,...
what is the number of patients whose diagnoses short title is prsnl hst colonic polyps and lab test fluid is blood?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Prsnl hst colonic polyps" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which To par has $100 in money played by Vic Ghezzi?
CREATE TABLE table_66839 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT "To par" FROM table_66839 WHERE "Money ( $ )" = '100' AND "Player" = 'vic ghezzi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 927, 3288, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 260, 121, 21680, 953, 834, 3539, 927, 3288, 549, 17444, 427, 96, 9168, 15, 63, 41, 1514, 3, 61, 121, 3274, 3, 31, 2915, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 7287, 3, 122, 88, 21607, 31, 1, -100...
What date had a game with wycombe wanderers as the away team?
CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_28 WHERE away_team = "wycombe wanderers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 5522, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 141, 3, 9, 467, 28, 3, 210, 63, 9763, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 550, 834, 11650, 3274, 96, 210, 63, 9763, 15, 10735, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the date for US catalog CK 9942?
CREATE TABLE table_name_4 ( date VARCHAR, country VARCHAR, catalog VARCHAR )
SELECT date FROM table_name_4 WHERE country = "us" AND catalog = "ck 9942"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 833, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 21, 837, 10173, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 684, 3274, 96, 302, 121, 3430, 10173, 3274, 96, 2406, 12185, 4165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which race did Mercedes win?
CREATE TABLE table_name_19 (name VARCHAR, winning_constructor VARCHAR)
SELECT name FROM table_name_19 WHERE winning_constructor = "mercedes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 4350, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1964, 410, 11808, 1369, 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, 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, 2294, 549, 17444, 427, 3447, 834, 15982, 5317, 3274, 96, 935, 565, 1395, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the lowest number of wins where the losses are more than 12 and the draws are less than 0?
CREATE TABLE table_78806 ( "Geelong DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT MIN("Wins") FROM table_78806 WHERE "Losses" > '12' AND "Draws" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 2079, 948, 41, 96, 517, 15, 15, 2961, 309, 10765, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 18455, 7, 8512, 21680, 953, 834, 3940, 2079, 948, 549, 17444, 427, 96, 434, 13526, 7, 121, 2490, 3, 31, 2122, 31, 3430, 96, 308, 10936, 7, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -1...
How many county councils for the communist party of norway
CREATE TABLE table_203802_2 (county_councils___2011__ INTEGER, english_party_name VARCHAR)
SELECT MAX(county_councils___2011__) FROM table_203802_2 WHERE english_party_name = "Communist Party of Norway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 22671, 357, 834, 357, 41, 13362, 63, 834, 509, 15254, 40, 7, 834, 834, 834, 13907, 834, 834, 3, 21342, 17966, 6, 22269, 834, 8071, 834, 4350, 584, 4280, 28027, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 13362, 63, 834, 509, 15254, 40, 7, 834, 834, 834, 13907, 834, 834, 61, 21680, 953, 834, 1755, 22671, 357, 834, 357, 549, 17444, 427, 22269, 834, 8071, 834, 4350, 3274, 96, 10205, 202, 343, 3450, 13, ...
WHAT IS THE SILVER WITH A YEAR OF 1962?
CREATE TABLE table_name_35 ( silver VARCHAR, year VARCHAR )
SELECT silver FROM table_name_35 WHERE year = 1962
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 4294, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 3, 26525, 16174, 11951, 71, 30431, 3347, 20236, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4294, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 215, 3274, 20236, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
In the Class T, what is the total of the 1958 UTA?
CREATE TABLE t ( Id VARCHAR )
SELECT COUNT(1958 AS _uta) FROM t AS able_name_49 WHERE class = "t"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 17, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 8, 4501, 332, 6, 125, 19, 8, 792, 13, 8, 22306, 412, 3221, 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, 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, 2847, 17161, 599, 2294, 3449, 6157, 3, 834, 76, 17, 9, 61, 21680, 3, 17, 6157, 3, 179, 834, 4350, 834, 3647, 549, 17444, 427, 853, 3274, 96, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?
CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)
SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = "susan day"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 7261, 7, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 3, 102, 17, 7, 834, 7261, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3, 102, 17, 7, 834, 7261, 2490, 3, 14912, 3430, 979, 3274, 460, 3430, 564, 3274, 96, 7, 302, 152, 239, 121, 1, -100, -100, -100, -10...
What is the home team for the Princes Park venue?
CREATE TABLE table_57796 ( "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_57796 WHERE "Venue" = 'princes park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4013, 4314, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 4013, 4314, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 12298, 2319, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the religion for the patient stephanie suchan?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.religion FROM demographic WHERE demographic.name = "Stephanie Suchan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 60, 2825, 23, 106, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 14337, 8237, 23, 15, 3900, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest week on December 3, 1972 with more than 54,533 in attendance?
CREATE TABLE table_7518 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MIN("Week") FROM table_7518 WHERE "Attendance" > '54,533' AND "Date" = 'december 3, 1972'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 2606, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 518, 10266, 8512, 21680, 953, 834, 3072, 2606, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 755, 26392, 4201, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 6180, ...
Name the content for sky famiglia for italian and dar 16:9 for mtv hits
CREATE TABLE table_15887683_10 ( content VARCHAR, television_service VARCHAR, dar VARCHAR, package_option VARCHAR, language VARCHAR )
SELECT content FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND language = "Italian" AND dar = "16:9" AND television_service = "MTV Hits"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4060, 3959, 4591, 834, 1714, 41, 738, 584, 4280, 28027, 6, 4390, 834, 5114, 584, 4280, 28027, 6, 649, 584, 4280, 28027, 6, 2642, 834, 11803, 584, 4280, 28027, 6, 1612, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 738, 21680, 953, 834, 1808, 4060, 3959, 4591, 834, 1714, 549, 17444, 427, 2642, 834, 11803, 3274, 96, 134, 3781, 377, 3690, 4707, 9, 121, 3430, 1612, 3274, 96, 196, 17, 9, 9928, 121, 3430, 649, 3274, 96, 2938, 10, ...
When the home team of st kilda was playing, what was the away team score?
CREATE TABLE table_name_97 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_97 WHERE home_team = "st kilda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 234, 372, 13, 3, 7, 17, 3, 157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 17, 3, 157, 173, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show home city where at least two drivers older than 40 are from.
CREATE TABLE driver (home_city VARCHAR, age INTEGER)
SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2535, 41, 5515, 834, 6726, 584, 4280, 28027, 6, 1246, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 3111, 234, 690, 213, 44, 709, 192, 3863, 2749, 145, 1283, 33, 45, 5, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 6726, 21680, 2535, 549, 17444, 427, 1246, 2490, 1283, 350, 4630, 6880, 272, 476, 234, 834, 6726, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -10...
how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district
CREATE TABLE table_1341549_33 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1341549_33 WHERE result = "Re-elected" AND incumbent = "Gary Ackerman Redistricted from the 7th district"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 3647, 834, 4201, 41, 14672, 834, 19971, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 166, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 1808, 3647, 834, 4201, 549, 17444, 427, 741, 3274, 96, 1649, 18, 19971, 121, 3430, 28406, 3274, 96, 517, 1208, 71, 3383, 348, 1624, 159, 3929, 1054, 45,...
What was the loss of the game when the record was 50-32?
CREATE TABLE table_name_81 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_81 WHERE record = "50-32"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2298, 7, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1453, 13, 8, 467, 116, 8, 1368, 47, 943, 18, 266...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1453, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1368, 3274, 96, 1752, 18, 2668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of rank when silver is 1, and gold is less than 7, and bronze is 2?
CREATE TABLE table_7031 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Rank") FROM table_7031 WHERE "Silver" = '1' AND "Gold" < '7' AND "Bronze" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3341, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 2518, 3341, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 536, 31, 3430, 96, 23576, 121, 3, 2, 3, 31, 940, 31, 3430, 96, 22780, 29, 776, 121, 3274, 3, ...
When mega pass* (senior/disabled) is the type of fare what is the day pass?
CREATE TABLE table_23944 ( "Type of Fare" text, "Cash Fare" text, "Day Pass" text, "31-Day Pass" text, "Monthly Pass" text )
SELECT "Day Pass" FROM table_23944 WHERE "Type of Fare" = 'Mega Pass* (Senior/Disabled)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3288, 3628, 41, 96, 25160, 13, 5186, 15, 121, 1499, 6, 96, 254, 3198, 5186, 15, 121, 1499, 6, 96, 16803, 3424, 121, 1499, 6, 96, 3341, 18, 16803, 3424, 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, 16803, 3424, 121, 21680, 953, 834, 357, 3288, 3628, 549, 17444, 427, 96, 25160, 13, 5186, 15, 121, 3274, 3, 31, 329, 12029, 3424, 1935, 41, 134, 35, 23, 127, 87, 308, 159, 179, 26, 61, 31, 1, -100, -100, -10...
How many shows did team David consist of vernon kay and dara briain
CREATE TABLE table_26163 ( "Episode" text, "First broadcast" text, "Davids team" text, "Lees team" text, "Scores" text )
SELECT COUNT("Episode") FROM table_26163 WHERE "Davids team" = 'Vernon Kay and Dara Ó Briain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2938, 519, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 6878, 121, 1499, 6, 96, 308, 9, 6961, 7, 372, 121, 1499, 6, 96, 2796, 15, 7, 372, 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, 2847, 17161, 599, 121, 427, 102, 159, 32, 221, 8512, 21680, 953, 834, 2688, 2938, 519, 549, 17444, 427, 96, 308, 9, 6961, 7, 372, 121, 3274, 3, 31, 5000, 29, 106, 14168, 11, 1920, 9, 3, 2, 7834, 9, 77, 31, 1, ...
Who was the opponent when Hoeft (19-14) took the loss?
CREATE TABLE table_5669 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Opponent" FROM table_5669 WHERE "Loss" = 'hoeft (19-14)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 3951, 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, 1649, 7621, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4834, 3951, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 107, 32, 15, 89, 17, 2863, 11590, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What district is James Humphrey from who was first elected in 1858 and was eventually defeated democratic gain?
CREATE TABLE table_name_3 ( district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR )
SELECT district FROM table_name_3 WHERE first_elected = 1858 AND result = "defeated democratic gain" AND incumbent = "james humphrey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 3939, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 166, 834, 19971, 3274, 507, 3449, 3430, 741, 3274, 96, 221, 89, 15, 920, 15053, 2485, 121, 3430, 28406, 3274, 96, 1191, 2687, 3, 4884, 102, 107, 60, 63, 121, ...
Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
CREATE TABLE table_5379 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT AVG("Attendance") FROM table_5379 WHERE "Opponent" = 'pittsburgh pirates' AND "Date" = 'may 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 4440, 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, 188, 17, 324, 26, 663,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4867, 4440, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 5230, 17, 7289, 107, 19910, 7, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 1372...
what is primary disease and diagnoses icd9 code of subject name josette orr?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.diagnosis, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Josette Orr"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 25930, 4844, 159, 6, 18730, 7, 5, 447, 26, 1298, 834, 4978, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549, 17...
Which of the A. Dyck has J. Thiessen of Du?
CREATE TABLE table_59746 ( "A. Dyck" text, "H. Rempel" text, "R. Epp" text, "J. Thiessen" text, "J. J. Neufeld" text, "Ed Zacharias" text, "word meaning" text )
SELECT "A. Dyck" FROM table_59746 WHERE "J. Thiessen" = 'du'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 940, 4448, 41, 96, 188, 5, 12991, 2406, 121, 1499, 6, 96, 566, 5, 391, 29605, 121, 1499, 6, 96, 448, 5, 262, 1572, 121, 1499, 6, 96, 683, 5, 11988, 8185, 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, 188, 5, 12991, 2406, 121, 21680, 953, 834, 3390, 940, 4448, 549, 17444, 427, 96, 683, 5, 11988, 8185, 121, 3274, 3, 31, 1259, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHich Rules has a Method of ko (punch)?
CREATE TABLE table_36519 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" text, "Round" text, "Time" text, "Location" text, "Rules" text )
SELECT "Rules" FROM table_36519 WHERE "Method" = 'ko (punch)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10402, 2294, 41, 96, 20119, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 308, 342, 121, 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, 17137, 965, 121, 21680, 953, 834, 10402, 2294, 549, 17444, 427, 96, 23351, 107, 32, 26, 121, 3274, 3, 31, 157, 32, 41, 6225, 524, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Count the number of rooms in Lamberton with capacity lower than 50.
CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text ) CREATE TABLE student ( id text, name text, dept_name text, tot_cred number ) CREATE TABLE teaches ( id text, course_id text, sec_id text, semester text, year number ) CREATE TABLE department ( dept_name text, building text, budget number ) CREATE TABLE advisor ( s_id text, i_id text ) CREATE TABLE prereq ( course_id text, prereq_id text ) CREATE TABLE course ( course_id text, title text, dept_name text, credits number ) CREATE TABLE classroom ( building text, room_number text, capacity number ) CREATE TABLE time_slot ( time_slot_id text, day text, start_hr number, start_min number, end_hr number, end_min number ) CREATE TABLE takes ( id text, course_id text, sec_id text, semester text, year number, grade text ) CREATE TABLE instructor ( id text, name text, dept_name text, salary number )
SELECT COUNT(*) FROM classroom WHERE building = 'Lamberton' AND capacity < 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1375, 41, 503, 834, 23, 26, 1499, 6, 4220, 834, 23, 26, 1499, 6, 10542, 1499, 6, 215, 381, 6, 740, 1499, 6, 562, 834, 5525, 1152, 1499, 6, 97, 834, 7, 3171, 834, 23, 26, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 4858, 549, 17444, 427, 740, 3274, 3, 31, 434, 265, 7041, 106, 31, 3430, 2614, 3, 2, 943, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700?
CREATE TABLE table_name_23 ( shts INTEGER, club VARCHAR, mins VARCHAR )
SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 6660, 17, 7, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 6, 3519, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 381, 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, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7, 107, 17, 7, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1886, 3274, 96, 7, 152, 7406, 15, 16145, 7, 121, 3430, 3519, 7, 2490, 204, 9295, 1, -100, -100, -100, -100, -100, -100, -100, -...
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by weekday, display in desc by the y-axis.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 180, 6122, ...
What is the highest rank for the team of egypt?
CREATE TABLE table_64164 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text )
SELECT MAX("Rank") FROM table_64164 WHERE "Country" = 'egypt'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 26987, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 4389, 26987, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15, 122, 63, 102, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many total team penalties are there when cross country penalties is 30.40?
CREATE TABLE table_18666752_3 ( total_team_penalties VARCHAR, cross_country_penalties VARCHAR )
SELECT total_team_penalties FROM table_18666752_3 WHERE cross_country_penalties = "30.40"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25398, 3539, 3072, 357, 834, 519, 41, 792, 834, 11650, 834, 3208, 138, 3010, 584, 4280, 28027, 6, 2269, 834, 17529, 834, 3208, 138, 3010, 584, 4280, 28027, 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, 0, 0...
[ 3, 23143, 14196, 792, 834, 11650, 834, 3208, 138, 3010, 21680, 953, 834, 25398, 3539, 3072, 357, 834, 519, 549, 17444, 427, 2269, 834, 17529, 834, 3208, 138, 3010, 3274, 96, 1458, 5, 2445, 121, 1, -100, -100, -100, -100, -100, -100, ...
what is the nation with a total of 1, bronze smaller than 1 and a rank of 3?
CREATE TABLE table_name_62 ( nation VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR )
SELECT nation FROM table_name_62 WHERE total = 1 AND bronze < 1 AND rank = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 2982, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2982, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 792, 3274, 209, 3430, 13467, 3, 2, 209, 3430, 11003, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what are every one of the rivals in conclusive where title is z rich
CREATE TABLE table_23197088_4 ( opponents_in_final VARCHAR, championship VARCHAR )
SELECT opponents_in_final FROM table_23197088_4 WHERE championship = "Zürich"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2294, 2518, 4060, 834, 591, 41, 16383, 834, 77, 834, 12406, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 33, 334, 80, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16383, 834, 77, 834, 12406, 21680, 953, 834, 2773, 2294, 2518, 4060, 834, 591, 549, 17444, 427, 10183, 3274, 96, 956, 4087, 362, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When salyut 7 ve-4 eva 1 is the spacecraft, what is the duration?
CREATE TABLE table_245801_2 ( duration VARCHAR, spacecraft VARCHAR )
SELECT duration FROM table_245801_2 WHERE spacecraft = "Salyut 7 – VE-4 – EVA 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3449, 4542, 834, 357, 41, 8659, 584, 4280, 28027, 6, 628, 6696, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 3, 7, 9, 120, 76, 17, 489, 3, 162, 4278...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8659, 21680, 953, 834, 2266, 3449, 4542, 834, 357, 549, 17444, 427, 628, 6696, 3274, 96, 134, 9, 120, 76, 17, 489, 3, 104, 3, 8575, 4278, 3, 104, 262, 8230, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the most silver when bronze is more than 1 and total is more than 48?
CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 7, 173, 624, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 4294, 116, 1346...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 13467, 2490, 209, 3430, 792, 2490, 4678, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...