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 bore where the vehicle code is t214?
CREATE TABLE table_23722304_2 ( bore__mm_ VARCHAR, vehicle_code VARCHAR )
SELECT bore__mm_ FROM table_23722304_2 WHERE vehicle_code = "T214"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 2884, 23702, 834, 357, 41, 18033, 834, 834, 635, 834, 584, 4280, 28027, 6, 1689, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 18033, 834, 834, 635, 834, 21680, 953, 834, 357, 4118, 2884, 23702, 834, 357, 549, 17444, 427, 1689, 834, 4978, 3274, 96, 382, 27357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is maximum days of hospital stay of patients whose gender is m?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.gender = "M"
[ 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, 4800, 4, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the year when the course is sunset ridge cc?
CREATE TABLE table_9045 ( "Year" real, "Winner" text, "Score" text, "Runner(s)-up" text, "Course" text, "Location" text )
SELECT SUM("Year") FROM table_9045 WHERE "Course" = 'sunset ridge cc'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 2128, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 23572, 599, 7, 61, 18, 413, 121, 1499, 6, 96, 3881, 3589, 15,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 2394, 2128, 549, 17444, 427, 96, 3881, 3589, 15, 121, 3274, 3, 31, 7, 202, 2244, 3, 7700, 3, 75, 75, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position did Garion Weller hold in 2012?
CREATE TABLE table_name_23 (position VARCHAR)
SELECT position FROM table_name_23 WHERE 2012 = "garion weller"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 4718, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 2776, 16310, 1548, 49, 1520, 16, 1673, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1673, 3274, 96, 1478, 23, 106, 168, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total number of Races with a Pole that is larger than 0?
CREATE TABLE table_name_70 (races VARCHAR, poles INTEGER)
SELECT COUNT(races) FROM table_name_70 WHERE poles > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 12614, 7, 584, 4280, 28027, 6, 11148, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 10949, 7, 28, 3, 9, 19418, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 12614, 7, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 11148, 7, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many rides did it take to get less than 3 bonus pts in no more than 7 matches?
CREATE TABLE table_70847 ( "Rider" text, "Matches" real, "Rides" real, "Bonus Pts" real, "Total Points" real )
SELECT MIN("Rides") FROM table_70847 WHERE "Bonus Pts" < '3' AND "Matches" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 927, 4177, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 448, 9361, 121, 490, 6, 96, 279, 106, 302, 276, 17, 7, 121, 490, 6, 96, 3696...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 448, 9361, 8512, 21680, 953, 834, 2518, 927, 4177, 549, 17444, 427, 96, 279, 106, 302, 276, 17, 7, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 329, 144, 2951, 121, 3, 2, 3, 31, 940, 31, 1, -100,...
Name the institution for yellowjackets
CREATE TABLE table_1974482_1 ( institution VARCHAR, nickname VARCHAR )
SELECT institution FROM table_1974482_1 WHERE nickname = "Yellowjackets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 3628, 4613, 834, 536, 41, 6568, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 6568, 21, 4459, 9325, 15, 17, 7, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6568, 21680, 953, 834, 27181, 3628, 4613, 834, 536, 549, 17444, 427, 24649, 3274, 96, 476, 7126, 210, 9325, 15, 17, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the previous name to orlando s ?
CREATE TABLE table_204_539 ( id number, "date" text, "name" text, "moving from" text, "moving to" text, "fee" text )
SELECT "name" FROM table_204_539 WHERE id = (SELECT id FROM table_204_539 WHERE "name" = 'orlando sa') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 3288, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 7168, 53, 45, 121, 1499, 6, 96, 7168, 53, 12, 121, 1499, 6, 96, 89, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 26363, 834, 755, 3288, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 755, 3288, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 32, 7721, ...
which is the only year to feature a university level challenge ?
CREATE TABLE table_203_185 ( id number, "season" text, "a\ntechnical" text, "b\nscientific" text, "c\nfine arts" text, "d\nimprovisational" text, "e\nstructural" text, "rising stars!\u00ae" text, "po\nprojectoutreach\u00ae" text, "university level" text )
SELECT "season" FROM table_203_185 WHERE NOT "university level" IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 21594, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 9, 2, 29, 3470, 29, 1950, 121, 1499, 6, 96, 115, 2, 29, 17819, 3286, 121, 1499, 6, 96, 75, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9476, 121, 21680, 953, 834, 23330, 834, 21594, 549, 17444, 427, 4486, 96, 7846, 485, 593, 121, 6827, 13046, 10376, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose diagnoses short title is bipol i cur depres nos and lab test fluid is ascites?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Bipol I cur depres NOS" AND lab.fluid = "Ascites"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which position had fewer rounds than 3, and an overall of less than 48?
CREATE TABLE table_37938 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT "Position" FROM table_37938 WHERE "Round" < '3' AND "Overall" < '48'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4440, 3747, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 519, 4440, 3747, 549, 17444, 427, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 23847, 1748, 121, 3, 2, 3, 31, 3707, 31, 1, -100, -100, -100, -100, -100, ...
What was the location of the accident that led to 50/50 fatalities?
CREATE TABLE table_name_84 ( location VARCHAR, fatalities VARCHAR )
SELECT location FROM table_name_84 WHERE fatalities = "50/50"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1128, 584, 4280, 28027, 6, 12699, 2197, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1128, 13, 8, 3125, 24, 2237, 12, 943, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 12699, 2197, 3274, 96, 1752, 87, 1752, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many casualties were in the earthquake with an unknown intensity and an epicenter in the bou ra province?
CREATE TABLE table_name_3 ( casualties VARCHAR, intensity VARCHAR, epicenter VARCHAR )
SELECT casualties FROM table_name_3 WHERE intensity = "unknown" AND epicenter = "bouïra province"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 6995, 3010, 584, 4280, 28027, 6, 13182, 584, 4280, 28027, 6, 9241, 13866, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6995, 3010, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 6995, 3010, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 13182, 3274, 96, 202, 5661, 121, 3430, 9241, 13866, 3274, 96, 4076, 2, 52, 9, 7985, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Result on 11/02/1946?
CREATE TABLE table_name_84 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_84 WHERE date = "11/02/1946"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 20119, 30, 850, 87, 4305, 13523, 4448, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 833, 3274, 96, 2596, 87, 4305, 13523, 4448, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score for a game with the odds of p + 2 after 1847?
CREATE TABLE table_name_36 (score VARCHAR, odds VARCHAR, date VARCHAR)
SELECT score FROM table_name_36 WHERE odds = "p + 2" AND date > 1847
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 7, 9022, 584, 4280, 28027, 6, 11007, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 3, 9, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 11007, 3274, 96, 102, 1768, 204, 121, 3430, 833, 2490, 507, 4177, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the players and the years played.
CREATE TABLE player (Player VARCHAR, Years_Played VARCHAR)
SELECT Player, Years_Played FROM player
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 15800, 49, 584, 4280, 28027, 6, 13825, 834, 15800, 15, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 1508, 11, 8, 203, 1944, 5, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12387, 6, 13825, 834, 15800, 15, 26, 21680, 1959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the home team that played at MCG?
CREATE TABLE table_name_43 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_43 WHERE venue = "mcg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 234, 372, 24, 1944, 44, 283, 12150, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 5669, 3274, 96, 51, 75, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Tell me the position for pick of 146
CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_7 WHERE pick = "146"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 4718, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1102, 21, 1432, 13, 3, 24300, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1432, 3274, 96, 24300, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the manager name with most number of gas stations opened after 2000.
CREATE TABLE gas_station ( manager_name VARCHAR, open_year INTEGER )
SELECT manager_name FROM gas_station WHERE open_year > 2000 GROUP BY manager_name ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1807, 834, 6682, 41, 2743, 834, 4350, 584, 4280, 28027, 6, 539, 834, 1201, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 2743, 564, 28, 167, 381, 13, 1807, 6991, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2743, 834, 4350, 21680, 1807, 834, 6682, 549, 17444, 427, 539, 834, 1201, 2490, 2766, 350, 4630, 6880, 272, 476, 2743, 834, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -10...
What was the sum of the crowds at Western Oval?
CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 75, 3623, 26, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 4505, 13, 8, 4374, 7, 44, 3782, 411, 2165, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 5669, 3274, 96, 24411, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most rank
CREATE TABLE table_22355_68 ( rank INTEGER )
SELECT MAX(rank) FROM table_22355_68
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2773, 3769, 834, 3651, 41, 11003, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 11003, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 357, 2773, 3769, 834, 3651, 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, -...
Which previous conference is associated with Penn school?
CREATE TABLE table_71236 ( "School" text, "Location" text, "Mascot" text, "County" text, "Enrollment IHSAA Class" text, "Joined" real, "Previous Conference" text )
SELECT "Previous Conference" FROM table_71236 WHERE "School" = 'penn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 357, 3420, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 8532, 4046, 297, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10572, 19117, 4379, 121, 21680, 953, 834, 4450, 357, 3420, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 3208, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the nickname of the team whose 2013/2014 enrollment is 436?
CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)
SELECT nickname_s_ FROM table_18304058_2 WHERE enrollment__2013_14_ = 436
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 1458, 2445, 3449, 834, 357, 41, 11191, 4350, 834, 7, 834, 584, 4280, 28027, 6, 17938, 834, 834, 11138, 834, 2534, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 24649, 834, 7, 834, 21680, 953, 834, 2606, 1458, 2445, 3449, 834, 357, 549, 17444, 427, 17938, 834, 834, 11138, 834, 2534, 834, 3274, 314, 3420, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals?
CREATE TABLE table_name_27 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR)
SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = "1942"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 20846, 584, 4280, 28027, 6, 203, 834, 144, 834, 13442, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 5695, 834, 1201, 584, 4280, 28027, 6, 1031, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 5695, 834, 1201, 3, 2, 26436, 3430, 1031, 3, 2, 586, 3430, 1766, 3, 2, 850, 3430, 203, 834, 144, 834, 13442, 3274, 96, 2294, 4165, 121, 1, -100, -100, -100,...
what is the swimsuit score when the interview score is 8.626 (5)?
CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR)
SELECT swimsuit FROM table_name_19 WHERE interview = "8.626 (5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 7, 210, 603, 7628, 584, 4280, 28027, 6, 2772, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 9728, 7628, 2604, 116, 8, 2772, 2604, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9728, 7628, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2772, 3274, 96, 927, 5, 948, 2688, 3, 15757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the minimum number of opponents' points for the game at Michigan State?
CREATE TABLE table_24560733_1 ( opponents INTEGER, opponent VARCHAR )
SELECT MIN(opponents) FROM table_24560733_1 WHERE opponent = "at Michigan State"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 4560, 4201, 834, 536, 41, 16383, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2559, 381, 13, 16383, 31, 979, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 32, 102, 9977, 7, 61, 21680, 953, 834, 2266, 4834, 4560, 4201, 834, 536, 549, 17444, 427, 15264, 3274, 96, 144, 5847, 1015, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many customers for different customer last name? Draw a bar chart, and could you rank total number in descending order?
CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) ) CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) )
SELECT customer_last_name, COUNT(customer_last_name) FROM Customers GROUP BY customer_last_name ORDER BY COUNT(customer_last_name) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 14672, 834, 4350, 584, 4280, 28027, 599, 1755, 201, 884, 834, 5064, 834, 4350, 584, 4280, 28027, 599, 1755, 201, 884, 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, 884, 834, 5064, 834, 4350, 6, 2847, 17161, 599, 25697, 49, 834, 5064, 834, 4350, 61, 21680, 16423, 350, 4630, 6880, 272, 476, 884, 834, 5064, 834, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 25697, 49, 834, 5064, ...
How many season premieres had 15.27 million viewers?
CREATE TABLE table_27553627_2 ( season VARCHAR, viewers__in_millions_ VARCHAR )
SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "15.27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3769, 3420, 2555, 834, 357, 41, 774, 584, 4280, 28027, 6, 13569, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9476, 61, 6157, 13539, 21680, 953, 834, 2555, 3769, 3420, 2555, 834, 357, 549, 17444, 427, 13569, 834, 834, 77, 834, 17030, 7, 834, 3274, 96, 1808, 5, 2555, 121, 1, -100, -100, -100, -100, -100, -1...
What was the Result of the game on December 14, 1986 after Week 11?
CREATE TABLE table_name_10 ( result VARCHAR, week VARCHAR, date VARCHAR )
SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 20119, 13, 8, 467, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 471, 2490, 850, 3430, 833, 3274, 96, 221, 75, 18247, 11363, 12698, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
had patient 011-55642 been diagnosed with any disease during the current hospital encounter?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-55642' AND patient.hospitaldischargetime 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, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 8209, 549, 17444, 427, 8209, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
what is the number of patients whose religion is romanian east. orth and item id is 51251?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "ROMANIAN EAST. ORTH" AND lab.itemid = "51251"
[ 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,...
List the number of bbc rankings with cable rankings of 6.
CREATE TABLE table_24399615_10 ( bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR )
SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_rank = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3288, 4314, 1808, 834, 1714, 41, 3, 115, 115, 75, 834, 21182, 834, 8041, 120, 834, 6254, 53, 584, 4280, 28027, 6, 4807, 834, 6254, 584, 4280, 28027, 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, 0, 0, 0...
[ 3, 23143, 14196, 3, 115, 115, 75, 834, 21182, 834, 8041, 120, 834, 6254, 53, 21680, 953, 834, 2266, 3288, 4314, 1808, 834, 1714, 549, 17444, 427, 4807, 834, 6254, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Name of the SS11 Stage?
CREATE TABLE table_name_3 (name VARCHAR, stage VARCHAR)
SELECT name FROM table_name_3 WHERE stage = "ss11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 4350, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5570, 13, 8, 3, 4256, 2596, 13578, 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, 564, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1726, 3274, 96, 7, 7, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the rating for the episode in which the 18-49 rating is 0.4?
CREATE TABLE table_170 ( "#" real, "Episode" text, "Air Date" text, "Timeslot (EST)" text, "Rating" text, "Share" text, "18\u201349 Rating" text, "Viewers (millions)" text, "Rank" text )
SELECT "Rating" FROM table_170 WHERE "18\u201349 Rating" = '0.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2518, 41, 96, 4663, 121, 490, 6, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 20162, 7678, 121, 1499, 6, 96, 13368, 7, 3171, 41, 6038, 61, 121, 1499, 6, 96, 448, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 1014, 121, 21680, 953, 834, 536, 2518, 549, 17444, 427, 96, 2606, 2, 76, 11138, 3647, 21662, 121, 3274, 3, 31, 22776, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Provide me with the list of patients younger than 71 years of age who were discharged to a short term hospital facility.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND demographic.age < "71"
[ 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, 26, 159, 7993, 834, 14836, 3274, 96, 134, 6299, 5934, 3, 5946, 329, 454, 3638, 4111, 16359, 121, ...
how many patients are primarily suffering from coronary heart disease with age below 70?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE" AND demographic.age < "70"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5911, 13044, 24721, 11155, 5946, 476, 309, 19056, 17892, 121, 3430, 1479...
Which 1st leg has a Team #1 of ummc ekaterinburg?
CREATE TABLE table_42159 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text )
SELECT "1st leg" FROM table_42159 WHERE "Team #1" = 'ummc ekaterinburg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 27904, 41, 96, 18699, 7172, 121, 1499, 6, 96, 188, 4102, 535, 1499, 6, 96, 18699, 15493, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 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, 536, 7, 17, 4553, 121, 21680, 953, 834, 4165, 27904, 549, 17444, 427, 96, 18699, 7172, 121, 3274, 3, 31, 440, 51, 75, 3, 15, 8682, 6655, 4824, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the district for first elected 1810
CREATE TABLE table_2668352_14 ( district VARCHAR, first_elected VARCHAR )
SELECT district FROM table_2668352_14 WHERE first_elected = "1810"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 2469, 357, 834, 2534, 41, 3939, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3939, 21, 166, 8160, 507, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3939, 21680, 953, 834, 2688, 3651, 2469, 357, 834, 2534, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2606, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is days of hospital stay and admission time of subject name michael witt?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.days_stay, demographic.admittime FROM demographic WHERE demographic.name = "Michael Witt"
[ 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, 14798, 5, 1135, 7, 834, 21545, 6, 14798, 5, 20466, 17, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 329, 362, 9, 15, 40, 22632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the character for sophie arthuys
CREATE TABLE table_19725 ( "Character" text, "French voice actor" text, "Italian voice actor" text, "German voice actor" text, "Spanish voice actor" text )
SELECT "Character" FROM table_19725 WHERE "French voice actor" = 'Sophie Arthuys'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 1828, 41, 96, 18947, 2708, 49, 121, 1499, 6, 96, 371, 60, 5457, 2249, 7556, 121, 1499, 6, 96, 196, 17, 9, 9928, 2249, 7556, 121, 1499, 6, 96, 24518, 2249, 7556, 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, 18947, 2708, 49, 121, 21680, 953, 834, 27181, 1828, 549, 17444, 427, 96, 371, 60, 5457, 2249, 7556, 121, 3274, 3, 31, 5231, 11692, 15, 1261, 107, 76, 63, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?
CREATE TABLE table_30714 ( "First air date" text, "Reward" text, "Immunity" text, "Eliminated" text, "Vote" text, "Finish" text )
SELECT "Eliminated" FROM table_30714 WHERE "Finish" = '15th Voted Out 9th Jury Member Day 46'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 940, 2534, 41, 96, 25171, 799, 833, 121, 1499, 6, 96, 1649, 2239, 121, 1499, 6, 96, 196, 635, 202, 485, 121, 1499, 6, 96, 427, 4941, 77, 920, 121, 1499, 6, 96, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 4941, 77, 920, 121, 21680, 953, 834, 1458, 940, 2534, 549, 17444, 427, 96, 371, 77, 1273, 121, 3274, 3, 31, 1808, 189, 3152, 1054, 3387, 668, 189, 15598, 63, 8541, 1430, 9668, 31, 1, -100, -100, -100, -10...
What was Raymond Floyd's score?
CREATE TABLE table_name_58 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_58 WHERE player = "raymond floyd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 7, 9022, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 22405, 29767, 31, 7, 2604, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1959, 3274, 96, 2866, 6764, 8882, 63, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the years, book titles, and publishers for all books, in descending order by year.
CREATE TABLE book_club ( book_club_id number, year number, author_or_editor text, book_title text, publisher text, category text, result text ) CREATE TABLE movie ( movie_id number, title text, year number, director text, budget_million number, gross_worldwide number ) CREATE TABLE culture_company ( company_name text, type text, incorporated_in text, group_equity_shareholding number, book_club_id text, movie_id text )
SELECT year, book_title, publisher FROM book_club ORDER BY year DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 484, 834, 13442, 41, 484, 834, 13442, 834, 23, 26, 381, 6, 215, 381, 6, 2291, 834, 127, 834, 11272, 127, 1499, 6, 484, 834, 21869, 1499, 6, 14859, 1499, 6, 3295, 1499, 6, 741, 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, 215, 6, 484, 834, 21869, 6, 14859, 21680, 484, 834, 13442, 4674, 11300, 272, 476, 215, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the ids of the top three products that were purchased in the largest amount?
CREATE TABLE product_suppliers ( product_id VARCHAR, total_amount_purchased VARCHAR )
SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 556, 834, 15956, 4518, 41, 556, 834, 23, 26, 584, 4280, 28027, 6, 792, 834, 9, 11231, 834, 29446, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3, 23, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 556, 834, 23, 26, 21680, 556, 834, 15956, 4518, 4674, 11300, 272, 476, 792, 834, 9, 11231, 834, 29446, 26, 309, 25067, 8729, 12604, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who is the winners where season result is 7th
CREATE TABLE table_16696 ( "Year" real, "Winners" text, "Grand Finalist" text, "Scores" text, "Venue" text, "Crowd" real, "Margin" real, "Season Result" text )
SELECT "Winners" FROM table_16696 WHERE "Season Result" = '7th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26811, 4314, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 687, 7, 121, 1499, 6, 96, 4744, 727, 6514, 343, 121, 1499, 6, 96, 134, 9022, 7, 121, 1499, 6, 96, 553, 35, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 7, 121, 21680, 953, 834, 26811, 4314, 549, 17444, 427, 96, 134, 15, 9, 739, 3, 20119, 121, 3274, 3, 31, 940, 189, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the power when the city of license is Beaver Creek?
CREATE TABLE table_name_50 ( power VARCHAR, city_of_license VARCHAR )
SELECT power FROM table_name_50 WHERE city_of_license = "beaver creek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 579, 584, 4280, 28027, 6, 690, 834, 858, 834, 28062, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 579, 116, 8, 690, 13, 3344, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 579, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 690, 834, 858, 834, 28062, 3274, 96, 346, 9, 624, 25153, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the name and typical buying and selling prices of the products that have color described as 'yellow'?
CREATE TABLE products ( product_id number, color_code text, product_category_code text, product_name text, typical_buying_price text, typical_selling_price text, product_description text, other_product_details text ) CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text ) CREATE TABLE ref_colors ( color_code text, color_description text ) CREATE TABLE ref_characteristic_types ( characteristic_type_code text, characteristic_type_description text ) CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_of_measure text ) CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text )
SELECT t1.product_name, t1.typical_buying_price, t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = "yellow"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 556, 834, 23, 26, 381, 6, 945, 834, 4978, 1499, 6, 556, 834, 8367, 839, 651, 834, 4978, 1499, 6, 556, 834, 4350, 1499, 6, 4541, 834, 14584, 53, 834, 102, 4920, 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, 3, 17, 5411, 15892, 834, 4350, 6, 3, 17, 5411, 21888, 834, 14584, 53, 834, 102, 4920, 6, 3, 17, 5411, 21888, 834, 17556, 834, 102, 4920, 21680, 494, 6157, 3, 17, 536, 3, 15355, 3162, 6273, 834, 9910, 7, 6157, 3,...
What is the Heat of the Player with a Rank of 18 or less and Result of 55.15?
CREATE TABLE table_66248 ( "Rank" real, "Heat" real, "Name" text, "Nationality" text, "Result" text )
SELECT "Heat" FROM table_66248 WHERE "Rank" < '18' AND "Result" = '55.15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 357, 3707, 41, 96, 22557, 121, 490, 6, 96, 3845, 144, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 20119, 121, 1499, 3, 61, 3, 32102, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 144, 121, 21680, 953, 834, 3539, 357, 3707, 549, 17444, 427, 96, 22557, 121, 3, 2, 3, 31, 2606, 31, 3430, 96, 20119, 121, 3274, 3, 31, 3769, 5, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Visualize a bar chart about the distribution of ACC_Road and the average of School_ID , and group by attribute ACC_Road, I want to sort in desc by the y axis.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT ACC_Road, AVG(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY AVG(School_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 71, 17217, 599, 29364, 834, 4309, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 71, 17217, 599, 29364, 834, 4309, ...
Who was second when Martynas Norkus was the skip?
CREATE TABLE table_name_86 (second VARCHAR, skip VARCHAR)
SELECT second FROM table_name_86 WHERE skip = "martynas norkus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 12091, 584, 4280, 28027, 6, 11202, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 511, 116, 11163, 63, 29, 9, 7, 7005, 2729, 7, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 511, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 11202, 3274, 96, 1635, 17, 63, 29, 9, 7, 3701, 2729, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return a bar chart about the distribution of Time and meter_100 , order Y from low to high order.
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int )
SELECT Time, meter_100 FROM swimmer ORDER BY meter_100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2900, 6, 3, 4401, 834, 2915, 21680, 27424, 4674, 11300, 272, 476, 3, 4401, 834, 2915, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is was Date that where Triple was smaller than 26, and Game was 25?
CREATE TABLE table_35625 ( "Triple" real, "Game" real, "Date" text, "Inning" text, "Location" text, "Opposing Pitcher" text, "Team" text )
SELECT "Date" FROM table_35625 WHERE "Triple" < '26' AND "Game" = '25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 948, 1828, 41, 96, 19310, 4788, 121, 490, 6, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 196, 9416, 121, 1499, 6, 96, 434, 32, 75, 257, 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, 308, 342, 121, 21680, 953, 834, 2469, 948, 1828, 549, 17444, 427, 96, 19310, 4788, 121, 3, 2, 3, 31, 2688, 31, 3430, 96, 23055, 121, 3274, 3, 31, 1828, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
When did the old manager vacate his position in Plymouth Argyle?
CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "Plymouth Argyle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2469, 4240, 2555, 834, 948, 41, 5522, 834, 858, 834, 29685, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 625, 2743, 409, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 834, 858, 834, 29685, 21680, 953, 834, 2294, 2469, 4240, 2555, 834, 948, 549, 17444, 427, 372, 3274, 96, 345, 120, 11975, 3, 16627, 63, 109, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What period was the life expectancy at 62.4?
CREATE TABLE table_29510 ( "Period" text, "Live births per year" text, "Deaths per year" text, "Natural change per year" text, "CBR*" text, "CDR*" text, "NC*" text, "TFR*" text, "IMR*" real, "Life expectancy total" text, "Life expectancy males" text, "Life expectancy females" text )
SELECT "Period" FROM table_29510 WHERE "Life expectancy total" = '62.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 25926, 41, 96, 12988, 23, 32, 26, 121, 1499, 6, 96, 24179, 3879, 7, 399, 215, 121, 1499, 6, 96, 2962, 9, 189, 7, 399, 215, 121, 1499, 6, 96, 567, 13149, 40, 483, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12988, 23, 32, 26, 121, 21680, 953, 834, 3166, 25926, 549, 17444, 427, 96, 16427, 1672, 6833, 792, 121, 3274, 3, 31, 948, 17638, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the sum of the 2008 with a 2007 of 4,244,115 and less than 3,296,267 in 2003?
CREATE TABLE table_61806 ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text )
SELECT SUM("2008") FROM table_61806 WHERE "2007" = '4,244,115' AND "2003" < '3,296,267'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 2079, 948, 41, 96, 14926, 121, 1499, 6, 96, 16660, 121, 490, 6, 96, 16128, 121, 490, 6, 96, 20615, 121, 1499, 6, 96, 21196, 121, 490, 6, 96, 22594, 121, 490, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 16128, 8512, 21680, 953, 834, 4241, 2079, 948, 549, 17444, 427, 96, 20615, 121, 3274, 3, 31, 8525, 2266, 8525, 15660, 31, 3430, 96, 23948, 121, 3, 2, 3, 31, 6355, 3166, 11071, 357, 3708, 31, 1...
What is the score for the southern home team?
CREATE TABLE table_name_78 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_78 WHERE home_team = "southern"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 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, 7518, 234, 372, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 760, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less than 4?
CREATE TABLE table_name_80 ( games INTEGER, team VARCHAR, rank VARCHAR, rebounds VARCHAR )
SELECT SUM(games) FROM table_name_80 WHERE rank < 4 AND rebounds < 275 AND team = "bruesa gbc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 1031, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 3, 23768, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7261, 7, 61, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 11003, 3, 2, 314, 3430, 3, 23768, 3, 2, 3, 25988, 3430, 372, 3274, 96, 9052, 15, 7, 9, 3, 122, 115, 75, 121, 1, -100, -100, -100,...
On what date was the score 6 4, 7 5?
CREATE TABLE table_name_69 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_name_69 WHERE score = "6–4, 7–5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 8, 2604, 431, 6464, 489, 305, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 2604, 3274, 96, 948, 104, 8525, 489, 104, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What number pick was Danny Walters in the 1983 NFL draft?
CREATE TABLE table_2508633_4 ( pick__number VARCHAR, player VARCHAR )
SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 3840, 4201, 834, 591, 41, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 1432, 47, 19445, 131...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 11434, 3840, 4201, 834, 591, 549, 17444, 427, 1959, 3274, 96, 308, 15159, 13171, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Highest finish with a Most recent finish that was 2nd?
CREATE TABLE table_name_48 (highest_finish VARCHAR, most_recent_finish VARCHAR)
SELECT highest_finish FROM table_name_48 WHERE most_recent_finish = "2nd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 6739, 222, 834, 25535, 584, 4280, 28027, 6, 167, 834, 60, 3728, 834, 25535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1592, 222, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2030, 834, 25535, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 167, 834, 60, 3728, 834, 25535, 3274, 96, 357, 727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
provide the number of patients on ou route of drug administration who have been diagnosed with methicillin resistant staphylococcus aureus septicemia.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Methicillin resistant Staphylococcus aureus septicemia" AND prescriptions.route = "OU"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the latest founded year?
CREATE TABLE table_1973729_2 (founded INTEGER)
SELECT MAX(founded) FROM table_1973729_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 27931, 3166, 834, 357, 41, 23329, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1251, 5710, 215, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 23329, 61, 21680, 953, 834, 2294, 27931, 3166, 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, -100, ...
How old was the horse when the SP was 200/1?
CREATE TABLE table_2582 ( "Position" text, "Horse" text, "Jockey" text, "Age" real, "Handicap (st-lb)" text, "SP" text, "Distance" text, "Prize money" text )
SELECT COUNT("Age") FROM table_2582 WHERE "SP" = '200/1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4613, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 566, 127, 7, 15, 121, 1499, 6, 96, 683, 3961, 15, 63, 121, 1499, 6, 96, 188, 397, 121, 490, 6, 96, 566, 232, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 188, 397, 8512, 21680, 953, 834, 1828, 4613, 549, 17444, 427, 96, 4274, 121, 3274, 3, 31, 3632, 14785, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
subject's body mass index ( bmi ) must be between 18 and 32 kg / m2 ( inclusive ) , and subject must weigh a minimum of 50 kg ( 110 lbs )
CREATE TABLE table_train_141 ( "id" int, "gender" string, "hypothyroidism" bool, "depression" bool, "mini_mental_state_examination_mmse" int, "neuropsychiatric_diagnoses" bool, "memory_box" float, "early_stage_ad" bool, "head_injury" bool, "stroke" bool, "body_weight" float, "major_medical_illness" bool, "rbans_dmi" int, "psychosis" bool, "alzheimer_disease_ad" bool, "diabetes" bool, "body_mass_index_bmi" float, "ad" bool, "hypertension" bool, "clinical_dementia_rating_cdr" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_141 WHERE body_mass_index_bmi >= 18 AND body_mass_index_bmi <= 32 AND body_weight >= 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 26059, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 13397, 32, 17, 31878, 159, 51, 121, 3, 12840, 40, 6, 96, 221, 8243, 121, 3, 12840, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26059, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 2490, 2423, 507, 3430, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 3, 2, 2423, 3538, 3430, 643, 834, ...
Stacked bar chart of how many away team for with each Home_team in each away team, and I want to sort X-axis from high to low order please.
CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text ) CREATE TABLE stadium ( id int, name text, Home_Games int, Average_Attendance real, Total_Attendance real, Capacity_Percentage real ) CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text )
SELECT Away_team, COUNT(Away_team) FROM game GROUP BY Home_team, Away_team ORDER BY Away_team DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 467, 41, 14939, 834, 23, 26, 16, 17, 6, 3, 23, 26, 16, 17, 6, 7960, 16, 17, 6, 7678, 1499, 6, 1210, 834, 11650, 1499, 6, 71, 1343, 834, 11650, 1499, 6, 17763, 1499, 6, 15571, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1343, 834, 11650, 6, 2847, 17161, 599, 188, 1343, 834, 11650, 61, 21680, 467, 350, 4630, 6880, 272, 476, 1210, 834, 11650, 6, 71, 1343, 834, 11650, 4674, 11300, 272, 476, 71, 1343, 834, 11650, 309, 25067, 1, -10...
Return a bar chart about the distribution of All_Games and School_ID , and show in ascending by the bar.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Games, School_ID FROM basketball_match ORDER BY All_Games
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 23055, 7, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
At what location was the score W 82-76?
CREATE TABLE table_name_68 ( location VARCHAR, score VARCHAR )
SELECT location FROM table_name_68 WHERE score = "w 82-76"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 1128, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 486, 125, 1128, 47, 8, 2604, 549, 3, 4613, 18, 3959, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 2604, 3274, 96, 210, 3, 4613, 18, 3959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the together we can do more when democratic coalition is ren alinco ( ppd )?
CREATE TABLE table_2651755_1 ( together_we_can_do_more VARCHAR, democratic_coalition VARCHAR )
SELECT together_we_can_do_more FROM table_2651755_1 WHERE democratic_coalition = "René Alinco ( PPD )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4122, 2517, 3769, 834, 536, 41, 544, 834, 1123, 834, 1608, 834, 26, 32, 834, 3706, 584, 4280, 28027, 6, 15053, 834, 509, 138, 4749, 584, 4280, 28027, 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, 544, 834, 1123, 834, 1608, 834, 26, 32, 834, 3706, 21680, 953, 834, 357, 4122, 2517, 3769, 834, 536, 549, 17444, 427, 15053, 834, 509, 138, 4749, 3274, 96, 448, 35, 154, 901, 77, 509, 41, 276, 6251, 3, 61, 121, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the correlation between commission_pct and manager_id in a scatter chart.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT COMMISSION_PCT, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6657, 329, 16994, 9215, 834, 4051, 382, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051,...
Find all the policy types that are used by more than 2 customers.
CREATE TABLE policies (policy_type_code VARCHAR)
SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING COUNT(*) > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3101, 41, 3233, 17686, 834, 6137, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 66, 8, 1291, 1308, 24, 33, 261, 57, 72, 145, 204, 722, 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, 1291, 834, 6137, 834, 4978, 21680, 3101, 350, 4630, 6880, 272, 476, 1291, 834, 6137, 834, 4978, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which location has the top amount of 'Drugs' crime conducted?
CREATE TABLE greatermanchestercrime ( crimeid text, crimets time, location text, lsoa text, type text, outcome text )
SELECT location FROM greatermanchestercrime WHERE type LIKE "%Drug%" GROUP BY location ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2123, 348, 13263, 2685, 526, 41, 5447, 23, 26, 1499, 6, 5447, 17, 7, 97, 6, 1128, 1499, 6, 3, 40, 7, 32, 9, 1499, 6, 686, 1499, 6, 6138, 1499, 3, 61, 3, 32102, 32103, 32101, 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, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 2123, 348, 13263, 2685, 526, 549, 17444, 427, 686, 8729, 9914, 96, 1454, 308, 13534, 1454, 121, 350, 4630, 6880, 272, 476, 1128, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, ...
what is the total number of players listed in the table ?
CREATE TABLE table_204_329 ( id number, "no." number, "score" number, "player" text, "team" text, "balls" number, "inns." number, "opposing team" text, "date" text, "result" text )
SELECT COUNT("player") FROM table_204_329
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 3166, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 7, 9022, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 3184, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 20846, 8512, 21680, 953, 834, 26363, 834, 519, 3166, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose admission type is elective and procedure short title is unilat rad neck dissect?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.short_title = "Unilat rad neck dissect"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the population with an area of 1,126.84?
CREATE TABLE table_76334 ( "District" text, "Population" real, "Area" real, "Pop. Dens." real, "No.of Settlements" real )
SELECT MIN("Population") FROM table_76334 WHERE "Area" = '1,126.84'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 519, 3710, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 188, 864, 121, 490, 6, 96, 27773, 5, 3128, 7, 535, 490, 6, 96, 4168, 5, 858, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 27773, 7830, 8512, 21680, 953, 834, 3959, 519, 3710, 549, 17444, 427, 96, 188, 864, 121, 3274, 3, 31, 4347, 21976, 5, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average winner's share won by Billy Casper?
CREATE TABLE table_39400 ( "Year" real, "Champion" text, "Country" text, "Venue" text, "Location" text, "Score" text, "Winner's share ( $ )" real )
SELECT AVG("Winner's share ( $ )") FROM table_39400 WHERE "Champion" = 'billy casper'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 5548, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 434, 32, 75, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18455, 687, 31, 7, 698, 41, 1514, 3, 61, 8512, 21680, 953, 834, 3288, 5548, 549, 17444, 427, 96, 254, 1483, 12364, 121, 3274, 3, 31, 3727, 120, 212, 4339, 31, 1, -100, -100, -100, -100, -100, ...
What is the type of the match with a win result and Michael Gomez as the opponent?
CREATE TABLE table_name_79 (type VARCHAR, res VARCHAR, opponent VARCHAR)
SELECT type FROM table_name_79 WHERE res = "win" AND opponent = "michael gomez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 6137, 584, 4280, 28027, 6, 3, 60, 7, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 686, 13, 8, 1588, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 3, 60, 7, 3274, 96, 3757, 121, 3430, 15264, 3274, 96, 51, 362, 9, 15, 40, 281, 51, 457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the manner of departure for the team racing santander?
CREATE TABLE table_26689 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text )
SELECT "Manner of departure" FROM table_26689 WHERE "Team" = 'Racing Santander'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 3914, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7296, 687, 13, 12028, 121, 21680, 953, 834, 357, 3539, 3914, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 448, 9, 75, 53, 4625, 29, 588, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For the swimmer in the lane less than 4, and is ranked greater than 4 what was the time?
CREATE TABLE table_name_42 ( time VARCHAR, lane VARCHAR, rank VARCHAR )
SELECT time FROM table_name_42 WHERE lane < 4 AND rank > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 97, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 27424, 16, 8, 3, 8102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 3, 8102, 3, 2, 314, 3430, 11003, 2490, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many names are listed for the player with 50 points?
CREATE TABLE table_25401874_1 ( name VARCHAR, points VARCHAR )
SELECT COUNT(name) FROM table_25401874_1 WHERE points = 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2445, 2606, 4581, 834, 536, 41, 564, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3056, 33, 2616, 21, 8, 1959, 28, 943,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4350, 61, 21680, 953, 834, 1828, 2445, 2606, 4581, 834, 536, 549, 17444, 427, 979, 3274, 943, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the first names of all the students?
CREATE TABLE student ( fname VARCHAR )
SELECT DISTINCT fname FROM student
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 3, 89, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 166, 3056, 13, 66, 8, 481, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 89, 4350, 21680, 1236, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many base pairs are there in the tohamai strain?
CREATE TABLE table_name_90 ( base_pairs VARCHAR, strain VARCHAR )
SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 1247, 834, 102, 2256, 7, 584, 4280, 28027, 6, 6035, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1247, 14152, 33, 132, 16, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1247, 834, 102, 2256, 7, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 6035, 3274, 96, 235, 1483, 9, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many rank entries are there when new points are 1155?
CREATE TABLE table_29572583_19 (rank VARCHAR, new_points VARCHAR)
SELECT COUNT(rank) FROM table_29572583_19 WHERE new_points = 1155
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3436, 1828, 4591, 834, 2294, 41, 6254, 584, 4280, 28027, 6, 126, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 11003, 10066, 33, 132, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 3166, 3436, 1828, 4591, 834, 2294, 549, 17444, 427, 126, 834, 2700, 7, 3274, 850, 3769, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the points for the Seven Sisters RFC club?
CREATE TABLE table_name_71 ( points VARCHAR, club VARCHAR )
SELECT points FROM table_name_71 WHERE club = "seven sisters rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 979, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 979, 21, 8, 13065, 16522, 7, 391, 5390, 1886, 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, 979, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1886, 3274, 96, 7, 6190, 14033, 3, 52, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was Mu's title?
CREATE TABLE table_name_6 ( title VARCHAR, name VARCHAR )
SELECT title FROM table_name_6 WHERE name = "mu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 2233, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 4159, 31, 7, 2233, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 564, 3274, 96, 51, 76, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Return a bar chart about the distribution of Date_of_Birth and Height , and order Y-axis from high to low order.
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real )
SELECT Date_of_Birth, Height FROM people ORDER BY Height DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 41, 25833, 17, 15, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 14457, 834, 23799, 1499, 6, 7678, 1499, 6, 4224, 834, 2206, 490, 6, 9151, 834, 2206, 490, 6, 4495, 2748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 24231, 21680, 151, 4674, 11300, 272, 476, 24231, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which tournament has a Runner(s)-up of Gary McCord?
CREATE TABLE table_42638 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Tournament" FROM table_42638 WHERE "Runner(s)-up" = 'gary mccord'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2688, 3747, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 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, 382, 1211, 20205, 17, 121, 21680, 953, 834, 591, 2688, 3747, 549, 17444, 427, 96, 23572, 599, 7, 61, 18, 413, 121, 3274, 3, 31, 1478, 63, 3, 51, 75, 7621, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest 2007-03, when 2009-03 is greater than 10.6, and when 2012-03 is 15.4?
CREATE TABLE table_7495 ( "Unemployment" text, "2007-03" real, "2008-03" real, "2009-03" real, "2010-03" real, "2011-03" real, "2012-03" real )
SELECT MAX("2007-03") FROM table_7495 WHERE "2009-03" > '10.6' AND "2012-03" = '15.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 3301, 41, 96, 5110, 29056, 121, 1499, 6, 96, 20615, 18, 4928, 121, 490, 6, 96, 16128, 18, 4928, 121, 490, 6, 96, 16660, 18, 4928, 121, 490, 6, 96, 14926, 18, 4928, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20615, 18, 4928, 8512, 21680, 953, 834, 4581, 3301, 549, 17444, 427, 96, 16660, 18, 4928, 121, 2490, 3, 31, 10415, 948, 31, 3430, 96, 12172, 18, 4928, 121, 3274, 3, 31, 536, 27436, 31, 1, -100, ...
how many strokes marked the margin of victory for justin rose in 2011 ?
CREATE TABLE table_203_94 ( id number, "year" number, "player" text, "country" text, "score" text, "to par" number, "margin\nof victory" text, "course" text, "location" text, "purse ($)" number, "winner's\nshare ($)" number )
SELECT "margin\nof victory" FROM table_203_94 WHERE "year" = 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4240, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 121, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1635, 122, 77, 2, 29, 858, 6224, 121, 21680, 953, 834, 23330, 834, 4240, 549, 17444, 427, 96, 1201, 121, 3274, 2722, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Attendance on November 7, 1999?
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_86 WHERE date = "november 7, 1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 22497, 663, 30, 1671, 7973, 5247, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 7973, 5247, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the date of the game when the home team is melbourne?
CREATE TABLE table_29090919_1 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_29090919_1 WHERE home_team = "Melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4198, 4198, 2294, 834, 536, 41, 5522, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 8, 467, 116, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 3166, 4198, 4198, 2294, 834, 536, 549, 17444, 427, 234, 834, 11650, 3274, 96, 329, 15, 40, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When did the team have a 10-8 record?
CREATE TABLE table_name_26 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_26 WHERE record = "10-8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 372, 43, 3, 9, 335, 6039, 1368, 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, 833, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1368, 3274, 96, 1714, 6039, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the implementation when the netflow version is v5, v8, v9, ipfix?
CREATE TABLE table_1206114_2 ( implementation VARCHAR, netflow_version VARCHAR )
SELECT implementation FROM table_1206114_2 WHERE netflow_version = "v5, v8, v9, IPFIX"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15518, 4241, 2534, 834, 357, 41, 4432, 584, 4280, 28027, 6, 3134, 7631, 834, 8674, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4432, 116, 8, 3134, 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, 0, 0, 0...
[ 3, 23143, 14196, 4432, 21680, 953, 834, 15518, 4241, 2534, 834, 357, 549, 17444, 427, 3134, 7631, 834, 8674, 3274, 96, 208, 11116, 3, 208, 11864, 3, 208, 1298, 6, 3857, 4936, 4, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
How many points did Antwain Barbour score in the year he played 39 games?
CREATE TABLE table_41416 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Points" real )
SELECT SUM("Points") FROM table_41416 WHERE "Name" = 'antwain barbour' AND "Games" < '39'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2534, 2938, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 22512, 7, 121, 490, 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, 180, 6122, 599, 121, 22512, 7, 8512, 21680, 953, 834, 591, 2534, 2938, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 288, 210, 9, 77, 9935, 1211, 31, 3430, 96, 23055, 7, 121, 3, 2, 3, 31, 3288, 31, 1, -100, -1...
What country has signed type moving from porto?
CREATE TABLE table_70764 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Ends" real, "Transfer fee" text, "Source" text )
SELECT "Country" FROM table_70764 WHERE "Type" = 'signed' AND "Moving from" = 'porto'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3959, 591, 41, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 329, 32, 3745, 45, 121, 1499, 6, 96, 18474, 1010, 2034, 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, 10628, 651, 121, 21680, 953, 834, 2518, 3959, 591, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 15532, 31, 3430, 96, 329, 32, 3745, 45, 121, 3274, 3, 31, 1493, 32, 31, 1, -100, -100, -100, -100, -100, -100, ...
What Attendance has a Date that is november 1, 1993?
CREATE TABLE table_name_69 ( attendance VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_69 WHERE date = "november 1, 1993"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 11364, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 22497, 663, 65, 3, 9, 7678, 24, 19, 3, 5326, 18247, 1914,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 1914, 8388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of patients whose marital status is single and age is less than 27?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.age < "27"
[ 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, 1635, 9538, 834, 8547, 302, 3274, 96, 134, 2365, 3765, 121, 3430, 14798, 5, 545, 3, 2, 96, 2555,...
What is the lowest January, when Game is less than 46, when Score is '5 - 3', and when Record is '15-22-8'?
CREATE TABLE table_name_94 ( january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR )
SELECT MIN(january) FROM table_name_94 WHERE game < 46 AND score = "5 - 3" AND record = "15-22-8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 3, 7066, 76, 1208, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 7066, 76, 1208, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 467, 3, 2, 9668, 3430, 2604, 3274, 96, 755, 3, 18, 220, 121, 3430, 1368, 3274, 96, 1808, 16149, 6039, 121, 1, -100, -100, -100,...
What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan?
CREATE TABLE table_name_95 ( bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR )
SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 13467, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 4294, 3, 2, 204, 3430, 792, 2490, 209, 3430, 2982, 3274, 96, 76, 172, 346, 2168, 5627, 121, 1, -100, -100, -100, -100, -100, -100, ...
List the number of goals scored to equal 58.
CREATE TABLE table_18018214_2 (goals_conceded INTEGER, points VARCHAR)
SELECT MIN(goals_conceded) FROM table_18018214_2 WHERE points = 58
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 2606, 27357, 834, 357, 41, 839, 5405, 834, 11620, 221, 26, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 381, 13, 1766, 5799, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 839, 5405, 834, 11620, 221, 26, 61, 21680, 953, 834, 20829, 2606, 27357, 834, 357, 549, 17444, 427, 979, 3274, 3, 3449, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is discharge location and discharge time of subject name michael witt?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.name = "Michael Witt"
[ 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, 26, 159, 7993, 834, 14836, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 329, 362, 9, 15, 40, 22632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...