NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
question was what was the average creatinine value of patient 016-25562 in 04/2105?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text )
SELECT AVG(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-25562')) AND lab.labname = 'creatinine' AND STRFTIME('%y-%m', lab.labresulttime) = '2105-04'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 9339, 5, 9339, 60, 7, 83, 17, 61, 21680, 7690, 549, 17444, 427, 7690, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868,...
Name the languages for cyprus
CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR)
SELECT languages FROM table_21133193_1 WHERE member_countries = "Cyprus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2368, 3341, 4271, 834, 536, 41, 24925, 7, 584, 4280, 28027, 6, 1144, 834, 13362, 2593, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 8024, 21, 3, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8024, 21680, 953, 834, 2658, 2368, 3341, 4271, 834, 536, 549, 17444, 427, 1144, 834, 13362, 2593, 3274, 96, 254, 63, 12129, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest top 5 winners with less than 0?
CREATE TABLE table_name_30 ( top_5 INTEGER, wins INTEGER )
SELECT MIN(top_5) FROM table_name_30 WHERE wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 420, 834, 755, 3, 21342, 17966, 6, 9204, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 420, 305, 8969, 28, 705, 145, 3, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17684, 599, 2916, 834, 9120, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average losses for 22 goals?
CREATE TABLE table_name_23 ( losses INTEGER, goals_for INTEGER )
SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 8467, 3, 21342, 17966, 6, 1766, 834, 1161, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 8467, 21, 1630, 1766, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1766, 834, 1161, 2490, 1630, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?
CREATE TABLE table_72388 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Party" FROM table_72388 WHERE "Candidates" = 'Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2773, 4060, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13725, 63, 121, 21680, 953, 834, 940, 2773, 4060, 549, 17444, 427, 96, 14050, 12416, 6203, 121, 3274, 3, 31, 6861, 17, 350, 53, 3723, 41, 448, 61, 3, 3390, 5, 4704, 22314, 454, 5, 8688, 41, 308, 61, 1283, 5,...
Bar chart x axis building y axis maximal capacity, and sort in desc by the total number.
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 student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,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 classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) 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 teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) )
SELECT building, MAX(capacity) FROM classroom GROUP BY building ORDER BY MAX(capacity) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1217, 41, 4699, 3, 4331, 4059, 15757, 6, 503, 834, 23, 26, 3, 4331, 4059, 28007, 6, 4220, 834, 23, 26, 3, 4331, 4059, 28007, 6, 10542, 3, 4331, 4059, 18669, 6, 215, 206, 17552, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 740, 6, 4800, 4, 599, 4010, 9, 6726, 61, 21680, 4858, 350, 4630, 6880, 272, 476, 740, 4674, 11300, 272, 476, 4800, 4, 599, 4010, 9, 6726, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many players are from each country Visualize by bar chart, I want to order in desc by the Y-axis.
CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int )
SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 2271, 834, 23, 26, 16, 17, 6, 5570, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 41, 6993, 834, 23, 26, 16, 17, 6, 6993, 834, 4350, 1499, 6, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 684, 6157, 332, 536, 3, 15355, 3162, 1588, 834, 9476, 6157, 332, 357, 9191, 332, 5411, 10628, 651, 834, 23, 26, 3274, 332, 4416, 10628, 651, 350, 4630, 6880, 27...
List the name of tracks belongs to genre Rock or genre Jazz.
CREATE TABLE tracks ( name VARCHAR, genre_id VARCHAR ) CREATE TABLE genres ( id VARCHAR, name VARCHAR )
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock" OR T1.name = "Jazz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6542, 41, 564, 584, 4280, 28027, 6, 5349, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5349, 7, 41, 3, 23, 26, 584, 4280, 28027, 6, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 4350, 21680, 5349, 7, 6157, 332, 536, 3, 15355, 3162, 6542, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 729, 60, 834, 23, 26, 549, 17444, 427, 332, 5411, 4350, 3274, 96, 23349, 121, 4674, ...
calculate the number of patients with personality disorder nos who had a hospital stay for more than 5 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "5" AND diagnoses.short_title = "Personality disorder NOS"
[ 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...
When did the show directed by Michael Dimartino first air?
CREATE TABLE table_19530 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Original air date" FROM table_19530 WHERE "Directed by" = 'Michael DiMartino'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22464, 1458, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 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, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 22464, 1458, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 329, 362, 9, 15, 40, 2043, 29838, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What are the total number of matches smaller than 2 with a tally of 1-19?
CREATE TABLE table_name_84 ( total VARCHAR, tally VARCHAR, matches VARCHAR )
SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 792, 584, 4280, 28027, 6, 3, 17, 1427, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 792, 381, 13, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 3, 17, 1427, 3274, 96, 536, 4481, 121, 3430, 6407, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which English has Plautdietsch of aupel?
CREATE TABLE table_name_64 (english VARCHAR, plautdietsch VARCHAR)
SELECT english FROM table_name_64 WHERE plautdietsch = "aupel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 4606, 40, 1273, 584, 4280, 28027, 6, 3, 102, 28734, 2498, 10904, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1566, 65, 276, 28734, 2498, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22269, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 3, 102, 28734, 2498, 10904, 3274, 96, 402, 4343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who won the most gold medals ?
CREATE TABLE table_203_576 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_576 ORDER BY "gold" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3959, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 755, 3959, 4674, 11300, 272, 476, 96, 14910, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest position of the Bangor City team?
CREATE TABLE table_17366952_1 (position INTEGER, team VARCHAR)
SELECT MAX(position) FROM table_17366952_1 WHERE team = "Bangor City"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3420, 3951, 5373, 834, 536, 41, 4718, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1102, 13, 8, 19330, 127, 896, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4718, 61, 21680, 953, 834, 2517, 3420, 3951, 5373, 834, 536, 549, 17444, 427, 372, 3274, 96, 279, 1468, 127, 896, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the number of documents in different starting date and bin starting date by year interval with a line chart, and list x axis in descending order.
CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME )
SELECT Date_in_Location_From, COUNT(Date_in_Location_From) FROM Document_Locations ORDER BY Date_in_Location_From DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15871, 7, 41, 15871, 834, 4309, 3, 21342, 17966, 6, 2158, 109, 834, 22737, 3, 28027, 599, 1808, 201, 15871, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 350, 3868, 834, 329, 19813, 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, 7678, 834, 77, 834, 434, 32, 75, 257, 834, 22674, 6, 2847, 17161, 599, 308, 342, 834, 77, 834, 434, 32, 75, 257, 834, 22674, 61, 21680, 11167, 834, 434, 32, 75, 1628, 4674, 11300, 272, 476, 7678, 834, 77, 834, 4...
What is the maximum acres in Castledermot?
CREATE TABLE table_28802165_1 (s_acre INTEGER, civil_parish VARCHAR)
SELECT MAX(s_acre) FROM table_28802165_1 WHERE civil_parish = "Castledermot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2079, 2658, 4122, 834, 536, 41, 7, 834, 10610, 3, 21342, 17966, 6, 3095, 834, 1893, 1273, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 9704, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7, 834, 10610, 61, 21680, 953, 834, 2577, 2079, 2658, 4122, 834, 536, 549, 17444, 427, 3095, 834, 1893, 1273, 3274, 96, 254, 9, 7, 17, 1361, 49, 8888, 121, 1, -100, -100, -100, -100, -100, -100, -100...
What's the points classification when the stage was final?
CREATE TABLE table_name_42 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_42 WHERE stage = "final"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 2700, 7, 834, 4057, 2420, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 979, 13774, 116, 8, 1726, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1726, 3274, 96, 12406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What episode was written by Bobby Bell and Bill Lee?
CREATE TABLE table_17552 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT MAX("No. in season") FROM table_17552 WHERE "Written by" = 'Bobby Bell and Bill Lee'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3769, 357, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 4800, 4, 599, 121, 4168, 5, 16, 774, 8512, 21680, 953, 834, 2517, 3769, 357, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 279, 32, 115, 969, 5377, 11, 3259, 5531, 31, 1, -100, -100, -100, -100, -100, -...
Where was the mediterranean games held?
CREATE TABLE table_name_83 ( venue VARCHAR, tournament VARCHAR )
SELECT venue FROM table_name_83 WHERE tournament = "mediterranean games"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 5669, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 3, 5700, 12829, 29, 15, 152, 1031, 1213, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 5892, 3274, 96, 5700, 12829, 29, 15, 152, 1031, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Series had 14 races and 12th position?
CREATE TABLE table_42416 ( "Season" text, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "Podiums" real, "Points" text, "Position" text )
SELECT "Series" FROM table_42416 WHERE "Races" = '14' AND "Position" = '12th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2266, 2938, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 18455, 7, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12106, 7, 121, 21680, 953, 834, 591, 2266, 2938, 549, 17444, 427, 96, 448, 9, 2319, 121, 3274, 3, 31, 2534, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 2122, 189, 31, 1, -100, -100, -100, -100, -100, ...
What is Runner(s)-Up when Margin of Victory is 6 Strokes?
CREATE TABLE table_name_87 ( runner_s__up VARCHAR, margin_of_victory VARCHAR )
SELECT runner_s__up FROM table_name_87 WHERE margin_of_victory = "6 strokes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 948, 9529, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What city is Gwang-Yang stadium in?
CREATE TABLE table_name_2 ( city VARCHAR, stadium VARCHAR )
SELECT city FROM table_name_2 WHERE stadium = "gwang-yang stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 690, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 690, 19, 350, 17789, 18, 476, 1468, 14939, 16, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 690, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 14939, 3274, 96, 122, 17789, 18, 63, 1468, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number of each allergie that the student with first name Lisa has? Draw a bar chart.
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 Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) )
SELECT T1.Allergy, COUNT(T1.Allergy) FROM Allergy_Type AS T1 JOIN Has_Allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" GROUP BY T1.Allergy
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 6838, 49, 122, 63, 6, 2847, 17161, 599, 382, 5411, 6838, 49, 122, 63, 61, 21680, 432, 49, 122, 63, 834, 25160, 6157, 332, 536, 3, 15355, 3162, 4498, 834, 6838, 49, 122, 63, 6157, 332, 357, 9191, 332, ...
Show all allergy type with number of students affected with a bar chart, and order X-axis from high to low order.
CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) )
SELECT AllergyType, COUNT(*) FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy GROUP BY T2.AllergyType ORDER BY AllergyType DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 49, 122, 63, 834, 25160, 41, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 201, 432, 49, 122, 63, 25160, 584, 4280, 28027, 599, 1755, 61, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 49, 122, 63, 25160, 6, 2847, 17161, 599, 1935, 61, 21680, 4498, 834, 6838, 49, 122, 63, 6157, 332, 536, 3, 15355, 3162, 432, 49, 122, 63, 834, 25160, 6157, 332, 357, 9191, 332, 5411, 6838, 49, 122, 63, 3274, ...
What is the player that is from seattle prep?
CREATE TABLE table_name_15 (player VARCHAR, school VARCHAR)
SELECT player FROM table_name_15 WHERE school = "seattle prep"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 20846, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1959, 24, 19, 45, 2805, 8692, 13422, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 496, 3274, 96, 7, 15, 9, 8692, 13422, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the label in 1969?
CREATE TABLE table_name_18 ( label VARCHAR, date VARCHAR )
SELECT label FROM table_name_18 WHERE date = 1969
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 3783, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3783, 16, 17185, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3783, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 833, 3274, 17185, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is Gene Felton's TO Winning Team?
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gto_winning_team VARCHAR)
SELECT to_winning_team FROM table_13657749_2 WHERE gto_winning_team = "Gene Felton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 10402, 4013, 3647, 834, 357, 41, 235, 834, 8163, 834, 11650, 584, 4280, 28027, 6, 3, 122, 235, 834, 8163, 834, 11650, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 8163, 834, 11650, 21680, 953, 834, 536, 10402, 4013, 3647, 834, 357, 549, 17444, 427, 3, 122, 235, 834, 8163, 834, 11650, 3274, 96, 13714, 15, 4163, 7377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
what's the week where attendance is 77,098
CREATE TABLE table_11406866_2 ( week VARCHAR, attendance VARCHAR )
SELECT week FROM table_11406866_2 WHERE attendance = "77,098"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18959, 5176, 26750, 834, 357, 41, 471, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 471, 213, 11364, 19, 3, 4013, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 471, 21680, 953, 834, 18959, 5176, 26750, 834, 357, 549, 17444, 427, 11364, 3274, 96, 4013, 6, 632, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Date, when Series is ATCC Round 5?
CREATE TABLE table_name_1 ( date VARCHAR, series VARCHAR )
SELECT date FROM table_name_1 WHERE series = "atcc round 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 833, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 4531, 19, 8043, 2823, 9609, 305, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 939, 3274, 96, 144, 75, 75, 1751, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the time/retired of the car that started in grid 4?
CREATE TABLE table_name_41 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_41 WHERE grid = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 715, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 87, 10682, 1271, 13, 8, 443, 24,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 8634, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the player who is a wr and has a weight of 197?
CREATE TABLE table_name_83 ( name VARCHAR, position VARCHAR, weight VARCHAR )
SELECT name FROM table_name_83 WHERE position = "wr" AND weight = 197
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 564, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1959, 113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1102, 3274, 96, 210, 52, 121, 3430, 1293, 3274, 3, 27181, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most october for game less than 1
CREATE TABLE table_name_19 ( october INTEGER, game INTEGER )
SELECT MAX(october) FROM table_name_19 WHERE game < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 3, 32, 75, 235, 1152, 3, 21342, 17966, 6, 467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 3, 32, 75, 235, 1152, 21, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 32, 75, 235, 1152, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 467, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Visualize a bar chart about the distribution of Time and meter_100 , and list by the X in ascending please.
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text )
SELECT Time, meter_100 FROM swimmer ORDER BY Time
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2900, 6, 3, 4401, 834, 2915, 21680, 27424, 4674, 11300, 272, 476, 2900, 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, ...
Can you give me the age of the Virtues of Wisdom?
CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR)
SELECT approximate_age FROM table_name_47 WHERE virtues = "wisdom"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 12497, 226, 23, 5058, 834, 545, 584, 4280, 28027, 6, 15768, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 428, 140, 8, 1246, 13, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 24672, 834, 545, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 15768, 7, 3274, 96, 210, 159, 5012, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many parties of the time they took office, binning the took office into Weekday interval, and then split by the minister's name, and show y axis from high to low order.
CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE party_events ( Event_ID int, Event_Name text, Party_ID int, Member_in_charge_ID int ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text ) CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text )
SELECT Took_office, COUNT(Took_office) FROM party GROUP BY Minister ORDER BY COUNT(Took_office) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1719, 41, 6163, 834, 4309, 16, 17, 6, 6163, 834, 4350, 1499, 6, 7678, 1499, 6, 16229, 1499, 6, 12439, 1499, 6, 22424, 76, 15, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 304, 1825, 834, 19632, 6, 2847, 17161, 599, 3696, 1825, 834, 19632, 61, 21680, 1088, 350, 4630, 6880, 272, 476, 3271, 4674, 11300, 272, 476, 2847, 17161, 599, 3696, 1825, 834, 19632, 61, 309, 25067, 1, -100, -100, -10...
Name the total number of main contestants for safe position for tina parekh
CREATE TABLE table_1853 ( "Main contestant" text, "Co-contestant (Yaar vs. Pyaar)" text, "Date performed" text, "Scores by each individual judge" text, "Total score/week" text, "Position" text, "Status" text )
SELECT COUNT("Main contestant") FROM table_1853 WHERE "Position" = 'Safe' AND "Co-contestant (Yaar vs. Pyaar)" = 'Tina Parekh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4867, 41, 96, 21978, 29, 4233, 288, 121, 1499, 6, 96, 3881, 18, 1018, 4377, 288, 41, 476, 9, 291, 3, 208, 7, 5, 12901, 9, 291, 61, 121, 1499, 6, 96, 308, 342, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21978, 29, 4233, 288, 8512, 21680, 953, 834, 2606, 4867, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 27437, 31, 3430, 96, 3881, 18, 1018, 4377, 288, 41, 476, 9, 291, 3, 208, 7...
What is Position, when Round is less than 5, when Nationality is 'Canada', and when College/Junior/Club Team (League) is 'Saint John Sea Dogs ( QMJHL )'?
CREATE TABLE table_name_30 ( position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR )
SELECT position FROM table_name_30 WHERE round < 5 AND nationality = "canada" AND college_junior_club_team__league_ = "saint john sea dogs ( qmjhl )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 1102, 584, 4280, 28027, 6, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 834, 834, 29512, 834, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 1751, 3, 2, 305, 3430, 1157, 485, 3274, 96, 658, 18089, 121, 3430, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 834, 834, 29512, 834, 3274, 96, 7, 9, 7...
What was the Gdp (bn) for the region that has ioannina as its Capital?
CREATE TABLE table_name_67 ( gdp___bn__ VARCHAR, capital VARCHAR )
SELECT gdp___bn__ FROM table_name_67 WHERE capital = "ioannina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 3, 122, 26, 102, 834, 834, 834, 115, 29, 834, 834, 584, 4280, 28027, 6, 1784, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 350...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 122, 26, 102, 834, 834, 834, 115, 29, 834, 834, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1784, 3274, 96, 23, 32, 14431, 29, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the total number of electorates (2009) when the name is govindpura?
CREATE TABLE table_name_97 (number_of_electorates__2009_ VARCHAR, name VARCHAR)
SELECT COUNT(number_of_electorates__2009_) FROM table_name_97 WHERE name = "govindpura"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 564, 3274, 96, 9527, 77, 26, 3791, 9, 121, 1, -100, -100, -100, -100, -100, ...
What is the frequency of the tmm500dbo22gq order part number?
CREATE TABLE table_name_17 ( frequency VARCHAR, order_part_number VARCHAR )
SELECT frequency FROM table_name_17 WHERE order_part_number = "tmm500dbo22gq"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 7321, 584, 4280, 28027, 6, 455, 834, 2274, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7321, 13, 8, 3, 17, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 455, 834, 2274, 834, 5525, 1152, 3274, 96, 17, 635, 2560, 26, 115, 32, 2884, 122, 1824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the candidate that was first elected in 1914?
CREATE TABLE table_1341973_11 (candidates VARCHAR, first_elected VARCHAR)
SELECT candidates FROM table_1341973_11 WHERE first_elected = 1914
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2294, 4552, 834, 2596, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4775, 24, 47, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4341, 21680, 953, 834, 23747, 2294, 4552, 834, 2596, 549, 17444, 427, 166, 834, 19971, 3274, 24725, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose year of birth is less than 2120 and lab test fluid is joint fluid?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2120" AND lab.fluid = "Joint Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
In which country does Roberto Almeida?
CREATE TABLE artists ( id number, name text ) CREATE TABLE genres ( id number, name text ) CREATE TABLE playlists ( id number, name text ) CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE sqlite_sequence ( name text, seq text ) CREATE TABLE invoice_lines ( id number, invoice_id number, track_id number, unit_price number, quantity number ) CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number ) CREATE TABLE media_types ( id number, name text ) CREATE TABLE employees ( id number, last_name text, first_name text, title text, reports_to number, birth_date time, hire_date time, address text, city text, state text, country text, postal_code text, phone text, fax text, email text ) CREATE TABLE playlist_tracks ( playlist_id number, track_id number ) CREATE TABLE tracks ( id number, name text, album_id number, media_type_id number, genre_id number, composer text, milliseconds number, bytes number, unit_price number ) CREATE TABLE albums ( id number, title text, artist_id number )
SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3153, 41, 3, 23, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5349, 7, 41, 3, 23, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 722, 549, 17444, 427, 166, 834, 4350, 3274, 96, 24372, 49, 235, 121, 3430, 336, 834, 4350, 3274, 96, 188, 40, 526, 23, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the date for the australian grand prix.
CREATE TABLE table_55643 ( "Round" real, "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text )
SELECT "Date" FROM table_55643 WHERE "Grand Prix" = 'australian grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 4389, 519, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 4744, 727, 12942, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3769, 4389, 519, 549, 17444, 427, 96, 4744, 727, 12942, 121, 3274, 3, 31, 402, 3109, 9928, 1907, 3407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
List the names of editors in ascending order of age.
CREATE TABLE editor ( Name VARCHAR, Age VARCHAR )
SELECT Name FROM editor ORDER BY Age
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6005, 41, 5570, 584, 4280, 28027, 6, 7526, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 3056, 13, 18008, 16, 25200, 53, 455, 13, 1246, 5, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5570, 21680, 6005, 4674, 11300, 272, 476, 7526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has a Place of t1, and a Player of hubert green?
CREATE TABLE table_name_35 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT AVG(score) FROM table_name_35 WHERE place = "t1" AND player = "hubert green"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 7, 9022, 3, 21342, 17966, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 3399, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 286, 3274, 96, 17, 536, 121, 3430, 1959, 3274, 96, 16420, 49, 17, 1442, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many players have a 3 dart average of more than 97 ?
CREATE TABLE table_203_460 ( id number, "player" text, "played" number, "legs won" number, "legs lost" number, "lwat" number, "100+" number, "140+" number, "180s" number, "high checkout" number, "3-dart average" number )
SELECT COUNT("player") FROM table_203_460 WHERE "3-dart average" > 97
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 25991, 41, 3, 23, 26, 381, 6, 96, 20846, 121, 1499, 6, 96, 4895, 15, 26, 121, 381, 6, 96, 5772, 7, 751, 121, 381, 6, 96, 5772, 7, 1513, 121, 381, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 20846, 8512, 21680, 953, 834, 23330, 834, 25991, 549, 17444, 427, 96, 519, 18, 26, 1408, 1348, 121, 2490, 3, 4327, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What venue hsoted the european cross country championships with a notes of junior men individual 6.595km?
CREATE TABLE table_name_20 ( venue VARCHAR, competition VARCHAR, notes VARCHAR )
SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 5669, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 3, 107, 7, 32, 1054, 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, 5669, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 2259, 3274, 96, 28188, 152, 2269, 684, 10183, 7, 121, 3430, 3358, 3274, 96, 6959, 23, 127, 1076, 928, 3, 17255, 3301, 5848, 121, 1, -100, -100, -100, -100, -1...
On December 5 what team played their home game?
CREATE TABLE table_36593 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Attendance" real )
SELECT "Home" FROM table_36593 WHERE "Date" = 'december 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10402, 4271, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 121, 21680, 953, 834, 10402, 4271, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Rank listed for the attendance of 2010 of 9,000,000 and 2011 larger than 9,210,000?
CREATE TABLE table_76782 ( "Rank" real, "Amusement park corporations" text, "Country" text, "2008" text, "2009" text, "2010" text, "2011" real, "2012" text )
SELECT SUM("Rank") FROM table_76782 WHERE "2010" = '9,000,000' AND "2011" > '9,210,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3940, 357, 41, 96, 22557, 121, 490, 6, 96, 8123, 12431, 2447, 11711, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 16128, 121, 1499, 6, 96, 16660, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 3959, 3940, 357, 549, 17444, 427, 96, 14926, 121, 3274, 3, 31, 1298, 23916, 31, 3430, 96, 13907, 121, 2490, 3, 31, 1298, 6, 357, 29573, 31, 1, -100, -100, -100, -...
Who did the high rebounds for the team Minnesota?
CREATE TABLE table_27734769_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_27734769_9 WHERE team = "Minnesota"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4552, 4177, 3951, 834, 1298, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 410, 8, 306, 3, 23768, 21, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 2555, 4552, 4177, 3951, 834, 1298, 549, 17444, 427, 372, 3274, 96, 12858, 1496, 32, 17, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Date has a Winning score of 15 (71-69-68-65=273)?
CREATE TABLE table_name_98 ( date VARCHAR, winning_score VARCHAR )
SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 68 - 65 = 273)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 833, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 549, 10503, 2604, 13, 627, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 2, 1808, 599, 4450, 3, 18, 3, 3951, 3, 18, 3, 3651, 3, 18, 7123, 3274, 2307, 5268, 1, -100, -100, -100, -100, -100, -100, -100...
Who is the away side at glenferrie oval?
CREATE TABLE table_name_90 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team FROM table_name_90 WHERE venue = "glenferrie oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 550, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 550, 596, 44, 3, 3537, 29, 1010, 1753,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 5669, 3274, 96, 3537, 29, 1010, 1753, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Home team on April 4?
CREATE TABLE table_name_61 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_61 WHERE date = "april 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 5515, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1210, 372, 30, 1186, 314, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What city has riverside ground as the venue, with a year prior to 1998?
CREATE TABLE table_34341 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real )
SELECT "City" FROM table_34341 WHERE "Venue" = 'riverside ground' AND "Year" < '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 3710, 536, 41, 96, 134, 9022, 121, 1499, 6, 96, 667, 102, 4718, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 476, 2741, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 121, 21680, 953, 834, 3710, 3710, 536, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5927, 49, 1583, 1591, 31, 3430, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 3916, 31, 1, -100, -100, -100...
what is the race where the pole position is niki lauda and the date is 27 april?
CREATE TABLE table_1140085_2 ( race VARCHAR, pole_position VARCHAR, date VARCHAR )
SELECT race FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND date = "27 April"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 5548, 4433, 834, 357, 41, 1964, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1964, 21680, 953, 834, 2596, 5548, 4433, 834, 357, 549, 17444, 427, 11148, 834, 4718, 3274, 96, 567, 9069, 18465, 26, 9, 121, 3430, 833, 3274, 96, 2555, 1186, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the captain of the 2012 NRL season competition?
CREATE TABLE table_43324 ( "Competition" text, "Ladder Position" text, "Coach" text, "Captain(s)" text, "Details" text )
SELECT "Captain(s)" FROM table_43324 WHERE "Competition" = '2012 nrl season'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 519, 2266, 41, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 3612, 26, 588, 14258, 121, 1499, 6, 96, 3881, 1836, 121, 1499, 6, 96, 19566, 17, 9, 77, 599, 7, 61, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19566, 17, 9, 77, 599, 7, 61, 121, 21680, 953, 834, 4906, 519, 2266, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 12172, 3, 29, 52, 40, 774, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?
CREATE TABLE table_61894 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text )
SELECT "Week 5" FROM table_61894 WHERE "Week 3" = 'felicia taylor'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 3914, 591, 41, 96, 518, 10266, 209, 121, 1499, 6, 96, 518, 10266, 204, 121, 1499, 6, 96, 518, 10266, 220, 121, 1499, 6, 96, 518, 10266, 3, 20364, 1499, 6, 96, 518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10266, 3, 17395, 21680, 953, 834, 4241, 3914, 591, 549, 17444, 427, 96, 518, 10266, 220, 121, 3274, 3, 31, 4025, 1294, 9, 3, 17, 9, 63, 322, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who played against away team hereford united?
CREATE TABLE table_name_4 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_4 WHERE away_team = "hereford united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 1944, 581, 550, 372, 270, 2590, 18279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 834, 11650, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 550, 834, 11650, 3274, 96, 88, 60, 2590, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
count the number of patients whose year of death is less than or equal to 2111 and lab test fluid is ascites?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2111.0" AND lab.fluid = "Ascites"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the total number of population in the year 2005 where the population density 35.9 (/km 2)?
CREATE TABLE table_1480455_1 ( population__2005_ VARCHAR, population_density___km_2__ VARCHAR )
SELECT COUNT(population__2005_) FROM table_1480455_1 WHERE population_density___km_2__ = "35.9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 6348, 3769, 834, 536, 41, 2074, 834, 834, 22594, 834, 584, 4280, 28027, 6, 2074, 834, 537, 7, 485, 834, 834, 834, 5848, 834, 357, 834, 834, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 9791, 7830, 834, 834, 22594, 834, 61, 21680, 953, 834, 24748, 6348, 3769, 834, 536, 549, 17444, 427, 2074, 834, 537, 7, 485, 834, 834, 834, 5848, 834, 357, 834, 834, 3274, 96, 2469, 5, 1298, 121, ...
What is the fee (if applicable) for Norway?
CREATE TABLE table_25965003_3 ( fee__if_applicable_ VARCHAR, countries_and_territories VARCHAR )
SELECT fee__if_applicable_ FROM table_25965003_3 WHERE countries_and_territories = "Norway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4314, 2560, 519, 834, 519, 41, 2572, 834, 834, 99, 834, 27515, 75, 179, 834, 584, 4280, 28027, 6, 1440, 834, 232, 834, 449, 52, 15467, 15, 7, 584, 4280, 28027, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2572, 834, 834, 99, 834, 27515, 75, 179, 834, 21680, 953, 834, 1828, 4314, 2560, 519, 834, 519, 549, 17444, 427, 1440, 834, 232, 834, 449, 52, 15467, 15, 7, 3274, 96, 567, 127, 1343, 121, 1, -100, -100, -100, -100...
What is the mean played number where the goals conceded is less than 16?
CREATE TABLE table_name_81 ( played INTEGER, goals_conceded INTEGER )
SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1944, 3, 21342, 17966, 6, 1766, 834, 11620, 221, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1243, 1944, 381, 213, 8, 1766, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1766, 834, 11620, 221, 26, 3, 2, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose gender is f and lab test name is bilirubin, indirect?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "Bilirubin, Indirect"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
On July 31, 2008, what are the Democrat: Vivian Davis Figures percentages?
CREATE TABLE table_21043 ( "Poll Source" text, "Dates administered" text, "Democrat: Vivian Davis Figures" text, "Republican: Jeff Sessions" text, "Lead Margin" real )
SELECT "Democrat: Vivian Davis Figures" FROM table_21043 WHERE "Dates administered" = 'July 31, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 4906, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 1813, 5907, 29, 8688, 7996, 7, 121, 1499, 6, 96, 1649, 15727, 152, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19679, 10, 1813, 5907, 29, 8688, 7996, 7, 121, 21680, 953, 834, 15239, 4906, 549, 17444, 427, 96, 308, 6203, 19092, 121, 3274, 3, 31, 683, 83, 63, 12074, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
which team had the top transfer come in ?
CREATE TABLE table_203_440 ( id number, "rank" number, "player" text, "from" text, "to" text, "transfer fee\n(\u20ac million)" number, "year" number )
SELECT "to" FROM table_203_440 ORDER BY "rank" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 22335, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 7152, 121, 1499, 6, 96, 235, 121, 1499, 6, 96, 7031, 1010, 2572, 2, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 235, 121, 21680, 953, 834, 23330, 834, 22335, 4674, 11300, 272, 476, 96, 6254, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose age is beow 74 and diagnosed for non specific elavation of transaminase level or lactic acid dehydrogenase?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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.age < "74" AND diagnoses.long_title = "Nonspecific elevation of levels of transaminase or lactic acid dehydrogenase [LDH]"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?
CREATE TABLE table_60678 ( "Name" text, "Wikis" text, "Web publishing" text, "Calendaring software" text, "Project Management" text, "Workflow system" text, "Document Management" text, "List Management" text, "XML Forms Management and workflow" text, "Discussion" text, "Blogs" text, "Surveys" text, "Time Tracking" text, "Business Intelligence" text, "Charting" text, "Bookmarking, Tagging, Rating and Comments" text, "Social software" text, "Enterprise search" text, "Office suite" text )
SELECT "Social software" FROM table_60678 WHERE "Discussion" = 'no' AND "Time Tracking" = 'no' AND "Charting" = 'no'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3708, 927, 41, 96, 23954, 121, 1499, 6, 96, 518, 9069, 7, 121, 1499, 6, 96, 15805, 9002, 121, 1499, 6, 96, 14318, 35, 3439, 53, 889, 121, 1499, 6, 96, 3174, 11827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5231, 4703, 889, 121, 21680, 953, 834, 3328, 3708, 927, 549, 17444, 427, 96, 15683, 302, 1938, 121, 3274, 3, 31, 29, 32, 31, 3430, 96, 13368, 8799, 53, 121, 3274, 3, 31, 29, 32, 31, 3430, 96, 18947, 1222, 12...
What was the score when stefan edberg won after 1978?
CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR)
SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 7, 9022, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 6336, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 3, 7, 24018, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 215, 2490, 14834, 3430, 6336, 3274, 96, 7, 24018, 3, 15, 26, 2235, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many events lasted 3 rounds ?
CREATE TABLE table_204_53 ( id number, "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "round" number, "time" text )
SELECT COUNT("event") FROM table_204_53 WHERE "round" = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4867, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 15, 2169, 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, 2847, 17161, 599, 121, 15, 2169, 8512, 21680, 953, 834, 26363, 834, 4867, 549, 17444, 427, 96, 7775, 121, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which away team plays at the venue glenferrie oval?
CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_63 WHERE venue = "glenferrie oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 550, 372, 4805, 44, 8, 5669, 3, 3537, 29, 1010, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 5669, 3274, 96, 3537, 29, 1010, 1753, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which position does Loren Woods play?
CREATE TABLE table_10015132_21 (position VARCHAR, player VARCHAR)
SELECT position FROM table_10015132_21 WHERE player = "Loren Woods"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 1808, 23757, 834, 2658, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1102, 405, 8410, 35, 2985, 7, 577, 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, 1102, 21680, 953, 834, 2915, 1808, 23757, 834, 2658, 549, 17444, 427, 1959, 3274, 96, 434, 127, 35, 2985, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what's the district with party being republican and elected being 1998
CREATE TABLE table_13833770_3 ( district VARCHAR, party VARCHAR, elected VARCHAR )
SELECT district FROM table_13833770_3 WHERE party = "Republican" AND elected = 1998
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22744, 4201, 26920, 834, 519, 41, 3939, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 8160, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 3939, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 22744, 4201, 26920, 834, 519, 549, 17444, 427, 1088, 3274, 96, 1649, 15727, 152, 121, 3430, 8160, 3274, 6260, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which race has a pole of test driver and a team name of Lucky Strike Honda Racing f1 team?
CREATE TABLE table_name_36 (races VARCHAR, poles VARCHAR, team_name VARCHAR)
SELECT races FROM table_name_36 WHERE poles = "test driver" AND team_name = "lucky strike honda racing f1 team"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 12614, 7, 584, 4280, 28027, 6, 11148, 7, 584, 4280, 28027, 6, 372, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1964, 65, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10879, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 11148, 7, 3274, 96, 4377, 2535, 121, 3430, 372, 834, 4350, 3274, 96, 18219, 63, 6585, 3, 31782, 8191, 3, 89, 536, 372, 121, 1, -100, -100, -100, -100, -100, ...
What geographical region is contestant laura jim nez ynoa from?
CREATE TABLE table_26659 ( "Province, Community" text, "Contestant" text, "Age" real, "Height" text, "Hometown" text, "Geographical Regions" text )
SELECT "Geographical Regions" FROM table_26659 WHERE "Contestant" = 'Laura Jiménez Ynoa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 3390, 41, 96, 3174, 2494, 565, 6, 3092, 121, 1499, 6, 96, 4302, 4377, 288, 121, 1499, 6, 96, 188, 397, 121, 490, 6, 96, 3845, 2632, 121, 1499, 6, 96, 19040, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 517, 15, 32, 16982, 6163, 7, 121, 21680, 953, 834, 357, 3539, 3390, 549, 17444, 427, 96, 4302, 4377, 288, 121, 3274, 3, 31, 3612, 2414, 6006, 154, 9645, 3, 476, 29, 32, 9, 31, 1, -100, -100, -100, -100, -100...
give me the number of patients whose death status is 0 and procedure short title is left heart cardiac cath?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Left heart cardiac cath"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id, and sort by the y axis in desc.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE 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) )
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY COUNT(JOB_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382,...
Who was the pitcher on June 8, 1961?
CREATE TABLE table_name_88 ( pitcher VARCHAR, date VARCHAR )
SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 20034, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 20034, 30, 1515, 9478, 21018, 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, 20034, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 833, 3274, 96, 6959, 15, 9478, 21018, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many lanes have a rank greater than 8?
CREATE TABLE table_name_25 (lane INTEGER, rank INTEGER)
SELECT SUM(lane) FROM table_name_25 WHERE rank > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 8102, 3, 21342, 17966, 6, 11003, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 50, 1496, 43, 3, 9, 11003, 2123, 145, 505, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 8102, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 11003, 2490, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the number of games for each home team in a bar chart.
CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text ) CREATE TABLE stadium ( id int, name text, Home_Games int, Average_Attendance real, Total_Attendance real, Capacity_Percentage real ) CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text )
SELECT Home_team, COUNT(Home_team) FROM game GROUP BY Home_team
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2871, 834, 6004, 4215, 41, 467, 834, 23, 26, 16, 17, 6, 3, 23, 26, 16, 17, 6, 12387, 1499, 6, 28905, 1499, 6, 7720, 834, 858, 834, 19515, 15, 7, 1499, 6, 9149, 1499, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1210, 834, 11650, 6, 2847, 17161, 599, 19040, 834, 11650, 61, 21680, 467, 350, 4630, 6880, 272, 476, 1210, 834, 11650, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest total medals a team with less than 15 gold, less than 5 bronze, and a rank larger than 10 has?
CREATE TABLE table_name_96 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MAX(total) FROM table_name_96 WHERE gold < 15 AND bronze < 5 AND rank > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 235, 1947, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 2045, 3, 2, 627, 3430, 13467, 3, 2, 305, 3430, 11003, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum number of poles?
CREATE TABLE table_4275 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT MAX("Poles") FROM table_4275
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 3072, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 6, 96, 893...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8931, 15, 7, 8512, 21680, 953, 834, 4165, 3072, 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, -10...
what was the only single released in 2006 ?
CREATE TABLE table_204_689 ( id number, "year" number, "title" text, "album" text, "uk" number, "b-sides" text )
SELECT "title" FROM table_204_689 WHERE "year" = 2006
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 3914, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 1598, 121, 381, 6, 96, 115, 18, 1583, 7, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 948, 3914, 549, 17444, 427, 96, 1201, 121, 3274, 3581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What opponent has a record of 6-9?
CREATE TABLE table_37350 ( "Week" real, "Date" text, "Opponent" text, "Time ( ET )" text, "Game site" text, "Result" text, "Record" text )
SELECT "Opponent" FROM table_37350 WHERE "Record" = '6-9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 16975, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 13368, 41, 10104, 3, 61, 121, 1499, 6, 96, 23055, 353, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4118, 16975, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 948, 7141, 31, 1, -100, -100, -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, find job_id and department_id , and visualize them by a bar chart.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT JOB_ID, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 3396, 19846, 11810, 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,...
What game number was on January 14?
CREATE TABLE table_3850 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Game" FROM table_3850 WHERE "Date" = 'January 14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 1752, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 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, 96, 23055, 121, 21680, 953, 834, 3747, 1752, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 30404, 968, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me the name of the customer who ordered the most items in total.
CREATE TABLE customers ( customer_id number, payment_method text, customer_name text, date_became_customer time, other_customer_details text ) CREATE TABLE order_items ( order_id number, product_id number, order_quantity text ) CREATE TABLE addresses ( address_id number, address_content text, city text, zip_postcode text, state_province_county text, country text, other_address_details text ) CREATE TABLE products ( product_id number, product_details text ) CREATE TABLE customer_contact_channels ( customer_id number, channel_code text, active_from_date time, active_to_date time, contact_number text ) CREATE TABLE customer_orders ( order_id number, customer_id number, order_status text, order_date time, order_details text ) CREATE TABLE customer_addresses ( customer_id number, address_id number, date_address_from time, address_type text, date_address_to time )
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 884, 834, 23, 26, 381, 6, 1942, 834, 23152, 1499, 6, 884, 834, 4350, 1499, 6, 833, 834, 346, 6527, 15, 834, 25697, 49, 97, 6, 119, 834, 25697, 49, 834, 221, 5756, 7, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 25697, 49, 834, 4350, 21680, 722, 6157, 3, 17, 536, 3, 15355, 3162, 884, 834, 9397, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25697, 49, 834, 23, 26, 3274, 3, 17, 4416, 25697, 49, 834, 23, 26, 3, ...
What is the front-side bus for the processor whose frequency is 733MHz?
CREATE TABLE table_name_95 ( front_side_bus VARCHAR, frequency VARCHAR )
SELECT front_side_bus FROM table_name_95 WHERE frequency = "733mhz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 851, 834, 1583, 834, 3465, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 851, 18, 1583, 2601, 21, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 851, 834, 1583, 834, 3465, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 7321, 3274, 96, 4552, 519, 51, 107, 172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Year has a College of nebraska, and a Pick of 2?
CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR)
SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1201, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 65, 3, 9, 1888, 13, 3, 29,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1900, 3274, 96, 29, 15, 1939, 10717, 121, 3430, 1432, 3274, 96, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the D 45 O with D 46 O of r 31
CREATE TABLE table_name_97 ( d_45_o VARCHAR, d_46_o VARCHAR )
SELECT d_45_o FROM table_name_97 WHERE d_46_o = "r 31 √"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 3, 26, 834, 2128, 834, 32, 584, 4280, 28027, 6, 3, 26, 834, 4448, 834, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 309, 3479...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 26, 834, 2128, 834, 32, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 3, 26, 834, 4448, 834, 32, 3274, 96, 52, 2664, 3, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record at Columbia when KU, 4-1 is the record for the last 5 minutes?
CREATE TABLE table_name_2 (at_columbia VARCHAR, last_5_meetings VARCHAR)
SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = "ku, 4-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 144, 834, 3297, 5937, 23, 9, 584, 4280, 28027, 6, 336, 834, 755, 834, 526, 15, 1222, 7, 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, 0...
[ 3, 23143, 14196, 44, 834, 3297, 5937, 23, 9, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 336, 834, 755, 834, 526, 15, 1222, 7, 3274, 96, 2729, 6, 314, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
On what Date in Stade Leopold Senghor, Dakar was the Score 4–0?
CREATE TABLE table_name_93 (date VARCHAR, score VARCHAR, venue VARCHAR)
SELECT date FROM table_name_93 WHERE score = "4–0" AND venue = "stade leopold senghor, dakar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 7678, 16, 472, 9, 221, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 2604, 3274, 96, 591, 104, 632, 121, 3430, 5669, 3274, 96, 2427, 221, 90, 32, 3233, 26, 3, 7, 4606, 107, 127, 6, 836, 4031, 121, 1, -100, -100, -100, -100, ...
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by time, and I want to order y-axis in asc order.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8...
How many copies per particle are there for the base pair that is size 1059?
CREATE TABLE table_140968_1 ( copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR )
SELECT COUNT(copies_per_particle) FROM table_140968_1 WHERE size___s_base_pair__ = 1059
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4198, 3651, 834, 536, 41, 8167, 834, 883, 834, 102, 8372, 584, 4280, 28027, 6, 812, 834, 834, 834, 7, 834, 10925, 834, 102, 2256, 834, 834, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 17634, 7, 834, 883, 834, 102, 8372, 61, 21680, 953, 834, 2534, 4198, 3651, 834, 536, 549, 17444, 427, 812, 834, 834, 834, 7, 834, 10925, 834, 102, 2256, 834, 834, 3274, 335, 3390, 1, -100, -100, ...
When the venue was A and the date was 2 january 2008, what was the average attendance?
CREATE TABLE table_39967 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real )
SELECT AVG("Attendance") FROM table_39967 WHERE "Venue" = 'a' AND "Date" = '2 january 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3264, 3708, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 519, 3264, 3708, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 9, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 357, 3, 7066, 76, 1208, ...
How many population values are listed for the community with an area of 10.25 sq.km.?
CREATE TABLE table_171361_1 ( population VARCHAR, area_km_2 VARCHAR )
SELECT COUNT(population) FROM table_171361_1 WHERE area_km_2 = "10.25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2368, 4241, 834, 536, 41, 2074, 584, 4280, 28027, 6, 616, 834, 5848, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2074, 2620, 33, 2616, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9791, 7830, 61, 21680, 953, 834, 2517, 2368, 4241, 834, 536, 549, 17444, 427, 616, 834, 5848, 834, 357, 3274, 96, 10415, 1828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the attendance of the western conference finals series?
CREATE TABLE table_76221 ( "Date" text, "Opponent" text, "Score" text, "Leading Scorer" text, "Attendance" text, "Series" text )
SELECT "Attendance" FROM table_76221 WHERE "Series" = 'western conference finals'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 357, 2658, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 2796, 9, 26, 53, 17763, 52, 121, 1499, 6, 96, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 3959, 357, 2658, 549, 17444, 427, 96, 12106, 7, 121, 3274, 3, 31, 24411, 2542, 804, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which county do the Trojans come from?
CREATE TABLE table_name_87 ( county VARCHAR, mascot VARCHAR )
SELECT county FROM table_name_87 WHERE mascot = "trojans"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 5435, 584, 4280, 28027, 6, 3, 2754, 4310, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5435, 103, 8, 28622, 7, 369, 45, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5435, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 3, 2754, 4310, 3274, 96, 17, 52, 32, 7066, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the payload for Class MRBM, and a range of 1,930km?
CREATE TABLE table_name_12 ( payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR )
SELECT payload FROM table_name_12 WHERE class = "mrbm" AND range__varies_with_payload_weight_ = "1,930km"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 726, 7134, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 620, 834, 834, 15550, 834, 4065, 834, 8832, 7134, 834, 9378, 834, 584, 4280, 28027, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 726, 7134, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 853, 3274, 96, 51, 52, 115, 51, 121, 3430, 620, 834, 834, 15550, 834, 4065, 834, 8832, 7134, 834, 9378, 834, 3274, 96, 4347, 1298, 1458, 5848, 121, 1, ...
What league does the team with the nickname Cavaliers belong to
CREATE TABLE table_1272 ( "School" text, "Nickname" text, "Colors" text, "League" text, "Class" text, "Division" text )
SELECT "League" FROM table_1272 WHERE "Nickname" = 'Cavaliers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 357, 41, 96, 29364, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 3881, 322, 7, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 21486, 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, 2796, 9, 5398, 121, 21680, 953, 834, 22367, 357, 549, 17444, 427, 96, 567, 3142, 4350, 121, 3274, 3, 31, 254, 9, 2165, 4518, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...