NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Show me distance by name in a histogram, and order names from low to high order please.
CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) )
SELECT name, distance FROM aircraft ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 599, 8525, 632, 201, 5233, 3, 4331, 4059, 357, 599, 1755, 201, 3954, 3, 4331, 4059, 357, 599, 1755, 201, 2357, 381, 599, 11071, 632, 201, 12028, 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, 564, 6, 2357, 21680, 6442, 4674, 11300, 272, 476, 564, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many Drawn does the team Portuguesa Santista have?
CREATE TABLE table_15352382_1 ( drawn VARCHAR, team VARCHAR )
SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2469, 2773, 4613, 834, 536, 41, 6796, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 19183, 29, 405, 8, 372, 3625, 76, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6796, 21680, 953, 834, 1808, 2469, 2773, 4613, 834, 536, 549, 17444, 427, 372, 3274, 96, 14714, 76, 15991, 9, 1051, 17, 343, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which rank has canada as the country?
CREATE TABLE table_41386 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" text )
SELECT "Rank" FROM table_41386 WHERE "Country" = 'canada'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2368, 3840, 41, 96, 30931, 257, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 19543, 32, 14712, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 22557, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 22557, 121, 21680, 953, 834, 591, 2368, 3840, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 658, 18089, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2009 value in the 2011 Grand Slam Tournaments?
CREATE TABLE table_name_55 (Id VARCHAR)
SELECT 2009 FROM table_name_55 WHERE 2011 = "grand slam tournaments"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2464, 701, 16, 8, 2722, 2698, 29291, 20502, 7, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2464, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 2722, 3274, 96, 15448, 3, 7, 40, 265, 5892, 7, 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 event that happened in the most recent year?
CREATE TABLE stadium ( id number, name text, capacity number, city text, country text, opening_year number ) CREATE TABLE swimmer ( id number, name text, nationality text, meter_100 number, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, time text ) CREATE TABLE event ( id number, name text, stadium_id number, year text ) CREATE TABLE record ( id number, result text, swimmer_id number, event_id number )
SELECT name FROM event ORDER BY year DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 3, 23, 26, 381, 6, 564, 1499, 6, 2614, 381, 6, 690, 1499, 6, 684, 1499, 6, 2101, 834, 1201, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 605, 4674, 11300, 272, 476, 215, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the outcome of the tournament with partner ilie n stase?
CREATE TABLE table_9458 ( "Outcome" text, "Date" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Outcome" FROM table_9458 WHERE "Partner" = 'ilie năstase'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4240, 3449, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 490, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15767, 287, 15, 121, 21680, 953, 834, 4240, 3449, 549, 17444, 427, 96, 13725, 687, 121, 3274, 3, 31, 23, 1896, 3, 29, 98, 2427, 7, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
when did patient 025-28600 last have a microbiology test on their last hospital encounter?
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 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-28600' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 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, 2179, 9339, 5, 10547, 4914, 29, 715, 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,...
List the names of gymnasts in ascending order by their heights.
CREATE TABLE people ( Name VARCHAR, People_ID VARCHAR, Height VARCHAR ) CREATE TABLE gymnast ( Gymnast_ID VARCHAR )
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Height
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 5570, 584, 4280, 28027, 6, 2449, 834, 4309, 584, 4280, 28027, 6, 24231, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 23379, 17, 41, 31560, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 21680, 23379, 17, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 517, 63, 51, 29, 9, 7, 17, 834, 4309, 3274, 332, 4416, 24337, 834, 4309, 4674, 11300, 272, 476, 332, 4416, ...
What Competition has a Year smaller than 1983?
CREATE TABLE table_60132 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Time" text )
SELECT "Competition" FROM table_60132 WHERE "Year" < '1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 23757, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 427, 2169, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5890, 4995, 4749, 121, 21680, 953, 834, 3328, 23757, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Year for Supplier Kooga?
CREATE TABLE table_name_97 (year VARCHAR, supplier VARCHAR)
SELECT year FROM table_name_97 WHERE supplier = "kooga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 1201, 584, 4280, 28027, 6, 8106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2929, 21, 16406, 1793, 19914, 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, 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, 215, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 8106, 3274, 96, 157, 32, 19914, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What format was used for Mobil 1?
CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_21 WHERE catalog = "mobil 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 8995, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1910, 47, 261, 21, 1290, 3727, 209, 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, 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, 1910, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 10173, 3274, 96, 10651, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients whose insurance is medicare and admission year is less than 2154?
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 WHERE demographic.insurance = "Medicare" AND demographic.admityear < "2154"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 15789, 355, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658, 5062, 121, 1,...
Who were the co-drivers in 2008?
CREATE TABLE table_name_81 ( co_drivers VARCHAR, year VARCHAR )
SELECT co_drivers FROM table_name_81 WHERE year = 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 576, 834, 13739, 52, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 576, 18, 13739, 52, 7, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 576, 834, 13739, 52, 7, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 215, 3274, 2628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Release price (USD ) has a GPU frequency of 650–1150 mhz and a sSpec number of sr0pq(e1)?
CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)
SELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = "650–1150 mhz" AND sspec_number = "sr0pq(e1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 21019, 834, 102, 4920, 834, 834, 834, 302, 26, 834, 834, 584, 4280, 28027, 6, 3, 122, 4987, 834, 30989, 584, 4280, 28027, 6, 3, 7, 7576, 834, 5525, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1576, 834, 102, 4920, 834, 834, 834, 302, 26, 834, 834, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 3, 122, 4987, 834, 30989, 3274, 96, 15348, 104, 2596, 1752, 3, 51, 107, 172, 121, 3430, 3, 7, 7576, 834, ...
How many attended the game against the sharks with over 86 points?
CREATE TABLE table_53805 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real )
SELECT AVG("Attendance") FROM table_53805 WHERE "Points" > '86' AND "Opponent" = 'sharks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 2079, 755, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4867, 2079, 755, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 3840, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 7, 3272, 157, 7, 31, 1...
Which Model number has a Frequency of 2000mhz and a Voltage of 0.75-1.2?
CREATE TABLE table_name_57 (model_number VARCHAR, frequency VARCHAR, voltage VARCHAR)
SELECT model_number FROM table_name_57 WHERE frequency = "2000mhz" AND voltage = "0.75-1.2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 21770, 834, 5525, 1152, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 6, 10594, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5154, 381, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 825, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 7321, 3274, 96, 13527, 51, 107, 172, 121, 3430, 10594, 3274, 96, 22426, 755, 18, 10917, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name for the best of 1:45.361?
CREATE TABLE table_name_17 (name VARCHAR, best VARCHAR)
SELECT name FROM table_name_17 WHERE best = "1:45.361"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 4350, 584, 4280, 28027, 6, 200, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 21, 8, 200, 13, 209, 10, 591, 26627, 4241, 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, 564, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 200, 3274, 96, 536, 10, 591, 26627, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
left ventricular ejection fraction during pci of 40 % or less
CREATE TABLE table_test_10 ( "id" int, "left_ventricular_ejection_fraction_lvef" int, "systolic_blood_pressure_sbp" int, "immunosuppressive_disease" bool, "systolic_arterial_pressure_sap" int, "lymphomas" bool, "left_ventricular_dysfunction" bool, "tissue_hypoperfusion" bool, "heart_disease" bool, "renal_disease" bool, "positive_hiv" bool, "estimated_glomerular_filtration_rate_egfr" int, "cardiogenic_shock" bool, "pci" int, "heart_rate" int, "cancer" bool, "serum_creatinine" float, "hepatitis" bool, "cardiomyopathy" bool, "systemic_hypotension" bool, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_test_10 WHERE left_ventricular_ejection_fraction_lvef = 1 AND pci <= 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 1714, 41, 96, 23, 26, 121, 16, 17, 6, 96, 17068, 834, 31695, 834, 15, 21440, 834, 22513, 834, 40, 162, 89, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4377, 834, 1714, 549, 17444, 427, 646, 834, 31695, 834, 15, 21440, 834, 22513, 834, 40, 162, 89, 3274, 209, 3430, 3, 102, 75, 23, 3, 2, 2423, 1283, 1, -100, -100, -100, -100, -100, -100, -10...
What's the total number of all divisions during the 2006/07 season where they scored more than 1 goal?
CREATE TABLE table_name_54 (division VARCHAR, season VARCHAR, goals VARCHAR)
SELECT COUNT(division) FROM table_name_54 WHERE season = "2006/07" AND goals > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 26, 23, 6610, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 26, 23, 6610, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 774, 3274, 96, 21196, 87, 4560, 121, 3430, 1766, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average age for each dorm and what are the names of each dorm Plot them as bar chart, and list names from low to high order.
CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER )
SELECT dorm_name, AVG(T1.Age) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_name ORDER BY dorm_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6200, 51, 834, 9, 904, 485, 41, 183, 35, 23, 26, 3, 21342, 17966, 6, 183, 35, 485, 834, 4350, 584, 4280, 28027, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 103, 52, 51, 834, 4350, 6, 71, 17217, 599, 382, 5411, 188, 397, 61, 21680, 6341, 6157, 332, 536, 3, 15355, 3162, 3306, 7, 834, 77, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, 17, 76...
What is the Diameter of the Dog Sled (gold variant) Theme coin?
CREATE TABLE table_name_74 ( diameter VARCHAR, theme VARCHAR )
SELECT diameter FROM table_name_74 WHERE theme = "dog sled (gold variant)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 9260, 584, 4280, 28027, 6, 3800, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5267, 4401, 13, 8, 6751, 180, 1361, 41, 14910, 682...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9260, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 3800, 3274, 96, 10169, 3, 7, 1361, 41, 14910, 6826, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the goals for mauricio pochettino
CREATE TABLE table_26958 ( "Name" text, "Position" text, "Period" text, "Appearances\u00b9" real, "Goals\u00b9" real, "Nationality\u00b2" text )
SELECT "Goals\u00b9" FROM table_26958 WHERE "Name" = 'Mauricio Pochettino'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3951, 3449, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 12988, 23, 32, 26, 121, 1499, 6, 96, 9648, 2741, 663, 7, 2, 76, 1206, 115, 1298, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6221, 5405, 2, 76, 1206, 115, 1298, 121, 21680, 953, 834, 357, 3951, 3449, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 19059, 1294, 32, 1908, 524, 10652, 29, 32, 31, 1, -100, -100, -100, -100, -100, -100, -1...
What was the record when Canty (5) was the high assists?
CREATE TABLE table_17118657_7 ( record VARCHAR, high_assists VARCHAR )
SELECT record FROM table_17118657_7 WHERE high_assists = "Canty (5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2596, 3840, 3436, 834, 940, 41, 1368, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 2517, 2596, 3840, 3436, 834, 940, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 254, 288, 63, 3, 15757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose diagnoses short title is hypopotassemia and drug route is both eyes?
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hypopotassemia" AND prescriptions.route = "BOTH EYES"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What date sent has cygnus as a constellation, and hd 190360 as a designation HD?
CREATE TABLE table_name_65 ( date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR )
SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 833, 834, 5277, 584, 4280, 28027, 6, 30872, 584, 4280, 28027, 6, 21767, 834, 107, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 5277, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 30872, 3274, 96, 75, 63, 122, 29, 302, 121, 3430, 21767, 834, 107, 26, 3274, 96, 107, 26, 3, 11776, 19208, 121, 1, -100, -100, -100, -100, -100, -...
How many movie reviews does each director get Show bar chart, sort y-axis in desc order please.
CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text )
SELECT director, COUNT(*) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID GROUP BY T1.director ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 52, 4309, 16, 17, 6, 3, 51, 4309, 16, 17, 6, 4811, 16, 17, 6, 5773, 308, 342, 833, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 3, 51, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2090, 6, 2847, 17161, 599, 1935, 61, 21680, 10743, 6157, 332, 536, 3, 15355, 3162, 21662, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 350, 4630, 6880, 272, 476, 332, 5411, 25982, 4674, 11300,...
What is the attendance with a 45 tie no.?
CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_73 WHERE tie_no = "45"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 15116, 663, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11364, 28, 3, 9, 3479, 6177, 150, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 2128, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose gender is m and procedure long title is open and other replacement of aortic valve with tissue graft?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft"
[ 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,...
What date did Adriano Buzaid have the pole position?
CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR)
SELECT date FROM table_21373283_3 WHERE pole_position = "Adriano Buzaid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4118, 2668, 4591, 834, 519, 41, 5522, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 12399, 32, 4708, 172, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2658, 4118, 2668, 4591, 834, 519, 549, 17444, 427, 11148, 834, 4718, 3274, 96, 188, 26, 5288, 32, 4708, 172, 6146, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What day were the results 3:2?
CREATE TABLE table_name_54 ( date VARCHAR, results¹ VARCHAR )
SELECT date FROM table_name_54 WHERE results¹ = "3:2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 833, 584, 4280, 28027, 6, 772, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 239, 130, 8, 772, 220, 10, 357, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 772, 536, 3274, 96, 519, 10, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Song has a Draw smaller than 7, and Points larger than 41, and a Language of german?
CREATE TABLE table_name_20 (song VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR)
SELECT song FROM table_name_20 WHERE draw < 7 AND points > 41 AND language = "german"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 7, 2444, 584, 4280, 28027, 6, 1612, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11263...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2324, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 3314, 3, 2, 489, 3430, 979, 2490, 8798, 3430, 1612, 3274, 96, 1304, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the away team at the game played at Lake Oval?
CREATE TABLE table_name_67 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_67 WHERE venue = "lake oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 44, 8, 467, 1944, 44, 2154, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 5669, 3274, 96, 16948, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the engine for the bmw motorsport entrant with 123 points before 2004?
CREATE TABLE table_name_57 (engine VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 20165, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 215, 3, 2, 4406, 3430, 3, 295, 3569, 3274, 96, 29471, 2340, 6661, 121, 3430, 979, 3274, 3, 14574, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of gold medals for Lithuania (ltu), when the total is more than 1?
CREATE TABLE table_name_57 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_57 WHERE nation = "lithuania (ltu)" AND total > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 14910, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 2045, 9365, 7, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14910, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 2982, 3274, 96, 18800, 76, 11219, 41, 40, 17, 76, 61, 121, 3430, 792, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me the long title of diagnoses for diagnoses icd9 code v5883.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 )
SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "V5883"
[ 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, 18730, 7, 5, 2961, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 447, 26, 1298, 834, 4978, 3274, 96, 553, 3449, 4591, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many data points for chrstians are 39.7?
CREATE TABLE table_14598_5 (composition VARCHAR, christians VARCHAR)
SELECT COUNT(composition) FROM table_14598_5 WHERE christians = "39.7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20987, 3916, 834, 755, 41, 287, 4718, 584, 4280, 28027, 6, 3, 15294, 7137, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 331, 979, 21, 3, 524, 52, 7, 12572...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 287, 4718, 61, 21680, 953, 834, 20987, 3916, 834, 755, 549, 17444, 427, 3, 15294, 7137, 3274, 96, 3288, 5, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest Score when the Country is canada?
CREATE TABLE table_name_77 (score INTEGER, country VARCHAR)
SELECT MIN(score) FROM table_name_77 WHERE country = "canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 7, 9022, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 17763, 116, 8, 6993, 19, 19343, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 684, 3274, 96, 658, 18089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
when did the club Citizen achieve its last top division title?
CREATE TABLE table_1908877_2 (last_top_division_title VARCHAR, club VARCHAR)
SELECT last_top_division_title FROM table_1908877_2 WHERE club = "Citizen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 4060, 4013, 834, 357, 41, 5064, 834, 2916, 834, 26, 23, 6610, 834, 21869, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 116, 410, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 336, 834, 2916, 834, 26, 23, 6610, 834, 21869, 21680, 953, 834, 11776, 4060, 4013, 834, 357, 549, 17444, 427, 1886, 3274, 96, 254, 155, 23, 1847, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score of Wally Armstrong?
CREATE TABLE table_name_49 ( score VARCHAR, player VARCHAR )
SELECT score FROM table_name_49 WHERE player = "wally armstrong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2604, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 3556, 63, 26044, 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, 2604, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1959, 3274, 96, 210, 1427, 2939, 25866, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is minimum age of patients whose gender is f and primary disease is chest pain?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "CHEST PAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 8360, 6038, 276, 13570, 121, 1, -100, -100, -100, -100, -10...
Manager of spencer abbott, and a Year of 1919 involves what playoffs?
CREATE TABLE table_name_78 (playoffs VARCHAR, manager VARCHAR, year VARCHAR)
SELECT playoffs FROM table_name_78 WHERE manager = "spencer abbott" AND year = 1919
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 4895, 1647, 7, 584, 4280, 28027, 6, 2743, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3440, 13, 3, 7, 3208, 2110, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15289, 7, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 2743, 3274, 96, 7, 3208, 2110, 703, 4045, 17, 121, 3430, 215, 3274, 27521, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart showing the number of members in each country.
CREATE TABLE round ( Round_ID int, Member_ID int, Decoration_Theme text, Rank_in_Round int ) CREATE TABLE college ( College_ID int, Name text, Leader_Name text, College_Location text ) CREATE TABLE member ( Member_ID int, Name text, Country text, College_ID int )
SELECT Country, COUNT(Country) FROM member GROUP BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1751, 41, 9609, 834, 4309, 16, 17, 6, 8541, 834, 4309, 16, 17, 6, 23367, 834, 634, 526, 1499, 6, 3, 22557, 834, 77, 834, 448, 32, 1106, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 10628, 651, 61, 21680, 1144, 350, 4630, 6880, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the name of singers whose birth year is either 1948 or 1949?
CREATE TABLE singer (Name VARCHAR, Birth_Year VARCHAR)
SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7634, 41, 23954, 584, 4280, 28027, 6, 26337, 834, 476, 2741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 564, 13, 7634, 7, 3, 2544, 3879, 215, 19, 893, 21474, 42, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5570, 21680, 7634, 549, 17444, 427, 26337, 834, 476, 2741, 3274, 21474, 4674, 26337, 834, 476, 2741, 3274, 24319, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the points number when 20 shows for played, and lost is 0?
CREATE TABLE table_name_19 (points_for VARCHAR, played VARCHAR, lost VARCHAR)
SELECT points_for FROM table_name_19 WHERE played = "20" AND lost = "0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 2700, 7, 834, 1161, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 979, 381, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 1161, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1944, 3274, 96, 1755, 121, 3430, 1513, 3274, 96, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357?
CREATE TABLE table_name_75 ( games INTEGER, team VARCHAR, points VARCHAR )
SELECT MAX(games) FROM table_name_75 WHERE team = "ciudad de la laguna" AND points > 357
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 1031, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1592, 222, 5880, 6, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 372, 3274, 96, 8469, 14677, 20, 50, 50, 8765, 9, 121, 3430, 979, 2490, 220, 3436, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
WHAT HINDI HAS Kannada of shukravara?
CREATE TABLE table_name_54 ( hindi VARCHAR, kannada VARCHAR )
SELECT hindi FROM table_name_54 WHERE kannada = "shukravara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 3, 107, 8482, 584, 4280, 28027, 6, 675, 9, 26, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 454, 13885, 196, 454, 3291, 4540, 1808...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 107, 8482, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 675, 9, 26, 9, 3274, 96, 14279, 9669, 4331, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What player is number 6?
CREATE TABLE table_17891 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text )
SELECT "Player" FROM table_17891 WHERE "No" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27640, 4729, 41, 96, 4168, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 27640, 4729, 549, 17444, 427, 96, 4168, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Home Team, when Date is 18 February 1956, and when Away Team is Blackburn Rovers?
CREATE TABLE table_9450 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_9450 WHERE "Date" = '18 february 1956' AND "Away team" = 'blackburn rovers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4240, 1752, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121, 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, 19040, 372, 121, 21680, 953, 834, 4240, 1752, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2606, 29976, 76, 1208, 22951, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 19699, 7223, 3, 8843, 277, 31, 1, ...
What round was matt roth drafted?
CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_82 WHERE player = "matt roth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 7775, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 47, 6928, 17, 3, 2719, 107, 3, 23505, 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, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1959, 3274, 96, 3357, 17, 3, 2719, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Petersville's census ranking?
CREATE TABLE table_171356_2 ( census_ranking VARCHAR, official_name VARCHAR )
SELECT census_ranking FROM table_171356_2 WHERE official_name = "Petersville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2368, 4834, 834, 357, 41, 23087, 834, 6254, 53, 584, 4280, 28027, 6, 2314, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2737, 9727, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23087, 834, 6254, 53, 21680, 953, 834, 2517, 2368, 4834, 834, 357, 549, 17444, 427, 2314, 834, 4350, 3274, 96, 345, 15, 449, 9727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many years were there albums by heat wave?
CREATE TABLE table_name_84 (year INTEGER, from_album VARCHAR)
SELECT SUM(year) FROM table_name_84 WHERE from_album = "heat wave"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1201, 3, 21342, 17966, 6, 45, 834, 23703, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 130, 132, 14234, 57, 1678, 6772, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 45, 834, 23703, 3274, 96, 88, 144, 6772, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What player is pick #2?
CREATE TABLE table_10960039_1 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_10960039_1 WHERE pick__number = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 6007, 3288, 834, 536, 41, 20846, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 19, 1432, 15493, 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, 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, 1959, 21680, 953, 834, 17304, 6007, 3288, 834, 536, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of each aircraft and how many flights does each one complete?
CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE aircraft ( aid number, name text, distance number ) CREATE TABLE certificate ( eid number, aid number )
SELECT T2.name, COUNT(*) FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 6, 5233, 1499, 6, 3954, 1499, 6, 2357, 381, 6, 12028, 834, 5522, 97, 6, 6870, 834, 5522, 97, 6, 594, 381, 6, 3052, 381, 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, 332, 4416, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 3777, 6157, 332, 536, 3, 15355, 3162, 6442, 6157, 332, 357, 9191, 332, 5411, 6146, 3274, 332, 4416, 6146, 350, 4630, 6880, 272, 476, 332, 5411, 6146, 1, -100, -...
What is Ma ana es para siempre of impreuna pentru totdeauna from Monday to Friday?
CREATE TABLE table_65689 ( "Mexico" text, "Ma\u00f1ana es para siempre" text, "El Canal de las Estrellas" text, "October 20, 2008" text, "June 14, 2009" text, "Monday to Friday" text )
SELECT "Monday to Friday" FROM table_65689 WHERE "Ma\u00f1ana es para siempre" = 'impreuna pentru totdeauna'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 948, 3914, 41, 96, 329, 994, 5807, 121, 1499, 6, 96, 329, 9, 2, 76, 1206, 89, 536, 152, 9, 3, 15, 7, 3856, 108, 25569, 121, 1499, 6, 96, 10991, 18565, 20, 50, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9168, 1135, 12, 1701, 121, 21680, 953, 834, 4122, 948, 3914, 549, 17444, 427, 96, 329, 9, 2, 76, 1206, 89, 536, 152, 9, 3, 15, 7, 3856, 108, 25569, 121, 3274, 3, 31, 603, 2026, 202, 9, 191, 3, 16963, 31, ...
Name the date for attendance more than 20,268
CREATE TABLE table_name_47 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_47 WHERE attendance > 20 OFFSET 268
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 5522, 584, 4280, 28027, 6, 11364, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 11364, 72, 145, 16047, 357, 3651, 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, 833, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 11364, 2490, 460, 3, 15316, 20788, 204, 3651, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of the members and branches at which they are registered sorted by year of registration?
CREATE TABLE member ( member_id number, card_number text, name text, hometown text, level number ) CREATE TABLE membership_register_branch ( member_id number, branch_id text, register_year text ) CREATE TABLE branch ( branch_id number, name text, open_year text, address_road text, city text, membership_amount text ) CREATE TABLE purchase ( member_id number, branch_id text, year text, total_pounds number )
SELECT T3.name, T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id ORDER BY T1.register_year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 1144, 834, 23, 26, 381, 6, 895, 834, 5525, 1152, 1499, 6, 564, 1499, 6, 22295, 1499, 6, 593, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 4350, 6, 332, 4416, 4350, 21680, 4757, 834, 22149, 834, 1939, 5457, 6157, 332, 536, 3, 15355, 3162, 6421, 6157, 332, 357, 9191, 332, 5411, 1939, 5457, 834, 23, 26, 3274, 332, 4416, 1939, 5457, 834, 23, 26...
Find Name and Height , and visualize them by a bar chart, I want to sort bars in asc order.
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real )
SELECT Name, Height FROM people ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 41, 25833, 17, 15, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 14457, 834, 23799, 1499, 6, 7678, 1499, 6, 4224, 834, 2206, 490, 6, 9151, 834, 2206, 490, 6, 4495, 2748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24231, 21680, 151, 4674, 11300, 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, -100, -100, -100, -100, -10...
Name the recorded for translation of sleep my love, good night
CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR)
SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 60, 7621, 15, 26, 584, 4280, 28027, 6, 7314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4381, 21, 7314, 13, 2085, 82, 333, 6, 207, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4381, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 7314, 3274, 96, 7, 109, 15, 102, 82, 333, 6, 207, 706, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
The final score was 24-34 on what date?
CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_18 WHERE final_score = "24-34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 5522, 584, 4280, 28027, 6, 804, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 37, 804, 2604, 47, 12371, 3710, 30, 125, 833, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 804, 834, 7, 9022, 3274, 96, 2266, 3486, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
state the opponent on halliwell jones stadium in super league xiv
CREATE TABLE table_21256068_3 (opponent VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT opponent FROM table_21256068_3 WHERE venue = "Halliwell Jones Stadium" AND competition = "Super League XIV"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 10124, 3328, 3651, 834, 519, 41, 32, 102, 9977, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 538, 8, 15264,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 357, 10124, 3328, 3651, 834, 519, 549, 17444, 427, 5669, 3274, 96, 566, 1748, 23, 2091, 6193, 12750, 121, 3430, 2259, 3274, 96, 23290, 3815, 3, 4, 7589, 121, 1, -100, -100, -100, -100, -100, ...
What is the average area in New York that is larger than 55 sq mi?
CREATE TABLE table_name_21 (area__km_2__ INTEGER, area__sq_mi_ VARCHAR, location VARCHAR)
SELECT AVG(area__km_2__) FROM table_name_21 WHERE area__sq_mi_ > 55 AND location = "new york"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 498, 834, 834, 5848, 834, 357, 834, 834, 3, 21342, 17966, 6, 616, 834, 834, 7, 1824, 834, 51, 23, 834, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 498, 834, 834, 5848, 834, 357, 834, 834, 61, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 616, 834, 834, 7, 1824, 834, 51, 23, 834, 2490, 6897, 3430, 1128, 3274, 96, 5534, 25453, 121, 1, -100...
how many patients have anemia in chronic kidney disease as their diagnosis long title?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Anemia in chronic kidney disease"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
what is the least enrollment when founded after 1809 and the institution is university of michigan?
CREATE TABLE table_name_60 ( enrollment INTEGER, founded VARCHAR, institution VARCHAR )
SELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = "university of michigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 17938, 3, 21342, 17966, 6, 5710, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 709, 17938, 116, 5710, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 35, 4046, 297, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 5710, 2490, 507, 4198, 3430, 6568, 3274, 96, 7846, 485, 13, 2278, 12588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the MDR number of Rait Charhi Dharamshala?
CREATE TABLE table_26036389_1 (mdr_no INTEGER, name_of_road VARCHAR)
SELECT MIN(mdr_no) FROM table_26036389_1 WHERE name_of_road = "Rait Charhi Dharamshala"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 3420, 519, 3914, 834, 536, 41, 51, 26, 52, 834, 29, 32, 3, 21342, 17966, 6, 564, 834, 858, 834, 8635, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 51, 26, 52, 834, 29, 32, 61, 21680, 953, 834, 18365, 3420, 519, 3914, 834, 536, 549, 17444, 427, 564, 834, 858, 834, 8635, 3274, 96, 448, 9, 155, 4004, 16611, 309, 14888, 51, 7, 3828, 9, 121, 1, ...
Who directed episode 266 in the series?
CREATE TABLE table_2221484_2 (directed_by VARCHAR, series__number VARCHAR)
SELECT directed_by FROM table_2221484_2 WHERE series__number = 266
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 2534, 4608, 834, 357, 41, 22955, 834, 969, 584, 4280, 28027, 6, 939, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 5640, 204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 26144, 2534, 4608, 834, 357, 549, 17444, 427, 939, 834, 834, 5525, 1152, 3274, 204, 3539, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is average salary of the players in the team named 'Boston Red Stockings' ?
CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT AVG(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 9090, 41, 7, 138, 1208, 3, 21342, 17966, 6, 372, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 11650, 834, 23, 26, 834, 115, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 382, 5411, 7, 138, 1208, 61, 21680, 9090, 6157, 332, 536, 3, 15355, 3162, 372, 6157, 332, 357, 9191, 332, 5411, 11650, 834, 23, 26, 3274, 332, 4416, 11650, 834, 23, 26, 834, 115, 52, 549, 17444, 42...
Name the races for final placing being 5th
CREATE TABLE table_29649 ( "Season" real, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Podiums" real, "F/Laps" real, "Points" real, "Final Placing" text )
SELECT "Races" FROM table_29649 WHERE "Final Placing" = '5th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4314, 3647, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 8931, 15, 7, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 9, 2319, 121, 21680, 953, 834, 357, 4314, 3647, 549, 17444, 427, 96, 371, 10270, 8422, 75, 53, 121, 3274, 3, 31, 755, 189, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the money for the to par of -6
CREATE TABLE table_name_49 ( money___£__ VARCHAR, to_par VARCHAR )
SELECT money___£__ FROM table_name_49 WHERE to_par = "-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 540, 834, 834, 834, 19853, 834, 834, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 540, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 834, 834, 19853, 834, 834, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 12, 834, 1893, 3274, 96, 5783, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the smallest number of gold of a country of rank 6, with 2 bronzes?
CREATE TABLE table_name_71 ( gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR )
SELECT MIN(gold) FROM table_name_71 WHERE bronze = 2 AND rank = 6 AND total > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 2045, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 13467, 3274, 204, 3430, 11003, 3274, 431, 3430, 792, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the home team of the game with manu ginóbili (34) as the leading scorer?
CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)
SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 5515, 584, 4280, 28027, 6, 1374, 834, 7, 5715, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 13, 8, 467, 28, 388, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1374, 834, 7, 5715, 49, 3274, 96, 348, 76, 3, 122, 77, 4922, 3727, 23, 6918, 7256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result in the virginia 11 district?
CREATE TABLE table_2668393_18 ( result VARCHAR, district VARCHAR )
SELECT result FROM table_2668393_18 WHERE district = "Virginia 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 3288, 519, 834, 2606, 41, 741, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 16, 8, 24556, 23, 9, 850, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 2688, 3651, 3288, 519, 834, 2606, 549, 17444, 427, 3939, 3274, 96, 21031, 122, 77, 23, 9, 850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Completions has Attempts of 1,271?
CREATE TABLE table_6376 ( "Year" text, "Team" text, "Attempts" text, "Completions" text, "Completion %" text, "Yards" text )
SELECT "Completions" FROM table_6376 WHERE "Attempts" = '1,271'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3959, 41, 96, 476, 2741, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 31108, 7, 121, 1499, 6, 96, 5890, 4788, 10872, 121, 1499, 6, 96, 5890, 4788, 1575, 3, 1454, 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, 5890, 4788, 10872, 121, 21680, 953, 834, 3891, 3959, 549, 17444, 427, 96, 31108, 7, 121, 3274, 3, 31, 4347, 2555, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which city of license has an independent network affiliation, a variety format and is station KKUP?
CREATE TABLE table_68565 ( "Station" text, "Frequency" real, "Network Affiliation" text, "Format" text, "City of License" text, "Status" text )
SELECT "City of License" FROM table_68565 WHERE "Network Affiliation" = 'independent' AND "Format" = 'variety' AND "Station" = 'kkup'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 755, 4122, 41, 96, 134, 6821, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 490, 6, 96, 9688, 1981, 71, 89, 8027, 23, 257, 121, 1499, 6, 96, 3809, 3357, 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, 485, 13, 16452, 121, 21680, 953, 834, 3651, 755, 4122, 549, 17444, 427, 96, 9688, 1981, 71, 89, 8027, 23, 257, 121, 3274, 3, 31, 77, 17631, 31, 3430, 96, 3809, 3357, 121, 3274, 3, 31, 4331, 27115, 31, 3...
which Score has a Competition of match reports?
CREATE TABLE table_name_81 ( score VARCHAR, competition VARCHAR )
SELECT score FROM table_name_81 WHERE competition = "match reports"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2604, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 84, 17763, 65, 3, 9, 15571, 13, 1588, 2279, 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, 2604, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 2259, 3274, 96, 19515, 2279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?
CREATE TABLE table_name_32 ( time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR )
SELECT time_retired FROM table_name_32 WHERE grid > 11 AND laps > 41 AND driver = "nick heidfeld"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 8634, 2490, 850, 3430, 14941, 7, 2490, 8798, 3430, 2535, 3274, 96, 11191, 3, 88, 23, 26, 5003, 121, 1, -100, -100, -100, -100, -100, -100, -10...
Return a bar chart about the distribution of meter_200 and the sum of meter_100 , and group by attribute meter_200, order bar from high to low order.
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int )
SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200 ORDER BY meter_200 DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699, 16, 17, 6, 564, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 4401, 834, 3632, 6, 180, 6122, 599, 4401, 834, 2915, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 3, 4401, 834, 3632, 4674, 11300, 272, 476, 3, 4401, 834, 3632, 309, 25067, 1, -100, -100, -100, -100, -100, -100, ...
What is the title of the episode directed by Charles Beeson?
CREATE TABLE table_24649082_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_24649082_1 WHERE directed_by = "Charles Beeson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4389, 2394, 4613, 834, 536, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 6640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 2266, 4389, 2394, 4613, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 18947, 965, 10024, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What locomotive built after 1895 has the highest SLM number?
CREATE TABLE table_name_26 ( SLM INTEGER, built INTEGER )
SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 180, 11160, 3, 21342, 17966, 6, 1192, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31301, 1192, 227, 507, 3301, 65, 8, 2030, 180, 11160, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 134, 11160, 61, 6157, 381, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1192, 2490, 507, 3301, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the category descriptions of the products whose descriptions include letter 't'.
CREATE TABLE ref_product_categories (product_category_description VARCHAR, product_category_code VARCHAR); CREATE TABLE products (product_category_code VARCHAR, product_description VARCHAR)
SELECT T1.product_category_description FROM ref_product_categories AS T1 JOIN products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 15892, 834, 8367, 839, 2593, 41, 15892, 834, 8367, 839, 651, 834, 221, 11830, 584, 4280, 28027, 6, 556, 834, 8367, 839, 651, 834, 4978, 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, 332, 5411, 15892, 834, 8367, 839, 651, 834, 221, 11830, 21680, 6273, 834, 15892, 834, 8367, 839, 2593, 6157, 332, 536, 3, 15355, 3162, 494, 6157, 332, 357, 9191, 332, 5411, 15892, 834, 8367, 839, 651, 834, 4978, 3274,...
Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283?
CREATE TABLE table_name_18 ( country VARCHAR, to_par VARCHAR, money___$__ VARCHAR, score VARCHAR )
SELECT country FROM table_name_18 WHERE to_par < 6 AND money___$__ > 700 AND score = 69 - 73 - 70 - 71 = 283
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 684, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 12, 834, 1893, 3, 2, 431, 3430, 540, 834, 834, 834, 3229, 834, 834, 2490, 12283, 3430, 2604, 3274, 3, 3951, 3, 18, 3, 4552, 3, 18, 2861, 3, 18, 3, 4450, ...
Which Extra points 1 point is the lowest one that has a Player of walter shaw?
CREATE TABLE table_name_95 ( extra_points_1_point INTEGER, player VARCHAR )
SELECT MIN(extra_points_1_point) FROM table_name_95 WHERE player = "walter shaw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 996, 834, 2700, 7, 834, 536, 834, 2700, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 8505, 979, 209, 500, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 25666, 834, 2700, 7, 834, 536, 834, 2700, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 1959, 3274, 96, 210, 8818, 3, 15622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which team scored 10.11 (71) at home?
CREATE TABLE table_10103 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_10103 WHERE "Home team score" = '10.11 (71)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 17864, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 1714, 17864, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 22567, 536, 13649, 6982, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What current club has a Height of 1.96?
CREATE TABLE table_name_50 ( current_club VARCHAR, height VARCHAR )
SELECT current_club FROM table_name_50 WHERE height = 1.96
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 750, 834, 13442, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 750, 1886, 65, 3, 9, 24231, 13, 1300, 4314, 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, 750, 834, 13442, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3902, 3274, 1300, 4314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number of the dail with 61 seats?
CREATE TABLE table_name_55 (dáil VARCHAR, seats VARCHAR)
SELECT dáil FROM table_name_55 WHERE seats = 61
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 26, 2975, 173, 584, 4280, 28027, 6, 6116, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 8, 836, 173, 28, 3, 4241, 6116, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 2975, 173, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 6116, 3274, 3, 4241, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total of Pick with a Position of n/a and Greg Wendt as Player with a Round less than 6?
CREATE TABLE table_name_61 ( pick INTEGER, round VARCHAR, position VARCHAR, player VARCHAR )
SELECT SUM(pick) FROM table_name_61 WHERE position = "n/a" AND player = "greg wendt" AND round < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1432, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 17967, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 1102, 3274, 96, 29, 87, 9, 121, 3430, 1959, 3274, 96, 18301, 62, 727, 17, 121, 3430, 1751, 3, 2, 431, 1, -100, -100, -100, -100, -100, ...
How many years had budgets of $39 million?
CREATE TABLE table_name_42 ( year INTEGER, budget VARCHAR )
SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 215, 3, 21342, 17966, 6, 1487, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 141, 1487, 7, 13, 1514, 3288, 770, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1487, 3274, 96, 3229, 3288, 770, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose age is less than 55 and procedure short title is aortocor bypas-1 cor art?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "55" AND procedures.short_title = "Aortocor bypas-1 cor art"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What Local/Networked has a Show Name of nightline?
CREATE TABLE table_name_99 (local_networked VARCHAR, show_name VARCHAR)
SELECT local_networked FROM table_name_99 WHERE show_name = "nightline"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 16882, 834, 1582, 1981, 15, 26, 584, 4280, 28027, 6, 504, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4593, 87, 9688, 1981, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 415, 834, 1582, 1981, 15, 26, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 504, 834, 4350, 3274, 96, 7602, 747, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent at the game with a score of 111-106?
CREATE TABLE table_name_78 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_78 WHERE score = "111-106"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 32, 102, 9977, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 44, 8, 467, 28, 3, 9, 2604, 13, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 2604, 3274, 96, 15866, 18, 16431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many weeks did a game happen on September 17, 2000?
CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_57 WHERE date = "september 17, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 8041, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1274, 410, 3, 9, 467, 1837, 30, 1600, 12864, 2766, 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, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 12864, 2766, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the employee ids for all employees with role name 'Human Resource' or 'Manager'.
CREATE TABLE ref_document_types ( document_type_code text, document_type_name text, document_type_description text ) CREATE TABLE roles ( role_code text, role_name text, role_description text ) CREATE TABLE all_documents ( document_id number, date_stored time, document_type_code text, document_name text, document_description text, other_details text ) CREATE TABLE ref_locations ( location_code text, location_name text, location_description text ) CREATE TABLE employees ( employee_id number, role_code text, employee_name text, gender_mfu text, date_of_birth time, other_details text ) CREATE TABLE documents_to_be_destroyed ( document_id number, destruction_authorised_by_employee_id number, destroyed_by_employee_id number, planned_destruction_date time, actual_destruction_date time, other_details text ) CREATE TABLE ref_calendar ( calendar_date time, day_number number ) CREATE TABLE document_locations ( document_id number, location_code text, date_in_location_from time, date_in_locaton_to time )
SELECT T1.employee_id FROM employees AS T1 JOIN roles AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 28244, 834, 6137, 7, 41, 1708, 834, 6137, 834, 4978, 1499, 6, 1708, 834, 6137, 834, 4350, 1499, 6, 1708, 834, 6137, 834, 221, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 15, 51, 7379, 63, 15, 15, 834, 23, 26, 21680, 1652, 6157, 332, 536, 3, 15355, 3162, 6270, 6157, 332, 357, 9191, 332, 5411, 3491, 15, 834, 4978, 3274, 332, 4416, 3491, 15, 834, 4978, 549, 17444, 427, 332...
What was the HT for the game at Stadio Luigi Ferraris?
CREATE TABLE table_71076 ( "DATE" text, "SCORE" text, "H.T." text, "VENUE" text, "COMPETITION" text )
SELECT "H.T." FROM table_71076 WHERE "VENUE" = 'stadio luigi ferraris'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1714, 3959, 41, 96, 308, 6048, 121, 1499, 6, 96, 11151, 4386, 121, 1499, 6, 96, 566, 5, 382, 535, 1499, 6, 96, 553, 5332, 5078, 121, 1499, 6, 96, 6657, 5668, 5494, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 566, 5, 382, 535, 21680, 953, 834, 940, 1714, 3959, 549, 17444, 427, 96, 553, 5332, 5078, 121, 3274, 3, 31, 2427, 26, 23, 32, 759, 122, 23, 25007, 1665, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Which bike had a grid less than 35 and time at 37:58.607?
CREATE TABLE table_name_13 (bike VARCHAR, grid VARCHAR, time VARCHAR)
SELECT bike FROM table_name_13 WHERE grid < 35 AND time = "37:58.607"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 15214, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3724, 141, 3, 9, 8634, 705, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3724, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 8634, 3, 2, 3097, 3430, 97, 3274, 96, 4118, 10, 3449, 5, 3328, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find meter_200 and the average of ID , and group by attribute meter_200, and visualize them by a bar chart, and show from low to high by the Y-axis.
CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text )
SELECT meter_200, AVG(ID) FROM swimmer GROUP BY meter_200 ORDER BY AVG(ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, 1499, 6, 27813, 935, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4401, 834, 3632, 6, 71, 17217, 599, 4309, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 3, 4401, 834, 3632, 4674, 11300, 272, 476, 71, 17217, 599, 4309, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the name of the guard from Cary, NC?
CREATE TABLE table_name_44 (name VARCHAR, position VARCHAR, home_town VARCHAR)
SELECT name FROM table_name_44 WHERE position = "guard" AND home_town = "cary, nc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 4350, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 234, 834, 3540, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 4879...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1102, 3274, 96, 11010, 121, 3430, 234, 834, 3540, 3274, 96, 75, 1208, 6, 3, 29, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of rank with the viewership of 5.96 million?
CREATE TABLE table_11251109_3 (Rank VARCHAR, viewers__m_ VARCHAR)
SELECT COUNT(Rank) AS (_number) FROM table_11251109_3 WHERE viewers__m_ = "5.96"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 1828, 2596, 4198, 834, 519, 41, 22557, 584, 4280, 28027, 6, 13569, 834, 834, 51, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 22557, 61, 6157, 41, 834, 5525, 1152, 61, 21680, 953, 834, 2596, 1828, 2596, 4198, 834, 519, 549, 17444, 427, 13569, 834, 834, 51, 834, 3274, 96, 9125, 4314, 121, 1, -100, -100, -100, -100, -100, -...
Return a bar chart showing the number of each company whose office is located in the building, and order in desc by the bar.
CREATE TABLE Office_locations ( building_id int, company_id int, move_in_year int ) CREATE TABLE buildings ( id int, name text, City text, Height int, Stories int, Status text ) CREATE TABLE Companies ( id int, name text, Headquarters text, Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value_billion text )
SELECT T3.name, COUNT(T3.name) FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T3.name ORDER BY T3.name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2126, 834, 14836, 7, 41, 740, 834, 23, 26, 16, 17, 6, 349, 834, 23, 26, 16, 17, 6, 888, 834, 77, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5787, 4350, 6, 2847, 17161, 599, 382, 5787, 4350, 61, 21680, 2126, 834, 14836, 7, 6157, 332, 536, 3, 15355, 3162, 3950, 6157, 332, 357, 9191, 332, 5411, 10905, 834, 23, 26, 3274, 332, 4416, 23, 26, 3, 15355, ...
How many platforms have a southern opertator and the pattern is all stations via clapham junction?
CREATE TABLE table_20263 ( "Platform" real, "Frequency (per hour)" real, "Destination" text, "Service Pattern" text, "Operator" text, "Line" text )
SELECT COUNT("Platform") FROM table_20263 WHERE "Operator" = 'Southern' AND "Service Pattern" = 'All stations via Clapham Junction'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 3891, 41, 96, 10146, 2032, 121, 490, 6, 96, 371, 60, 835, 11298, 41, 883, 1781, 61, 121, 490, 6, 96, 308, 222, 77, 257, 121, 1499, 6, 96, 15260, 20918, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 10146, 2032, 8512, 21680, 953, 834, 19818, 3891, 549, 17444, 427, 96, 667, 883, 1016, 121, 3274, 3, 31, 22081, 49, 29, 31, 3430, 96, 15260, 20918, 121, 3274, 3, 31, 6838, 6991, 1009, 7781, 102...
A bar chart shows the distribution of All_Games and School_ID , show by the y-axis in desc.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) 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 )
SELECT All_Games, School_ID FROM basketball_match ORDER BY School_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 23055, 7, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 1121, 834, 4309, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many times did tomlinson appear in the olympic games ?
CREATE TABLE table_203_715 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text )
SELECT COUNT(*) FROM table_203_715 WHERE "competition" = 'olympic games'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 1808, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 7977, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 940, 1808, 549, 17444, 427, 96, 287, 4995, 4749, 121, 3274, 3, 31, 32, 120, 51, 6174, 1031, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...