NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who is the arranger for Ana Rouh?
CREATE TABLE table_name_29 (arranger VARCHAR, title VARCHAR)
SELECT arranger FROM table_name_29 WHERE title = "ana rouh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 10116, 9369, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 8031, 52, 21, 5331, 10898, 107, 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, 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, 8031, 52, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 2233, 3274, 96, 152, 9, 3, 3964, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Bob Gilder in Place T3's To par?
CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_43 WHERE place = "t3" AND player = "bob gilder"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 5762, 12798, 588, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 286, 3274, 96, 17, 519, 121, 3430, 1959, 3274, 96, 17396, 3, 122, 173, 588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
return me the keyword, which have been contained by the most number of papers by ' H. V. Jagadish ' .
CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE cite ( cited int, citing int ) CREATE TABLE author ( aid int, homepage varchar, name varchar, oid int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE writes ( aid int, pid int )
SELECT keyword.keyword FROM author, keyword, publication, publication_keyword, writes WHERE author.name = 'H. V. Jagadish' AND publication_keyword.kid = keyword.kid AND publication.pid = publication_keyword.pid AND writes.aid = author.aid AND writes.pid = publication.pid GROUP BY keyword.keyword ORDER BY COUNT(DISTINCT (publication.title)) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5707, 834, 4397, 6051, 41, 4984, 16, 17, 6, 3, 12417, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5707, 41, 9838, 3, 4331, 4059, 6, 3, 10812, 16, 17, 6, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15693, 5, 4397, 6051, 21680, 2291, 6, 15693, 6, 5707, 6, 5707, 834, 4397, 6051, 6, 11858, 549, 17444, 427, 2291, 5, 4350, 3274, 3, 31, 566, 5, 584, 5, 21520, 9, 26, 1273, 31, 3430, 5707, 834, 4397, 6051, 5, 2168...
Who was the opponent of the match in round sf with a result of 0-0?
CREATE TABLE table_name_97 (opponent VARCHAR, round VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_97 WHERE round = "sf" AND result = "0-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 13, 8, 158...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1751, 3274, 96, 7, 89, 121, 3430, 741, 3274, 96, 18629, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the Winner on June 2, 2007?
CREATE TABLE table_77771 ( "Date" text, "Team 1" text, "Team 2" text, "Winner" text, "Delta" text, "Score" text )
SELECT "Winner" FROM table_77771 WHERE "Date" = 'june 2, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26225, 4450, 41, 96, 308, 342, 121, 1499, 6, 96, 18699, 209, 121, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 2962, 40, 17, 9, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 26225, 4450, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 6959, 15, 3547, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
CREATE TABLE table_name_3 ( title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR )
SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 2233, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 6, 16750, 584, 4280, 28027, 6, 3, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 3783, 3274, 96, 5379, 3286, 9948, 121, 3430, 3783, 3, 18, 16750, 3274, 3, 7, 17, 3, 18, 1673, 591, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the largest crowd for the St Kilda as the away team?
CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_26 WHERE away_team = "st kilda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 75, 3623, 26, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 4374, 21, 8, 472, 12672, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7, 17, 3, 157, 173, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the note for catalog of 32xa-106
CREATE TABLE table_name_73 (note VARCHAR, catalog VARCHAR)
SELECT note FROM table_name_73 WHERE catalog = "32xa-106"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 7977, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2232, 21, 10173, 13, 3538, 226, 9, 18, 16431, 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, 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, 2232, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 10173, 3274, 96, 2668, 226, 9, 18, 16431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which driver was number 2‡?
CREATE TABLE table_20159025_1 (driver VARCHAR, no VARCHAR)
SELECT driver FROM table_20159025_1 WHERE no = "2‡"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 8651, 2394, 1828, 834, 536, 41, 13739, 52, 584, 4280, 28027, 6, 150, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2535, 47, 381, 204, 2, 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, 2535, 21680, 953, 834, 8651, 2394, 1828, 834, 536, 549, 17444, 427, 150, 3274, 96, 357, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number of wins when there are 7 points?
CREATE TABLE table_name_6 ( wins VARCHAR, points VARCHAR )
SELECT wins FROM table_name_6 WHERE points = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 9204, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 9204, 116, 132, 33, 489, 979, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9204, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 979, 3274, 489, 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, ...
How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?
CREATE TABLE table_10706961_2 ( report VARCHAR, winning_team VARCHAR, pole_position VARCHAR )
SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position = "Teo Fabi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2518, 3951, 4241, 834, 357, 41, 934, 584, 4280, 28027, 6, 3447, 834, 11650, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 1493, 61, 21680, 953, 834, 1714, 2518, 3951, 4241, 834, 357, 549, 17444, 427, 3447, 834, 11650, 3274, 96, 3809, 7, 63, 532, 16046, 121, 3430, 11148, 834, 4718, 3274, 96, 382, 15, 32, 3, 17477, ...
How much does the most expensive charge type costs?
CREATE TABLE Charges (charge_amount INTEGER)
SELECT MAX(charge_amount) FROM Charges
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15907, 7, 41, 7993, 834, 9, 11231, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 405, 8, 167, 2881, 1567, 686, 1358, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7993, 834, 9, 11231, 61, 21680, 15907, 7, 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, -1...
Which bubble have a cancelable of yes and an attribute of onpointerdown?
CREATE TABLE table_35694 ( "Category" text, "Type" text, "Attribute" text, "Bubbles" text, "Cancelable" text )
SELECT "Bubbles" FROM table_35694 WHERE "Cancelable" = 'yes' AND "Attribute" = 'onpointerdown'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3951, 591, 41, 96, 18610, 6066, 651, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 188, 17, 5135, 17, 15, 121, 1499, 6, 96, 7793, 7310, 7, 121, 1499, 6, 96, 254, 663...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7793, 7310, 7, 121, 21680, 953, 834, 2469, 3951, 591, 549, 17444, 427, 96, 254, 663, 40, 179, 121, 3274, 3, 31, 10070, 31, 3430, 96, 188, 17, 5135, 17, 15, 121, 3274, 3, 31, 106, 2700, 49, 3035, 31, 1, -10...
what was the last time that patient 006-122587 was prescribed for a drug in the first hospital visit?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time )
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-122587' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) ORDER BY medication.drugstarttime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7757, 5, 26, 13534, 10208, 715, 21680, 7757, 549, 17444, 427, 7757, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 37...
fasted plasma glucose at screening visit <= 260 mg / dl ( 14.44 mmol / l )
CREATE TABLE table_train_237 ( "id" int, "fasting_c_peptide" float, "fasting_plasma_glucose" int, "smoking" bool, "body_mass_index_bmi" float, "serum_25_oh_d_levels" int, "NOUSE" float )
SELECT * FROM table_train_237 WHERE fasting_plasma_glucose <= 260
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 4118, 41, 96, 23, 26, 121, 16, 17, 6, 96, 11584, 53, 834, 75, 834, 21826, 15, 121, 3, 12660, 6, 96, 11584, 53, 834, 21178, 9, 834, 13492, 509, 7, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 357, 4118, 549, 17444, 427, 1006, 53, 834, 21178, 9, 834, 13492, 509, 7, 15, 3, 2, 2423, 3, 18365, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the oldest age for students with different sex in a bar chart, I want to show from high to low by the names.
CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) 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 Has_amenity ( dormid INTEGER, amenid INTEGER )
SELECT Sex, MAX(Age) FROM Student GROUP BY Sex ORDER BY Sex DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3306, 7, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 103, 52, 6983, 3, 21342, 17966, 6, 562, 834, 5525, 1152, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 4800, 4, 599, 188, 397, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 679, 226, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of first_name and manager_id , and order by the FIRST_NAME in descending.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610,...
List the ship with 1x115-2x70-2x12-pounders for primary artillery.
CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)
SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 24719, 4305, 834, 357, 41, 2910, 2009, 584, 4280, 28027, 6, 711, 834, 1408, 7613, 63, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 4383, 28, 209, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 615, 2009, 21680, 953, 834, 357, 3420, 24719, 4305, 834, 357, 549, 17444, 427, 711, 834, 1408, 7613, 63, 3274, 96, 536, 226, 15660, 4949, 226, 2518, 4949, 226, 2122, 18, 8861, 277, 121, 1, -100, -100, -100, -100, -1...
What's the record of Game 70?
CREATE TABLE table_name_77 ( record VARCHAR, game VARCHAR )
SELECT record FROM table_name_77 WHERE game = 70
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 1368, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1368, 13, 4435, 2861, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 467, 3274, 2861, 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...
Return the number of the categories of music festivals that have the result 'Awarded', and display Y from high to low order.
CREATE TABLE volume ( Volume_ID int, Volume_Issue text, Issue_Date text, Weeks_on_Top real, Song text, Artist_ID int ) CREATE TABLE artist ( Artist_ID int, Artist text, Age int, Famous_Title text, Famous_Release_date text ) CREATE TABLE music_festival ( ID int, Music_Festival text, Date_of_ceremony text, Category text, Volume int, Result text )
SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY COUNT(Category) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2908, 41, 14816, 834, 4309, 16, 17, 6, 14816, 834, 196, 7, 7, 76, 15, 1499, 6, 13235, 834, 308, 342, 1499, 6, 6551, 7, 834, 106, 834, 22481, 490, 6, 11263, 1499, 6, 9152, 834, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 17459, 6, 2847, 17161, 599, 18610, 6066, 651, 61, 21680, 723, 834, 89, 24742, 549, 17444, 427, 3, 20119, 3274, 96, 188, 28288, 121, 350, 4630, 6880, 272, 476, 17459, 4674, 11300, 272, 476, 2847, 17161, 599, 18610, 606...
What is the Status of the dinosaur, whose notes are, 'n coelurosauria'?
CREATE TABLE table_name_73 ( status VARCHAR, notes VARCHAR )
SELECT status FROM table_name_73 WHERE notes = "n coelurosauria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 2637, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 19318, 13, 8, 21677, 6, 3, 2544, 3358, 33, 6, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2637, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 3358, 3274, 96, 29, 576, 15, 40, 76, 1859, 9, 459, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville?
CREATE TABLE table_13012165_1 (maryland VARCHAR, new_jersey VARCHAR)
SELECT maryland FROM table_13012165_1 WHERE new_jersey = "Somerset Hills LL Bernardsville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 2122, 22823, 834, 536, 41, 1635, 28900, 584, 4280, 28027, 6, 126, 834, 12488, 7, 15, 63, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 1944, 16, 10271, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3157, 28900, 21680, 953, 834, 21448, 2122, 22823, 834, 536, 549, 17444, 427, 126, 834, 12488, 7, 15, 63, 3274, 96, 19055, 52, 2244, 9807, 3, 10376, 14735, 9727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus?
CREATE TABLE table_name_90 (authors VARCHAR, name VARCHAR, novelty VARCHAR, location VARCHAR)
SELECT authors FROM table_name_90 WHERE novelty = "gen nov" AND location = "south africa" AND name = "criocephalosaurus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 17415, 7, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 30372, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5921, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 30372, 3274, 96, 729, 3, 5326, 121, 3430, 1128, 3274, 96, 7, 670, 107, 24040, 121, 3430, 564, 3274, 96, 2685, 32, 565, 21367, 32, 7348, 4502, 121, 1, -100, ...
What is the transfer fee for Gravgaard?
CREATE TABLE table_name_94 ( transfer_fee VARCHAR, type VARCHAR, name VARCHAR )
SELECT transfer_fee FROM table_name_94 WHERE type = "transfer" AND name = "gravgaard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 2025, 834, 89, 15, 15, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2025, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2025, 834, 89, 15, 15, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 686, 3274, 96, 7031, 1010, 121, 3430, 564, 3274, 96, 15299, 122, 9, 986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Championship had a winning score of 69-71-67-68=275?
CREATE TABLE table_name_9 (championship VARCHAR, winning_score VARCHAR)
SELECT championship FROM table_name_9 WHERE winning_score = 69 - 71 - 67 - 68 = 275
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 17788, 12364, 2009, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7666, 141, 3, 9, 3447, 2604, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10183, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 3951, 3, 18, 3, 4450, 3, 18, 3, 3708, 3, 18, 3, 3651, 3274, 3, 25988, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose ethnicity is white and lab test name is hyaline casts?
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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "WHITE" AND lab.label = "Hyaline Casts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the bleeding time for glanzmann's thrombasthenia?
CREATE TABLE table_2948 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text )
SELECT "Bleeding time" FROM table_2948 WHERE "Condition" = 'Glanzmann''s thrombasthenia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3707, 41, 96, 4302, 10569, 121, 1499, 6, 96, 3174, 8514, 51, 4517, 97, 121, 1499, 6, 96, 13212, 10646, 3, 8514, 6310, 23918, 77, 97, 121, 1499, 6, 96, 279, 40, 6958...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 40, 6958, 53, 97, 121, 21680, 953, 834, 3166, 3707, 549, 17444, 427, 96, 4302, 10569, 121, 3274, 3, 31, 517, 40, 4557, 2434, 31, 31, 7, 3, 8514, 18015, 7, 189, 18242, 31, 1, -100, -100, -100, -100, -100...
what was the earliest released album ?
CREATE TABLE table_203_77 ( id number, "album title" text, "format" text, "year" number, "original label" text, "chart positions" text )
SELECT "album title" FROM table_203_77 ORDER BY "year" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4013, 41, 3, 23, 26, 381, 6, 96, 23703, 2233, 121, 1499, 6, 96, 8995, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 21878, 3783, 121, 1499, 6, 96, 4059, 17, 4655...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23703, 2233, 121, 21680, 953, 834, 23330, 834, 4013, 4674, 11300, 272, 476, 96, 1201, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which party won the most number of time ?
CREATE TABLE table_203_372 ( id number, "from" number, "to" number, "name" text, "party" text, "position" number )
SELECT "party" FROM table_203_372 GROUP BY "party" ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4118, 357, 41, 3, 23, 26, 381, 6, 96, 7152, 121, 381, 6, 96, 235, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 8071, 121, 1499, 6, 96, 4718, 121, 381, 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, 0, 0...
[ 3, 23143, 14196, 96, 8071, 121, 21680, 953, 834, 23330, 834, 4118, 357, 350, 4630, 6880, 272, 476, 96, 8071, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, ...
Tell me the highest year for result of 9th
CREATE TABLE table_name_98 (year INTEGER, result VARCHAR)
SELECT MAX(year) FROM table_name_98 WHERE result = "9th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 1201, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2030, 215, 21, 741, 13, 668, 189, 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, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 741, 3274, 96, 1298, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who wrote the episode that aired February 4, 2010?
CREATE TABLE table_23483182_1 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_23483182_1 WHERE original_air_date = "February 4, 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3707, 3341, 4613, 834, 536, 41, 14973, 834, 969, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 8, 564...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1545, 834, 969, 21680, 953, 834, 2773, 3707, 3341, 4613, 834, 536, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 31122, 6464, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Home team faced the Away team, Hawthorn?
CREATE TABLE table_name_9 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_9 WHERE away_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1210, 372, 7865, 8, 71, 1343, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
tell me the number of patients with the prescription of gastroview (diatrizoate meglumine & sodium).
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 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Gastroview (Diatrizoate Meglumine & Sodium)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
How much attendance has a Loss of roloson (11 5)?
CREATE TABLE table_79413 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Series" text, "Arena" text )
SELECT SUM("Attendance") FROM table_79413 WHERE "Loss" = 'roloson (11–5)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 591, 2368, 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, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4440, 591, 2368, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 3491, 32, 739, 41, 2596, 104, 9120, 31, 1, -100, -100, -100, -100, -100, ...
Draw a bar chart about the distribution of middle_name and gender_mf .
CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) )
SELECT middle_name, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 41, 2291, 834, 23, 26, 3, 21342, 17966, 6, 2291, 834, 17, 76, 17, 127, 834, 5767, 279, 584, 4280, 28027, 17867, 6, 11255, 834, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2214, 834, 4350, 6, 7285, 834, 51, 89, 21680, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 4674, 11300, 272, 476, 525, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos?
CREATE TABLE table_63664 ( "Restaurant Name" text, "Original Name" text, "Location" text, "Chef" text, "Designer" text, "Still Open?" text )
SELECT "Location" FROM table_63664 WHERE "Designer" = 'glen peloso' AND "Restaurant Name" = 'joe boo''s cookoos'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3539, 591, 41, 96, 448, 222, 402, 3569, 5570, 121, 1499, 6, 96, 667, 3380, 10270, 5570, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 29639, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3891, 3539, 591, 549, 17444, 427, 96, 19103, 49, 121, 3274, 3, 31, 3537, 29, 158, 2298, 32, 31, 3430, 96, 448, 222, 402, 3569, 5570, 121, 3274, 3, 31, 1927, 15, 3, 1...
What are flight numbers of flights arriving at Airport "APG"?
CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR)
SELECT FlightNo FROM FLIGHTS WHERE DestAirport = "APG"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7212, 19114, 134, 41, 371, 2242, 4168, 584, 4280, 28027, 6, 2973, 17, 20162, 1493, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 3777, 2302, 13, 7534, 15315, 44, 5735, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16736, 4168, 21680, 7212, 19114, 134, 549, 17444, 427, 2973, 17, 20162, 1493, 3274, 96, 188, 7861, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the Ont of N.B. of 10 and normal total of 77
CREATE TABLE table_name_5 (ont VARCHAR, nb VARCHAR, normal_total VARCHAR)
SELECT ont FROM table_name_5 WHERE nb = "10" AND normal_total = "77"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 1770, 584, 4280, 28027, 6, 3, 29, 115, 584, 4280, 28027, 6, 1389, 834, 235, 1947, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 461, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 30, 17, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 3, 29, 115, 3274, 96, 1714, 121, 3430, 1389, 834, 235, 1947, 3274, 96, 4013, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the ship tecumseh launched?
CREATE TABLE table_12592074_1 (launched VARCHAR, ship VARCHAR)
SELECT launched FROM table_12592074_1 WHERE ship = "Tecumseh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10124, 27749, 4581, 834, 536, 41, 27493, 15, 26, 584, 4280, 28027, 6, 4383, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 4383, 3, 5822, 440, 7, 15, 107,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3759, 21680, 953, 834, 10124, 27749, 4581, 834, 536, 549, 17444, 427, 4383, 3274, 96, 24757, 440, 7, 15, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Game, when Road Team is 'Syracuse', and when Result is '109-82'?
CREATE TABLE table_60403 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text )
SELECT "Game" FROM table_60403 WHERE "Road Team" = 'syracuse' AND "Result" = '109-82'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 2445, 519, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 448, 32, 9, 26, 2271, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23055, 121, 21680, 953, 834, 3328, 2445, 519, 549, 17444, 427, 96, 448, 32, 9, 26, 2271, 121, 3274, 3, 31, 7, 63, 3738, 1074, 31, 3430, 96, 20119, 121, 3274, 3, 31, 17304, 18, 4613, 31, 1, -100, -100, -100, ...
How many field goals were scored by the player that got 7 touchdowns?
CREATE TABLE table_3399 ( "Player" text, "Touchdowns (5 points)" real, "Extra points 1 point" real, "Field goals (4 points)" real, "Safeties (2 points)" real, "Total Points" real )
SELECT "Field goals (4 points)" FROM table_3399 WHERE "Touchdowns (5 points)" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 3264, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 9209, 979, 61, 121, 490, 6, 96, 5420, 1313, 979, 209, 500, 121, 490, 6, 96, 3183, 8804, 1766, 8457, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3183, 8804, 1766, 8457, 979, 61, 121, 21680, 953, 834, 4201, 3264, 549, 17444, 427, 96, 3696, 2295, 3035, 7, 9209, 979, 61, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps?
CREATE TABLE table_name_8 ( grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR )
SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 4818, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 4818, 3274, 96, 31782, 121, 3430, 2564, 52, 3274, 96, 63, 1598, 23, 3, 17, 5667, 107, 17155, 121, 3430, 14941, 7, 2490, 1630, 1, -1...
What position was played by the player during 1986 1991 1997 1999?
CREATE TABLE table_45427 ( "Player" text, "Nationality" text, "Jersey Number(s)" text, "Position" text, "Years" text, "From" text )
SELECT "Position" FROM table_45427 WHERE "Years" = '1986 – 1991 1997 – 1999'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 591, 2555, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 683, 277, 15, 63, 7720, 599, 7, 61, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 2128, 591, 2555, 549, 17444, 427, 96, 476, 2741, 7, 121, 3274, 3, 31, 2294, 3840, 3, 104, 9957, 6622, 3, 104, 5247, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What are the unique names of races that held after 2000 and the circuits were in Spain?
CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR)
SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10879, 41, 4350, 584, 4280, 28027, 6, 4558, 23, 26, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4558, 7, 41, 15357, 21560, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5411, 4350, 21680, 10879, 6157, 332, 536, 3, 15355, 3162, 4558, 7, 6157, 332, 357, 9191, 332, 5411, 15357, 21560, 23, 26, 3274, 332, 4416, 15357, 21560, 23, 26, 549, 17444, 427, 332, 4416, ...
What's the 1991 when 1999 is 14?
CREATE TABLE table_name_25 ( Id VARCHAR )
SELECT 1991 FROM table_name_25 WHERE 1999 = "14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 9957, 116, 5247, 19, 968, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9957, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 5247, 3274, 96, 2534, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many titles were released on 21 October 1992?
CREATE TABLE table_18590048_1 ( rank VARCHAR, release_date VARCHAR )
SELECT COUNT(rank) FROM table_18590048_1 WHERE release_date = "21 October 1992"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 7015, 3707, 834, 536, 41, 11003, 584, 4280, 28027, 6, 1576, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8342, 130, 1883, 30, 1401, 179...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 21594, 7015, 3707, 834, 536, 549, 17444, 427, 1576, 834, 5522, 3274, 96, 2658, 1797, 9047, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Format for Branding of 1290 wkbk w281au 104.1?
CREATE TABLE table_38 ( "Calls" text, "Frequency" text, "Branding" text, "Format" text, "Market/Rank" text, "Timeslot" text, "Group owner" text )
SELECT "Format" FROM table_38 WHERE "Branding" = '1290 WKBK W281AU 104.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 41, 96, 254, 1748, 7, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 18304, 727, 53, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 22572, 87, 22557, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3809, 3357, 121, 21680, 953, 834, 3747, 549, 17444, 427, 96, 18304, 727, 53, 121, 3274, 3, 31, 2122, 2394, 549, 17827, 439, 549, 2577, 536, 6727, 335, 19708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What's the location attendance of the milwaukee team?
CREATE TABLE table_27721131_2 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_27721131_2 WHERE team = "Milwaukee"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 2658, 22048, 834, 357, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1128, 11364, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 357, 4013, 2658, 22048, 834, 357, 549, 17444, 427, 372, 3274, 96, 329, 173, 210, 402, 1050, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest number of the player with a hometown of Bellwood, IL?
CREATE TABLE table_name_90 (number INTEGER, hometown VARCHAR)
SELECT MIN(number) FROM table_name_90 WHERE hometown = "bellwood, il"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 5525, 1152, 3, 21342, 17966, 6, 22295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 8, 1959, 28, 3, 9, 22295, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 22295, 3274, 96, 7708, 2037, 6, 3, 173, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What event went under 3 rounds and was no contest (punch after knockdown)?
CREATE TABLE table_name_74 (event VARCHAR, round VARCHAR, method VARCHAR)
SELECT event FROM table_name_74 WHERE round < 3 AND method = "no contest (punch after knockdown)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 15, 2169, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 877, 365, 220, 14419, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1751, 3, 2, 220, 3430, 1573, 3274, 96, 29, 32, 4233, 41, 6225, 524, 227, 7673, 3035, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many deciles have a Gender of coed, an Authority of state, and a Name of mount maunganui school?
CREATE TABLE table_name_93 (decile INTEGER, name VARCHAR, gender VARCHAR, authority VARCHAR)
SELECT SUM(decile) FROM table_name_93 WHERE gender = "coed" AND authority = "state" AND name = "mount maunganui school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 24223, 109, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 7285, 584, 4280, 28027, 6, 5015, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24223, 109, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 7285, 3274, 96, 509, 15, 26, 121, 3430, 5015, 3274, 96, 5540, 121, 3430, 564, 3274, 96, 11231, 954, 425, 9, 17965, 496, 121, 1, -1...
what number of patients diagnosed for acidosis stayed in the hospital for more than 7 days?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "7" AND diagnoses.short_title = "Acidosis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the result of the game played at Jinan?
CREATE TABLE table_name_26 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_26 WHERE venue = "jinan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 13, 8, 467, 1944, 44, 20500, 152, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 5669, 3274, 96, 354, 77, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Draw a pie chart for how many captains with younger than 50 are in each rank?
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 14268, 549, 17444, 427, 1246, 3, 2, 943, 350, 4630, 6880, 272, 476, 3, 22557, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On the Date of March 13, who was the Home team?
CREATE TABLE table_name_96 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_96 WHERE date = "march 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 8, 7678, 13, 1332, 10670, 113, 47, 8, 1210, 372, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 833, 3274, 96, 51, 7064, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show each author and the number of workshops they submitted to Show bar chart, and I want to order x-axis in descending order.
CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text )
SELECT Author, COUNT(DISTINCT T1.Workshop_ID) FROM Acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID ORDER BY Author DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 20592, 663, 41, 29779, 834, 4309, 16, 17, 6, 9644, 834, 4309, 16, 17, 6, 3, 20119, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8121, 41, 29779, 834, 4309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10236, 6, 2847, 17161, 599, 15438, 25424, 6227, 332, 5411, 12492, 6921, 834, 4309, 61, 21680, 20592, 663, 6157, 332, 536, 3, 15355, 3162, 8121, 6157, 332, 357, 9191, 332, 5411, 25252, 5451, 834, 4309, 3274, 332, 4416, ...
What is the highest round of the player with a pick number lower than 34?
CREATE TABLE table_name_83 ( round INTEGER, pick__number INTEGER )
SELECT MAX(round) FROM table_name_83 WHERE pick__number > 34
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 1751, 3, 21342, 17966, 6, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1751, 13, 8, 1959, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 2490, 6154, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what's the total passengers 2008 with change 2008/09 being 6.5%
CREATE TABLE table_19017 ( "Rank" real, "Airport" text, "Total Passengers 2008" real, "Total Passengers 2009" real, "Change 2008/09" text, "Aircraft movements 2009" real )
SELECT "Total Passengers 2008" FROM table_19017 WHERE "Change 2008/09" = '6.5%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 2517, 41, 96, 22557, 121, 490, 6, 96, 20162, 1493, 121, 1499, 6, 96, 3696, 1947, 3424, 4606, 277, 2628, 121, 490, 6, 96, 3696, 1947, 3424, 4606, 277, 2464, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 1947, 3424, 4606, 277, 2628, 121, 21680, 953, 834, 11776, 2517, 549, 17444, 427, 96, 3541, 3280, 2628, 87, 4198, 121, 3274, 3, 31, 17255, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many tries against were there with 17 losses?
CREATE TABLE table_name_2 (tries_against VARCHAR, lost VARCHAR)
SELECT tries_against FROM table_name_2 WHERE lost = "17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3, 9000, 581, 130, 132, 28, 1003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9000, 834, 9, 16720, 7, 17, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 1513, 3274, 96, 2517, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the least flaps
CREATE TABLE table_16908657_1 (flaps INTEGER)
SELECT MIN(flaps) FROM table_16908657_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2394, 3840, 3436, 834, 536, 41, 89, 8478, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 23050, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 89, 8478, 7, 61, 21680, 953, 834, 2938, 2394, 3840, 3436, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What round was adelaide united the opposition with an attendance of 18,345?
CREATE TABLE table_name_32 (round VARCHAR, opposition VARCHAR, attendance VARCHAR)
SELECT round FROM table_name_32 WHERE opposition = "adelaide united" AND attendance = "18,345"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 7775, 584, 4280, 28027, 6, 8263, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 47, 3, 15311, 5385, 18279, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 8263, 3274, 96, 15311, 5385, 18279, 121, 3430, 11364, 3274, 96, 2606, 6, 3710, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On average, when were vineyard schools founded?
CREATE TABLE table_61767 ( "School" text, "Suburb/Town" text, "Years" text, "Founded" real, "Website" text )
SELECT AVG("Founded") FROM table_61767 WHERE "Suburb/Town" = 'vineyard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2517, 3708, 41, 96, 29364, 121, 1499, 6, 96, 25252, 450, 115, 87, 382, 9197, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 15805, 3585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 121, 20100, 8512, 21680, 953, 834, 948, 2517, 3708, 549, 17444, 427, 96, 25252, 450, 115, 87, 382, 9197, 121, 3274, 3, 31, 8402, 6636, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest wins that has 350cc as the class, yamaha for the team, with points less than 37, and a year after 1979?
CREATE TABLE table_34823 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real )
SELECT MAX("Wins") FROM table_34823 WHERE "Class" = '350cc' AND "Team" = 'yamaha' AND "Points" < '37' AND "Year" > '1979'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3707, 2773, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 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, 4800, 4, 599, 121, 18455, 7, 8512, 21680, 953, 834, 519, 3707, 2773, 549, 17444, 427, 96, 21486, 121, 3274, 3, 31, 16975, 75, 75, 31, 3430, 96, 18699, 121, 3274, 3, 31, 22990, 1024, 31, 3430, 96, 22512, 7, 121, ...
How many players had the most assists against New Jersey?
CREATE TABLE table_15873014_3 ( high_assists VARCHAR, team VARCHAR )
SELECT COUNT(high_assists) FROM table_15873014_3 WHERE team = "New Jersey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4225, 1458, 2534, 834, 519, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1508, 141, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6739, 834, 6500, 7, 17, 7, 61, 21680, 953, 834, 1808, 4225, 1458, 2534, 834, 519, 549, 17444, 427, 372, 3274, 96, 6861, 5092, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
I want the outgoing manager for 19 february
CREATE TABLE table_10576 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Replaced by" text, "Date of appointment" text )
SELECT "Outgoing manager" FROM table_10576 WHERE "Date of appointment" = '19 february'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 3959, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 1649, 4687, 26, 57, 121, 1499, 6, 96, 308, 342,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9545, 2743, 121, 21680, 953, 834, 12869, 3959, 549, 17444, 427, 96, 308, 342, 13, 4141, 121, 3274, 3, 31, 2294, 29976, 76, 1208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Position of moose goheen?
CREATE TABLE table_7409 ( "Position" text, "Name" text, "Birthdate" text, "Birthplace" text, "Team" text )
SELECT "Position" FROM table_7409 WHERE "Name" = 'moose goheen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 4198, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 279, 23, 52, 189, 5522, 121, 1499, 6, 96, 279, 23, 52, 189, 4687, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 4581, 4198, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 31062, 15, 281, 88, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Country, when Score is 70-73=143?
CREATE TABLE table_name_50 ( country VARCHAR, score VARCHAR )
SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6993, 6, 116, 17763, 19, 2861, 18, 4552, 2423, 25133, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 2604, 3274, 2861, 3, 18, 3, 4552, 3274, 3, 25133, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Rosie's winning score on Apr 29, 2001?
CREATE TABLE table_name_39 ( winning_score VARCHAR, date VARCHAR )
SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 3447, 834, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 2158, 2452, 31, 7, 3447, 2604, 30, 10299...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 9, 102, 52, 14405, 4402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the result for 2008-12-23
CREATE TABLE table_name_61 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_61 WHERE date = "2008-12-23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 741, 21, 2628, 5947, 18, 2773, 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, 741, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 833, 3274, 96, 16128, 5947, 18, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the table for the team Blackburn Rovers?
CREATE TABLE table_73618 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Table" text, "Incoming manager" text, "Date of appointment" text )
SELECT "Table" FROM table_73618 WHERE "Team" = 'Blackburn Rovers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3420, 2606, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20354, 121, 21680, 953, 834, 940, 3420, 2606, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 20096, 7223, 21608, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
platelet count < 100
CREATE TABLE table_train_160 ( "id" int, "alt" float, "systolic_blood_pressure_sbp" int, "ast" float, "platelet_count" float, "diastolic_blood_pressure_dbp" int, "serum_creatinine" float, "triglyceride_tg" float, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_train_160 WHERE platelet_count < 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 19129, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2920, 121, 3, 12660, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 19129, 549, 17444, 427, 3829, 1655, 834, 13362, 3, 2, 910, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the maximum total in which the average is 28.5?
CREATE TABLE table_20464 ( "Rank by average" real, "Place" text, "Couple" text, "Perfect 40s" real, "Total" real, "Number of dances" real, "Season" real, "Average" text )
SELECT MAX("Total") FROM table_20464 WHERE "Average" = '28.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 4389, 41, 96, 22557, 57, 1348, 121, 490, 6, 96, 345, 11706, 121, 1499, 6, 96, 3881, 413, 109, 121, 1499, 6, 96, 12988, 4075, 1283, 7, 121, 490, 6, 96, 3696, 1947, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 26363, 4389, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 357, 19253, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many production codes have an original airdate of November 16, 1990?
CREATE TABLE table_2409041_3 (production_code VARCHAR, original_air_date VARCHAR)
SELECT COUNT(production_code) FROM table_2409041_3 WHERE original_air_date = "November 16, 1990"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 2394, 4853, 834, 519, 41, 20762, 834, 4978, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 999, 5633, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 20762, 834, 4978, 61, 21680, 953, 834, 11944, 2394, 4853, 834, 519, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 28635, 11940, 5541, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the position for 2008, where 2012 was q1, and 2010 was 1r?
CREATE TABLE table_name_12 ( Id VARCHAR )
SELECT 2008 FROM table_name_12 WHERE 2012 = "q1" AND 2010 = "1r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 21, 2628, 6, 213, 1673, 47, 3, 1824, 4347, 11, 2735, 47, 209, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2628, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1673, 3274, 96, 1824, 536, 121, 3430, 2735, 3274, 96, 536, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the implementation when the netflow version is v5, v8, v9, ipfix?
CREATE TABLE table_1206114_2 (implementation VARCHAR, netflow_version VARCHAR)
SELECT implementation FROM table_1206114_2 WHERE netflow_version = "v5, v8, v9, IPFIX"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15518, 4241, 2534, 834, 357, 41, 10296, 1194, 257, 584, 4280, 28027, 6, 3134, 7631, 834, 8674, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4432, 116, 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, 0, 0...
[ 3, 23143, 14196, 4432, 21680, 953, 834, 15518, 4241, 2534, 834, 357, 549, 17444, 427, 3134, 7631, 834, 8674, 3274, 96, 208, 11116, 3, 208, 11864, 3, 208, 1298, 6, 3857, 4936, 4, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
When completing 182 laps, what was the qual.?
CREATE TABLE table_14658 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT "Qual" FROM table_14658 WHERE "Laps" = '182'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24300, 3449, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5991, 138, 121, 21680, 953, 834, 24300, 3449, 549, 17444, 427, 96, 3612, 102, 7, 121, 3274, 3, 31, 2606, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total longitude of Nogosek and a GEO ID larger than 3809357060?
CREATE TABLE table_64770 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" real, "Water (sqmi)" real, "Latitude" real, "Longitude" real, "GEO ID" real, "ANSI code" real )
SELECT COUNT("Longitude") FROM table_64770 WHERE "Township" = 'nogosek' AND "GEO ID" > '3809357060'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 26920, 41, 96, 382, 9197, 2009, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 27773, 5, 26118, 121, 490, 6, 96, 434, 232, 41, 11820, 51, 23, 3, 61, 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, 2847, 17161, 599, 121, 434, 2444, 20341, 8512, 21680, 953, 834, 4389, 26920, 549, 17444, 427, 96, 382, 9197, 2009, 121, 3274, 3, 31, 29, 32, 839, 7, 15, 157, 31, 3430, 96, 5042, 667, 4699, 121, 2490, 3, 31, 22671,...
What is the latitude of vaidilute rupes?
CREATE TABLE table_72808 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text )
SELECT "Latitude" FROM table_72808 WHERE "Name" = 'Vaidilute Rupes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2577, 4018, 41, 96, 23954, 121, 1499, 6, 96, 3612, 6592, 121, 1499, 6, 96, 434, 2444, 20341, 121, 1499, 6, 96, 23770, 4401, 41, 5848, 61, 121, 1499, 6, 96, 476, 2741...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3612, 6592, 121, 21680, 953, 834, 940, 2577, 4018, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 553, 6146, 23, 18453, 2770, 855, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
From what Country is Gary Evans?
CREATE TABLE table_12499 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_12499 WHERE "Player" = 'gary evans'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 3264, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 22504, 3264, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 1478, 63, 3, 15, 2132, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?
CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 1808, 4448, 4440, 834, 536, 41, 2916, 834, 9993, 584, 4280, 28027, 6, 9858, 834, 6740, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 420, 1634, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 420, 834, 9993, 21680, 953, 834, 2658, 1808, 4448, 4440, 834, 536, 549, 17444, 427, 9858, 834, 6740, 3274, 96, 4176, 41, 21729, 117, 3, 115, 107, 102, 61, 1741, 5373, 1752, 5783, 11434, 121, 1, -100, -100, -100, -10...
What is the total when the score for set 1 is 14–25?
CREATE TABLE table_name_75 (total VARCHAR, set_1 VARCHAR)
SELECT total FROM table_name_75 WHERE set_1 = "14–25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 235, 1947, 584, 4280, 28027, 6, 356, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 116, 8, 2604, 21, 356, 209, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 792, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 356, 834, 536, 3274, 96, 2534, 104, 1828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
On which date did the shock at latitude 08.909 s occur?
CREATE TABLE table_25675509_1 ( date__yyyy_mm_dd_ VARCHAR, latitude VARCHAR )
SELECT date__yyyy_mm_dd_ FROM table_25675509_1 WHERE latitude = "08.909° S"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3708, 3769, 4198, 834, 536, 41, 833, 834, 834, 63, 63, 63, 63, 834, 635, 834, 26, 26, 834, 584, 4280, 28027, 6, 50, 6592, 584, 4280, 28027, 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, 833, 834, 834, 63, 63, 63, 63, 834, 635, 834, 26, 26, 834, 21680, 953, 834, 1828, 3708, 3769, 4198, 834, 536, 549, 17444, 427, 50, 6592, 3274, 96, 15000, 2394, 1298, 1956, 180, 121, 1, -100, -100, -100, -100, -100...
What was the maximum speed of the car with 1.556 cc capacity?
CREATE TABLE table_name_45 ( vmax VARCHAR, capacity VARCHAR )
SELECT vmax FROM table_name_45 WHERE capacity = "1.556 cc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 3, 208, 9128, 584, 4280, 28027, 6, 2614, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2411, 1634, 13, 8, 443, 28, 8613, 4834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 208, 9128, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 2614, 3274, 96, 16593, 4834, 3, 75, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the serial numbers for the locomotives of Class 4-8-4 oooooooo northern?
CREATE TABLE table_63991 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Serial numbers" text, "Year made" text, "Quantity made" text, "Quantity preserved" text, "Year(s) retired" text )
SELECT "Serial numbers" FROM table_63991 WHERE "Class" = '4-8-4 — oooooooo — northern'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3264, 536, 41, 96, 21486, 121, 1499, 6, 96, 518, 88, 15, 40, 8641, 121, 1499, 6, 96, 371, 109, 15, 17, 381, 599, 7, 61, 121, 1499, 6, 96, 7296, 76, 8717, 450, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 12042, 2302, 121, 21680, 953, 834, 3891, 3264, 536, 549, 17444, 427, 96, 21486, 121, 3274, 3, 31, 591, 6039, 4278, 3, 318, 3, 16780, 16780, 3, 318, 8390, 31, 1, -100, -100, -100, -100, -100, -100, -10...
When was the kickoff time of the SB XXXVI?
CREATE TABLE table_32534 ( "Week" text, "Kickoff" text, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text, "Attendance" text )
SELECT "Kickoff" FROM table_32534 WHERE "Week" = 'sb xxxvi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 1828, 3710, 41, 96, 518, 10266, 121, 1499, 6, 96, 439, 3142, 1647, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 439, 3142, 1647, 121, 21680, 953, 834, 519, 1828, 3710, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 7, 115, 3, 226, 19230, 2099, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Plot total number of salary by grouped by hire date as a bar graph
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, SUM(SALARY) FROM employees
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of courses that have more than one prerequisites for each title with a bar chart, and list by the Y-axis in ascending please.
CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) )
SELECT title, COUNT(title) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY COUNT(title)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 4699, 3, 4331, 4059, 15757, 6, 564, 3, 4331, 4059, 599, 1755, 201, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 12, 17, 834, 17216, 206, 17552, 599, 6355, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 6, 2847, 17161, 599, 21869, 61, 21680, 503, 6157, 332, 536, 3, 15355, 3162, 554, 60, 1824, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, 19221, 834, 23, 26, 350, 4630, 6880, 272, 476, ...
What is Score Points, when Shooter is 'Sandra Kolly ( SUI )'?
CREATE TABLE table_name_81 ( score_points VARCHAR, shooter VARCHAR )
SELECT score_points FROM table_name_81 WHERE shooter = "sandra kolly ( sui )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2604, 834, 2700, 7, 584, 4280, 28027, 6, 4279, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 4564, 7, 6, 116, 20450, 49, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 834, 2700, 7, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 4279, 49, 3274, 96, 7, 152, 3515, 3, 11292, 120, 41, 2629, 23, 3, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Sport of gaelic football and hurling is what league?
CREATE TABLE table_name_8 ( league VARCHAR, sport VARCHAR )
SELECT league FROM table_name_8 WHERE sport = "gaelic football and hurling"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 5533, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3349, 13, 7922, 15, 2176, 3370, 11, 3, 10666, 697, 19, 125, 553...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5533, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 2600, 3274, 96, 122, 9, 15, 2176, 3370, 11, 3, 10666, 697, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the lowest rank when the constituency is edinburgh northern and leith and the swing to gain is less than 4.16?
CREATE TABLE table_77809 ( "Rank" real, "Constituency" text, "Winning party 2007" text, "Swing to gain" real, "LD's place 2007" text, "Result" text )
SELECT MIN("Rank") FROM table_77809 WHERE "Constituency" = 'edinburgh northern and leith' AND "Swing to gain" < '4.16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 2079, 1298, 41, 96, 22557, 121, 490, 6, 96, 4302, 2248, 17, 76, 4392, 121, 1499, 6, 96, 518, 10503, 1088, 4101, 121, 1499, 6, 96, 134, 3108, 12, 2485, 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, 3, 17684, 599, 121, 22557, 8512, 21680, 953, 834, 4013, 2079, 1298, 549, 17444, 427, 96, 4302, 2248, 17, 76, 4392, 121, 3274, 3, 31, 15, 2644, 4824, 107, 8390, 11, 4628, 189, 31, 3430, 96, 134, 3108, 12, 2485, 121...
What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960?
CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_74 WHERE entrant = "wolfgang seidel" AND chassis = "cooper t45" AND year > 1960
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 2700, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 3, 295, 3569, 3274, 96, 19747, 3810, 142, 1599, 40, 121, 3430, 22836, 3274, 96, 25911, 49, 3, 17, 2128, 121, 3430, 215, 2490, 8754, ...
Who was the first couple in the episode having a fourth couple of Sammy and Nat?
CREATE TABLE table_27976 ( "#" real, "Airdate" text, "No. of couples" real, "First couple" text, "Second couple" text, "Third couple" text, "Fourth couple" text, "Viewers (millions)" text, "ITV1 weekly ranking" real )
SELECT "First couple" FROM table_27976 WHERE "Fourth couple" = 'Sammy and Nat'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4440, 3959, 41, 96, 4663, 121, 490, 6, 96, 20162, 5522, 121, 1499, 6, 96, 4168, 5, 13, 11992, 121, 490, 6, 96, 25171, 1158, 121, 1499, 6, 96, 134, 15, 1018, 26, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25171, 1158, 121, 21680, 953, 834, 357, 4440, 3959, 549, 17444, 427, 96, 371, 1211, 189, 1158, 121, 3274, 3, 31, 134, 265, 2258, 11, 9267, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the nationality of the player from the Detroit Red Wings?
CREATE TABLE table_1213511_6 ( nationality VARCHAR, nhl_team VARCHAR )
SELECT nationality FROM table_1213511_6 WHERE nhl_team = "Detroit Red Wings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22011, 2469, 2596, 834, 948, 41, 1157, 485, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1157, 485, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1157, 485, 21680, 953, 834, 22011, 2469, 2596, 834, 948, 549, 17444, 427, 3, 29, 107, 40, 834, 11650, 3274, 96, 308, 15252, 155, 1624, 15753, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which player scored the largest number of points in one game in april ?
CREATE TABLE table_204_833 ( id number, "game" number, "date" text, "team" text, "score" text, "high points" text, "high rebounds" text, "high assists" text, "location\nattendance" text, "record" text )
SELECT "high points" FROM table_204_833 ORDER BY "high points" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4591, 519, 41, 3, 23, 26, 381, 6, 96, 7261, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 6739, 979, 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, 1...
[ 3, 23143, 14196, 96, 6739, 979, 121, 21680, 953, 834, 26363, 834, 4591, 519, 4674, 11300, 272, 476, 96, 6739, 979, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What town holds Stadion Zlatica?
CREATE TABLE table_28668784_1 (city___town VARCHAR, stadium VARCHAR)
SELECT city___town FROM table_28668784_1 WHERE stadium = "Stadion Zlatica"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3539, 4225, 4608, 834, 536, 41, 6726, 834, 834, 834, 3540, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1511, 4532, 30408, 106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 834, 834, 834, 3540, 21680, 953, 834, 2577, 3539, 4225, 4608, 834, 536, 549, 17444, 427, 14939, 3274, 96, 134, 17, 9, 26, 23, 106, 1027, 521, 7439, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date of appointment for sacked and 14th position replaced by marco kostmann
CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = "Sacked" AND position_in_table = "14th" AND replaced_by = "Marco Kostmann"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 519, 2555, 26755, 834, 519, 41, 5522, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 5821, 834, 969, 584, 4280, 28027, 6, 3107, 834, 858, 834, 221, 2274, 1462...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 858, 834, 9, 102, 2700, 297, 21680, 953, 834, 2517, 519, 2555, 26755, 834, 519, 549, 17444, 427, 3107, 834, 858, 834, 221, 2274, 1462, 3274, 96, 134, 13365, 121, 3430, 1102, 834, 77, 834, 3869, 3274, 96, ...
how many unmarried patients have diagnoses icd9 code 70724?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.icd9_code = "70724"
[ 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...
how many times total did they finish first
CREATE TABLE table_203_231 ( id number, "season" text, "tier" number, "division" text, "place" text )
SELECT COUNT(*) FROM table_203_231 WHERE "place" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3341, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 3276, 121, 381, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 4687, 121, 1499, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 357, 3341, 549, 17444, 427, 96, 4687, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the 2008 rank of Djibouti?
CREATE TABLE table_23050383_1 (country VARCHAR)
SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = "Djibouti"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 1752, 3747, 519, 834, 536, 41, 17529, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2628, 11003, 13, 309, 354, 23, 4076, 17, 23, 58, 3, 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, 2628, 6157, 3, 834, 6254, 21680, 953, 834, 13427, 1752, 3747, 519, 834, 536, 549, 17444, 427, 684, 3274, 96, 308, 354, 23, 4076, 17, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the minimum number of opponents?
CREATE TABLE table_18847692_2 ( opponents INTEGER )
SELECT MIN(opponents) FROM table_18847692_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4608, 3959, 4508, 834, 357, 41, 16383, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2559, 381, 13, 16383, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 32, 102, 9977, 7, 61, 21680, 953, 834, 2606, 4608, 3959, 4508, 834, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...