NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which music led to a safe result and was choreographed by Jason Gilkison?
CREATE TABLE table_name_57 ( music VARCHAR, results VARCHAR, choreographer_s_ VARCHAR )
SELECT music FROM table_name_57 WHERE results = "safe" AND choreographer_s_ = "jason gilkison"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 723, 584, 4280, 28027, 6, 772, 584, 4280, 28027, 6, 15030, 19891, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 723, 2237, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 723, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 772, 3274, 96, 15233, 121, 3430, 15030, 19891, 834, 7, 834, 3274, 96, 1191, 739, 3, 122, 173, 2168, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Which Games have Years at club of 1974 1975, and Goals of 4?
CREATE TABLE table_66242 ( "Debut year" real, "Player" text, "Games" real, "Goals" real, "Years at club" text )
SELECT AVG("Games") FROM table_66242 WHERE "Years at club" = '1974–1975' AND "Goals" = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 2266, 357, 41, 96, 2962, 2780, 215, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 6221, 5405, 121, 490, 6, 96, 476, 2741, 7, 44, 1886, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23055, 7, 8512, 21680, 953, 834, 3539, 2266, 357, 549, 17444, 427, 96, 476, 2741, 7, 44, 1886, 121, 3274, 3, 31, 2294, 4581, 104, 2294, 3072, 31, 3430, 96, 6221, 5405, 121, 3274, 3, 31, 591, ...
what is the branding when the call sign is ckua-fm-3?
CREATE TABLE table_name_33 ( branding VARCHAR, call_sign VARCHAR )
SELECT branding FROM table_name_33 WHERE call_sign = "ckua-fm-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 14282, 584, 4280, 28027, 6, 580, 834, 6732, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 14282, 116, 8, 580, 1320, 19, 3, 2406, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14282, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 580, 834, 6732, 3274, 96, 2406, 76, 9, 18, 89, 51, 3486, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the average Points of the season driver Fernando Alonso had a percentage of possible points of 53.05%?
CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR)
SELECT AVG(points) FROM table_name_15 WHERE driver = "fernando alonso" AND percentage_of_possible_points = "53.05%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2700, 7, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 6, 5294, 834, 858, 834, 2748, 7, 2317, 834, 2700, 7, 584, 4280, 28027, 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, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 2535, 3274, 96, 8377, 232, 32, 3, 9, 14061, 32, 121, 3430, 5294, 834, 858, 834, 2748, 7, 2317, 834, 2700, 7, 3274, 96, 4867, 5, 632...
Which Tournament has Opponents in the final of maria lindström maria strandlund?
CREATE TABLE table_name_17 (tournament VARCHAR, opponents_in_the_final VARCHAR)
SELECT tournament FROM table_name_17 WHERE opponents_in_the_final = "maria lindström maria strandlund"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 20502, 65, 449...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 16383, 834, 77, 834, 532, 834, 12406, 3274, 96, 17289, 9, 3, 9230, 30476, 2774, 9, 3, 12797, 40, 1106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest founded that has bizerte athletic f.c. as the club?
CREATE TABLE table_name_42 ( founded INTEGER, club VARCHAR )
SELECT MIN(founded) FROM table_name_42 WHERE club = "bizerte athletic f.c."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 5710, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 5710, 24, 65, 2647, 2558, 17, 15, 12217, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 23329, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1886, 3274, 96, 19000, 49, 17, 15, 12217, 3, 89, 5, 75, 535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was 11-8 the record?
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_43 WHERE record = "11-8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 850, 6039, 8, 1368, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1368, 3274, 96, 2596, 6039, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the distinct types of mills that are built by American or Canadian architects?
CREATE TABLE mill ( type VARCHAR, architect_id VARCHAR ) CREATE TABLE architect ( Id VARCHAR )
SELECT DISTINCT T1.type FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id = T2.Id WHERE T2.nationality = 'American' OR T2.nationality = 'Canadian'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3293, 41, 686, 584, 4280, 28027, 6, 13188, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 13188, 41, 27, 26, 584, 4280, 28027, 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, 15438, 25424, 6227, 332, 5411, 6137, 21680, 3293, 6157, 332, 536, 3, 15355, 3162, 13188, 6157, 3, 17, 357, 9191, 332, 5411, 7064, 23, 5822, 17, 834, 23, 26, 3274, 332, 4416, 196, 26, 549, 17444, 427, 332, 4416, ...
in this hospital visit, was there a microbiological test of patient 031-3355's blood, venipuncture?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime 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 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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.culturesite = 'blood, venipuncture'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2179, 9339, 549, 17444, 427, 2179, 9339, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 1...
what is the number of patients whose year of birth is less than 2090 and drug route is inhalation?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2090" AND prescriptions.route = "INHALATION"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the highest number of byes where the losses were 9 and the draws were less than 0?
CREATE TABLE table_name_93 (byes INTEGER, losses VARCHAR, draws VARCHAR)
SELECT MAX(byes) FROM table_name_93 WHERE losses = 9 AND draws < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 969, 15, 7, 3, 21342, 17966, 6, 8467, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 57, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 969, 15, 7, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 8467, 3274, 668, 3430, 14924, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many Goals against have Goals for smaller than 33, and Points smaller than 16?
CREATE TABLE table_59040 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT SUM("Goals against") FROM table_59040 WHERE "Goals for" < '33' AND "Points" < '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2394, 2445, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 6221, 5405, 581, 8512, 21680, 953, 834, 755, 2394, 2445, 549, 17444, 427, 96, 6221, 5405, 21, 121, 3, 2, 3, 31, 4201, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 2938, 31, 1, -100, -100, -10...
What is the ratings for the original air date may 25, 2010 22.00 - 22.54?
CREATE TABLE table_26591434_1 (ratings__kansai_ VARCHAR, original_airdate VARCHAR)
SELECT ratings__kansai_ FROM table_26591434_1 WHERE original_airdate = "May 25, 2010 22.00 - 22.54"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3390, 2534, 3710, 834, 536, 41, 52, 1014, 7, 834, 834, 3304, 7, 9, 23, 834, 584, 4280, 28027, 6, 926, 834, 2256, 5522, 584, 4280, 28027, 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, 9712, 834, 834, 3304, 7, 9, 23, 834, 21680, 953, 834, 2688, 3390, 2534, 3710, 834, 536, 549, 17444, 427, 926, 834, 2256, 5522, 3274, 96, 15881, 14105, 2735, 1630, 4200, 3, 18, 1630, 5, 5062, 121, 1, -100, -100, -1...
what lane was new zealand in?
CREATE TABLE table_69065 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT "Lane" FROM table_69065 WHERE "Nationality" = 'new zealand'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2394, 4122, 41, 96, 3845, 144, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 1499, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 434, 152, 15, 121, 21680, 953, 834, 948, 2394, 4122, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 5534, 3, 776, 138, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the M60A3 when the M1A1 is T (Short Tons)?
CREATE TABLE table_name_17 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
SELECT m60a3_patton FROM table_name_17 WHERE m1a1_abrams = "t (short tons)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 51, 3328, 9, 519, 834, 4665, 17, 106, 584, 4280, 28027, 6, 3, 51, 536, 9, 536, 834, 9, 1939, 51, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 51, 3328, 9, 519, 834, 4665, 17, 106, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 3, 51, 536, 9, 536, 834, 9, 1939, 51, 7, 3274, 96, 17, 41, 7, 14184, 8760, 61, 121, 1, -100, -100, -100, -100, -100, ...
When was the race that set the record for the Izod Indycar Series?
CREATE TABLE table_name_47 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_47 WHERE record = "izod indycar series"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 1964, 24, 356, 8, 1368, 21, 8, 27, 172, 32, 26, 86,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1368, 3274, 96, 14406, 26, 16, 26, 63, 1720, 939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the RECNet belonging to Class A with a Power of 3,000 watts?
CREATE TABLE table_name_75 (recnet VARCHAR, class VARCHAR, power VARCHAR)
SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 60, 75, 1582, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 579, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 20921, 9688, 1277...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5026, 1582, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 853, 3274, 96, 9, 121, 3430, 579, 3274, 96, 11212, 3, 11876, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which position in the table is the team watford?
CREATE TABLE table_18784280_3 (position_in_table VARCHAR, team VARCHAR)
SELECT position_in_table FROM table_18784280_3 WHERE team = "Watford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 4608, 17518, 834, 519, 41, 4718, 834, 77, 834, 3869, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1102, 16, 8, 953, 19, 8, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 834, 77, 834, 3869, 21680, 953, 834, 25828, 4608, 17518, 834, 519, 549, 17444, 427, 372, 3274, 96, 518, 144, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the explanation for alben w. barkley
CREATE TABLE table_23636 ( "Rank by time in office" real, "Order in office" real, "Vice President" text, "Length of term in days" real, "Explanation" text )
SELECT "Explanation" FROM table_23636 WHERE "Vice President" = 'Alben W. Barkley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 3420, 41, 96, 22557, 57, 97, 16, 828, 121, 490, 6, 96, 7395, 588, 16, 828, 121, 490, 6, 96, 553, 867, 1661, 121, 1499, 6, 96, 434, 4606, 189, 13, 1657, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5420, 3767, 257, 121, 21680, 953, 834, 357, 3420, 3420, 549, 17444, 427, 96, 553, 867, 1661, 121, 3274, 3, 31, 25691, 35, 549, 5, 24828, 1306, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose year of birth is less than 2126 and lab test abnormal status is abnormal?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2126" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the latest week with an attendance of 74,162?
CREATE TABLE table_78564 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT MAX("Week") FROM table_78564 WHERE "Attendance" = '74,162'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 4834, 591, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 518, 10266, 8512, 21680, 953, 834, 3940, 4834, 591, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 4581, 6, 2938, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average edispl of the cars of model volvo?
CREATE TABLE CARS_DATA (edispl INTEGER, Id VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Model VARCHAR)
SELECT AVG(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 25210, 834, 27807, 41, 15, 10475, 40, 3, 21342, 17966, 6, 27, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 4280, 834, 5999, 22759, 41, 22638...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 382, 4416, 15, 10475, 40, 61, 21680, 205, 4280, 834, 5999, 22759, 6157, 332, 536, 3, 15355, 3162, 205, 25210, 834, 27807, 6157, 332, 357, 9191, 332, 5411, 22638, 196, 26, 3274, 332, 4416, 196, 26, 54...
What is the highest Against for a game against Bristol City?
CREATE TABLE table_64410 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Round" text )
SELECT MAX("Against") FROM table_64410 WHERE "Opposing Team" = 'bristol city'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 24175, 41, 96, 667, 102, 2748, 53, 2271, 121, 1499, 6, 96, 20749, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 448, 32, 1106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20749, 8512, 21680, 953, 834, 4389, 24175, 549, 17444, 427, 96, 667, 102, 2748, 53, 2271, 121, 3274, 3, 31, 115, 17149, 40, 690, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the mass of the element with a nuclide that is 169 tm?
CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR)
SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3420, 3708, 3651, 834, 536, 41, 159, 32, 19710, 834, 2754, 7, 834, 834, 834, 76, 834, 834, 584, 4280, 28027, 6, 206, 14758, 221, 584, 4280, 28027, 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, 19, 32, 19710, 834, 2754, 7, 834, 834, 834, 76, 834, 834, 21680, 953, 834, 1808, 3420, 3708, 3651, 834, 536, 549, 17444, 427, 206, 14758, 221, 3274, 96, 27096, 332, 51, 121, 1, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose age is less than 85 and procedure long title is ureteral catheterization?
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 ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "85" AND procedures.long_title = "Ureteral catheterization"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Kaimganj has what reserved for (SC / ST /None)?
CREATE TABLE table_62520 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Reserved for ( SC / ST /None)" FROM table_62520 WHERE "Name" = 'kaimganj'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 25356, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, 121, 21680, 953, 834, 4056, 25356, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 1258, 603, 2565, 354, 31, 1, -100, -100, -100, -100, -100,...
When was the premiere of the show that had a rank of #7?
CREATE TABLE table_name_30 (premiere VARCHAR, rank VARCHAR)
SELECT premiere FROM table_name_30 WHERE rank = "#7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 2026, 2720, 60, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 13539, 13, 8, 504, 24, 141, 3, 9, 11003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 13539, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 11003, 3274, 96, 4663, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What nation has a total more than 3, with more than 5 for bronze, and less than 4 for the silver?
CREATE TABLE table_34035 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Nation" FROM table_34035 WHERE "Total" > '3' AND "Bronze" > '5' AND "Silver" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21129, 2469, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 567, 257, 121, 21680, 953, 834, 21129, 2469, 549, 17444, 427, 96, 3696, 1947, 121, 2490, 3, 31, 519, 31, 3430, 96, 22780, 29, 776, 121, 2490, 3, 31, 755, 31, 3430, 96, 134, 173, 624, 121, 3, 2, 3, 31, 591,...
For employees without the letter M in their first name, give me a line chart to show the salary change over their hire date using a line chart, and sort by the HIRE_DATE in asc.
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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, SALARY FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY HIRE_DATE
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 329, 1454, 31, 4674, 11300, 272, 476, 454, 14132, 834, 308, 6048, 1, -100, -100, ...
What venue had footscray play at it?
CREATE TABLE table_name_87 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_87 WHERE away_team = "footscray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 15098, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 141, 2418, 7, 2935, 63, 577, 44, 34, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 550, 834, 11650, 3274, 96, 6259, 7, 2935, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9?
CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR)
SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 4046, 3, 21342, 17966, 6, 7908, 109, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 4046, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 203, 3274, 96, 536, 104, 927, 121, 3430, 564, 3274, 96, 26, 2057, 15, 496, 121, 3430, 7908, 109, 2490, 668, 1, -100, -100, -100, -100, -10...
Which venues were closed because they were replaced?
CREATE TABLE table_name_5 (location VARCHAR, reason VARCHAR)
SELECT location FROM table_name_5 WHERE reason = "replaced"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 14836, 584, 4280, 28027, 6, 1053, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11778, 130, 3168, 250, 79, 130, 5821, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1053, 3274, 96, 60, 4687, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which player is a tight end with a round higher than 3?
CREATE TABLE table_name_4 ( name VARCHAR, position VARCHAR, round VARCHAR )
SELECT name FROM table_name_4 WHERE position = "tight end" AND round > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 564, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 19, 3, 9, 4095, 414, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1102, 3274, 96, 17, 2632, 414, 121, 3430, 1751, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the Winner on June 2, 2007?
CREATE TABLE table_name_44 ( winner VARCHAR, date VARCHAR )
SELECT winner FROM table_name_44 WHERE date = "june 2, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 4668, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 18125, 30, 1515, 3547, 4101, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 833, 3274, 96, 6959, 15, 3547, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many picks on average did Jay Bruchak have before round 6?
CREATE TABLE table_name_7 ( pick INTEGER, player VARCHAR, round VARCHAR )
SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND round < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1432, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1432, 7, 30, 1348, 410, 937...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 17967, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1959, 3274, 96, 1191, 63, 3, 19353, 1639, 121, 3430, 1751, 3, 2, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Time/Retired has a Laps of 86 and the Team of HVM Racing?
CREATE TABLE table_name_73 ( time_retired VARCHAR, laps VARCHAR, team VARCHAR )
SELECT time_retired FROM table_name_73 WHERE laps = 86 AND team = "hvm racing"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2900, 87, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 14941, 7, 3274, 3, 3840, 3430, 372, 3274, 96, 107, 208, 51, 8191, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
there are no landline prefixes for what 4 companies ?
CREATE TABLE table_203_202 ( id number, "network" text, "company" text, "mobile prefixes" text, "mobile examples" text, "landline prefixes" text, "landline examples" text, "notes" text )
SELECT "network" FROM table_203_202 WHERE "landline prefixes" IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 19818, 41, 3, 23, 26, 381, 6, 96, 1582, 1981, 121, 1499, 6, 96, 29179, 121, 1499, 6, 96, 14814, 554, 12304, 15, 7, 121, 1499, 6, 96, 14814, 4062, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1582, 1981, 121, 21680, 953, 834, 23330, 834, 19818, 549, 17444, 427, 96, 40, 232, 747, 554, 12304, 15, 7, 121, 6827, 13046, 10376, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?
CREATE TABLE Locations ( Location_ID VARCHAR, Address VARCHAR ) CREATE TABLE Tourist_Attractions ( Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR )
SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "660 Shea Crescent" OR T2.How_to_Get_There = "walk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10450, 7, 41, 10450, 834, 4309, 584, 4280, 28027, 6, 13246, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 21375, 834, 188, 17, 10559, 7, 41, 5570, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 21680, 10450, 7, 6157, 332, 536, 3, 15355, 3162, 21375, 834, 188, 17, 10559, 7, 6157, 332, 357, 9191, 332, 5411, 434, 32, 75, 257, 834, 4309, 3274, 332, 4416, 434, 32, 75, 257, 834, 4309, 549, 17...
what is the number of patients whose drug code is humu100i?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "HUMU100I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the ceremony year when Ganito Kami Noon, Paano Kayo Ngayon was the original title?
CREATE TABLE table_78757 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text )
SELECT "Year (Ceremony)" FROM table_78757 WHERE "Original title" = 'ganito kami noon, paano kayo ngayon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3072, 940, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 21680, 953, 834, 3940, 3072, 940, 549, 17444, 427, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 2565, 23, 235, 6511, 23, 18472, 6, 2576, 152, 32, 3, 18075, 32, 3,...
What is the assists for the year 1995?
CREATE TABLE table_name_66 ( assists VARCHAR, year VARCHAR )
SELECT assists FROM table_name_66 WHERE year = "1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 13041, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 13041, 21, 8, 215, 7273, 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, 13041, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 215, 3274, 96, 19479, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What club team is Per Gustafsson play for?
CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Per Gustafsson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2368, 22174, 834, 2596, 41, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 21680, 953, 834, 1714, 2368, 22174, 834, 2596, 549, 17444, 427, 1959, 3274, 96, 12988, 2846, 2427, 89, 7, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the average of department_id bin hire_date by weekday in a bar chart, and sort from high to low by the y-axis.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914,...
What is the Apparent magnitude of a Declination (J2000) of 39 45 ?
CREATE TABLE table_58536 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text, "Apparent magnitude" real )
SELECT MIN("Apparent magnitude") FROM table_58536 WHERE "Declination ( J2000 )" = '°39′45″'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 755, 3420, 41, 96, 12531, 254, 381, 121, 490, 6, 96, 17057, 686, 121, 1499, 6, 96, 4302, 7, 6714, 257, 121, 1499, 6, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 135...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 5320, 20722, 8512, 21680, 953, 834, 3449, 755, 3420, 549, 17444, 427, 96, 2962, 11005, 257, 41, 446, 13527, 3, 61, 121, 3274, 3, 31, 1956, 3288, 17774, 2128, 7079, 31, 1, -100, -100, -...
history of congestive heart failure
CREATE TABLE table_train_195 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "allergy_to_perflutren" bool, "heart_disease" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_195 WHERE heart_disease = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 22464, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 11211, 122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9719, 834, 22464, 549, 17444, 427, 842, 834, 26, 159, 14608, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many years have a final score of 6 3, 6 2?
CREATE TABLE table_22834834_3 ( year VARCHAR, score_in_the_final VARCHAR )
SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4591, 3707, 3710, 834, 519, 41, 215, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 2884, 4591, 3707, 3710, 834, 519, 549, 17444, 427, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 948, 104, 6355, 431, 104, 357, 121, 1, -100, -100, -100, -100, -100, -10...
What is the lowest number of total race points for the country of Belgium?
CREATE TABLE table_23293785_2 ( race_total_pts_ INTEGER, country VARCHAR )
SELECT MIN(race_total_pts_) FROM table_23293785_2 WHERE country = "Belgium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3166, 4118, 4433, 834, 357, 41, 1964, 834, 235, 1947, 834, 102, 17, 7, 834, 3, 21342, 17966, 6, 684, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 12614, 834, 235, 1947, 834, 102, 17, 7, 834, 61, 21680, 953, 834, 2773, 3166, 4118, 4433, 834, 357, 549, 17444, 427, 684, 3274, 96, 2703, 40, 122, 2552, 121, 1, -100, -100, -100, -100, -100, -100, -...
Find All_Games and ACC_Percent , and visualize them by a bar chart, and I want to list from high to low by the names.
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, ACC_Percent FROM basketball_match ORDER BY All_Games DESC
[ 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, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who had an order of 907 and more than 1 game?
CREATE TABLE table_name_67 ( name VARCHAR, games VARCHAR, order VARCHAR )
SELECT name FROM table_name_67 WHERE games > 1 AND order = 907
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 564, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 6, 455, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 46, 455, 13, 2777, 940, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1031, 2490, 209, 3430, 455, 3274, 2777, 940, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where is the show aired in New Zealand?
CREATE TABLE table_19382 ( "Country" text, "Local Name" text, "Host" text, "Channel" text, "Year Aired" text, "Top Prize" text )
SELECT "Channel" FROM table_19382 WHERE "Country" = 'New Zealand'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3747, 357, 41, 96, 10628, 651, 121, 1499, 6, 96, 434, 32, 1489, 5570, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 3541, 4515, 40, 121, 1499, 6, 96, 476, 2741, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4515, 40, 121, 21680, 953, 834, 2294, 3747, 357, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 6861, 5725, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the sale details and dates of transactions with amount smaller than 3000?
CREATE TABLE transactions ( transaction_id number, investor_id number, transaction_type_code text, date_of_transaction time, amount_of_transaction number, share_count text, other_details text ) CREATE TABLE investors ( investor_id number, investor_details text ) CREATE TABLE sales ( sales_transaction_id number, sales_details text ) CREATE TABLE purchases ( purchase_transaction_id number, purchase_details text ) CREATE TABLE lots ( lot_id number, investor_id number, lot_details text ) CREATE TABLE transactions_lots ( transaction_id number, lot_id number ) CREATE TABLE ref_transaction_types ( transaction_type_code text, transaction_type_description text )
SELECT T1.sales_details, T2.date_of_transaction FROM sales AS T1 JOIN transactions AS T2 ON T1.sales_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction < 3000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6413, 41, 5878, 834, 23, 26, 381, 6, 12024, 834, 23, 26, 381, 6, 5878, 834, 6137, 834, 4978, 1499, 6, 833, 834, 858, 834, 7031, 4787, 97, 6, 866, 834, 858, 834, 7031, 4787, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 7, 4529, 834, 221, 5756, 7, 6, 332, 4416, 5522, 834, 858, 834, 7031, 4787, 21680, 1085, 6157, 332, 536, 3, 15355, 3162, 6413, 6157, 332, 357, 9191, 332, 5411, 7, 4529, 834, 7031, 4787, 834, 23, 26, 3274...
What try bonus has 19 as the tries against?
CREATE TABLE table_name_17 ( try_bonus VARCHAR, tries_against VARCHAR )
SELECT try_bonus FROM table_name_17 WHERE tries_against = "19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 653, 834, 5407, 302, 584, 4280, 28027, 6, 3, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 653, 4023, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 653, 834, 5407, 302, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 3, 9000, 834, 9, 16720, 7, 17, 3274, 96, 2294, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which player was a running back from San Jose State?
CREATE TABLE table_name_94 (player VARCHAR, position VARCHAR, college VARCHAR)
SELECT player FROM table_name_94 WHERE position = "running back" AND college = "san jose state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 20846, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 47, 3, 9, 1180, 223, 45, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 1102, 3274, 96, 24549, 223, 121, 3430, 1900, 3274, 96, 7, 152, 7406, 15, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which song was sung by Artist Luther Vandross in the Week Top 20?
CREATE TABLE table_name_17 (song_sung VARCHAR, artist VARCHAR, week VARCHAR)
SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 7, 2444, 834, 7, 425, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2324, 47, 3, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 834, 7, 425, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2377, 3274, 96, 40, 76, 189, 49, 409, 22357, 7, 7, 121, 3430, 471, 3274, 96, 2916, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the record for October 8, 2000 before week 13?
CREATE TABLE table_name_61 (record VARCHAR, week VARCHAR, date VARCHAR)
SELECT record FROM table_name_61 WHERE week < 13 AND date = "october 8, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 60, 7621, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1368, 21, 1797, 9478,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 471, 3, 2, 1179, 3430, 833, 3274, 96, 32, 75, 235, 1152, 9478, 2766, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who acquired tom norton?
CREATE TABLE table_name_1 (acquired VARCHAR, player VARCHAR)
SELECT acquired FROM table_name_1 WHERE player = "tom norton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 9, 75, 1169, 1271, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 7347, 12, 51, 150, 17330, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7347, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1959, 3274, 96, 235, 51, 150, 17330, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the score for set 2 when set 3 was 15 6?
CREATE TABLE table_name_61 ( set_2 VARCHAR, set_3 VARCHAR )
SELECT set_2 FROM table_name_61 WHERE set_3 = "15–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 356, 834, 357, 584, 4280, 28027, 6, 356, 834, 519, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 356, 204, 116, 356, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 356, 834, 357, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 356, 834, 519, 3274, 96, 1808, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the track in Holland?
CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR)
SELECT track FROM table_name_2 WHERE city = "holland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 11991, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1463, 16, 14066, 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, 1463, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 690, 3274, 96, 2831, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is the away captain for the matches dated 7,8,10,11 feb 1908?
CREATE TABLE table_44917 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text )
SELECT "Away captain" FROM table_44917 WHERE "Date" = '7,8,10,11 feb 1908'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3647, 2517, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 14268, 121, 1499, 6, 96, 188, 1343, 14268, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 14268, 121, 21680, 953, 834, 591, 3647, 2517, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 940, 6, 11864, 1714, 6, 2596, 3, 89, 15, 115, 957, 4018, 31, 1, -100, -100, -100, -100, -100, -100, -...
which is the smallest prison on the list ?
CREATE TABLE table_204_414 ( id number, "name" text, "armenian" text, "location" text, "# of prisoners designed for" number, "notes" text )
SELECT "name" FROM table_204_414 ORDER BY "# of prisoners designed for" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 2534, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 13451, 15710, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 4663, 13, 22040, 876, 21, 121, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 26363, 834, 591, 2534, 4674, 11300, 272, 476, 96, 4663, 13, 22040, 876, 21, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which opponent was present on April 14?
CREATE TABLE table_37086 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text )
SELECT "Opponent" FROM table_37086 WHERE "Date" = 'april 14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 3840, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 12106, 7, 121, 1499, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 22520, 3840, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 9, 2246, 40, 968, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Power HP (kW), when First Year is greater than 1965, when Distribution is 'International', when Engine is V6 Biturbo, and when Model is '425'?
CREATE TABLE table_78715 ( "Model" text, "First Year" real, "Distribution" text, "Engine" text, "Displacement cc" real, "Power hp (kW)" text )
SELECT "Power hp (kW)" FROM table_78715 WHERE "First Year" > '1965' AND "Distribution" = 'international' AND "Engine" = 'v6 biturbo' AND "Model" = '425'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 940, 1808, 41, 96, 24663, 121, 1499, 6, 96, 25171, 2929, 121, 490, 6, 96, 308, 159, 5135, 1575, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 23664, 11706, 297, 3, 75,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23553, 3, 107, 102, 41, 21729, 61, 121, 21680, 953, 834, 3940, 940, 1808, 549, 17444, 427, 96, 25171, 2929, 121, 2490, 3, 31, 2294, 4122, 31, 3430, 96, 308, 159, 5135, 1575, 121, 3274, 3, 31, 27817, 31, 3430, ...
For the film with director listed as 1998, what was the gross in Singapore?
CREATE TABLE table_40913 ( "Title" text, "Director" text, "Producer" text, "Production Cost" text, "Singapore Gross" text )
SELECT "Singapore Gross" FROM table_40913 WHERE "Director" = '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 4729, 519, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 4817, 49, 121, 1499, 6, 96, 3174, 8291, 6409, 121, 1499, 6, 96, 134, 53, 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, 134, 53, 9, 21642, 17969, 121, 21680, 953, 834, 2445, 4729, 519, 549, 17444, 427, 96, 23620, 127, 121, 3274, 3, 31, 2294, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10?
CREATE TABLE table_46938 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Rank" FROM table_46938 WHERE "Silver" < '6' AND "Bronze" > '4' AND "Total" = '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3951, 3747, 41, 96, 22557, 121, 1499, 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, 96, 22557, 121, 21680, 953, 834, 591, 3951, 3747, 549, 17444, 427, 96, 134, 173, 624, 121, 3, 2, 3, 31, 948, 31, 3430, 96, 22780, 29, 776, 121, 2490, 3, 31, 591, 31, 3430, 96, 3696, 1947, 121, 3274, 3, 31, 171...
What is the highest number listed under against when there were less than 3 wins and less than 15 losses?
CREATE TABLE table_name_20 ( against INTEGER, wins VARCHAR, losses VARCHAR )
SELECT MAX(against) FROM table_name_20 WHERE wins < 3 AND losses < 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 581, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 2616, 365, 581...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 9204, 3, 2, 220, 3430, 8467, 3, 2, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Scrapped/Sold has a Builder of derby, and a Name as rebuilt of ben madigan?
CREATE TABLE table_name_74 (scrapped_sold VARCHAR, builder VARCHAR, name_as_rebuilt VARCHAR)
SELECT scrapped_sold FROM table_name_74 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 7, 2935, 6811, 26, 834, 7, 1490, 584, 4280, 28027, 6, 918, 49, 584, 4280, 28027, 6, 564, 834, 9, 7, 834, 60, 16152, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7346, 3138, 834, 7, 1490, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 918, 49, 3274, 96, 588, 969, 121, 3430, 564, 834, 9, 7, 834, 60, 16152, 3274, 96, 115, 35, 11454, 12588, 121, 1, -100, -100, -100, -100,...
What is Score, when Away Team is "Newcastle Benfield"?
CREATE TABLE table_name_18 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_18 WHERE away_team = "newcastle benfield"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 7, 9022, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 71, 1343, 2271, 19, 96, 686...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 550, 834, 11650, 3274, 96, 5534, 5254, 109, 36, 29, 1846, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the preliminary average score when the evening gown score is 8.774 (6)?
CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR)
SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (6)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 2026, 4941, 77, 1208, 834, 28951, 584, 4280, 28027, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 17413, 1348...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17413, 834, 28951, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2272, 834, 122, 9197, 3274, 96, 927, 5, 4013, 591, 3, 18669, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is date of birth and admission type of subject name james sloan?
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.dob, demographic.admission_type FROM demographic WHERE demographic.name = "James Sloan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 32, 115, 6, 14798, 5, 9, 26, 5451, 834, 6137, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 9, 2687, 18043, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many gold medals were awarded to teams ranked higher than 19?
CREATE TABLE table_name_8 ( gold VARCHAR, rank INTEGER )
SELECT COUNT(gold) FROM table_name_8 WHERE rank > 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 2045, 584, 4280, 28027, 6, 11003, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2045, 9365, 7, 130, 5539, 12, 2323, 3, 8232, 1146, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14910, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 11003, 2490, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's Georgia5's first elected year?
CREATE TABLE table_18202 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Status" text, "Opponent" text )
SELECT MAX("First elected") FROM table_18202 WHERE "District" = 'Georgia5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 19818, 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, 134, 17, 144, 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, 25171, 8160, 8512, 21680, 953, 834, 2606, 19818, 549, 17444, 427, 96, 308, 23, 20066, 121, 3274, 3, 31, 517, 15, 1677, 23, 9, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which sport has a time over 49?
CREATE TABLE table_75225 ( "Sport" text, "Record" text, "Nation" text, "Date" text, "Time (sec.)" real )
SELECT "Sport" FROM table_75225 WHERE "Time (sec.)" > '49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 20489, 41, 96, 17682, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 13368, 41, 7549, 5, 61, 121, 490, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 17682, 121, 21680, 953, 834, 3072, 20489, 549, 17444, 427, 96, 13368, 41, 7549, 5, 61, 121, 2490, 3, 31, 3647, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose drug code is ris1l and lab test fluid is pleural?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "RIS1L" AND lab.fluid = "Pleural"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
Find the team names of the universities whose enrollments are smaller than the average enrollment size.
CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, school_id VARCHAR); CREATE TABLE university (enrollment INTEGER)
SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 6646, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 11650, 834, 4350, 584, 4280, 28027, 6, 496, 834, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 4416, 11650, 834, 4350, 21680, 3819, 6157, 3, 17, 536, 3, 15355, 3162, 8498, 834, 19515, 6157, 3, 17, 357, 9191, 3, 17, 5411, 6646, 834, 23, 26, 3274, 3, 17, 4416, 6646, 834, 23, 26, 549, 17444, 427, 1793...
What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year?
CREATE TABLE table_62023 ( "Year" real, "Average" text, "High" real, "Sellouts" real, "Total for year" real, "WNBA game average" real )
SELECT MAX("WNBA game average") FROM table_62023 WHERE "Average" = '9,290 (4th)' AND "Total for year" < '157,934'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26898, 2773, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 624, 545, 121, 1499, 6, 96, 21417, 121, 490, 6, 96, 134, 3820, 670, 7, 121, 490, 6, 96, 3696, 1947, 21, 215, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 21170, 4882, 467, 1348, 8512, 21680, 953, 834, 26898, 2773, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 1298, 6, 23838, 8457, 189, 61, 31, 3430, 96, 3696, 1947, 21, 215, 121, 3, 2, 3...
What the rank of the Virgin Islands athlete with react under 0.168?
CREATE TABLE table_name_44 ( rank VARCHAR, react VARCHAR, nationality VARCHAR )
SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = "virgin islands"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 11003, 584, 4280, 28027, 6, 8922, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 8, 11003, 13, 8, 16823, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 8922, 3, 2, 4097, 24274, 3430, 1157, 485, 3274, 96, 5771, 122, 77, 12098, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the country of Craig Stadler?
CREATE TABLE table_name_65 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_65 WHERE player = "craig stadler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 684, 13, 12870, 472, 9, 12807, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1959, 3274, 96, 2935, 23, 122, 3342, 12807, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
find id of the tv channels that from the countries where have more than two tv channels.
CREATE TABLE tv_channel (id VARCHAR, country VARCHAR)
SELECT id FROM tv_channel GROUP BY country HAVING COUNT(*) > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 17, 208, 834, 19778, 41, 23, 26, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 253, 3, 23, 26, 13, 8, 3, 17, 208, 6047, 24, 45, 8, 1440, 213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 23, 26, 21680, 3, 17, 208, 834, 19778, 350, 4630, 6880, 272, 476, 684, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Against has a Date of 30/05/1981?
CREATE TABLE table_name_63 ( against VARCHAR, date VARCHAR )
SELECT COUNT(against) FROM table_name_63 WHERE date = "30/05/1981"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 581, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 20749, 65, 3, 9, 7678, 13, 604, 31911, 2294, 4959, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 833, 3274, 96, 1458, 31911, 2294, 4959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is total number of the to par of player john mahaffey, who has a total less than 298?
CREATE TABLE table_name_9 ( to_par VARCHAR, player VARCHAR, total VARCHAR )
SELECT COUNT(to_par) FROM table_name_9 WHERE player = "john mahaffey" AND total < 298
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 792, 381, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1959, 3274, 96, 27341, 954, 1024, 7398, 63, 121, 3430, 792, 3, 2, 204, 3916, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Give me the title and highest price for each film by a pie chart.
CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text )
SELECT Title, MAX(T1.Price) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID GROUP BY Title
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10276, 41, 17544, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2384, 29, 53, 834, 1201, 16, 17, 6, 4000, 9, 6726, 16, 17, 6, 10450, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11029, 6, 4800, 4, 599, 382, 5411, 345, 4920, 61, 21680, 2023, 6157, 332, 536, 3, 15355, 3162, 814, 6157, 332, 357, 9191, 332, 5411, 371, 173, 51, 834, 4309, 3274, 332, 4416, 371, 173, 51, 834, 4309, 350, 4630, 68...
Which Position has a Round larger than 6, and a Player of neil pilon?
CREATE TABLE table_34403 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text )
SELECT "Position" FROM table_34403 WHERE "Round" > '6' AND "Player" = 'neil pilon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 2445, 519, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 3710, 2445, 519, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 948, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 29, 15, 173, 2816, 40, 106, 31, 1, -100, -100,...
When is sample 3763 collected?
CREATE TABLE sampledata15 ( sample_pk number, state text, year text, month text, day text, site text, commod text, source_id text, variety text, origin text, country text, disttype text, commtype text, claim text, quantity number, growst text, packst text, distst text ) CREATE TABLE resultsdata15 ( sample_pk number, commod text, commtype text, lab text, pestcode text, testclass text, concen number, lod number, conunit text, confmethod text, confmethod2 text, annotate text, quantitate text, mean text, extract text, determin text )
SELECT year, month, day FROM sampledata15 WHERE sample_pk = 3763
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3106, 6757, 1808, 41, 3106, 834, 102, 157, 381, 6, 538, 1499, 6, 215, 1499, 6, 847, 1499, 6, 239, 1499, 6, 353, 1499, 6, 3, 287, 7360, 1499, 6, 1391, 834, 23, 26, 1499, 6, 1196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 215, 6, 847, 6, 239, 21680, 3106, 6757, 1808, 549, 17444, 427, 3106, 834, 102, 157, 3274, 6862, 3891, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the match type in Budapest where the opponent was Luxembourg?
CREATE TABLE table_name_64 (match_type VARCHAR, location VARCHAR, opponenent VARCHAR)
SELECT match_type FROM table_name_64 WHERE location = "budapest" AND opponenent = "luxembourg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 19515, 834, 6137, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 3, 28236, 29, 35, 295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1588, 834, 6137, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 1128, 3274, 96, 11073, 9, 102, 222, 121, 3430, 3, 28236, 29, 35, 295, 3274, 96, 8387, 15, 51, 21054, 121, 1, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the job_id , and sort in asc by the bar.
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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 2...
Name the most game for record 4-0
CREATE TABLE table_22815259_1 ( game INTEGER, record VARCHAR )
SELECT MAX(game) FROM table_22815259_1 WHERE record = "4-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 26320, 3390, 834, 536, 41, 467, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 467, 21, 1368, 3, 26814, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 61, 21680, 953, 834, 357, 2577, 26320, 3390, 834, 536, 549, 17444, 427, 1368, 3274, 96, 26814, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Event is in chandigarh , india?
CREATE TABLE table_50034 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Event" FROM table_50034 WHERE "Location" = 'chandigarh , india'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2560, 3710, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121, 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, 427, 2169, 121, 21680, 953, 834, 2560, 3710, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 8694, 5572, 291, 107, 3, 6, 18222, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the location of the 200m backstroke?
CREATE TABLE table_4552 ( "Event" text, "Time" text, "Nationality" text, "Date" text, "Meet" text, "Location" text )
SELECT "Location" FROM table_4552 WHERE "Event" = '200m backstroke'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 5373, 41, 96, 427, 2169, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 329, 15, 15, 17, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 2128, 5373, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 3632, 51, 223, 24790, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country does Bobby Nichols play for?
CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_70 WHERE player = "bobby nichols"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 17529, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 405, 21395, 2504, 14297, 7, 577, 21, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1959, 3274, 96, 17396, 969, 3, 2532, 2831, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me a bar chart for how many name of each name
CREATE TABLE train ( Train_ID int, Train_Num text, Name text, From text, Arrival text, Railway_ID int ) CREATE TABLE manager ( Manager_ID int, Name text, Country text, Working_year_starts text, Age int, Level int ) CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, Wheels text, Location text, ObjectNumber text )
SELECT Name, COUNT(Name) FROM train GROUP BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 15059, 834, 567, 440, 1499, 6, 5570, 1499, 6, 1029, 1499, 6, 20559, 138, 1499, 6, 18025, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 2412, 350, 4630, 6880, 272, 476, 5570, 1, -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 largest crowd when South Melbourne was the away team?
CREATE TABLE table_name_89 ( crowd INTEGER, away_team VARCHAR )
SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 4374, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2015, 4374, 116, 1013, 9396, 47, 8, 550,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What type had a beginning term of December 8, 1980
CREATE TABLE table_1602620_1 ( type VARCHAR, term_began VARCHAR )
SELECT type FROM table_1602620_1 WHERE term_began = "December 8, 1980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 2688, 1755, 834, 536, 41, 686, 584, 4280, 28027, 6, 1657, 834, 346, 2565, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 141, 3, 9, 1849, 1657, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 19129, 2688, 1755, 834, 536, 549, 17444, 427, 1657, 834, 346, 2565, 3274, 96, 29835, 9478, 6694, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the club for when tries for is 32
CREATE TABLE table_21840 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Club" FROM table_21840 WHERE "Tries for" = '32'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 26311, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 518, 106, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 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, 254, 11158, 121, 21680, 953, 834, 2658, 26311, 549, 17444, 427, 96, 382, 2593, 21, 121, 3274, 3, 31, 2668, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the incumbent for 1954
CREATE TABLE table_699 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "Incumbent" FROM table_699 WHERE "First elected" = '1954'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3264, 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, 1499, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1570, 75, 5937, 295, 121, 21680, 953, 834, 948, 3264, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2294, 5062, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many times was the qualifying score 60.750?
CREATE TABLE table_17991 ( "Year" real, "Competition" text, "Location" text, "Event" text, "Final-Rank" text, "Final-Score" text, "Qualifying Rank" real, "Qualifying Score" text )
SELECT COUNT("Event") FROM table_17991 WHERE "Qualifying Score" = '60.750'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 4729, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 371, 10270, 18, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 427, 2169, 8512, 21680, 953, 834, 26593, 4729, 549, 17444, 427, 96, 5991, 138, 8587, 17763, 121, 3274, 3, 31, 3328, 5, 9979, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest interview of Texas, with an average larger than 9.531?
CREATE TABLE table_54687 ( "State" text, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real )
SELECT MIN("Interview") FROM table_54687 WHERE "State" = 'texas' AND "Average" > '9.531'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4448, 4225, 41, 96, 134, 4748, 121, 1499, 6, 96, 17555, 4576, 121, 490, 6, 96, 134, 210, 603, 7628, 121, 490, 6, 96, 427, 1926, 53, 350, 9197, 121, 490, 6, 96, 188...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 17555, 4576, 8512, 21680, 953, 834, 755, 4448, 4225, 549, 17444, 427, 96, 134, 4748, 121, 3274, 3, 31, 10354, 9, 7, 31, 3430, 96, 188, 624, 545, 121, 2490, 3, 31, 22321, 3341, 31, 1, -100, -1...
how many patients are diagnosed with bronchoscopy?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Other bronchoscopy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
the average silver medal count of the first five ranked nations ?
CREATE TABLE table_203_653 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT AVG("silver") FROM table_203_653 WHERE "rank" <= 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4122, 519, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 7, 173, 624, 8512, 21680, 953, 834, 23330, 834, 4122, 519, 549, 17444, 427, 96, 6254, 121, 3, 2, 2423, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which airline has the highest license #
CREATE TABLE table_203_58 ( id number, "airline" text, "airline (in russian)" text, "licence #" number, "icao" text, "iata" text, "domestic code" text, "callsign" text, "photo" text )
SELECT "airline" FROM table_203_58 ORDER BY "licence #" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3449, 41, 3, 23, 26, 381, 6, 96, 2256, 747, 121, 1499, 6, 96, 2256, 747, 41, 77, 3, 26165, 29, 61, 121, 1499, 6, 96, 2176, 1433, 1713, 121, 381, 6, 96, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2256, 747, 121, 21680, 953, 834, 23330, 834, 3449, 4674, 11300, 272, 476, 96, 2176, 1433, 1713, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
which country was the venue in the most number of times ?
CREATE TABLE table_203_384 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT "venue" FROM table_203_384 GROUP BY "venue" ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3747, 591, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 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, 15098, 121, 21680, 953, 834, 23330, 834, 3747, 591, 350, 4630, 6880, 272, 476, 96, 15098, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100...