NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the type where the country is esp?
CREATE TABLE table_17239 ( "N" real, "P" text, "Name" text, "EU" text, "Country" text, "Age" real, "Type" text, "Moving from" text, "Transfer window" text, "Ends" real, "Transfer fee" text, "Source" text )
SELECT "Type" FROM table_17239 WHERE "Country" = 'ESP'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 3288, 41, 96, 567, 121, 490, 6, 96, 345, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 12062, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 188, 397, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25160, 121, 21680, 953, 834, 27156, 3288, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 26130, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest round reached by an oppo ent of JR schumacher?
CREATE TABLE table_name_77 (round INTEGER, opponent VARCHAR)
SELECT MAX(round) FROM table_name_77 WHERE opponent = "jr schumacher"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 7775, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1751, 3495, 57, 46, 3, 28236, 3, 295, 13, 446, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 15264, 3274, 96, 354, 52, 3, 7, 8019, 24113, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose death status is 1 and diagnoses icd9 code is 261?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.icd9_code = "261"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Where did Hawthorn play as home team?
CREATE TABLE table_4543 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_4543 WHERE "Home team" = 'hawthorn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 4906, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 2128, 4906, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 1024, 210, 17, 6293, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What driver has over 19 points and a grid of over 2?
CREATE TABLE table_33600 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real )
SELECT "Driver" FROM table_33600 WHERE "Points" > '19' AND "Grid" > '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 6007, 41, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, 26, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20982, 52, 121, 21680, 953, 834, 4201, 6007, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 2294, 31, 3430, 96, 13313, 26, 121, 2490, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the home captain at the Adelaide Oval?
CREATE TABLE table_name_14 ( home_captain VARCHAR, venue VARCHAR )
SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 234, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 234, 14268, 44, 8, 24272, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 5669, 3274, 96, 15311, 5385, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which County has a School of bloomfield?
CREATE TABLE table_64977 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "County" text )
SELECT "County" FROM table_64977 WHERE "School" = 'bloomfield'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3647, 4013, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96, 196, 4950, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10628, 63, 121, 21680, 953, 834, 948, 3647, 4013, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 115, 14351, 1846, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how much is patient 016-6134's weight for the last time until 07/2103?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-6134') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y-%m', patient.unitadmittime) <= '2103-07' ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 9, 26, 5451, 9378, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1...
Display a bar chart for how many climbers are from each country?, rank Country in desc order.
CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text )
SELECT Country, COUNT(*) FROM climber GROUP BY Country ORDER BY Country DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8147, 49, 41, 205, 9577, 49, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6993, 1499, 6, 2900, 1499, 6, 4564, 7, 490, 6, 5617, 834, 4309, 16, 17, 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, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 8147, 49, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 6993, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Away with a Ground that is humber college north?
CREATE TABLE table_75861 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text )
SELECT "Away" FROM table_75861 WHERE "Ground" = 'humber college north'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3840, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 517, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 121, 21680, 953, 834, 3072, 3840, 536, 549, 17444, 427, 96, 517, 7775, 121, 3274, 3, 31, 4884, 1152, 1900, 3457, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the margin of victory at the Mercedes Championships?
CREATE TABLE table_1185 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Margin of victory" FROM table_1185 WHERE "Tournament" = 'Mercedes Championships'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4433, 41, 96, 4168, 535, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 3696, 260, 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, 7286, 122, 77, 13, 6224, 121, 21680, 953, 834, 2596, 4433, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 18180, 15, 1395, 7666, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many capacities are given for FF Jaro club?
CREATE TABLE table_25129482_1 ( capacity VARCHAR, club VARCHAR )
SELECT COUNT(capacity) FROM table_25129482_1 WHERE club = "FF Jaro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 22174, 3707, 357, 834, 536, 41, 2614, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 23875, 33, 787, 21, 3, 9089, 17321, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4010, 9, 6726, 61, 21680, 953, 834, 1828, 22174, 3707, 357, 834, 536, 549, 17444, 427, 1886, 3274, 96, 9089, 17321, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What band performed when Samantha Mumba presented?
CREATE TABLE table_6726 ( "Year" real, "Male" text, "Female" text, "Band" text, "Album" text, "Pop Act" text, "Lifetime Achievement Award" text )
SELECT "Band" FROM table_6726 WHERE "Female" = 'samantha mumba'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 2688, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 9, 109, 121, 1499, 6, 96, 371, 15, 13513, 121, 1499, 6, 96, 279, 232, 121, 1499, 6, 96, 25691, 440, 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, 279, 232, 121, 21680, 953, 834, 3708, 2688, 549, 17444, 427, 96, 371, 15, 13513, 121, 3274, 3, 31, 7, 9, 348, 189, 9, 4035, 18015, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the official rating 16-39 for the episode with a 16-39 share of 22,77%?
CREATE TABLE table_74428 ( "Date" text, "Episode" real, "Official rating 4+" text, "Share 4+" text, "Official rating 16-39" text, "Share 16-39" text )
SELECT "Official rating 16-39" FROM table_74428 WHERE "Share 16-39" = '22,77%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 591, 2577, 41, 96, 308, 342, 121, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 667, 89, 22816, 5773, 314, 1220, 121, 1499, 6, 96, 24501, 314, 1220, 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, 667, 89, 22816, 5773, 898, 18, 3288, 121, 21680, 953, 834, 4581, 591, 2577, 549, 17444, 427, 96, 24501, 898, 18, 3288, 121, 3274, 3, 31, 2884, 6, 4013, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
How many patients admitted before the year 2158 had a procedure titled radical neck dissection, unilateral?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2158" AND procedures.long_title = "Radical neck dissection, unilateral"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the date for the Sepang International circuit, round 3?
CREATE TABLE table_50867 ( "Round" text, "Location" text, "Circuit" text, "Date" text, "Winning Driver" text )
SELECT "Date" FROM table_50867 WHERE "Circuit" = 'sepang international circuit' AND "Round" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 927, 3708, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 1752, 927, 3708, 549, 17444, 427, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 7, 15, 102, 1468, 1038, 4558, 31, 3430, 96, 448, 32, 1106, 121, 3274, 3, 31, 519, 31, 1, -100, -1...
What is Matches, when Draws is 'Did Not Qualify', and when Year is '1995'?
CREATE TABLE table_name_75 ( matches VARCHAR, draws VARCHAR, year VARCHAR )
SELECT matches FROM table_name_75 WHERE draws = "did not qualify" AND year = "1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 6407, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 12296, 15, 7, 6, 116, 1918...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6407, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 14924, 3274, 96, 12416, 59, 9448, 121, 3430, 215, 3274, 96, 19479, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which province had population of 210295 South Asians in 2001?
CREATE TABLE table_21403 ( "Province" text, "South Asians 2001" real, "% 2001" text, "South Asians 2011" real, "% 2011" text )
SELECT "Province" FROM table_21403 WHERE "South Asians 2001" = '210295'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27357, 4928, 41, 96, 3174, 2494, 565, 121, 1499, 6, 96, 22081, 6578, 7, 4402, 121, 490, 6, 96, 1454, 4402, 121, 1499, 6, 96, 22081, 6578, 7, 2722, 121, 490, 6, 96, 1454, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3174, 2494, 565, 121, 21680, 953, 834, 27357, 4928, 549, 17444, 427, 96, 22081, 6578, 7, 4402, 121, 3274, 3, 31, 357, 14388, 3301, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the timeslot for calls of whyn
CREATE TABLE table_31967 ( "Calls" text, "Frequency" text, "Branding" text, "Format" text, "Timeslot" text, "Group owner" text )
SELECT "Timeslot" FROM table_31967 WHERE "Calls" = 'whyn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2294, 3708, 41, 96, 254, 1748, 7, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 18304, 727, 53, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 13368, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 7, 3171, 121, 21680, 953, 834, 519, 2294, 3708, 549, 17444, 427, 96, 254, 1748, 7, 121, 3274, 3, 31, 24443, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how patient 018-81471 was admitted to hospital in 2102 for the first time?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime 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 ) 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '018-81471' AND STRFTIME('%y', patient.hospitaladmittime) = '2102' ORDER BY patient.hospitaladmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 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, 20466, 17, 7928, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2606, 6039, 2534, 4450, 31, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 31386, 20466, ...
How many people are enrolled at the university in milwaukee, wisconsin
CREATE TABLE table_26671 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real )
SELECT MIN("Enrollment") FROM table_26671 WHERE "Location" = 'Milwaukee, Wisconsin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 4450, 41, 96, 1570, 17448, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 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, 3, 17684, 599, 121, 8532, 4046, 297, 8512, 21680, 953, 834, 357, 3539, 4450, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 329, 173, 210, 402, 1050, 15, 6, 10212, 31, 1, -100, -100, -100, -100, -100, ...
What is the Away team of Tie no 1?
CREATE TABLE table_59122 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Away team" FROM table_59122 WHERE "Tie no" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 20889, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 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, 1343, 372, 121, 21680, 953, 834, 3390, 20889, 549, 17444, 427, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where is il-36 located?
CREATE TABLE table_4256 ( "Name" text, "Family name" text, "Receptor" text, "Coreceptor" text, "Property" text, "Chromosomal location" text )
SELECT "Chromosomal location" FROM table_4256 WHERE "Name" = 'IL-36β'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 19337, 41, 96, 23954, 121, 1499, 6, 96, 371, 3690, 120, 564, 121, 1499, 6, 96, 1649, 6873, 127, 121, 1499, 6, 96, 13026, 15, 6873, 127, 121, 1499, 6, 96, 3174, 883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3541, 3522, 32, 10348, 138, 1128, 121, 21680, 953, 834, 591, 19337, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 3502, 18, 3420, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Stacked bar chart of the total number for with each Sex in each rank, and show names from low to high order please.
CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) )
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Sex, Rank ORDER BY Rank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15077, 6203, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 1810, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 41, 1699, 75, 4309, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 350, 4630, 6880, 272, 476, 679, 226, 6, 3, 22557, 4674, 11300, 272, 476, 3, 22557, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When was the station WLS-TV owned since?
CREATE TABLE table_2597 ( "Market Rank & City of license /Market" text, "Station" text, "Channel TV / DT" text, "Owned since" real, "Affiliation" text )
SELECT "Owned since" FROM table_2597 WHERE "Station" = 'WLS-TV'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4327, 41, 96, 22572, 3, 22557, 3, 184, 896, 13, 3344, 3, 87, 22572, 121, 1499, 6, 96, 134, 6821, 121, 1499, 6, 96, 3541, 4515, 40, 1424, 3, 87, 3, 12111, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 210, 29, 15, 26, 437, 121, 21680, 953, 834, 1828, 4327, 549, 17444, 427, 96, 134, 6821, 121, 3274, 3, 31, 518, 7600, 18, 4562, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which American Labor candidate is running against the Socialist candidate Herman J. Hahn?
CREATE TABLE table_42092 ( "Office" text, "Democratic ticket" text, "Republican ticket" text, "American Labor ticket" text, "Socialist ticket" text )
SELECT "American Labor ticket" FROM table_42092 WHERE "Socialist ticket" = 'herman j. hahn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21899, 4508, 41, 96, 22098, 121, 1499, 6, 96, 19679, 447, 4142, 121, 1499, 6, 96, 1649, 15727, 152, 4142, 121, 1499, 6, 96, 8778, 9836, 4142, 121, 1499, 6, 96, 5231, 4703, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8778, 9836, 4142, 121, 21680, 953, 834, 21899, 4508, 549, 17444, 427, 96, 5231, 4703, 343, 4142, 121, 3274, 3, 31, 760, 348, 3, 354, 5, 4244, 107, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Record of the game with a Result of l 14 16?
CREATE TABLE table_60376 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real )
SELECT "Record" FROM table_60376 WHERE "Result" = 'l 14–16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 519, 3959, 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, 23055, 353, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3328, 519, 3959, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 40, 968, 104, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which film had Charles Bickford as supporting actor?
CREATE TABLE table_24225238_1 ( film VARCHAR, supporting_actor VARCHAR )
SELECT film FROM table_24225238_1 WHERE supporting_actor = "Charles Bickford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 20489, 357, 3747, 834, 536, 41, 814, 584, 4280, 28027, 6, 3956, 834, 9, 5317, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 814, 141, 5417, 272, 3142, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 814, 21680, 953, 834, 2266, 20489, 357, 3747, 834, 536, 549, 17444, 427, 3956, 834, 9, 5317, 3274, 96, 18947, 965, 272, 3142, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of victories this player has had on hard surfaces ?
CREATE TABLE table_204_868 ( id number, "outcome" text, "no." number, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text )
SELECT COUNT(*) FROM table_204_868 WHERE "surface" = 'hard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3651, 41, 3, 23, 26, 381, 6, 96, 670, 287, 15, 121, 1499, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 1211, 20205, 17, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 927, 3651, 549, 17444, 427, 96, 26899, 121, 3274, 3, 31, 5651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which district has an IUCN of iii and was established in 1998?
CREATE TABLE table_46797 ( "Reserve" text, "District" text, "IUCN" text, "Co-management" text, "Est." real, "Description" text )
SELECT "District" FROM table_46797 WHERE "IUCN" = 'iii' AND "Est." = '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3708, 4327, 41, 96, 1649, 3473, 15, 121, 1499, 6, 96, 308, 23, 20066, 121, 1499, 6, 96, 19120, 10077, 121, 1499, 6, 96, 3881, 18, 12271, 121, 1499, 6, 96, 14997, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 20066, 121, 21680, 953, 834, 591, 3708, 4327, 549, 17444, 427, 96, 19120, 10077, 121, 3274, 3, 31, 23, 23, 23, 31, 3430, 96, 14997, 535, 3274, 3, 31, 2294, 3916, 31, 1, -100, -100, -100, -100, -100, ...
What year did the school from mars hill, north carolina join?
CREATE TABLE table_11658094_3 ( joined VARCHAR, location VARCHAR )
SELECT joined FROM table_11658094_3 WHERE location = "Mars Hill, North Carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4122, 2079, 4240, 834, 519, 41, 3311, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 8, 496, 45, 8113, 9956, 6, 345...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3311, 21680, 953, 834, 2596, 4122, 2079, 4240, 834, 519, 549, 17444, 427, 1128, 3274, 96, 7286, 7, 3588, 6, 1117, 5089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
The home team has a score of 12.9 (81) what is the score of the away team?
CREATE TABLE table_56896 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_56896 WHERE "Home team score" = '12.9 (81)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3651, 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, 188, 1343, 372, 2604, 121, 21680, 953, 834, 755, 3651, 4314, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 9368, 1298, 13642, 6982, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the most points for South Ossetia?
CREATE TABLE table_name_46 ( highest_point VARCHAR, country VARCHAR )
SELECT highest_point FROM table_name_46 WHERE country = "south ossetia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 2030, 834, 2700, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 979, 21, 1013, 411, 7, 2244, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2030, 834, 2700, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 684, 3274, 96, 7, 670, 107, 3, 13526, 17, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Tyre for the united states grand prix?
CREATE TABLE table_name_5 ( tyre VARCHAR, race VARCHAR )
SELECT tyre FROM table_name_5 WHERE race = "united states grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 3, 17, 63, 60, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 24652, 15, 21, 8, 18279, 2315, 1907, 340...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17, 63, 60, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1964, 3274, 96, 15129, 15, 26, 2315, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7?
CREATE TABLE table_60116 ( "Rank" real, "Club" text, "Season" text, "Goals" real, "Apps" real )
SELECT MIN("Apps") FROM table_60116 WHERE "Club" = 'barcelona' AND "Season" = '1996/97' AND "Rank" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 20159, 41, 96, 22557, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 6221, 5405, 121, 490, 6, 96, 9648, 7, 121, 490, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 9648, 7, 8512, 21680, 953, 834, 3328, 20159, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 1047, 7125, 106, 9, 31, 3430, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 2294, 4314, 87, 4327, 31, ...
With which association did estribillo ii run as Horse 1?
CREATE TABLE table_10578 ( "Year" real, "City" text, "Rider 1" text, "Rider 2" text, "Horse 1" text, "Horse 2" text, "Association" text )
SELECT "Association" FROM table_10578 WHERE "Horse 1" = 'estribillo ii'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 3940, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 485, 121, 1499, 6, 96, 448, 23, 588, 209, 121, 1499, 6, 96, 448, 23, 588, 204, 121, 1499, 6, 96, 566, 127, 7, 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, 96, 25714, 121, 21680, 953, 834, 12869, 3940, 549, 17444, 427, 96, 566, 127, 7, 15, 209, 121, 3274, 3, 31, 222, 6520, 1092, 32, 3, 23, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year had 134 laps?
CREATE TABLE table_name_75 ( year VARCHAR, laps VARCHAR )
SELECT year FROM table_name_75 WHERE laps = 134
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 215, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 141, 3, 23747, 14941, 7, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 14941, 7, 3274, 3, 23747, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the name and the number of enrolled student for each course Show bar chart, and list from low to high by the Y-axis.
CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) )
SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 41, 2291, 834, 23, 26, 3, 21342, 17966, 6, 2291, 834, 17, 76, 17, 127, 834, 5767, 279, 584, 4280, 28027, 17867, 6, 11255, 834, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 503, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 8670, 7, 6157, 332, 536, 3, 15355, 3162, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, ...
What's the boiling point when the density is 1.092 g/ml?
CREATE TABLE table_44373 ( "Solvent" text, "Chemical Formula" text, "Boiling point" text, "Dielectric constant" text, "Density" text, "Dipole moment ( D )" text )
SELECT "Boiling point" FROM table_44373 WHERE "Density" = '1.092 g/ml'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 4118, 519, 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, 279, 32, 173, 53, 500, 121, 21680, 953, 834, 3628, 4118, 519, 549, 17444, 427, 96, 308, 35, 7, 485, 121, 3274, 3, 31, 12734, 4508, 3, 122, 87, 51, 40, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the High rebounds with a Series with 4–2?
CREATE TABLE table_name_13 (high_rebounds VARCHAR, series VARCHAR)
SELECT high_rebounds FROM table_name_13 WHERE series = "4–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1592, 3, 23768, 28, 3, 9, 4531, 28, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 939, 3274, 96, 591, 104, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317 321, 324, 333?
CREATE TABLE table_name_49 ( year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR )
SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317–321, 324, 333"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 215, 3, 21342, 17966, 6, 8708, 584, 4280, 28027, 6, 3, 122, 210, 52, 834, 5525, 1152, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 8708, 3274, 335, 3430, 3, 122, 210, 52, 834, 5525, 1152, 7, 3274, 96, 591, 4198, 6, 3, 23838, 6, 220, 1808, 6, 220, 2517, 104, 2668, 4...
If the game was on January 21, which game was it?
CREATE TABLE table_3778 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Decision" text, "Location/Attendance" text, "Record" text )
SELECT MAX("Game") FROM table_3778 WHERE "January" = '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 3940, 41, 96, 23055, 121, 490, 6, 96, 30404, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 2962, 18901, 121, 1499, 6, 96, 434, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 23055, 8512, 21680, 953, 834, 4118, 3940, 549, 17444, 427, 96, 30404, 121, 3274, 3, 31, 2658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Race 2, when Race 1 is 30?
CREATE TABLE table_name_6 (race_2 VARCHAR, race_1 VARCHAR)
SELECT race_2 FROM table_name_6 WHERE race_1 = "30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 12614, 834, 357, 584, 4280, 28027, 6, 1964, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 10949, 3547, 116, 10949, 209, 19, 604,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1964, 834, 357, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1964, 834, 536, 3274, 96, 1458, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?
CREATE TABLE table_name_80 ( runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR )
SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 16448, 834, 413, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 6336, 7, 584, 4280, 28027, 6, 564, 834, 858, 834, 17, 1211, 20205, 17, 584, 4280, 28027...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16448, 834, 413, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 6336, 7, 3274, 96, 23, 2132, 16173, 40, 121, 3430, 564, 834, 858, 834, 17, 1211, 20205, 17, 3274, 96, 7, 15, 12027, 1355, 9999, 121, 3430, 215, 3...
What was the time of the NJKF Titans Neo X event?
CREATE TABLE table_5578 ( "Result" text, "Record" text, "Opponent" text, "Event" text, "Method" text, "Round" text, "Time" text )
SELECT "Time" FROM table_5578 WHERE "Event" = 'njkf titans neo x'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 3940, 41, 96, 20119, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 23351, 107, 32, 26, 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, 13368, 121, 21680, 953, 834, 3769, 3940, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 29, 354, 157, 89, 29243, 7, 3, 29, 15, 32, 3, 226, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients whose year of birth is less than 2170 and drug route is both eyes?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2170" AND prescriptions.route = "BOTH EYES"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What was the to par score for Mike Weir?
CREATE TABLE table_name_14 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_14 WHERE player = "mike weir"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 12, 260, 2604, 21, 4794, 101, 23, 52, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1959, 3274, 96, 20068, 15, 62, 23, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the airport with the IATA MEL?
CREATE TABLE table_17419587_1 ( airport VARCHAR, iata VARCHAR )
SELECT COUNT(airport) FROM table_17419587_1 WHERE iata = "MEL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 22464, 4225, 834, 536, 41, 3761, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3761, 28, 8, 27, 19282, 283, 3577...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2256, 1493, 61, 21680, 953, 834, 27693, 22464, 4225, 834, 536, 549, 17444, 427, 3, 17221, 3274, 96, 329, 3577, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What class is the RML Team?
CREATE TABLE table_name_40 ( class VARCHAR, team VARCHAR )
SELECT class FROM table_name_40 WHERE team = "rml"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 853, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 853, 19, 8, 391, 6858, 2271, 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, 853, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 372, 3274, 96, 52, 51, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year did a school from Jennings County join?
CREATE TABLE table_name_5 ( year_joined VARCHAR, school VARCHAR )
SELECT year_joined FROM table_name_5 WHERE school = "jennings county"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 215, 834, 1927, 630, 26, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 3, 9, 496, 45, 1022, 9416, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 834, 1927, 630, 26, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 496, 3274, 96, 1924, 9416, 7, 5435, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What place has the score of 67-74=141?
CREATE TABLE table_name_2 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_2 WHERE score = 67 - 74 = 141
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 4687, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 65, 8, 2604, 13, 3, 3708, 18, 4581, 2423, 26059, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 2604, 3274, 3, 3708, 3, 18, 3, 4581, 3274, 3, 26059, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of ladies ranked who had less than 3 silvers, less than 2 total medals, and more than 0 bronze medals?
CREATE TABLE table_42679 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Rank") FROM table_42679 WHERE "Silver" < '3' AND "Total" < '2' AND "Bronze" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2688, 4440, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 591, 2688, 4440, 549, 17444, 427, 96, 134, 173, 624, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 357, 31, 3430, 96, 22780, 29, 776, 1...
Find the department name of the instructor whose name contains 'Soisalon'.
CREATE TABLE instructor ( dept_name VARCHAR, name VARCHAR )
SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 20, 102, 17, 834, 4350, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 3066, 564, 13, 8, 10617, 3, 2544, 564, 2579, 3, 31, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20, 102, 17, 834, 4350, 21680, 10617, 549, 17444, 427, 564, 8729, 9914, 3, 31, 1454, 5231, 159, 138, 106, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which tournament has the highest number of cuts while also having 4 top 25 appearances?
CREATE TABLE table_name_54 ( cuts_made INTEGER, top_25 VARCHAR )
SELECT MAX(cuts_made) FROM table_name_54 WHERE top_25 = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 8620, 834, 4725, 3, 21342, 17966, 6, 420, 834, 1828, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 65, 8, 2030, 381, 13, 8620, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3044, 7, 834, 4725, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 420, 834, 1828, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country has a silver medal in the boxing, heavyweight event?
CREATE TABLE table_name_77 (country VARCHAR, medal VARCHAR, event VARCHAR)
SELECT country FROM table_name_77 WHERE medal = "silver" AND event = "boxing, heavyweight"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 17529, 584, 4280, 28027, 6, 9365, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 3, 9, 4294, 9365, 16, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 9365, 3274, 96, 7, 173, 624, 121, 3430, 605, 3274, 96, 2689, 53, 6, 2437, 9378, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is id of the staff who had a Staff Department Assignment earlier than any Clerical Staff?
CREATE TABLE Staff_Department_Assignments ( staff_id VARCHAR, date_assigned_to INTEGER, job_title_code VARCHAR )
SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to < (SELECT MAX(date_assigned_to) FROM Staff_Department_Assignments WHERE job_title_code = 'Clerical Staff')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10071, 834, 2962, 2274, 297, 834, 188, 7, 6732, 4128, 41, 871, 834, 23, 26, 584, 4280, 28027, 6, 833, 834, 9, 7, 15532, 834, 235, 3, 21342, 17966, 6, 613, 834, 21869, 834, 4978, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 871, 834, 23, 26, 21680, 10071, 834, 2962, 2274, 297, 834, 188, 7, 6732, 4128, 549, 17444, 427, 833, 834, 9, 7, 15532, 834, 235, 3, 2, 41, 23143, 14196, 4800, 4, 599, 5522, 834, 9, 7, 15532, 834, 235, 61, 21680,...
how many female patients were born before the year 1821?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.dob_year < "1821"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, 96, 2606, 2658, 1...
find the date of birth and number of days of hospital stay of jerry deberry.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.dob, demographic.days_stay FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 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, 14798, 5, 26, 32, 115, 6, 14798, 5, 1135, 7, 834, 21545, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 49, 651, 374, 7418, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Rampage's regular season in 1997?
CREATE TABLE table_31655 ( "Year" real, "Division" text, "League" text, "Reg. Season" text, "Playoffs" text, "Open Cup" text )
SELECT "Reg. Season" FROM table_31655 WHERE "Year" = '1997'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25946, 3769, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17748, 5, 7960, 121, 1499, 6, 96, 15800, 1647, 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, 17748, 5, 7960, 121, 21680, 953, 834, 25946, 3769, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 4327, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of salary over the job_id , and group by attribute job_id.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 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, 446, 10539, 834, 4309, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 3, 2...
Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.
CREATE TABLE addresses ( address_content VARCHAR, city VARCHAR, state_province_county VARCHAR )
SELECT address_content FROM addresses WHERE city = "East Julianaside" AND state_province_county = "Texas" UNION SELECT address_content FROM addresses WHERE city = "Gleasonmouth" AND state_province_county = "Arizona"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7181, 41, 1115, 834, 14819, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 6, 538, 834, 1409, 2494, 565, 834, 13362, 63, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 66, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 834, 14819, 21680, 7181, 549, 17444, 427, 690, 3274, 96, 25235, 20080, 9, 1583, 121, 3430, 538, 834, 1409, 2494, 565, 834, 13362, 63, 3274, 96, 13598, 9, 7, 121, 4417, 9215, 3, 23143, 14196, 1115, 834, 14819, ...
Return a pie chart about the proportion of All_Games and Team_ID.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Games, Team_ID FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 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, 432, 834, 23055, 7, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 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, ...
how any proteins have podospora anserina as a natural host ?
CREATE TABLE table_203_589 ( id number, "protein" text, "natural host" text, "normal function" text, "prion state" text, "prion phenotype" text, "year identified" number )
SELECT COUNT("protein") FROM table_203_589 WHERE "natural host" = 'podospora anserina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3914, 41, 3, 23, 26, 381, 6, 96, 23083, 121, 1499, 6, 96, 14884, 2290, 121, 1499, 6, 96, 12110, 1681, 121, 1499, 6, 96, 2246, 106, 538, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 23083, 8512, 21680, 953, 834, 23330, 834, 755, 3914, 549, 17444, 427, 96, 14884, 2290, 121, 3274, 3, 31, 11410, 32, 11842, 9, 46, 7, 6655, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What was the home teams score at Western Oval?
CREATE TABLE table_58121 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_58121 WHERE "Venue" = 'western oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 22011, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 3449, 22011, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 24411, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the minimum age of patients who are married and discharged due to death/expired?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.discharge_location = "DEAD/EXPIRED"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 308, 19552, 87, 427...
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the sum of code , and group by attribute name, show bars in descending order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 5411, 2...
What year was the Competition of World Junior Championships with a 20th (qf) position?
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR)
SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 1201, 3, 21342, 17966, 6, 2259, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 15571, 13, 1150, 10243, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 2259, 3274, 96, 7276, 9212, 10183, 7, 121, 3430, 1102, 3274, 96, 1755, 189, 41, 1824, 89, 61, 121, 1, -100, -100, -100, -100, -100, -100, ...
What designer has a restaurant named of Cork & Cabbage?
CREATE TABLE table_name_53 ( designer VARCHAR, restaurant_name VARCHAR )
SELECT designer FROM table_name_53 WHERE restaurant_name = "cork & cabbage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 4378, 584, 4280, 28027, 6, 2062, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4378, 65, 3, 9, 2062, 2650, 13, 2487, 157, 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, 4378, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 2062, 834, 4350, 3274, 96, 5715, 157, 3, 184, 25883, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the smallest number of total medals for Georgia with 0 silver and 1 bronze?
CREATE TABLE table_name_87 ( total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR )
SELECT MIN(total) FROM table_name_87 WHERE silver > 0 AND nation = "georgia" AND bronze < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 792, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 4294, 2490, 3, 632, 3430, 2982, 3274, 96, 397, 1677, 23, 9, 121, 3430, 13467, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100...
What season had a 14th position?
CREATE TABLE table_name_47 (season VARCHAR, position VARCHAR)
SELECT season FROM table_name_47 WHERE position = "14th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 9476, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 774, 141, 3, 9, 968, 189, 1102, 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, 774, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1102, 3274, 96, 2534, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2003 value with 2r in 2008 and 1r in 2011?
CREATE TABLE table_68650 ( "Tournament" text, "2003" text, "2007" text, "2008" text, "2009" text, "2011" text )
SELECT "2003" FROM table_68650 WHERE "2008" = '2r' AND "2011" = '1r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 15348, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 23948, 121, 1499, 6, 96, 20615, 121, 1499, 6, 96, 16128, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 13907, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23948, 121, 21680, 953, 834, 3651, 15348, 549, 17444, 427, 96, 16128, 121, 3274, 3, 31, 357, 52, 31, 3430, 96, 13907, 121, 3274, 3, 31, 536, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many times does philanthropist appear in the position column on this chart ?
CREATE TABLE table_203_509 ( id number, "year" number, "laetare medalist" text, "position" text )
SELECT COUNT(*) FROM table_203_509 WHERE "position" = 'philanthropist'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 1752, 1298, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 521, 15, 17, 355, 9365, 343, 121, 1499, 6, 96, 4718, 121, 1499, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 1752, 1298, 549, 17444, 427, 96, 4718, 121, 3274, 3, 31, 18118, 152, 8514, 102, 343, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
With Laps greater than 78, what is the lowest Grid?
CREATE TABLE table_name_30 ( grid INTEGER, laps INTEGER )
SELECT MIN(grid) FROM table_name_30 WHERE laps > 78
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 8634, 3, 21342, 17966, 6, 14941, 7, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 438, 325, 102, 7, 2123, 145, 3, 3940, 6, 125, 19, 8, 7402,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 14941, 7, 2490, 3, 3940, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many days had both mean humidity above 50 and mean visibility above 8?
CREATE TABLE weather ( mean_humidity VARCHAR, mean_visibility_miles VARCHAR )
SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1969, 41, 1243, 834, 4884, 23, 26, 485, 584, 4280, 28027, 6, 1243, 834, 3466, 11102, 834, 8770, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 477, 141, 321, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1969, 549, 17444, 427, 1243, 834, 4884, 23, 26, 485, 2490, 943, 3430, 1243, 834, 3466, 11102, 834, 8770, 7, 2490, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the Ratings of Japanese Title episode 11 on Fuji TV station?
CREATE TABLE table_name_32 ( average_ratings VARCHAR, japanese_title VARCHAR, episodes VARCHAR, tv_station VARCHAR )
SELECT average_ratings FROM table_name_32 WHERE episodes = "11" AND tv_station = "fuji tv" AND japanese_title = "プロポーズ大作戦"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 1348, 834, 52, 1014, 7, 584, 4280, 28027, 6, 2662, 2837, 15, 7, 15, 834, 21869, 584, 4280, 28027, 6, 13562, 584, 4280, 28027, 6, 3, 17, 208, 834, 668...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1348, 834, 52, 1014, 7, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 13562, 3274, 96, 2596, 121, 3430, 3, 17, 208, 834, 6682, 3274, 96, 89, 76, 354, 23, 3, 17, 208, 121, 3430, 2662, 2837, 15, 7, 15, 834, ...
What's the rank for a team that has a percentage of 56% and a loss smaller than 4?
CREATE TABLE table_58292 ( "Rank" real, "Team" text, "Loss" real, "Sets Won" real, "Sets Lost" real, "Percentage!" text )
SELECT AVG("Rank") FROM table_58292 WHERE "Percentage!" = '56%' AND "Loss" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 3166, 357, 41, 96, 22557, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 17175, 7, 549, 106, 121, 490, 6, 96, 17175, 7, 19576, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22557, 8512, 21680, 953, 834, 3449, 3166, 357, 549, 17444, 427, 96, 12988, 3728, 545, 4720, 3274, 3, 31, 755, 6370, 31, 3430, 96, 434, 32, 7, 7, 121, 3, 2, 3, 31, 591, 31, 1, -100, -100, -...
Who was the Class A winner in 2006-07?
CREATE TABLE table_14603057_2 ( class_a VARCHAR, school_year VARCHAR )
SELECT class_a FROM table_14603057_2 WHERE school_year = "2006-07"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 3328, 1458, 3436, 834, 357, 41, 853, 834, 9, 584, 4280, 28027, 6, 496, 834, 1201, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4501, 71, 4668,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 834, 9, 21680, 953, 834, 2534, 3328, 1458, 3436, 834, 357, 549, 17444, 427, 496, 834, 1201, 3274, 96, 21196, 18, 4560, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Strong's Transliteration of yowyaqiym is what Hebrew word?
CREATE TABLE table_67135 ( "Strong's #" real, "Hebrew word" text, "Strong's Transliteration" text, "Strong's Words Compounded" text, "English Spelling" text )
SELECT "Hebrew word" FROM table_67135 WHERE "Strong's Transliteration" = 'yowyaqiym'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 536, 2469, 41, 96, 11500, 2444, 31, 7, 1713, 121, 490, 6, 96, 3845, 1999, 210, 1448, 121, 1499, 6, 96, 11500, 2444, 31, 7, 4946, 9842, 257, 121, 1499, 6, 96, 11500,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 1999, 210, 1448, 121, 21680, 953, 834, 3708, 536, 2469, 549, 17444, 427, 96, 11500, 2444, 31, 7, 4946, 9842, 257, 121, 3274, 3, 31, 63, 2381, 63, 9, 1824, 23, 63, 51, 31, 1, -100, -100, -100, -100, -10...
Name the pole positon for korean grand prix
CREATE TABLE table_name_28 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_28 WHERE grand_prix = "korean grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 14332, 834, 4718, 584, 4280, 28027, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 11148, 3, 19882, 17, 106, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11148, 834, 4718, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 5543, 15, 152, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When was the institution of Kansas city Kansas community college founded?
CREATE TABLE table_12434380_1 (founded VARCHAR, institution VARCHAR)
SELECT COUNT(founded) FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community College"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 3710, 22671, 834, 536, 41, 23329, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 6568, 13, 10585, 690, 10585, 573, 1900, 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, 2847, 17161, 599, 23329, 61, 21680, 953, 834, 22504, 3710, 22671, 834, 536, 549, 17444, 427, 6568, 3274, 96, 439, 3247, 9, 7, 896, 10585, 3092, 1888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What place is Spain in?
CREATE TABLE table_name_73 ( place VARCHAR, country VARCHAR )
SELECT place FROM table_name_73 WHERE country = "spain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 19, 6436, 16, 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, 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, 286, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 684, 3274, 96, 14147, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many players are at the DT position?
CREATE TABLE table_24277 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT COUNT("Player") FROM table_24277 WHERE "Position" = 'DT'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 357, 4013, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2266, 357, 4013, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 12111, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees who did not have any job in the past, a scatter chart shows the correlation between employee_id and salary .
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT EMPLOYEE_ID, SALARY FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 613, 834, 10...
What district is the incumbent Republican and the incumbent retired to run for governor democratic gain?
CREATE TABLE table_60929 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text )
SELECT "District" FROM table_60929 WHERE "Party" = 'republican' AND "Results" = 'retired to run for governor democratic gain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 4198, 3166, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 20066, 121, 21680, 953, 834, 948, 4198, 3166, 549, 17444, 427, 96, 13725, 63, 121, 3274, 3, 31, 60, 15727, 152, 31, 3430, 96, 20119, 7, 121, 3274, 3, 31, 10682, 1271, 12, 661, 21, 13062, 15053, 2485, ...
What Congress had less than 23 cosponsors and had June 30, 2005 as the date of introduction of the bill?
CREATE TABLE table_name_92 ( congress VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR )
SELECT congress FROM table_name_92 WHERE _number_of_cosponsors < 23 AND date_introduced = "june 30, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 27197, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 834, 858, 834, 509, 7, 5041, 7, 127, 7, 584, 4280, 28027, 6, 833, 834, 20322, 32, 12160, 26, 584, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 27197, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 3, 834, 5525, 1152, 834, 858, 834, 509, 7, 5041, 7, 127, 7, 3, 2, 1902, 3430, 833, 834, 20322, 32, 12160, 26, 3274, 96, 6959, 15, 11558, 3105, 121, 1, -1...
Provide the number of patients who are american indian/alaska native and have the procedure titled chordae tendineae ops.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND procedures.short_title = "Chordae tendineae ops"
[ 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,...
Which date was a GTS class on the Mosport International Raceway?
CREATE TABLE table_name_98 ( date VARCHAR, class VARCHAR, circuit VARCHAR )
SELECT date FROM table_name_98 WHERE class = "gts" AND circuit = "mosport international raceway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 833, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 833, 47, 3, 9, 10188, 134, 853,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 853, 3274, 96, 122, 17, 7, 121, 3430, 4558, 3274, 96, 3972, 1493, 1038, 1964, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
hyperlipidemia ( total cholesterol > 260 mg / dl, ldl > 130 mg / dl, and / or triglycerides > 300 mg / dl ) despite appropriate treatment.
CREATE TABLE table_dev_18 ( "id" int, "bleeding" int, "chronic_anticoagulant_therapy" bool, "renal_disease" bool, "hyperlipidemia" bool, "creatinine_clearance_cl" float, "chronic_hemostasis_disorders" bool, "significant_proteinuria" bool, "platelet_count" float, "total_cholesterol" int, "albumin_excretion" int, "ldl" int, "serum_creatinine" float, "chronic_warfarin_therapy" bool, "heparin" bool, "renal_transplantation" bool, "triglyceride_tg" float, "inr" float, "NOUSE" float )
SELECT * FROM table_dev_18 WHERE hyperlipidemia = 1 OR (total_cholesterol > 260 OR ldl > 130 OR triglyceride_tg > 300)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 2606, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 10363, 2532, 834, 5965, 28286, 288, 834, 10896, 121, 3, 12840, 40, 6, 96, 1536, 138,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2606, 549, 17444, 427, 6676, 19437, 11658, 3274, 209, 4674, 41, 235, 1947, 834, 14297, 2613, 3491, 2490, 3, 18365, 4674, 3, 40, 26, 40, 2490, 12778, 4674, 3, 17, 3380, 120, 2110, 15...
Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final?
CREATE TABLE table_71401 ( "Date" text, "Tournament" text, "Surface" text, "Tier" text, "Partner" text, "Opponents in the final" text, "Score" text )
SELECT "Date" FROM table_71401 WHERE "Opponents in the final" = 'claire de gubernatis alexandra dulgheru'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 20016, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 382, 972, 121, 1499, 6, 96, 13725, 687, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4450, 20016, 549, 17444, 427, 96, 667, 102, 9977, 7, 16, 8, 804, 121, 3274, 3, 31, 7997, 15, 20, 3, 122, 14659, 18530, 7, 1240, 226, 152, 3515, 146, 40, 122, 760, 76, 31, 1,...
Which Assist/pass has a Score of 1-0, and a Goal of 5?
CREATE TABLE table_name_85 (assist_pass VARCHAR, score VARCHAR, goal VARCHAR)
SELECT assist_pass FROM table_name_85 WHERE score = "1-0" AND goal = "5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 6500, 7, 17, 834, 3968, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 1288, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 282, 7, 343, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2094, 834, 3968, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 2604, 3274, 96, 18930, 121, 3430, 1288, 3274, 96, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average capacity for the vehicle having a navigator of Macneall?
CREATE TABLE table_65050 ( "Driver" text, "Navigator" text, "Vehicle" text, "Class" text, "Capacity" real, "Total Time" text, "Margin" text )
SELECT AVG("Capacity") FROM table_65050 WHERE "Navigator" = 'macneall'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15348, 1752, 41, 96, 20982, 52, 121, 1499, 6, 96, 22192, 23, 19306, 121, 1499, 6, 96, 553, 15, 107, 23, 2482, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 19566, 9, 6726, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19566, 9, 6726, 8512, 21680, 953, 834, 15348, 1752, 549, 17444, 427, 96, 22192, 23, 19306, 121, 3274, 3, 31, 11101, 29, 15, 1748, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When Date has a Game larger than 4 and a Team of san antonio, and a Record of 4-3?
CREATE TABLE table_42525 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_42525 WHERE "Game" > '4' AND "Team" = 'san antonio' AND "Record" = '4-3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1828, 1828, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 22497, 663, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 591, 1828, 1828, 549, 17444, 427, 96, 23055, 121, 2490, 3, 31, 591, 31, 3430, 96, 18699, 121, 3274, 3, 31, 7, 152, 3, 9, 6992, 23, 32, 31, 3430, 96, 1649, 7621, 121, 3274, 3...
How many junctions have 'replaced by bsi-35' listed in their remarks section?
CREATE TABLE table_72181 ( "Route Name" text, "Direction" text, "Termini" text, "Junctions" text, "Length" text, "Population Area" text, "Remarks" text )
SELECT COUNT("Junctions") FROM table_72181 WHERE "Remarks" = 'Replaced by BSI-35'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 2606, 536, 41, 96, 448, 670, 15, 5570, 121, 1499, 6, 96, 23620, 23, 106, 121, 1499, 6, 96, 11679, 77, 23, 121, 1499, 6, 96, 683, 202, 4985, 7, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 683, 202, 4985, 7, 8512, 21680, 953, 834, 5865, 2606, 536, 549, 17444, 427, 96, 1649, 3920, 7, 121, 3274, 3, 31, 1649, 4687, 26, 57, 3, 4547, 196, 18, 2469, 31, 1, -100, -100, -100, -100, ...
Show different type codes of products and the number of products with each type code in a bar chart, I want to sort by the x-axis from high to low.
CREATE TABLE Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) ) CREATE TABLE Assets_in_Events ( Asset_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Addresses ( Address_ID INTEGER, address_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_in_Events ( Party_ID INTEGER, Event_ID INTEGER, Role_Code CHAR(15) ) CREATE TABLE Finances ( Finance_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Assets ( Asset_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Channels ( Channel_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 Agreements ( Document_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Products_in_Events ( Product_in_Event_ID INTEGER, Event_ID INTEGER, Product_ID INTEGER )
SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code ORDER BY Product_Type_Code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17450, 7, 41, 3450, 834, 4309, 3, 21342, 17966, 6, 3450, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 18202, 7, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6246, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 6246, 834, 25160, 834, 22737, 4674, 11300, 272, 476, 6246, 834, 25160, 834, 22737, 309, 25067, 1, -100, -100, -100, ...
what is discharge location and procedure long title of subject id 813?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 demographic.discharge_location, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "813"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 159, 7993, 834, 14836, 6, 4293, 5, 2961, 834, 21869, 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, 427, 147...
what is the number of players who have points less than 30 for each position?
CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE club_rank ( Rank real, Club_ID int, Gold real, Silver real, Bronze real, Total real ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps real, Tries real, Goals text, Points real ) CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Country text )
SELECT Position, COUNT(*) FROM player WHERE Points < 30 GROUP BY Position
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1949, 834, 4309, 16, 17, 6, 564, 1499, 6, 6163, 1499, 6, 3273, 834, 1201, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 834, 6254, 41, 3, 22557, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14258, 6, 2847, 17161, 599, 1935, 61, 21680, 1959, 549, 17444, 427, 4564, 7, 3, 2, 604, 350, 4630, 6880, 272, 476, 14258, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many weeks on top was the single from Savage Garden?
CREATE TABLE table_9846 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" text, "Song" text, "Artist" text )
SELECT "Weeks on Top" FROM table_9846 WHERE "Artist" = 'savage garden'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3916, 4448, 41, 96, 22803, 440, 15, 10, 196, 7, 7, 76, 15, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 7678, 599, 7, 61, 121, 1499, 6, 96, 1326, 16789, 30, 2224, 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, 1326, 16789, 30, 2224, 121, 21680, 953, 834, 3916, 4448, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 7, 9, 11515, 2004, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest pick that has arizona cardinals as the NFL club?
CREATE TABLE table_79057 ( "Player" text, "Round" real, "Pick" real, "Position" text, "NFL Club" text )
SELECT MIN("Pick") FROM table_79057 WHERE "NFL Club" = 'arizona cardinals'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2394, 3436, 41, 96, 15800, 49, 121, 1499, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 12619, 434, 1949, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 345, 3142, 8512, 21680, 953, 834, 940, 2394, 3436, 549, 17444, 427, 96, 12619, 434, 1949, 121, 3274, 3, 31, 1665, 8892, 9, 895, 10270, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many patients stay in room 112?
CREATE TABLE procedures ( code number, name text, cost number ) CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number ) CREATE TABLE on_call ( nurse number, blockfloor number, blockcode number, oncallstart time, oncallend time ) CREATE TABLE stay ( stayid number, patient number, room number, staystart time, stayend time ) CREATE TABLE appointment ( appointmentid number, patient number, prepnurse number, physician number, start time, end time, examinationroom text ) CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time ) CREATE TABLE physician ( employeeid number, name text, position text, ssn number ) CREATE TABLE undergoes ( patient number, procedures number, stay number, dateundergoes time, physician number, assistingnurse number ) CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text ) CREATE TABLE department ( departmentid number, name text, head number ) CREATE TABLE medication ( code number, name text, brand text, description text ) CREATE TABLE block ( blockfloor number, blockcode 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 affiliated_with ( physician number, department number, primaryaffiliation boolean )
SELECT COUNT(patient) FROM stay WHERE room = 112
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1081, 381, 6, 564, 1499, 6, 583, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10444, 41, 3490, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 3366, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 10061, 61, 21680, 1049, 549, 17444, 427, 562, 3274, 850, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the highest number of oppenents points recorded for game 9 when the attendance was less than 60,091?
CREATE TABLE table_name_85 (opponents INTEGER, game VARCHAR, attendance VARCHAR)
SELECT MAX(opponents) FROM table_name_85 WHERE game = 9 AND attendance < 60 OFFSET 091
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 32, 102, 9977, 7, 3, 21342, 17966, 6, 467, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 32, 102, 9977, 7, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 467, 3274, 668, 3430, 11364, 3, 2, 1640, 3, 15316, 20788, 14146, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...