NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the highest difference for the team that had less than 0 draws?
CREATE TABLE table_name_98 ( difference INTEGER, drew INTEGER )
SELECT MAX(difference) FROM table_name_98 WHERE drew < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 1750, 3, 21342, 17966, 6, 3, 26, 60, 210, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1750, 21, 8, 372, 24, 141, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 26, 99, 11788, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 3, 26, 60, 210, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the last names of the teachers who teach the student called GELL TAMI?
CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) CREATE TABLE teachers ( lastname text, firstname text, classroom number )
SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 381, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 5064, 4350, 21680, 570, 6157, 332, 536, 3, 15355, 3162, 3081, 6157, 332, 357, 9191, 332, 5411, 4057, 3082, 3274, 332, 4416, 4057, 3082, 549, 17444, 427, 332, 5411, 14672, 4350, 3274, 96, 517, 12735, 121, 34...
What season had a game in the first round with a result of 4–1, 0–1?
CREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR)
SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 9476, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 774, 141, 3, 9, 467, 16, 8, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 1751, 3274, 96, 14672, 1751, 121, 3430, 741, 3274, 96, 591, 104, 4347, 3, 632, 104, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the aggregate with opponents of tauras
CREATE TABLE table_name_65 ( aggregate VARCHAR, opponents VARCHAR )
SELECT aggregate FROM table_name_65 WHERE opponents = "tauras"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 12955, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 12955, 28, 16383, 13, 3, 17, 9, 2414, 7, 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, 12955, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 16383, 3274, 96, 17, 9, 2414, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which stadium was used for the North East Stars club?
CREATE TABLE table_77664 ( "Club" text, "Founded" real, "Joined" real, "Location" text, "Stadium" text, "Capacity" real, "2012\u201313 Position" text, "Top Division Titles" real )
SELECT "Stadium" FROM table_77664 WHERE "Club" = 'north east stars'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 3539, 591, 41, 96, 254, 11158, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 683, 32, 630, 26, 121, 490, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 17, 9, 1292...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 9, 12925, 121, 21680, 953, 834, 4013, 3539, 591, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 29, 127, 189, 5727, 4811, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the highest points for Justin Lofton when his top 10 is lower than 5?
CREATE TABLE table_45028 ( "Driver" text, "Points" real, "Wins" real, "Top 5" real, "Top 10" real )
SELECT MAX("Points") FROM table_45028 WHERE "Driver" = 'justin lofton' AND "Top 10" < '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10593, 2577, 41, 96, 20982, 52, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22512, 7, 8512, 21680, 953, 834, 10593, 2577, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 4998, 77, 13871, 106, 31, 3430, 96, 22481, 335, 121, 3, 2, 3, 31, 755, 31, 1, -100, -100, -100, ...
What is the country where there are 8 children per donor and no data for donor payments?
CREATE TABLE table_16175217_1 ( country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR )
SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2517, 5373, 2517, 834, 536, 41, 684, 584, 4280, 28027, 6, 502, 834, 883, 834, 2029, 127, 584, 4280, 28027, 6, 18936, 834, 21752, 584, 4280, 28027, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 2938, 2517, 5373, 2517, 834, 536, 549, 17444, 427, 502, 834, 883, 834, 2029, 127, 3274, 96, 927, 502, 121, 3430, 18936, 834, 21752, 3274, 96, 29, 32, 331, 121, 1, -100, -100, -100, -100, -100, ...
what is the drug type of drug name aloe vesta 2-n-1 skin cond?
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, ...
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Aloe Vesta 2-n-1 Skin Cond"
[ 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, 7744, 7, 5, 26, 13534, 834, 6137, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 188, 40, 32, 15, 20970, 9, 8401, 29, 2292, 13038, 1193, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
why type of genre was peter maxwell davies ' work that was the same as emil petrovics
CREATE TABLE table_204_969 ( id number, "composer" text, "title" text, "genre" text, "date" number, "notes" text )
SELECT "genre" FROM table_204_969 WHERE "composer" = 'peter maxwell davies'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 1298, 3951, 41, 3, 23, 26, 381, 6, 96, 287, 2748, 49, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 729, 60, 121, 1499, 6, 96, 5522, 121, 381, 6, 96, 7977, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 729, 60, 121, 21680, 953, 834, 26363, 834, 1298, 3951, 549, 17444, 427, 96, 287, 2748, 49, 121, 3274, 3, 31, 4995, 49, 9858, 2091, 836, 5914, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When the away team score was 11.5 (71), what was the date?
CREATE TABLE table_10950 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_10950 WHERE "Away team score" = '11.5 (71)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 1752, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 17304, 1752, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 10032, 755, 13649, 6982, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the 2010 figure for the district of Columbia where the 2004 figure is more than 12.3?
CREATE TABLE table_name_1 ( division VARCHAR )
SELECT SUM(2010) FROM table_name_1 WHERE division = "district of columbia" AND 2004 > 12.3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 4889, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2735, 2320, 21, 8, 3939, 13, 8183, 213, 8, 4406, 2320, 19, 72, 145, 8013, 51...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 14926, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 4889, 3274, 96, 26, 23, 20066, 13, 7632, 5937, 23, 9, 121, 3430, 4406, 2490, 8013, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
how many times has patient 022-163354 gone to the icu a year before?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TA...
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-163354') AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 10061, 15129, 21545, 23, 26, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, ...
how many days have elapsed since patient 027-85328 was admitted to the intensive care unit?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( ...
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '027-85328' AND patient.unitdischargetime IS NULL
[ 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, 209, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses?
CREATE TABLE table_name_36 ( seasons INTEGER, years VARCHAR, lost VARCHAR )
SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 9385, 3, 21342, 17966, 6, 203, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 9385, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 9476, 7, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 203, 3274, 96, 2294, 4613, 121, 3430, 1513, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the club when tries for is 83
CREATE TABLE table_13564702_3 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_13564702_3 WHERE tries_for = "83"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4834, 27760, 357, 834, 519, 41, 13442, 584, 4280, 28027, 6, 3, 9000, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1886, 116, 3, 9000, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1886, 21680, 953, 834, 2368, 4834, 27760, 357, 834, 519, 549, 17444, 427, 3, 9000, 834, 1161, 3274, 96, 4591, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what was the total score for the 1st and 2nd legs of the somalia vs sudan game .
CREATE TABLE table_204_324 ( id number, "team 1" text, "agg." text, "team 2" text, "1st leg" text, "2nd leg" text )
SELECT "agg." + "agg." FROM table_204_324 WHERE "team 1" = 'somalia' AND "team 2" = 'sudan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 2266, 41, 3, 23, 26, 381, 6, 96, 11650, 209, 121, 1499, 6, 96, 9, 4102, 535, 1499, 6, 96, 11650, 204, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9, 4102, 535, 1768, 96, 9, 4102, 535, 21680, 953, 834, 26363, 834, 519, 2266, 549, 17444, 427, 96, 11650, 209, 121, 3274, 3, 31, 10348, 5434, 31, 3430, 96, 11650, 204, 121, 3274, 3, 31, 7, 76, 3768, 31, 1, ...
what's the computing mechanbeingm with first operational being february 1944
CREATE TABLE table_72467 ( "Name" text, "First operational" text, "Numeral system" text, "Computing mechanism" text, "Programming" text, "Turing complete" text )
SELECT "Computing mechanism" FROM table_72467 WHERE "First operational" = 'February 1944'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2266, 3708, 41, 96, 23954, 121, 1499, 6, 96, 25171, 7763, 121, 1499, 6, 96, 21456, 4900, 358, 121, 1499, 6, 96, 5890, 2562, 53, 8557, 121, 1499, 6, 96, 3174, 16582, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5890, 2562, 53, 8557, 121, 21680, 953, 834, 940, 2266, 3708, 549, 17444, 427, 96, 25171, 7763, 121, 3274, 3, 31, 31122, 21930, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the total w–l where player is boro jovanović category:articles with hcards
CREATE TABLE table_10294071_1 (total_w_l VARCHAR, player VARCHAR)
SELECT total_w_l FROM table_10294071_1 WHERE player = "Boro Jovanović Category:Articles with hCards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 3166, 2445, 4450, 834, 536, 41, 235, 1947, 834, 210, 834, 40, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 792, 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, 792, 834, 210, 834, 40, 21680, 953, 834, 1714, 3166, 2445, 4450, 834, 536, 549, 17444, 427, 1959, 3274, 96, 279, 127, 32, 2194, 2132, 9881, 2, 17459, 10, 7754, 447, 965, 28, 3, 107, 6936, 26, 7, 121, 1, -100, -1...
tell me the primary disease and time of discharge for patient ida cook.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT demographic.diagnosis, demographic.dischtime FROM demographic WHERE demographic.name = "Ida Cook"
[ 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, 14798, 5, 25930, 4844, 159, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 196, 26, 9, 6176, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the name of the owner of rock 97.7?
CREATE TABLE table_66084 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text )
SELECT "Owner" FROM table_66084 WHERE "Branding" = 'rock 97.7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27720, 4608, 41, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 254, 1748, 1320, 121, 1499, 6, 96, 18304, 727, 53, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 667, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 210, 687, 121, 21680, 953, 834, 27720, 4608, 549, 17444, 427, 96, 18304, 727, 53, 121, 3274, 3, 31, 6133, 3, 4327, 5, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the start result with a Rank of 7 and more than 100 laps?
CREATE TABLE table_name_15 ( start VARCHAR, rank VARCHAR, laps VARCHAR )
SELECT start FROM table_name_15 WHERE rank = "7" AND laps > 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 456, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 456, 741, 28, 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, 456, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 11003, 3274, 96, 940, 121, 3430, 14941, 7, 2490, 910, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What position in the club team of Kansas?
CREATE TABLE table_name_21 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_21 WHERE school_club_team = "kansas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 4718, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 16, 8, 1886, 372, 13, 10585, 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, 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, 4350, 834, 2658, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 3304, 7, 9, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the school in Salem, Massachusetts located?
CREATE TABLE table_1974545_2 ( founded VARCHAR, location VARCHAR )
SELECT founded FROM table_1974545_2 WHERE location = "Salem, Massachusetts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 2128, 2128, 834, 357, 41, 5710, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 496, 16, 5774, 51, 6, 9777, 1069, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5710, 21680, 953, 834, 27181, 2128, 2128, 834, 357, 549, 17444, 427, 1128, 3274, 96, 134, 9, 109, 51, 6, 9777, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result of the game on May 14?
CREATE TABLE table_6548 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text )
SELECT "Result" FROM table_6548 WHERE "Date" = 'may 14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 3707, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 448, 32, 9, 26, 2271, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4122, 3707, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 13726, 968, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the laps of aprilia with a grid of 10?
CREATE TABLE table_name_72 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_72 WHERE manufacturer = "aprilia" AND grid = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 8478, 7, 584, 4280, 28027, 6, 4818, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 14941, 7, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14941, 7, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 4818, 3274, 96, 9, 102, 52, 13565, 121, 3430, 8634, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
history of seizure or head trauma with disturbance of consciousness within the past two years
CREATE TABLE table_train_129 ( "id" int, "cerebral_neoplasia" bool, "gender" string, "mini_mental_state_examination_mmse" int, "multiple_lacunar_infarcts" bool, "neurodegenerative_disease" bool, "mri_abnormality" bool, "nervous_system_functioning" bool, "head_injury" bool, "serio...
SELECT * FROM table_train_129 WHERE seizure_disorder = 1 OR head_injury = 1 OR disturbance_of_consciousness = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 22174, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2110, 15, 1939, 40, 834, 29, 15, 32, 102, 27702, 9, 121, 3, 12840, 40, 6, 96, 122, 3868, 121, 6108, 6, 96, 7619,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 22174, 549, 17444, 427, 4736, 1000, 60, 834, 26, 159, 9397, 3274, 209, 4674, 819, 834, 77, 10609, 63, 3274, 209, 4674, 25595, 834, 858, 834, 25098, 655, 3274, 209, 1, -100, -100, -1...
What day is south melbourne at home?
CREATE TABLE table_77906 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_77906 WHERE "Home team" = 'south melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 2394, 948, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4013, 2394, 948, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 7, 670, 107, 3, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the name of the captain when teh shirt sponsor is n/a?
CREATE TABLE table_27631756_2 ( captain VARCHAR, shirt_sponsor VARCHAR )
SELECT captain FROM table_27631756_2 WHERE shirt_sponsor = "N/A"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3891, 2517, 4834, 834, 357, 41, 14268, 584, 4280, 28027, 6, 8677, 834, 7, 5041, 7, 127, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14268, 21680, 953, 834, 2555, 3891, 2517, 4834, 834, 357, 549, 17444, 427, 8677, 834, 7, 5041, 7, 127, 3274, 96, 567, 87, 188, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who was hired before 2002-06-21, a bar chart shows the distribution of hire_date and the average of department_id bin hire_date by weekday, and I want to sort Y in descending order.
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(...
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 71, 17217, ...
count the number of patients whose gender is f and discharge location is dead/expired?
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 ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.discharge_location = "DEAD/EXPIRED"
[ 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, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 308, 19552, ...
What is 2001, when 1996 is '0 / 2'?
CREATE TABLE table_name_1 ( Id VARCHAR )
SELECT 2001 FROM table_name_1 WHERE 1996 = "0 / 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4402, 6, 116, 6911, 19, 3, 31, 632, 3, 87, 204, 31, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4402, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 6911, 3274, 96, 632, 3, 87, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the attendance for the game held on September 18, 1994, with a week less than 5?
CREATE TABLE table_name_25 ( attendance VARCHAR, week VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_25 WHERE week < 5 AND date = "september 18, 1994"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 11364, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 21, 8, 467, 1213,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 471, 3, 2, 305, 3430, 833, 3274, 96, 7, 6707, 18247, 14985, 7520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who is in the first postion ?
CREATE TABLE table_203_670 ( id number, "pos" text, "driver" text, "entrant" text, "constructor" text, "time/retired" text, "grid" number )
SELECT "driver" FROM table_203_670 WHERE "pos" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3708, 632, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 13739, 52, 121, 1499, 6, 96, 295, 3569, 121, 1499, 6, 96, 15982, 5317, 121, 1499, 6, 96, 715, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13739, 52, 121, 21680, 953, 834, 23330, 834, 3708, 632, 549, 17444, 427, 96, 2748, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Game is the highest one that has a Record of 4-3-6?
CREATE TABLE table_75438 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text )
SELECT MAX("Game") FROM table_75438 WHERE "Record" = '4-3-6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 591, 3747, 41, 96, 23055, 121, 490, 6, 96, 29835, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 23055, 8512, 21680, 953, 834, 3072, 591, 3747, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 591, 18, 25342, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What numer pick in the draft for jerry marion
CREATE TABLE table_871 ( "Draft Year" real, "Player" text, "Position" text, "Round" real, "Overall" real, "NFL Team" text )
SELECT MAX("Overall") FROM table_871 WHERE "Player" = 'Jerry Marion'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4225, 536, 41, 96, 308, 10913, 2929, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 23847, 1748, 8512, 21680, 953, 834, 4225, 536, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 683, 49, 651, 23816, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
A bar chart shows the distribution of All_Home and School_ID , and group by attribute ACC_Home, and sort X-axis in descending order.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY All_Home DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 19040, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 19040, 6, 432, 834, 19040, 4674, 11300, 272, 476, 432, 834, 19040, 309, 25067, 1, -100, -100, -100, -100, -100, ...
What is the lowest amount of losses when the goldne rivers is quambatook, wins are smaller than 15 and draws larger than 0?
CREATE TABLE table_name_24 ( losses INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR )
SELECT MIN(losses) FROM table_name_24 WHERE wins < 15 AND golden_rivers = "quambatook" AND draws > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 8467, 3, 21342, 17966, 6, 14924, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 7069, 834, 5927, 277, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 9204, 3, 2, 627, 3430, 7069, 834, 5927, 277, 3274, 96, 2436, 14303, 235, 1825, 121, 3430, 14924, 2490, 3, 632, 1, -100, -100, -100, ...
Name the total number of democratic votes when the other votes are less than 18 and the percentage of R votes are 52.63% and votes since 1856 less than 38
CREATE TABLE table_56062 ( "State" text, "Votes" real, "Votes since 1856" real, "Democratic votes" real, "D votes since 1856" real, "% of D votes" text, "D % since 1856" text, "Republican votes" real, "% of R votes" text, "R % since 1856" text, "Other votes" real, "O vote...
SELECT COUNT("Democratic votes") FROM table_56062 WHERE "Other votes" < '18' AND "% of R votes" = '52.63%' AND "Votes since 1856" < '38'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 5176, 357, 41, 96, 134, 4748, 121, 1499, 6, 96, 553, 32, 1422, 121, 490, 6, 96, 553, 32, 1422, 437, 507, 4834, 121, 490, 6, 96, 19679, 447, 11839, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 19679, 447, 11839, 8512, 21680, 953, 834, 4834, 5176, 357, 549, 17444, 427, 96, 667, 189, 49, 11839, 121, 3, 2, 3, 31, 2606, 31, 3430, 96, 1454, 13, 391, 11839, 121, 3274, 3, 31, 755, 22724,...
What was the length when James Swallow had a release longer than 2.1?
CREATE TABLE table_name_36 ( length VARCHAR, writer VARCHAR, release VARCHAR )
SELECT length FROM table_name_36 WHERE writer = "james swallow" AND release > 2.1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 2475, 584, 4280, 28027, 6, 4346, 584, 4280, 28027, 6, 1576, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2475, 116, 2549, 7320, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2475, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 4346, 3274, 96, 1191, 2687, 20370, 121, 3430, 1576, 2490, 3, 14489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the place that was founded in 1920
CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR)
SELECT institution FROM table_262560_1 WHERE founded = 1920
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 1828, 3328, 834, 536, 41, 77, 17448, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 286, 24, 47, 5710, 16, 13978, 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, 6568, 21680, 953, 834, 2688, 1828, 3328, 834, 536, 549, 17444, 427, 5710, 3274, 13978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the # of candidates of liberal majority with 51 wins and larger number of 2008 in general elections?
CREATE TABLE table_33387 ( "General election" real, "# of candidates" real, "# of seats won" real, "% of popular vote" text, "Result" text )
SELECT AVG("# of candidates") FROM table_33387 WHERE "Result" = 'liberal majority' AND "# of seats won" = '51' AND "General election" > '2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23360, 4225, 41, 96, 20857, 4356, 121, 490, 6, 96, 4663, 13, 4341, 121, 490, 6, 96, 4663, 13, 6116, 751, 121, 490, 6, 96, 1454, 13, 1012, 2902, 121, 1499, 6, 96, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4663, 13, 4341, 8512, 21680, 953, 834, 23360, 4225, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 10661, 138, 2942, 31, 3430, 96, 4663, 13, 6116, 751, 121, 3274, 3, 31, 5553, 31, 3430, 96, 208...
When 1994 is the first elected what is the district?
CREATE TABLE table_19753079_41 ( district VARCHAR, first_elected VARCHAR )
SELECT district FROM table_19753079_41 WHERE first_elected = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 26918, 4440, 834, 4853, 41, 3939, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 7520, 19, 8, 166, 8160, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 27181, 26918, 4440, 834, 4853, 549, 17444, 427, 166, 834, 19971, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When did the term end that began January 3, 2007?
CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR)
SELECT term_ended FROM table_224672_2 WHERE term_began = "January 3, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 3708, 357, 834, 357, 41, 1987, 834, 14550, 584, 4280, 28027, 6, 1657, 834, 346, 2565, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 1657, 414, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1657, 834, 14550, 21680, 953, 834, 24622, 3708, 357, 834, 357, 549, 17444, 427, 1657, 834, 346, 2565, 3274, 96, 30404, 6180, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What discs has a region 1 release date of January 22, 2008?
CREATE TABLE table_34504 ( "Volume" text, "Discs" real, "Episodes" real, "Region 1 release" text, "Region 2 release" text, "Region 4 release" text )
SELECT "Discs" FROM table_34504 WHERE "Region 1 release" = 'january 22, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 10593, 591, 41, 96, 22803, 440, 15, 121, 1499, 6, 96, 15683, 7, 121, 490, 6, 96, 427, 102, 159, 32, 1395, 121, 490, 6, 96, 17748, 23, 106, 209, 1576, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15683, 7, 121, 21680, 953, 834, 519, 10593, 591, 549, 17444, 427, 96, 17748, 23, 106, 209, 1576, 121, 3274, 3, 31, 7066, 76, 1208, 12889, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who scored the High points in the game with High rebounds by Nick Collison (14)?
CREATE TABLE table_name_20 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_name_20 WHERE high_rebounds = "nick collison (14)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 5799, 8, 1592, 979, 16, 8, 467, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 306, 834, 23768, 3274, 96, 11191, 8029, 23, 739, 4077, 7256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score for the home team Notts County?
CREATE TABLE table_name_97 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_97 WHERE home_team = "notts county"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 7, 9022, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 8, 234, 372, 933, 17, 7, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2264, 17, 7, 5435, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the categories of events that occurred after 2007 that were World Championships?
CREATE TABLE table_name_93 ( category VARCHAR, year VARCHAR, competition VARCHAR )
SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 3295, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 5897, 13, 984, 24, 6935,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3295, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 215, 2490, 4101, 3430, 2259, 3274, 96, 7276, 10183, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the first leg score in the match against Twente?
CREATE TABLE table_name_58 (first_leg VARCHAR, opposition VARCHAR)
SELECT first_leg FROM table_name_58 WHERE opposition = "twente"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 14672, 834, 5772, 584, 4280, 28027, 6, 8263, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 166, 4553, 2604, 16, 8, 1588, 581, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 5772, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 8263, 3274, 96, 17, 16103, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return me the total citations of papers in the VLDB conference before 2005 .
CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE writes ( aid int, pid int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE T...
SELECT SUM(publication.citation_num) FROM conference, publication WHERE conference.name = 'VLDB' AND publication.cid = conference.cid AND publication.year < 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5707, 834, 4397, 6051, 41, 4984, 16, 17, 6, 3, 12417, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3303, 834, 17415, 41, 3052, 16, 17, 6, 410, 16, 17, 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, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 15727, 257, 5, 13903, 834, 5525, 61, 21680, 2542, 6, 5707, 549, 17444, 427, 2542, 5, 4350, 3274, 3, 31, 553, 9815, 279, 31, 3430, 5707, 5, 10812, 3274, 2542, 5, 10812, 3430, 5707, 5, 1201, 3, 2, ...
What are the names of the directors who created a movie with a 5 star rating, and what was the name of those movies?
CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE movie ( mid number, title text, year number, director text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time )
SELECT T1.director, T1.title FROM movie AS T1 JOIN rating AS T2 ON T1.mid = T2.mid WHERE T2.stars = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 49, 41, 5413, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1974, 41, 2076, 381, 6, 2233, 1499, 6, 215, 381, 6, 2090, 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, 332, 5411, 25982, 6, 332, 5411, 21869, 21680, 1974, 6157, 332, 536, 3, 15355, 3162, 5773, 6157, 332, 357, 9191, 332, 5411, 6983, 3274, 332, 4416, 6983, 549, 17444, 427, 332, 4416, 3624, 7, 3274, 305, 1, -100, -100, ...
Name the scientific linux release when delay is 28d
CREATE TABLE table_1500146_1 (scientific_linux_release VARCHAR, delay VARCHAR)
SELECT scientific_linux_release FROM table_1500146_1 WHERE delay = "28d"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2560, 24300, 834, 536, 41, 17819, 3286, 834, 31016, 834, 21019, 584, 4280, 28027, 6, 7230, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4290, 3, 31016, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4290, 834, 31016, 834, 21019, 21680, 953, 834, 536, 2560, 24300, 834, 536, 549, 17444, 427, 7230, 3274, 96, 2577, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the lowest game number that has a Record of 3 33?
CREATE TABLE table_name_93 ( game INTEGER, record VARCHAR )
SELECT MIN(game) FROM table_name_93 WHERE record = "3–33"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 467, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 467, 381, 24, 65, 3, 9, 11392, 13, 220, 5400...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7261, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 1368, 3274, 96, 519, 104, 4201, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
If the province is Nunavut, what is the Arabs 2011 amount?
CREATE TABLE table_1939367_1 (arabs_2011 VARCHAR, province VARCHAR)
SELECT arabs_2011 FROM table_1939367_1 WHERE province = "Nunavut"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3288, 519, 3708, 834, 536, 41, 9, 7093, 7, 834, 13907, 584, 4280, 28027, 6, 7985, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 7985, 19, 1174, 14128, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21165, 7, 834, 13907, 21680, 953, 834, 2294, 3288, 519, 3708, 834, 536, 549, 17444, 427, 7985, 3274, 96, 12924, 14128, 76, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the sum of Overall, when Name is 'Tim Smiley', and when Round is less than 5?
CREATE TABLE table_76310 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT SUM("Overall") FROM table_76310 WHERE "Name" = 'tim smiley' AND "Round" < '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 19947, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 23847, 1748, 8512, 21680, 953, 834, 3959, 19947, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2998, 3993, 63, 31, 3430, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 755, 31, 1, -100, -100, -100, -1...
Find the texts of assessment notes for teachers with last name "Schuster".
CREATE TABLE Assessment_Notes (text_of_notes VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR)
SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = "Schuster"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15186, 834, 10358, 15, 7, 41, 6327, 834, 858, 834, 7977, 7, 584, 4280, 28027, 6, 3145, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 18991, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6327, 834, 858, 834, 7977, 7, 21680, 15186, 834, 10358, 15, 7, 6157, 332, 536, 3, 15355, 3162, 18991, 6157, 332, 357, 9191, 332, 5411, 30215, 834, 23, 26, 3274, 332, 4416, 30215, 834, 23, 26, 549, 17444, ...
Name the average attendance with result of won 2-0 on 2 november 2007
CREATE TABLE table_36995 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance (Away)" real )
SELECT AVG("Attendance (Away)") FROM table_36995 WHERE "Result" = 'won 2-0' AND "Date" = '2 november 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3951, 3301, 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, 41, 188, 1343, 61, 8512, 21680, 953, 834, 519, 3951, 3301, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 106, 3, 19423, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, ...
Give me a scatter chart about the correlation between the average price and the score of wines grouped by appellation?
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases IN...
SELECT AVG(Price), AVG(Score) FROM wine GROUP BY AVG(Price)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 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, 71, 17217, 599, 345, 4920, 201, 71, 17217, 599, 134, 9022, 61, 21680, 2013, 350, 4630, 6880, 272, 476, 71, 17217, 599, 345, 4920, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the october when the september is dalene kurtis
CREATE TABLE table_name_47 (october VARCHAR, september VARCHAR)
SELECT october FROM table_name_47 WHERE september = "dalene kurtis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 32, 75, 235, 1152, 584, 4280, 28027, 6, 16022, 18247, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 32, 75, 235, 1152, 116, 8, 16022...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 32, 75, 235, 1152, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 16022, 18247, 3274, 96, 5437, 29, 15, 3, 10923, 17, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest number of wins?
CREATE TABLE table_14853156_2 (wins INTEGER)
SELECT MIN(wins) FROM table_14853156_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 4867, 25463, 834, 357, 41, 3757, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 9204, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 24748, 4867, 25463, 834, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Reigon has a Village of Chassagne-Montrachet?
CREATE TABLE table_name_82 ( region VARCHAR, village VARCHAR )
SELECT region FROM table_name_82 WHERE village = "chassagne-montrachet"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 1719, 584, 4280, 28027, 6, 3309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 419, 23, 5307, 65, 3, 9, 7305, 13, 3643, 7, 7, 11624, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1719, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 3309, 3274, 96, 3441, 7, 7, 11624, 18, 4662, 21136, 15, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many patients born before 2170 had a urea nitrogen urine lab test?
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 ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2170" AND lab.label = "Urea Nitrogen, Urine"
[ 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 was the score of the game with a record of 37 26 9?
CREATE TABLE table_37909 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_37909 WHERE "Record" = '37–26–9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4440, 4198, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 519, 4440, 4198, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 4118, 104, 2688, 104, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was week 3 score?
CREATE TABLE table_name_79 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_79 WHERE week = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 471, 220, 2604, 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, 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, 741, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 471, 3274, 220, 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, ...
Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage?
CREATE TABLE table_name_65 ( investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR )
SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 8448, 834, 3515, 5307, 834, 7, 834, 584, 4280, 28027, 6, 166, 834, 2378, 26, 584, 4280, 28027, 6, 3, 12290, 834, 7, 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, 8448, 834, 3515, 5307, 834, 7, 834, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 166, 834, 2378, 26, 3274, 96, 2606, 3, 7066, 76, 1208, 3105, 121, 3430, 3, 12290, 834, 7, 834, 3274, 96, 6471, 15, 63, 160, ...
count the number of patients whose primary disease is s/p fall and year of death is less than or equal to 2133?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dod_year <= "2133.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 134, 87, 345, 377, 12126, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201...
find the name of people whose height is lower than the average.
CREATE TABLE people (name VARCHAR, height INTEGER)
SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 4350, 584, 4280, 28027, 6, 3902, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 253, 8, 564, 13, 151, 3, 2544, 3902, 19, 1364, 145, 8, 1348, 5, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 151, 549, 17444, 427, 3902, 3, 2, 41, 23143, 14196, 71, 17217, 599, 88, 2632, 61, 21680, 151, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Draft, when Round is '9', when Pick is '171', and when Player is 'Dan Wiebe Category:Articles with hCards'?
CREATE TABLE table_12156 ( "Draft" real, "Round" text, "Pick" real, "Player" text, "Nationality" text )
SELECT "Draft" FROM table_12156 WHERE "Round" = '9' AND "Pick" = '171' AND "Player" = 'dan wiebe category:articles with hcards'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 25463, 41, 96, 308, 10913, 121, 490, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 10913, 121, 21680, 953, 834, 2122, 25463, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 1298, 31, 3430, 96, 345, 3142, 121, 3274, 3, 31, 2517, 536, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 376...
what is the diagnosis short title of diagnosis icd9 code 4271?
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, ...
SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "4271"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 447, 26, 1298, 834, 4978, 3274, 96, 4165, 4450, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many years did the USD Exchange have 225.82 and a gross domestic product larger than 240,707,315?
CREATE TABLE table_43221 ( "Year" real, "Gross domestic product" real, "US dollar exchange" text, "Nominal per-capita GDP (as % of USA)" real, "PPP capita GDP (as % of USA)" text )
SELECT COUNT("Year") FROM table_43221 WHERE "US dollar exchange" = '¥225.82' AND "Gross domestic product" > '240,707,315'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2668, 2658, 41, 96, 476, 2741, 121, 490, 6, 96, 517, 1859, 7, 4422, 556, 121, 490, 6, 96, 3063, 6816, 2509, 121, 1499, 6, 96, 4168, 1109, 138, 399, 18, 4010, 155, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 476, 2741, 8512, 21680, 953, 834, 591, 2668, 2658, 549, 17444, 427, 96, 3063, 6816, 2509, 121, 3274, 3, 31, 2, 20489, 5, 4613, 31, 3430, 96, 517, 1859, 7, 4422, 556, 121, 2490, 3, 31, 11944,...
calculate the average days for which inpatient hospital admission patients were hospitalized.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( ...
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 11359, 7369, 20805, 21680, 3, 6299, 4274, 87, 427, 4, 11359, 329, 121, 1, -100, ...
What is the magnitude with epicenter at Vrancea County, unknown intensity and which happened at 06:36?
CREATE TABLE table_79127 ( "Date" text, "Time (UTC)" text, "Epicenter" text, "Magnitude" text, "Depth" text, "Intensity" text )
SELECT "Magnitude" FROM table_79127 WHERE "Epicenter" = 'vrancea county' AND "Intensity" = 'unknown' AND "Time (UTC)" = '06:36'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 22367, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 41, 6675, 254, 61, 121, 1499, 6, 96, 427, 102, 23, 13866, 121, 1499, 6, 96, 22909, 29, 20341, 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, 22909, 29, 20341, 121, 21680, 953, 834, 4440, 22367, 549, 17444, 427, 96, 427, 102, 23, 13866, 121, 3274, 3, 31, 208, 5219, 9, 5435, 31, 3430, 96, 1570, 324, 7, 485, 121, 3274, 3, 31, 202, 5661, 31, 3430, 96...
What year did Zone Rouge first air?
CREATE TABLE table_79978 ( "Country" text, "Name" text, "Host" text, "Channel" text, "Prize" text, "First year aired" text )
SELECT "First year aired" FROM table_79978 WHERE "Name" = 'zone rouge'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 21441, 41, 96, 10628, 651, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 3541, 4515, 40, 121, 1499, 6, 96, 7855, 776, 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, 25171, 215, 3, 2378, 26, 121, 21680, 953, 834, 4440, 21441, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 9431, 11732, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the record for 9-4 score
CREATE TABLE table_14960 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Record" FROM table_14960 WHERE "Score" = '9-4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 27699, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26, 663...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 2534, 27699, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 1298, 4278, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Constituency number for Meerut?
CREATE TABLE table_60390 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Constituency number" FROM table_60390 WHERE "Name" = 'meerut'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 519, 2394, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4302, 2248, 17, 76, 4392, 381, 121, 21680, 953, 834, 3328, 519, 2394, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 526, 15, 6830, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who won mens doubles when zhou mi won womens singles
CREATE TABLE table_23680 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text )
SELECT "Mens doubles" FROM table_23680 WHERE "Womens singles" = 'Zhou Mi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 2079, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 7, 1486, 7, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 35, 7, 1486, 7, 121, 21680, 953, 834, 357, 3420, 2079, 549, 17444, 427, 96, 518, 32, 904, 7, 712, 7, 121, 3274, 3, 31, 956, 9492, 2133, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which method has a record of 11-10?
CREATE TABLE table_name_70 ( method VARCHAR, record VARCHAR )
SELECT method FROM table_name_70 WHERE record = "11-10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1573, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1573, 65, 3, 9, 1368, 13, 850, 4536, 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, 1573, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1368, 3274, 96, 2596, 4536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many laps did Duke Nelson complete when his qualifying time was 122.951?
CREATE TABLE table_14613 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT SUM("Laps") FROM table_14613 WHERE "Qual" = '122.951'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24300, 2368, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 24300, 2368, 549, 17444, 427, 96, 5991, 138, 121, 3274, 3, 31, 2122, 27297, 5553, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Give me a histogram for what are the different parties of representative? Show the party name and the number of representatives in each party, and show total number in asc order please.
CREATE TABLE election ( Election_ID int, Representative_ID int, Date text, Votes real, Vote_Percent real, Seats real, Place real ) CREATE TABLE representative ( Representative_ID int, Name text, State text, Party text, Lifespan text )
SELECT Party, COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 19488, 834, 4309, 16, 17, 6, 13517, 834, 4309, 16, 17, 6, 7678, 1499, 6, 3152, 1422, 490, 6, 3152, 17, 15, 834, 12988, 3728, 490, 6, 15915, 7, 490, 6, 3399, 490, 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, 3450, 6, 2847, 17161, 599, 1935, 61, 21680, 6978, 350, 4630, 6880, 272, 476, 3450, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many recordings of nabucco have been made ?
CREATE TABLE table_202_32 ( id number, "year" text, "cast\n(nabucco, abigaille, zaccaria, ismaele, fenena)" text, "conductor,\nopera house and orchestra" text, "label" text )
SELECT COUNT(*) FROM table_202_32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 834, 2668, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 5254, 2, 29, 599, 29, 9, 115, 17431, 32, 6, 3, 9, 12911, 14424, 6, 3, 172, 6004, 6286, 6, 19, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 19818, 834, 2668, 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, -10...
Name the opponent for 10-04-2007
CREATE TABLE table_4450 ( "Runs (Balls)" text, "Wicket" text, "Partnerships" text, "Opponent" text, "Venue" text, "Date" text )
SELECT "Opponent" FROM table_4450 WHERE "Date" = '10-04-2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 1752, 41, 96, 448, 202, 7, 41, 279, 1748, 7, 61, 121, 1499, 6, 96, 518, 447, 8044, 121, 1499, 6, 96, 13725, 687, 2009, 7, 121, 1499, 6, 96, 667, 102, 9977, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 3628, 1752, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1714, 18083, 18, 20615, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Segment A for when Segment C is s Sailboard?
CREATE TABLE table_15187735_6 ( segment_a VARCHAR, segment_c VARCHAR )
SELECT segment_a FROM table_15187735_6 WHERE segment_c = "s Sailboard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 948, 41, 5508, 834, 9, 584, 4280, 28027, 6, 5508, 834, 75, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 15696, 297, 71, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5508, 834, 9, 21680, 953, 834, 26578, 27697, 2469, 834, 948, 549, 17444, 427, 5508, 834, 75, 3274, 96, 7, 1138, 173, 1976, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Type, when Number of Bearers 2008 is greater than 12.376, when Rank is greater than 3, and when Etymology is Son of Jens?
CREATE TABLE table_name_68 (type VARCHAR, etymology VARCHAR, number_of_bearers_2008 VARCHAR, rank VARCHAR)
SELECT type FROM table_name_68 WHERE number_of_bearers_2008 > 12.376 AND rank > 3 AND etymology = "son of jens"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 6137, 584, 4280, 28027, 6, 3, 15, 17, 63, 51, 1863, 584, 4280, 28027, 6, 381, 834, 858, 834, 346, 291, 277, 834, 16128, 584, 4280, 28027, 6, 11003, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 381, 834, 858, 834, 346, 291, 277, 834, 16128, 2490, 8013, 519, 3959, 3430, 11003, 2490, 220, 3430, 3, 15, 17, 63, 51, 1863, 3274, 96, 739, 13, 528, 29, 7, ...
Which Opponents have a Year of 1999–2000, and a Team of leeds united?
CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR)
SELECT opponents FROM table_name_78 WHERE year = "1999–2000" AND team = "leeds united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 32, 102, 9977, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4495, 9977, 7, 43, 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, 0, 0...
[ 3, 23143, 14196, 16383, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 215, 3274, 96, 2294, 3264, 104, 13527, 121, 3430, 372, 3274, 96, 40, 6958, 7, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and code , and group by attribute founder, and show from high to low by the Name.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145, 6,...
Who wrote the episode that originally aired April 29, 1994?
CREATE TABLE table_2468961_4 ( written_by VARCHAR, original_air_date VARCHAR )
SELECT written_by FROM table_2468961_4 WHERE original_air_date = "April 29, 1994"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3651, 4314, 536, 834, 591, 41, 1545, 834, 969, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 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, 1545, 834, 969, 21680, 953, 834, 2266, 3651, 4314, 536, 834, 591, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 23323, 14405, 7520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What school did Patrick O'Bryant play for?
CREATE TABLE table_10015132_14 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 1808, 23757, 834, 2534, 41, 6646, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 496, 410, 8643, 411, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 2915, 1808, 23757, 834, 2534, 549, 17444, 427, 1959, 3274, 96, 20742, 2406, 411, 31, 279, 651, 288, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
I want the lowest Laps for time/retired of engine and driver of charles de tornaco
CREATE TABLE table_name_22 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT MIN(laps) FROM table_name_22 WHERE time_retired = "engine" AND driver = "charles de tornaco"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 8478, 7, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 7402, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 20165, 121, 3430, 2535, 3274, 96, 4059, 965, 20, 12, 52, 11962, 32, 121, 1, -100, -100, -100, -100, -1...
Which away team scored 16.12 (108)?
CREATE TABLE table_54716 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_54716 WHERE "Away team score" = '16.12 (108)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4177, 2938, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 755, 4177, 2938, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2938, 5, 2122, 11704, 13520, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Canada's score?
CREATE TABLE table_80159 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Score" FROM table_80159 WHERE "Country" = 'canada'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 27904, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 2079, 27904, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 658, 18089, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where the away team is Bradford City, who is the home team?
CREATE TABLE table_name_83 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_83 WHERE away_team = "bradford city"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 8, 550, 372, 19, 28869, 896, 6, 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, 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, 4591, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1939, 26, 2590, 690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What try bonus drew 0 and scored 427 points for?
CREATE TABLE table_name_83 (try_bonus VARCHAR, drawn VARCHAR, points_for VARCHAR)
SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND points_for = "427"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 8224, 834, 5407, 302, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 653, 4023...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 653, 834, 5407, 302, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 6796, 3274, 96, 632, 121, 3430, 979, 834, 1161, 3274, 96, 591, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the broadcast for davis-wade stadium • starkville ms
CREATE TABLE table_26842217_18 (broadcast VARCHAR, site VARCHAR)
SELECT broadcast FROM table_26842217_18 WHERE site = "Davis-Wade Stadium • Starkville MS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4608, 2884, 2517, 834, 2606, 41, 115, 8635, 5254, 584, 4280, 28027, 6, 353, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 6878, 21, 836, 3466, 18, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6878, 21680, 953, 834, 2688, 4608, 2884, 2517, 834, 2606, 549, 17444, 427, 353, 3274, 96, 308, 2960, 7, 18, 518, 9, 221, 12750, 1697, 2042, 157, 1420, 5266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What manufacturer made 6 and preserved 1?
CREATE TABLE table_8807 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text )
SELECT "Manufacturer" FROM table_8807 WHERE "Quantity made" = '6' AND "Quantity preserved" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4060, 4560, 41, 96, 21486, 121, 1499, 6, 96, 518, 88, 15, 40, 8641, 121, 1499, 6, 96, 371, 109, 15, 17, 381, 599, 7, 61, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 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, 7296, 76, 8717, 450, 49, 121, 21680, 953, 834, 4060, 4560, 549, 17444, 427, 96, 5991, 288, 485, 263, 121, 3274, 3, 31, 948, 31, 3430, 96, 5991, 288, 485, 18570, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100...
Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?
CREATE TABLE table_name_46 ( replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR )
SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 5821, 834, 969, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 833, 834, 858, 834, 29685, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5821, 834, 969, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 372, 3274, 96, 9052, 9816, 7, 121, 3430, 833, 834, 858, 834, 29685, 3274, 96, 2884, 20, 75, 18247, 4101, 121, 1, -100, -100, -100, -100, -100, -100,...
papers on Liquid Automatica
CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE journal ( journalid int, journalname va...
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'Liquid' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND venue.venueid = paper.venueid AND venue.venuename = 'Automatica'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 6757, 2244, 41, 1040, 23, 26, 16, 17, 6, 17953, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5669, 41, 5669, 23, 26, 16, 17, 6, 5669, 4350, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 5669, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 434, 23, 1169, 26, 31, 3430, 1040, 4397, 27...
international prostate symptom score ( ipss ) > 19 ( severe )
CREATE TABLE table_train_264 ( "id" int, "stroke" bool, "hematocrit_hct" float, "serum_psa" float, "coronary_artery_disease_cad" bool, "international_prostate_symptom_score_ipss" int, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_train_264 WHERE international_prostate_symptom_score_ipss > 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 26755, 41, 96, 23, 26, 121, 16, 17, 6, 96, 24790, 121, 3, 12840, 40, 6, 96, 6015, 9, 235, 12563, 834, 107, 75, 17, 121, 3, 12660, 6, 96, 7, 49, 440, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 26755, 549, 17444, 427, 1038, 834, 1409, 5540, 834, 18018, 834, 7, 9022, 834, 15432, 7, 2490, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many days has been passed since the last time patient 005-48105 stayed in ward 267 in the current hospital encounter?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '005-48105' AND patient.wardid = 267 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 209, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
What is the location of the track that opened in 1950?
CREATE TABLE table_17687 ( "Track Name" text, "Location" text, "Length" text, "Seating" real, "Year Opened" real, "Year Acquired [A ]" real )
SELECT "Location" FROM table_17687 WHERE "Year Opened" = '1950'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26782, 4225, 41, 96, 382, 16729, 5570, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 134, 15, 1014, 121, 490, 6, 96, 476, 2741...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 26782, 4225, 549, 17444, 427, 96, 476, 2741, 2384, 15, 26, 121, 3274, 3, 31, 2294, 1752, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show all origins and the number of flights from each origin by a bar chart, list by the X from high to low.
CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, ...
SELECT origin, COUNT(*) FROM flight GROUP BY origin ORDER BY origin DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6442, 41, 3052, 381, 599, 1298, 6, 632, 201, 564, 3, 4331, 4059, 357, 599, 1458, 201, 2357, 381, 599, 11071, 632, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6017...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5233, 6, 2847, 17161, 599, 1935, 61, 21680, 3777, 350, 4630, 6880, 272, 476, 5233, 4674, 11300, 272, 476, 5233, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878?
CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR)
SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = "1914" AND separating_sheep_ & goats = "during christ's presence" AND judgmentof_religion = "1878"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 60, 3042, 60, 4985, 834, 858, 20885, 584, 4280, 28027, 6, 7661, 858, 834, 60, 2825, 23, 106, 584, 4280, 28027, 6, 3, 15294, 834, 4725, 1765, 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, 27621, 834, 858, 20885, 6, 6078, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 3, 15294, 834, 4725, 1765, 3274, 96, 2294, 2534, 121, 3430, 3, 26427, 834, 7, 88, 15, 102, 834, 3, 184, 18174, 7, 3274, 96, 26, ...