NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
On what surface did he play with Stephen Huss on 31 October 2010?
CREATE TABLE table_name_32 (surface VARCHAR, partner VARCHAR, date VARCHAR)
SELECT surface FROM table_name_32 WHERE partner = "stephen huss" AND date = "31 october 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 26899, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 1774, 410, 3, 88, 577, 28, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 2397, 3274, 96, 849, 19017, 3, 11823, 7, 121, 3430, 833, 3274, 96, 3341, 3, 32, 75, 235, 1152, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country does Roberto Almeida live?
CREATE TABLE customers (country VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 17529, 584, 4280, 28027, 6, 166, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 405, 2715, 32, 901, 526, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 722, 549, 17444, 427, 166, 834, 4350, 3274, 96, 24372, 49, 235, 121, 3430, 336, 834, 4350, 3274, 96, 188, 40, 526, 23, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Home with a Time that is 12:00?
CREATE TABLE table_name_34 ( home VARCHAR, time VARCHAR )
SELECT home FROM table_name_34 WHERE time = "12:00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 234, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1210, 28, 3, 9, 2900, 24, 19, 25095, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 97, 3274, 96, 536, 24112, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which player was in the Omonia Nicosia club?
CREATE TABLE table_75973 ( "Season" text, "Nationality" text, "Player" text, "Club" text, "League" text, "Goals" real, "Points" text )
SELECT "Player" FROM table_75973 WHERE "Club" = 'omonia nicosia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 4327, 519, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 2796, 9, 5398, 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, 15800, 49, 121, 21680, 953, 834, 3072, 4327, 519, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 32, 8823, 9, 3, 2532, 32, 7, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose diagnoses long title is cellulitis and abscess of leg, except foot and drug type is main?
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 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 )
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 = "Cellulitis and abscess of leg, except foot" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What was the home teams score agains the team that scored 7.15 (57)?
CREATE TABLE table_33258 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_33258 WHERE "Away team score" = '7.15 (57)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2668, 3449, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 519, 2668, 3449, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 25059, 755, 41, 3436, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the weight is 126g and the NFC is yes, what is the battery (MAH)?
CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)
SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 41, 115, 12828, 63, 834, 834, 834, 51, 9, 107, 834, 834, 584, 4280, 28027, 6, 3, 29, 89, 75, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 3322, 834, 834, 834, 51, 9, 107, 834, 834, 21680, 953, 549, 17444, 427, 3, 29, 89, 75, 3274, 96, 19739, 121, 3430, 1293, 3274, 96, 21976, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the duration for nickolas grace as the actor?
CREATE TABLE table_36176 ( "Character" text, "Actor" text, "Duration" text, "Role" text, "Appearances" text )
SELECT "Duration" FROM table_36176 WHERE "Actor" = 'nickolas grace'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 26782, 41, 96, 18947, 2708, 49, 121, 1499, 6, 96, 188, 5317, 121, 1499, 6, 96, 12998, 2661, 121, 1499, 6, 96, 448, 32, 109, 121, 1499, 6, 96, 9648, 2741, 663, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12998, 2661, 121, 21680, 953, 834, 3420, 26782, 549, 17444, 427, 96, 188, 5317, 121, 3274, 3, 31, 2532, 11292, 9, 7, 8140, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the total score for first place in the greater baltimore classic ?
CREATE TABLE table_204_328 ( id number, "no." number, "date" text, "tournament" text, "winning score" text, "margin of\nvictory" text, "runner(s)-up" text )
SELECT "winning score" FROM table_204_328 WHERE "tournament" = 'greater baltimore classic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 28070, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 1211, 20205, 17, 121, 1499, 6, 96, 8163, 2604, 121, 1499, 6, 96, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8163, 2604, 121, 21680, 953, 834, 26363, 834, 28070, 549, 17444, 427, 96, 17, 1211, 20205, 17, 121, 3274, 3, 31, 20288, 49, 6561, 17, 23, 3706, 2431, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who wrote 'to live and diet in L.A.'?
CREATE TABLE table_27830 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Written by" FROM table_27830 WHERE "Title" = 'To Live and Diet in L.A.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3940, 1458, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24965, 324, 57, 121, 21680, 953, 834, 357, 3940, 1458, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 3696, 3306, 11, 316, 17, 16, 301, 5, 188, 5, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Which Hanya has an area of 19.3888?
CREATE TABLE table_name_59 ( hanyu VARCHAR, area__km²_ VARCHAR )
SELECT hanyu FROM table_name_59 WHERE area__km²_ = 19.3888
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 3, 2618, 63, 76, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 6627, 63, 9, 65, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2618, 63, 76, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 9997, 519, 10927, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date of the game at the Pro Player Stadium that had a score of 4-1?
CREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
SELECT date FROM table_name_43 WHERE venue = "pro player stadium" AND score = "4-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 5522, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 8, 467, 44, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 5669, 3274, 96, 1409, 1959, 14939, 121, 3430, 2604, 3274, 96, 591, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
total number of players whose home town was in north carolina -lrb- nc -rrb-
CREATE TABLE table_204_526 ( id number, "name" text, "#" number, "position" text, "height" text, "weight" number, "year" text, "home town" text, "high school" text )
SELECT COUNT("name") FROM table_204_526 WHERE "home town" = 'nc'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 2688, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 4663, 121, 381, 6, 96, 4718, 121, 1499, 6, 96, 88, 2632, 121, 1499, 6, 96, 9378, 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, 2847, 17161, 599, 121, 4350, 8512, 21680, 953, 834, 26363, 834, 755, 2688, 549, 17444, 427, 96, 5515, 1511, 121, 3274, 3, 31, 29, 75, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the home of fc thun (asl) geust?
CREATE TABLE table_name_83 ( home VARCHAR, geust VARCHAR )
SELECT home FROM table_name_83 WHERE geust = "fc thun (asl)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 234, 584, 4280, 28027, 6, 873, 302, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 13, 3, 89, 75, 3, 189, 202, 41, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 873, 302, 17, 3274, 96, 89, 75, 3, 189, 202, 41, 9, 7, 40, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of users who posted some tweets.
CREATE TABLE tweets ( id number, uid number, text text, createdate time ) CREATE TABLE user_profiles ( uid number, name text, email text, partitionid number, followers number ) CREATE TABLE follows ( f1 number, f2 number )
SELECT COUNT(DISTINCT uid) FROM tweets
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10657, 7, 41, 3, 23, 26, 381, 6, 3, 76, 23, 26, 381, 6, 1499, 1499, 6, 990, 342, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1139, 834, 18816, 7, 41, 3, 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, 2847, 17161, 599, 15438, 25424, 6227, 3, 76, 23, 26, 61, 21680, 10657, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of ?
CREATE TABLE table_name_47 ( portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR )
SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 4833, 834, 21148, 297, 584, 4280, 28027, 6, 1246, 834, 144, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 3, 1436, 1496, 15, 834, 4350, 584, 4280, 28027...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4833, 834, 21148, 297, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1246, 834, 144, 834, 9, 102, 2700, 297, 3274, 4678, 3430, 3, 1436, 1496, 15, 834, 4350, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, ...
how many married patients have had thyroid stimulating hormone lab test?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "DIVORCED" AND lab.label = "Thyroid Stimulating Hormone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What Podiums listing has a World Rally Championship series entry?
CREATE TABLE table_name_74 ( podiums VARCHAR, series VARCHAR )
SELECT podiums FROM table_name_74 WHERE series = "world rally championship"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 22828, 7, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1908, 12925, 7, 6437, 65, 3, 9, 1150, 391, 1427, 7666,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22828, 7, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 939, 3274, 96, 7276, 13980, 10183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Event when DNP shows for 2007 08?
CREATE TABLE table_40209 ( "Event" text, "2007\u201308" text, "2008\u201309" text, "2009\u201310" text, "2010\u201311" text )
SELECT "Event" FROM table_40209 WHERE "2007\u201308" = 'dnp'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 357, 4198, 41, 96, 427, 2169, 121, 1499, 6, 96, 20615, 2, 76, 11138, 4018, 121, 1499, 6, 96, 16128, 2, 76, 11138, 4198, 121, 1499, 6, 96, 16660, 2, 76, 11138, 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, 96, 427, 2169, 121, 21680, 953, 834, 2445, 357, 4198, 549, 17444, 427, 96, 20615, 2, 76, 11138, 4018, 121, 3274, 3, 31, 26, 29, 102, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHen joaqui mendoza is the name how long is the duration?
CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)
SELECT duration FROM table_19061741_3 WHERE name = "Joaqui Mendoza"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 4241, 4581, 536, 834, 519, 41, 1259, 2661, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 15313, 35, 3, 1927, 9, 1169, 1076, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8659, 21680, 953, 834, 11776, 4241, 4581, 536, 834, 519, 549, 17444, 427, 564, 3274, 96, 683, 32, 9, 1169, 3137, 26, 13277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which years had a rank of more than 6 and involved Oleksandr Kosyrin?
CREATE TABLE table_7662 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real )
SELECT "Years" FROM table_7662 WHERE "Rank" > '6' AND "Name" = 'oleksandr kosyrin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 4056, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 6221, 5405, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 121, 21680, 953, 834, 3959, 4056, 549, 17444, 427, 96, 22557, 121, 2490, 3, 31, 948, 31, 3430, 96, 23954, 121, 3274, 3, 31, 32, 40, 16789, 232, 52, 3, 9692, 63, 52, 77, 31, 1, -100, -100, -10...
What is the grid for the driver who earned 14 points?
CREATE TABLE table_17304504_1 (grid VARCHAR, points VARCHAR)
SELECT grid FROM table_17304504_1 WHERE points = "14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 1458, 10593, 591, 834, 536, 41, 3496, 26, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8634, 21, 8, 2535, 113, 4964, 968...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8634, 21680, 953, 834, 2517, 1458, 10593, 591, 834, 536, 549, 17444, 427, 979, 3274, 96, 2534, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The venue of Rome has which date?
CREATE TABLE table_name_84 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_84 WHERE venue = "rome"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 833, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 37, 5669, 13, 7332, 65, 84, 833, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 5669, 3274, 96, 11956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player is attending college at Virginia?
CREATE TABLE table_name_43 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_43 WHERE college = "virginia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 20846, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 19, 7078, 1900, 44, 5382, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1900, 3274, 96, 5771, 122, 77, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which chassis has a year later than 1964, a Ford engine, and 13 points?
CREATE TABLE table_68737 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real )
SELECT "Chassis" FROM table_68737 WHERE "Year" > '1964' AND "Engine" = 'ford' AND "Pts." = '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 27931, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 345, 17, 7, 535, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3541, 6500, 7, 121, 21680, 953, 834, 3651, 27931, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4389, 31, 3430, 96, 31477, 121, 3274, 3, 31, 2590, 31, 3430, 96, 345, 17, 7, 535, 3274, 3, 31, 2368, ...
keyphrases used by ras bodik
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar )
SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'ras bodik' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 17994, 19587, 23, 26, 16, 17, 6, 3, 11675, 19587, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 41, 6378, 23, 26, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 843, 27111, 5, 4397, 27111, 23, 26, 21680, 2291, 6, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 52, 9, 7, 23322, 157, 31, 3430, ...
Who was Al Michaels' color commentator in 2003?
CREATE TABLE table_name_69 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)
SELECT color_commentator_s_ FROM table_name_69 WHERE play_by_play = "al michaels" AND year > 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 9910, 834, 287, 297, 1016, 834, 7, 834, 584, 4280, 28027, 6, 577, 834, 969, 834, 4895, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 945, 834, 287, 297, 1016, 834, 7, 834, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 577, 834, 969, 834, 4895, 3274, 96, 138, 2278, 9, 3573, 121, 3430, 215, 2490, 3888, 1, -100, -100, -100, -100, -100, -100, ...
what is the october 20, 2008 stat where mexico stat is romania
CREATE TABLE table_18498743_1 ( october_20 VARCHAR, _2008 VARCHAR, mexico VARCHAR )
SELECT october_20, _2008 FROM table_18498743_1 WHERE mexico = "Romania"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3647, 4225, 4906, 834, 536, 41, 3, 32, 75, 235, 1152, 834, 1755, 584, 4280, 28027, 6, 3, 834, 16128, 584, 4280, 28027, 6, 140, 226, 5807, 584, 4280, 28027, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 32, 75, 235, 1152, 834, 1755, 6, 3, 834, 16128, 21680, 953, 834, 2606, 3647, 4225, 4906, 834, 536, 549, 17444, 427, 140, 226, 5807, 3274, 96, 25139, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the score for the game in which Manchester United was the home team?
CREATE TABLE table_name_85 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_85 WHERE home_team = "manchester united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 2604, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 8, 467, 16, 84, 9145, 907, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 234, 834, 11650, 3274, 96, 348, 13263, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of people whose age is greater than all engineers.
CREATE TABLE Person ( age INTEGER, job VARCHAR ) CREATE TABLE person ( age INTEGER, job VARCHAR )
SELECT COUNT(*) FROM Person WHERE age > (SELECT MAX(age) FROM Person WHERE job = 'engineer')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, 1246, 3, 21342, 17966, 6, 613, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 41, 1246, 3, 21342, 17966, 6, 613, 584, 4280, 28027, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 5780, 549, 17444, 427, 1246, 2490, 41, 23143, 14196, 4800, 4, 599, 545, 61, 21680, 5780, 549, 17444, 427, 613, 3274, 3, 31, 20165, 49, 31, 61, 1, -100, -100, -100, -100, -100, -100...
who is the other person where the assistant is paulo babo
CREATE TABLE table_28046929_2 (driver VARCHAR, co_driver VARCHAR)
SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17518, 591, 3951, 3166, 834, 357, 41, 13739, 52, 584, 4280, 28027, 6, 576, 834, 13739, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 8, 119, 568, 213, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 17518, 591, 3951, 3166, 834, 357, 549, 17444, 427, 576, 834, 13739, 52, 3274, 96, 23183, 32, 11563, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me the comparison about the amount of Sex over the Sex , and group by attribute Sex by a bar chart, and show in asc by the x axis.
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 Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY Sex
[ 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, 679, 226, 6, 2847, 17161, 599, 134, 994, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Location Attendance has a Game of 4?
CREATE TABLE table_name_9 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_name_9 WHERE game = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 10450, 22497, 663, 65, 3, 9, 4435, 13, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 467, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total for Bernhard Langer?
CREATE TABLE table_name_83 ( total VARCHAR, player VARCHAR )
SELECT COUNT(total) FROM table_name_83 WHERE player = "bernhard langer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 792, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 21, 8942, 5651, 7073, 49, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1959, 3274, 96, 1152, 29, 5651, 6575, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
If the Plain stop is , what is the Non- stop?
CREATE TABLE table_name_92 ( non__stop VARCHAR, plain_stop VARCHAR )
SELECT non__stop FROM table_name_92 WHERE plain_stop = "ㄷ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 529, 834, 834, 7618, 584, 4280, 28027, 6, 6080, 834, 7618, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 16323, 1190, 19, 3, 6, 125, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 529, 834, 834, 7618, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 6080, 834, 7618, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many bronze medals for Romania when the silver count is more than 1?
CREATE TABLE table_name_96 ( bronze INTEGER, nation VARCHAR, silver VARCHAR )
SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 13467, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13467, 9365, 7, 21, 3871, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 2982, 3274, 96, 3522, 11219, 121, 3430, 4294, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total for 10th position?
CREATE TABLE table_16254 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Points" real, "Position" text )
SELECT COUNT("Points") FROM table_16254 WHERE "Position" = '10th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 1828, 591, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 8931, 15, 7, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 2938, 1828, 591, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 1714, 189, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the median income for age band being under 20
CREATE TABLE table_14946657_3 (median_income VARCHAR, age_band VARCHAR)
SELECT median_income FROM table_14946657_3 WHERE age_band = "Under 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4240, 3539, 3436, 834, 519, 41, 8172, 29, 834, 15759, 584, 4280, 28027, 6, 1246, 834, 3348, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 15572, 2055, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15572, 834, 15759, 21680, 953, 834, 2534, 4240, 3539, 3436, 834, 519, 549, 17444, 427, 1246, 834, 3348, 3274, 96, 5110, 588, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Attendance, when Home is Cleveland, and when Date is January 30?
CREATE TABLE table_name_74 ( attendance VARCHAR, home VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_74 WHERE home = "cleveland" AND date = "january 30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 11364, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 22497, 663, 6, 116, 1210, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 234, 3274, 96, 75, 4563, 232, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average Feb 2013 with a Feb 2010 with 37, and a Nov 2012 less than 32?
CREATE TABLE table_name_31 (feb_2013 INTEGER, feb_2010 VARCHAR, nov_2012 VARCHAR)
SELECT AVG(feb_2013) FROM table_name_31 WHERE feb_2010 = "37" AND nov_2012 < 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 89, 15, 115, 834, 11138, 3, 21342, 17966, 6, 3, 89, 15, 115, 834, 14926, 584, 4280, 28027, 6, 3, 5326, 834, 12172, 584, 4280, 28027, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 89, 15, 115, 834, 11138, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 3, 89, 15, 115, 834, 14926, 3274, 96, 4118, 121, 3430, 3, 5326, 834, 12172, 3, 2, 3538, 1, -100, -100, -100, -100, ...
Name the least attendance with visitor of edmonton
CREATE TABLE table_name_98 (attendance INTEGER, visitor VARCHAR)
SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 15116, 663, 3, 21342, 17966, 6, 7019, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 11364, 28, 7019, 13, 3, 15, 26, 4662, 106, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 7019, 3274, 96, 15, 26, 4662, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?
CREATE TABLE table_name_50 ( first_party VARCHAR, second_member VARCHAR, second_party VARCHAR )
SELECT first_party FROM table_name_50 WHERE second_member = "charles robert colvile" AND second_party = "liberal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 166, 834, 8071, 584, 4280, 28027, 6, 511, 834, 12066, 584, 4280, 28027, 6, 511, 834, 8071, 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, 166, 834, 8071, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 511, 834, 12066, 3274, 96, 4059, 965, 3, 5840, 49, 17, 7632, 6372, 15, 121, 3430, 511, 834, 8071, 3274, 96, 10661, 138, 121, 1, -100, -100, -100, ...
Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?
CREATE TABLE table_name_98 ( weight VARCHAR, power VARCHAR, name VARCHAR )
SELECT weight FROM table_name_98 WHERE power = "kw (hp) at 1,800rpm" AND name = "9 nc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 1293, 584, 4280, 28027, 6, 579, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 14230, 65, 3, 9, 2621, 13, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1293, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 579, 3274, 96, 157, 210, 41, 107, 102, 61, 44, 1914, 6192, 52, 2028, 121, 3430, 564, 3274, 96, 1298, 3, 29, 75, 121, 1, -100, -100, -100, -100, -100, -100, ...
What was the number of wins with goals against of less than 32?
CREATE TABLE table_name_96 ( wins VARCHAR, goals_against INTEGER )
SELECT COUNT(wins) FROM table_name_96 WHERE goals_against < 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 9204, 584, 4280, 28027, 6, 1766, 834, 9, 16720, 7, 17, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 381, 13, 9204, 28, 1766, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1766, 834, 9, 16720, 7, 17, 3, 2, 3538, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the most common cause for a retired car ?
CREATE TABLE table_203_339 ( id number, "year" text, "car" number, "start" number, "qual" number, "rank" number, "finish" number, "laps" number, "led" number, "retired" text )
SELECT "retired" FROM table_203_339 GROUP BY "retired" ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 519, 3288, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 1720, 121, 381, 6, 96, 10208, 121, 381, 6, 96, 11433, 121, 381, 6, 96, 6254, 121, 381, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10682, 1271, 121, 21680, 953, 834, 23330, 834, 519, 3288, 350, 4630, 6880, 272, 476, 96, 10682, 1271, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100...
what was the greatest number of gold medals won by a single athlete ?
CREATE TABLE table_203_104 ( id number, "athlete" text, "nation" text, "olympics" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT MAX("gold") FROM table_203_104
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 15442, 41, 3, 23, 26, 381, 6, 96, 26170, 15, 121, 1499, 6, 96, 29, 257, 121, 1499, 6, 96, 32, 120, 51, 6174, 7, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 14910, 8512, 21680, 953, 834, 23330, 834, 15442, 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...
What event did Sjerstin Vermeulen receive a 66.452 result?
CREATE TABLE table_62859 ( "Athlete" text, "Class" text, "Horse" text, "Event" text, "Result" text, "Rank" text )
SELECT "Event" FROM table_62859 WHERE "Athlete" = 'sjerstin vermeulen' AND "Result" = '66.452'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2577, 3390, 41, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 566, 127, 7, 15, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 20119, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 948, 2577, 3390, 549, 17444, 427, 96, 188, 189, 1655, 15, 121, 3274, 3, 31, 7, 12488, 7, 17, 77, 548, 526, 83, 35, 31, 3430, 96, 20119, 121, 3274, 3, 31, 3539, 5, 2128, 357...
Which Home team has an Away team of melbourne?
CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_54 WHERE away_team = "melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1210, 372, 65, 46, 71, 1343, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 550, 834, 11650, 3274, 96, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the match that resulted in a win in 4:16 held?
CREATE TABLE table_64162 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Location" FROM table_64162 WHERE "Res." = 'win' AND "Time" = '4:16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 2938, 357, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 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, 434, 32, 75, 257, 121, 21680, 953, 834, 4389, 2938, 357, 549, 17444, 427, 96, 1649, 7, 535, 3274, 3, 31, 3757, 31, 3430, 96, 13368, 121, 3274, 3, 31, 591, 10, 2938, 31, 1, -100, -100, -100, -100, -100, -100,...
What grid for denny hulme?
CREATE TABLE table_name_12 ( grid VARCHAR, driver VARCHAR )
SELECT grid FROM table_name_12 WHERE driver = "denny hulme"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 8634, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 8634, 21, 4140, 63, 3, 107, 83, 526, 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, 8634, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 2535, 3274, 96, 537, 29, 63, 3, 107, 83, 526, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)?
CREATE TABLE table_name_29 ( case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR )
SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 495, 834, 6137, 584, 4280, 28027, 6, 1247, 834, 26, 23, 9, 4401, 584, 4280, 28027, 6, 495, 834, 19457, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 495, 834, 6137, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1247, 834, 26, 23, 9, 4401, 3274, 96, 2368, 5, 4928, 41, 5, 5553, 5268, 121, 3430, 495, 834, 19457, 3274, 96, 948, 9285, 41, 15967, 61, 121, 1, ...
What is the original air date of the episode directed by Paul Marcus?
CREATE TABLE table_19807 ( "#" real, "Episode" text, "Writer" text, "Director" text, "Original air date" text, "Viewing figure" text )
SELECT "Original air date" FROM table_19807 WHERE "Director" = 'Paul Marcus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 4560, 41, 96, 4663, 121, 490, 6, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 24965, 49, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 667, 3380, 10270, 799, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 24151, 4560, 549, 17444, 427, 96, 23620, 127, 121, 3274, 3, 31, 23183, 20809, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the wallington new foresters are in division four what is the season?
CREATE TABLE table_26979 ( "Season" text, "Premier Division" text, "Division One" text, "Division Two" text, "Division Three" text, "Division Four" text, "Division Five" text )
SELECT "Season" FROM table_26979 WHERE "Division Four" = 'Wallington New Foresters'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3951, 4440, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 10572, 51, 972, 6022, 121, 1499, 6, 96, 308, 23, 6610, 555, 121, 1499, 6, 96, 308, 23, 6610, 2759, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 357, 3951, 4440, 549, 17444, 427, 96, 308, 23, 6610, 5933, 121, 3274, 3, 31, 518, 1748, 6029, 368, 6944, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what year is next to the title cheat on you ?
CREATE TABLE table_204_927 ( id number, "title" text, "year" number, "artist(s)" text, "album" text, "writer(s)" text, "producer(s)" text )
SELECT "year" FROM table_204_927 WHERE "title" = '"cheat on you"'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 1298, 2555, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 1408, 343, 599, 7, 61, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 26363, 834, 1298, 2555, 549, 17444, 427, 96, 21869, 121, 3274, 3, 31, 121, 1033, 144, 30, 25, 121, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where was the location where justin robbins fought against billy kidd?
CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_1 WHERE opponent = "billy kidd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 14836, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 1128, 213, 131, 77, 3, 5840, 4517, 7, 3, 13973, 581...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 15264, 3274, 96, 3727, 120, 4984, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who are the away teams when subiaco oval was the grounds?
CREATE TABLE table_20767 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_20767 WHERE "Ground" = 'Subiaco Oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 3708, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 517, 7775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 26426, 3708, 549, 17444, 427, 96, 517, 7775, 121, 3274, 3, 31, 25252, 23, 9, 509, 411, 2165, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many times is fiji listed as the opposition ?
CREATE TABLE table_203_871 ( id number, "#" number, "player" text, "pos" text, "pts" number, "tries" number, "conv" number, "pens" number, "drop" number, "opposition" text, "venue" text, "date" text )
SELECT COUNT(*) FROM table_203_871 WHERE "opposition" = 'fiji'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4225, 536, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 2748, 121, 1499, 6, 96, 102, 17, 7, 121, 381, 6, 96, 9000, 121, 381,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 4225, 536, 549, 17444, 427, 96, 29585, 121, 3274, 3, 31, 89, 17279, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose age is less than 49 and procedure icd9 code is 9920?
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "49" AND procedures.icd9_code = "9920"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
List the number of locations for the team known as the billikens.
CREATE TABLE table_2419754_1 ( location VARCHAR, nickname VARCHAR )
SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = "Billikens"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 27181, 5062, 834, 536, 41, 1128, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 381, 13, 3248, 21, 8, 372, 801, 38, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14836, 61, 21680, 953, 834, 2266, 27181, 5062, 834, 536, 549, 17444, 427, 24649, 3274, 96, 279, 173, 2376, 29, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is glenferrie oval's home team?
CREATE TABLE table_name_59 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_59 WHERE venue = "glenferrie oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 3537, 29, 1010, 1753, 17986, 31, 7, 234...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 5669, 3274, 96, 3537, 29, 1010, 1753, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the status for 07/01/1961?
CREATE TABLE table_name_91 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_91 WHERE date = "07/01/1961"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 8547, 302, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2637, 21, 10668, 29511, 2294, 4241, 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, 2637, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 833, 3274, 96, 4560, 29511, 2294, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the percentage of yes votes for the measure where the no votes number 199174?
CREATE TABLE table_256286_45 (_percentage_yes VARCHAR, no_votes VARCHAR)
SELECT _percentage_yes FROM table_256286_45 WHERE no_votes = 199174
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4056, 3840, 834, 2128, 41, 834, 883, 3728, 545, 834, 10070, 584, 4280, 28027, 6, 150, 834, 1621, 1422, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 834, 883, 3728, 545, 834, 10070, 21680, 953, 834, 1828, 4056, 3840, 834, 2128, 549, 17444, 427, 150, 834, 1621, 1422, 3274, 9957, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What county is the St. Augustine bridge in?
CREATE TABLE table_name_98 ( county VARCHAR, location VARCHAR )
SELECT county FROM table_name_98 WHERE location = "st. augustine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 5435, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5435, 19, 8, 472, 5, 1660, 630, 4716, 16, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5435, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 1128, 3274, 96, 7, 17, 5, 14663, 630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who drove the renault that went over 23 laps and had a grid under 11?
CREATE TABLE table_name_21 (driver VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR)
SELECT driver FROM table_name_21 WHERE grid < 11 AND constructor = "renault" AND laps > 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 13739, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 8634, 3, 2, 850, 3430, 6774, 127, 3274, 96, 1536, 10335, 121, 3430, 14941, 7, 2490, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the position for the competitor that has a score more than 7
CREATE TABLE table_name_44 (position VARCHAR, a_score INTEGER)
SELECT position FROM table_name_44 WHERE a_score > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 4718, 584, 4280, 28027, 6, 3, 9, 834, 7, 9022, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1102, 21, 8, 18766, 24, 65, 3, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3, 9, 834, 7, 9022, 2490, 489, 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 GDP per capita (US$) of the country that has a Population of 2,011,473?
CREATE TABLE table_71310 ( "Member countries" text, "Population" text, "Area (km\u00b2)" text, "GDP (billion US$)" text, "GDP per capita (US$)" text )
SELECT "GDP per capita (US$)" FROM table_71310 WHERE "Population" = '2,011,473'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 19947, 41, 96, 329, 18247, 1440, 121, 1499, 6, 96, 27773, 7830, 121, 1499, 6, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318, 121, 1499, 6, 96, 517, 7410, 41, 115, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 517, 7410, 399, 23219, 41, 3063, 3229, 61, 121, 21680, 953, 834, 4450, 19947, 549, 17444, 427, 96, 27773, 7830, 121, 3274, 3, 31, 4482, 4542, 4347, 4177, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
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, a bar chart shows the distribution of hire_date and the average of employee_id bin hire_date by time, and rank in descending by the y-axis.
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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(EMPLOYEE_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, ...
What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?
CREATE TABLE table_171748_3 ( change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR )
SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2517, 3707, 834, 519, 41, 483, 834, 1890, 834, 7, 265, 15, 834, 19973, 834, 532, 834, 2026, 19117, 834, 1201, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 9719, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 483, 834, 1890, 834, 7, 265, 15, 834, 19973, 834, 532, 834, 2026, 19117, 834, 1201, 21680, 953, 834, 2517, 2517, 3707, 834, 519, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 9719, 7, 834, 10269, 3745, 834, 4065, ...
What are the titles of all the albums?
CREATE TABLE tracks ( id number, name text, album_id number, media_type_id number, genre_id number, composer text, milliseconds number, bytes number, unit_price number ) CREATE TABLE albums ( id number, title text, artist_id number ) CREATE TABLE sqlite_sequence ( name text, seq text ) CREATE TABLE artists ( id number, name text ) CREATE TABLE playlists ( id number, name text ) CREATE TABLE media_types ( id number, name text ) CREATE TABLE employees ( id number, last_name text, first_name text, title text, reports_to number, birth_date time, hire_date time, address text, city text, state text, country text, postal_code text, phone text, fax text, email text ) CREATE TABLE genres ( id number, name text ) CREATE TABLE playlist_tracks ( playlist_id number, track_id number ) CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number ) CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE invoice_lines ( id number, invoice_id number, track_id number, unit_price number, quantity number )
SELECT title FROM albums
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6542, 41, 3, 23, 26, 381, 6, 564, 1499, 6, 2306, 834, 23, 26, 381, 6, 783, 834, 6137, 834, 23, 26, 381, 6, 5349, 834, 23, 26, 381, 6, 13075, 1499, 6, 3293, 23, 12091, 7, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 21680, 14234, 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, -100, -100, -100, -100, -100, ...
What is the total rank number for Los Alamos' girls cross country?
CREATE TABLE table_75519 ( "Rank" real, "# of Titles" real, "School" text, "City" text, "Sport" text, "First" real, "Last" real )
SELECT COUNT("Rank") FROM table_75519 WHERE "School" = 'los alamos' AND "Sport" = 'girls cross country'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 755, 2294, 41, 96, 22557, 121, 490, 6, 96, 4663, 13, 11029, 7, 121, 490, 6, 96, 29364, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 2517...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 8512, 21680, 953, 834, 3072, 755, 2294, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 2298, 491, 9, 3972, 31, 3430, 96, 17682, 121, 3274, 3, 31, 18722, 7, 2269, 684, 31, 1, -100, -100...
How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans?
CREATE TABLE table_name_79 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT COUNT(enrollment) FROM table_name_79 WHERE ihsaa_class = "aaaaa" AND mascot = "spartans"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 35, 4046, 297, 584, 4280, 28027, 6, 3, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 3, 2754, 4310, 584, 4280, 28027, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 35, 4046, 297, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 3, 23, 107, 7, 9, 9, 834, 4057, 3274, 96, 9, 9, 9, 9, 9, 121, 3430, 3, 2754, 4310, 3274, 96, 7, 2274, 3247, 121, 1, -10...
Who has the Winning score of 10 (66-71-62-71=270) ?
CREATE TABLE table_name_21 ( runner_s__up VARCHAR, winning_score VARCHAR )
SELECT runner_s__up FROM table_name_21 WHERE winning_score = –10(66 - 71 - 62 - 71 = 270)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 8, 549, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 3, 104, 1714, 599, 3539, 3, 18, 3, 4450, 3, 18, 3, 4056, 3, 18, 3, 4450, 3274, 3, 17485, 61, 1, -...
Which Name has a Height (cm) of 175 and a Birthplace of detroit, michigan
CREATE TABLE table_7265 ( "Position" text, "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "Previous Club/Team" text )
SELECT "Name" FROM table_7265 WHERE "Height (cm)" = '175' AND "Birthplace" = 'detroit, michigan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4122, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 41, 75, 51, 61, 121, 490, 6, 96, 1326, 2632, 41, 8711, 61, 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, 96, 23954, 121, 21680, 953, 834, 5865, 4122, 549, 17444, 427, 96, 3845, 2632, 41, 75, 51, 61, 121, 3274, 3, 31, 536, 3072, 31, 3430, 96, 279, 23, 52, 189, 4687, 121, 3274, 3, 31, 26, 15252, 155, 6, 2278, 12588, ...
What is the D 41 when the D 47 is r 34 o?
CREATE TABLE table_10349 ( "D 50 \u221a" text, "D 49 \u221a" text, "D 48 \u221a" text, "D 47 \u221a" text, "D 46 \u221a" text, "D 45 \u221a" text, "D 44 \u221a" text, "D 43 \u221a" text, "D 42 \u221a" text, "D 41 \u221a" text )
SELECT "D 41 \u221a" FROM table_10349 WHERE "D 47 \u221a" = 'r 34 o'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17864, 3647, 41, 96, 308, 943, 3, 2, 76, 357, 2658, 9, 121, 1499, 6, 96, 308, 9526, 3, 2, 76, 357, 2658, 9, 121, 1499, 6, 96, 308, 4678, 3, 2, 76, 357, 2658, 9, 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, 308, 8798, 3, 2, 76, 357, 2658, 9, 121, 21680, 953, 834, 17864, 3647, 549, 17444, 427, 96, 308, 10635, 3, 2, 76, 357, 2658, 9, 121, 3274, 3, 31, 52, 6154, 3, 32, 31, 1, -100, -100, -100, -100, -100, -100, ...
What is Essendon's home team that has an away crowd size larger than 19,491?
CREATE TABLE table_77544 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_77544 WHERE "Crowd" > '19,491' AND "Home team" = 'essendon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3072, 3628, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 940, 3072, 3628, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 2294, 6, 3647, 536, 31, 3430, 96, 19040, 372, 121, 3274, 3, 31, 8185, 2029, 31, 1, -100, -100, -10...
what is drug name of drug code nalo4i?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.formulary_drug_cd = "NALO4I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7744, 7, 5, 26, 13534, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 3274, 96, 5999, 5017, 591, 196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who directed the film with the original title of ?
CREATE TABLE table_24856 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text )
SELECT "Director" FROM table_24856 WHERE "Original title" = 'Три летња дана'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3707, 4834, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 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, 23620, 127, 121, 21680, 953, 834, 357, 3707, 4834, 549, 17444, 427, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 2, 14709, 3, 6588, 15042, 2, 2533, 3, 20000, 8194, 31, 1, -100, -100, -100, -100, -100, -100, -...
patients must have bmi of > 25 kg / m2 at baseline
CREATE TABLE table_train_221 ( "id" int, "gender" string, "body_mass_index_bmi" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_221 WHERE body_mass_index_bmi > 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 2658, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 6965, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 121, 3, 12660, 6, 96, 545, 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, 1429, 21680, 953, 834, 9719, 834, 357, 2658, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 2490, 944, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What club did united states player ty harden play for?
CREATE TABLE table_44483 ( "Season" real, "Player" text, "Club" text, "Nationality" text, "Goals" real )
SELECT "Club" FROM table_44483 WHERE "Nationality" = 'united states' AND "Player" = 'ty harden'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 3707, 519, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 6221, 5405, 121, 490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 11158, 121, 21680, 953, 834, 3628, 3707, 519, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 17, 63, 614, 35, 31, 1, -100, -100, -100,...
What shows as the status for Diogo?
CREATE TABLE table_name_29 ( status VARCHAR, name VARCHAR )
SELECT status FROM table_name_29 WHERE name = "diogo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 2637, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, 38, 8, 2637, 21, 2043, 32, 839, 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, 2637, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 564, 3274, 96, 26, 23, 32, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What nationality was peter slamiar?
CREATE TABLE table_4121 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "Nationality" FROM table_4121 WHERE "Player" = 'Peter Slamiar'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 2658, 41, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 4853, 2658, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 345, 15, 449, 29291, 23, 291, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which france nationality has a lane larger than 3?
CREATE TABLE table_69914 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT "Name" FROM table_69914 WHERE "Lane" > '3' AND "Nationality" = 'france'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3264, 2534, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 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, 0...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 948, 3264, 2534, 549, 17444, 427, 96, 434, 152, 15, 121, 2490, 3, 31, 519, 31, 3430, 96, 24732, 485, 121, 3274, 3, 31, 89, 5219, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
Name the sports 2.0 winning team for hap sharp and castle rock
CREATE TABLE table_29645 ( "Rnd" real, "Circuit" text, "Sports +2.0 Winning Team" text, "Sports 2.0 Winning Team" text, "GT +2.0 Winning Team" text, "GT 2.0 Winning Team" text, "Results" text )
SELECT "Sports 2.0 Winning Team" FROM table_29645 WHERE "Sports +2.0 Winning Team" = 'Hap Sharp' AND "Circuit" = 'Castle Rock'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4314, 2128, 41, 96, 448, 727, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 17682, 7, 1768, 24273, 549, 10503, 2271, 121, 1499, 6, 96, 17682, 7, 6864, 549, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17682, 7, 6864, 549, 10503, 2271, 121, 21680, 953, 834, 357, 4314, 2128, 549, 17444, 427, 96, 17682, 7, 1768, 24273, 549, 10503, 2271, 121, 3274, 3, 31, 566, 9, 102, 22130, 31, 3430, 96, 254, 23, 52, 21560, 12...
What is the year of the Lotus 25 chassis?
CREATE TABLE table_name_19 (year INTEGER, chassis VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE chassis = "lotus 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 1201, 3, 21342, 17966, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 215, 13, 8, 25413, 944, 22836, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 22836, 3274, 96, 3171, 302, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients are admitted under the elective type were tested for ascites in lab?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.fluid = "Ascites"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many years were g Tyres and Minardi m187 used?
CREATE TABLE table_71125 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Tyres" text, "Points" real )
SELECT AVG("Year") FROM table_71125 WHERE "Tyres" = 'g' AND "Chassis" = 'minardi m187'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 10124, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 7, 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, 71, 17217, 599, 121, 476, 2741, 8512, 21680, 953, 834, 4450, 10124, 549, 17444, 427, 96, 382, 63, 60, 7, 121, 3274, 3, 31, 122, 31, 3430, 96, 3541, 6500, 7, 121, 3274, 3, 31, 1109, 986, 23, 3, 51, 25828, 31, 1...
What is the partially deleted result for Bunker Hill Mining & Metallurgical?
CREATE TABLE table_name_96 ( partially_deleted VARCHAR, name VARCHAR )
SELECT partially_deleted FROM table_name_96 WHERE name = "bunker hill mining & metallurgical"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 14610, 834, 26, 400, 1054, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 14610, 16355, 741, 21, 6100, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14610, 834, 26, 400, 1054, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 564, 3274, 96, 9617, 2304, 9956, 5558, 3, 184, 3, 22610, 17753, 1489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Winning score when the To par was 21?
CREATE TABLE table_name_21 ( winning_score VARCHAR, to_par VARCHAR )
SELECT winning_score FROM table_name_21 WHERE to_par = "−21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 3447, 834, 7, 9022, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 549, 10503, 2604, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 12, 834, 1893, 3274, 96, 2, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What number value has the Other transliteration of muoy roy?
CREATE TABLE table_name_90 (value VARCHAR, other VARCHAR)
SELECT value FROM table_name_90 WHERE other = "muoy roy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 12097, 584, 4280, 28027, 6, 119, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 701, 65, 8, 2502, 3017, 9842, 257, 13, 4035, 32, 63, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 701, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 119, 3274, 96, 51, 76, 32, 63, 3, 8170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the word form for the ALA-LC transliteration of muay s ain?
CREATE TABLE table_name_55 ( word_form VARCHAR, ala_lc VARCHAR )
SELECT word_form FROM table_name_55 WHERE ala_lc = "muay s″ain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 1448, 834, 2032, 584, 4280, 28027, 6, 491, 9, 834, 40, 75, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1448, 607, 21, 8, 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, 0, 0, 0...
[ 3, 23143, 14196, 1448, 834, 2032, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 491, 9, 834, 40, 75, 3274, 96, 51, 76, 9, 63, 3, 7, 7079, 9, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show all sport name and the number of students in a bar chart, and sort bars in descending order.
CREATE TABLE Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Plays_Games ( StuID INTEGER, GameID INTEGER, Hours_Played INTEGER ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTEGER, OnScholarship VARCHAR(1) )
SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY SportName DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3953, 834, 23055, 7, 41, 4435, 4309, 3, 21342, 17966, 6, 350, 23954, 584, 4280, 28027, 599, 2445, 201, 350, 25160, 584, 4280, 28027, 599, 2445, 61, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3349, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 5716, 29381, 350, 4630, 6880, 272, 476, 3349, 23954, 4674, 11300, 272, 476, 3349, 23954, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable?
CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR)
SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 1608, 7125, 179, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 11144, 7, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9179, 179, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 11144, 7, 3274, 96, 29, 32, 121, 3430, 3295, 3274, 96, 51, 159, 7125, 8102, 1162, 121, 3430, 686, 3274, 96, 10401, 49, 17, 63, 13073, 121, 1, -100, -10...
How many patients with open reduc-int fix femur were admitted to the hospital before the year 2180?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2180" AND procedures.short_title = "Open reduc-int fix femur"
[ 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 diagnoses icd9 code and diagnoses short title of subject id 28588?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT diagnoses.icd9_code, diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "28588"
[ 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, 18730, 7, 5, 447, 26, 1298, 834, 4978, 6, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 357, 4433, 4060, 121, 1, -100, -100, -100, -100, -1...
List papers that has a keyword Depth Map
CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int )
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Depth Map' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2291, 41, 2291, 23, 26, 16, 17, 6, 2291, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 1846, 41, 1057, 23, 26, 16, 17, 6, 1040, 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, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 2962, 102, 189, 6950, 31, 3430, 1040, 4397, 27111, 5, ...
How many different locations does the school with code BUS has?
CREATE TABLE department (dept_address VARCHAR, school_code VARCHAR)
SELECT COUNT(DISTINCT dept_address) FROM department WHERE school_code = 'BUS'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 26, 6707, 834, 9, 26, 12039, 584, 4280, 28027, 6, 496, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 3248, 405, 8, 496, 28, 1081, 272, 3063...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15438, 25424, 6227, 20, 102, 17, 834, 9, 26, 12039, 61, 21680, 3066, 549, 17444, 427, 496, 834, 4978, 3274, 3, 31, 279, 3063, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average for matches with a prize money amount of £3,000?
CREATE TABLE table_name_56 (matches INTEGER, prize_money VARCHAR)
SELECT AVG(matches) FROM table_name_56 WHERE prize_money = "£3,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 19515, 15, 7, 3, 21342, 17966, 6, 6441, 834, 28442, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 21, 6407, 28, 3, 9, 6441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 6441, 834, 28442, 3274, 96, 19853, 11212, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the opponent for week 5?
CREATE TABLE table_4360 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Opponent" FROM table_4360 WHERE "Week" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 19208, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 591, 19208, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many places named asan-maina?
CREATE TABLE table_2588674_1 ( region VARCHAR, village VARCHAR )
SELECT COUNT(region) FROM table_2588674_1 WHERE village = "Asan-Maina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4060, 3708, 591, 834, 536, 41, 1719, 584, 4280, 28027, 6, 3309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1747, 2650, 38, 152, 18, 7484, 9, 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, 2847, 17161, 599, 18145, 61, 21680, 953, 834, 1828, 4060, 3708, 591, 834, 536, 549, 17444, 427, 3309, 3274, 96, 188, 7, 152, 18, 21978, 29, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What episode number was written by Gregg Hurwitz?
CREATE TABLE table_27239 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "No." FROM table_27239 WHERE "Written by" = 'Gregg Hurwitz'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 357, 3288, 41, 96, 4168, 535, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 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, 4168, 535, 21680, 953, 834, 2555, 357, 3288, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 517, 60, 4102, 13268, 15686, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...