NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the roll of the school in Oakura?
CREATE TABLE table_name_59 ( roll INTEGER, area VARCHAR )
SELECT SUM(roll) FROM table_name_59 WHERE area = "oakura"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 3812, 3, 21342, 17966, 6, 616, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3812, 13, 8, 496, 16, 7858, 2414, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 4046, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 616, 3274, 96, 32, 9, 10923, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the fewest ends with an App(L/C/E) of 51 (44/6/1)?
CREATE TABLE table_46009 ( "Nat." text, "Name" text, "Since" text, "App(L/C/E)" text, "Goals(L/C/E)" text, "Ends" real, "Transfer fee" text )
SELECT MIN("Ends") FROM table_46009 WHERE "App(L/C/E)" = '51 (44/6/1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25991, 4198, 41, 96, 567, 144, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 77, 565, 121, 1499, 6, 96, 9648, 599, 434, 87, 254, 87, 427, 61, 121, 1499, 6, 96, 6221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 8532, 26, 7, 8512, 21680, 953, 834, 25991, 4198, 549, 17444, 427, 96, 9648, 599, 434, 87, 254, 87, 427, 61, 121, 3274, 3, 31, 5553, 41, 3628, 18656, 87, 6982, 31, 1, -100, -100, -100, -100, -...
count the number of patients whose diagnoses short title is acute necrosis of liver and drug type is base?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT 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.short_title = "Acute necrosis of liver" AND prescriptions.drug_type = "BASE"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the total for 1986?
CREATE TABLE table_name_86 (rank VARCHAR, year VARCHAR)
SELECT COUNT(rank) FROM table_name_86 WHERE year = 1986
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 6254, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 21, 12698, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 215, 3274, 12698, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What record has November 15 as the date?
CREATE TABLE table_15306 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Attendance" real )
SELECT "Record" FROM table_15306 WHERE "Date" = 'november 15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27025, 5176, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 27025, 5176, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 627, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who was the main presenter previous to barbara d'urso ?
CREATE TABLE table_203_397 ( id number, "series" text, "launch date" text, "finale date" text, "days" number, "housemates" number, "winner" text, "main presenter" text, "grand prize" text, "liveshow\naudience\nmillions" number )
SELECT "main presenter" FROM table_203_397 WHERE "launch date" < (SELECT "launch date" FROM table_203_397 WHERE "main presenter" = "barbara d'urso") ORDER BY "launch date" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 519, 4327, 41, 3, 23, 26, 381, 6, 96, 10833, 7, 121, 1499, 6, 96, 27493, 833, 121, 1499, 6, 96, 12406, 15, 833, 121, 1499, 6, 96, 1135, 7, 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, 7484, 915, 49, 121, 21680, 953, 834, 23330, 834, 519, 4327, 549, 17444, 427, 96, 27493, 833, 121, 3, 2, 41, 23143, 14196, 96, 27493, 833, 121, 21680, 953, 834, 23330, 834, 519, 4327, 549, 17444, 427, 96, 7484, ...
How many losses did Notre Dame have in 1904?
CREATE TABLE table_name_43 (losses INTEGER, years VARCHAR)
SELECT AVG(losses) FROM table_name_43 WHERE years = "1904"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 2298, 2260, 3, 21342, 17966, 6, 203, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8467, 410, 7711, 3, 17084, 43, 16, 957, 6348, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 203, 3274, 96, 11776, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is raymond floyd's lowest $?
CREATE TABLE table_name_77 (money___ INTEGER, player VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_77 WHERE player = "raymond floyd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 28442, 834, 834, 834, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 2866, 6764, 8882, 63, 26, 31, 7, 7402,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 28442, 834, 834, 834, 61, 6157, 1514, 834, 834, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 1959, 3274, 96, 2866, 6764, 8882, 63, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the name of the Home team that played Fitzroy as the Away team?
CREATE TABLE table_54929 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text )
SELECT "Home team" FROM table_54929 WHERE "Away team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3647, 3166, 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, 121, 21680, 953, 834, 755, 3647, 3166, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients survived and were diagnosed with cl skul base fx-coma nos?
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 te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.short_title = "Cl skul base fx-coma NOS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
How many districts have an incumbent first elected in 1944?
CREATE TABLE table_1342198_6 ( district VARCHAR, first_elected VARCHAR )
SELECT COUNT(district) FROM table_1342198_6 WHERE first_elected = 1944
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 24151, 834, 948, 41, 3939, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14126, 43, 46, 28406, 166, 8160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26, 23, 20066, 61, 21680, 953, 834, 2368, 4165, 24151, 834, 948, 549, 17444, 427, 166, 834, 19971, 3274, 21930, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the loss for the game against @ expos, with a save of parrett (2)?
CREATE TABLE table_75097 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text )
SELECT "Loss" FROM table_75097 WHERE "Opponent" = '@ expos' AND "Save" = 'parrett (2)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9979, 4327, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 23163, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 7, 7, 121, 21680, 953, 834, 9979, 4327, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 1741, 3, 19300, 7, 31, 3430, 96, 23163, 121, 3274, 3, 31, 1893, 60, 17, 17, 6499, 31, 1, -100, -100, ...
what is the number of patients whose admission year is less than 2165 and lab test name is reticulocyte count, manual?
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 prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2165" AND lab.label = "Reticulocyte Count, Manual"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which Points have a Name of denis kornilov?
CREATE TABLE table_35384 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" real, "2nd (m)" real, "Points" real, "Overall WC points (Rank)" text )
SELECT AVG("Points") FROM table_35384 WHERE "Name" = 'denis kornilov'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3747, 591, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 536, 7, 17, 41, 51, 61, 121, 490, 6, 96, 357, 727, 41, 51, 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, 71, 17217, 599, 121, 22512, 7, 8512, 21680, 953, 834, 2469, 3747, 591, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 537, 159, 3, 5543, 29, 23, 5850, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For all players playing at the center, list the height in feet.
CREATE TABLE table_26231 ( "No" real, "Player" text, "Height (m)" text, "Height (f)" text, "Position" text, "Year born" real, "Current Club" text )
SELECT "Height (f)" FROM table_26231 WHERE "Position" = 'Center'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 357, 3341, 41, 96, 4168, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 41, 51, 61, 121, 1499, 6, 96, 3845, 2632, 41, 89, 61, 121, 1499, 6, 96, 345, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 2632, 41, 89, 61, 121, 21680, 953, 834, 2688, 357, 3341, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 24382, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times did jim vivona win?
CREATE TABLE table_name_2 (win__number VARCHAR, winner VARCHAR)
SELECT COUNT(win__number) FROM table_name_2 WHERE winner = "jim vivona"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 3757, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 3, 354, 603, 3, 7003, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 3757, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 4668, 3274, 96, 354, 603, 3, 7003, 106, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees who was hired before 2002-06-21, show me the trend about employee_id over hire_date with a line chart, and rank X-axis from high to low order.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal...
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 454, 14132, 834, 308, ...
Difference of - 20, and a Position smaller than 17 is the highest against?
CREATE TABLE table_name_47 (against INTEGER, difference VARCHAR, position VARCHAR)
SELECT MAX(against) FROM table_name_47 WHERE difference = "- 20" AND position < 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 1750, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 27187, 13, 3, 18, 16047, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1750, 3274, 96, 18, 460, 121, 3430, 1102, 3, 2, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How much Area km 2 have a Population of 1,215?
CREATE TABLE table_name_61 (area_km_2 VARCHAR, population VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_61 WHERE population = 1 OFFSET 215
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 498, 834, 5848, 834, 357, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 5690, 2280, 204, 43, 3, 9, 29659, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 498, 834, 5848, 834, 7318, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 2074, 3274, 209, 3, 15316, 20788, 204, 1808, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 0.0104?
CREATE TABLE table_62078 ( "Companion (in order from star)" text, "Mass" text, "Semimajor axis ( AU )" text, "Orbital period ( s day )" text, "Eccentricity" text, "Inclination" text )
SELECT "Companion (in order from star)" FROM table_62078 WHERE "Semimajor axis ( AU )" = '0.1886 +0.083 −0.0104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26898, 3940, 41, 96, 5890, 2837, 23, 106, 41, 77, 455, 45, 2213, 61, 121, 1499, 6, 96, 27189, 121, 1499, 6, 96, 134, 15, 51, 603, 9, 12775, 3, 8606, 7, 41, 3, 6727, 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, 5890, 2837, 23, 106, 41, 77, 455, 45, 2213, 61, 121, 21680, 953, 834, 26898, 3940, 549, 17444, 427, 96, 134, 15, 51, 603, 9, 12775, 3, 8606, 7, 41, 3, 6727, 3, 61, 121, 3274, 3, 31, 16029, 927, 3840, 1768,...
What date has 37 points?
CREATE TABLE table_name_95 (date VARCHAR, points VARCHAR)
SELECT date FROM table_name_95 WHERE points = 37
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 5522, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 65, 6862, 979, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 979, 3274, 6862, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many times since 3 years ago patient 013-3028 visited the hospital?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CRE...
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '013-3028' AND DATETIME(patient.hospitaladmittime) >= DATETIME(CURRENT_TIME(), '-3 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2368, 10086, 2577, 31, 3430, 309, 6048, 382, 15382, 599,...
how many hours have passed since patient 032-21820 stayed in the ward 1063 for the last time in their current hospital visit?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ( allergy...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '032-21820' AND patient.wardid = 1063 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
Which chassis was used when over 6 points were earned?
CREATE TABLE table_name_47 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_47 WHERE points = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 524, 6500, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 22836, 47, 261, 116, 147, 431, 979, 130, 4964, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22836, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 979, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many inpatient hospital admitted patients have procedure icd9 code 9925?
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 prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND procedures.icd9_code = "9925"
[ 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,...
What is the name of the away captain when the game was at Adelaide Oval?
CREATE TABLE table_name_5 ( away_captain VARCHAR, venue VARCHAR )
SELECT away_captain FROM table_name_5 WHERE venue = "adelaide oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 550, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 550, 14268, 116,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 5669, 3274, 96, 15311, 5385, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the names of companies and the number of employees they have
CREATE TABLE company ( company_id number, name text, headquarters text, industry text, sales_in_billion number, profits_in_billion number, assets_in_billion number, market_value_in_billion number ) CREATE TABLE people ( people_id number, age number, name text, nationalit...
SELECT T3.name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id JOIN company AS T3 ON T1.company_id = T3.company_id GROUP BY T3.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 349, 834, 23, 26, 381, 6, 564, 1499, 6, 13767, 1499, 6, 681, 1499, 6, 1085, 834, 77, 834, 115, 14916, 381, 6, 9613, 834, 77, 834, 115, 14916, 381, 6, 4089, 834, 77, 834,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 4311, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 16588, 834, 23, 26, 3274, 332, 4416, 16588, 834, 23, 26, 3, 15355, 3162, 349, 6157, ...
How much Population (2011) has a Land area (km ) larger than 15.69, and a Population density (per km ) larger than 57.3?
CREATE TABLE table_name_28 ( population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR )
SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 2074, 834, 834, 13907, 834, 3, 21342, 17966, 6, 1322, 834, 498, 834, 834, 5848, 357, 834, 584, 4280, 28027, 6, 2074, 834, 537, 7, 485, 834, 834, 883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 9791, 7830, 834, 834, 13907, 834, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1322, 834, 498, 834, 834, 5848, 357, 834, 2490, 9996, 3951, 3430, 2074, 834, 537, 7, 485, 834, 834, 883, 834, ...
What is Country, when Player is 'Jimmy Demaret'?
CREATE TABLE table_name_10 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_10 WHERE player = "jimmy demaret"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6993, 6, 116, 12387, 19, 3, 31, 683, 603, 2258, 10007,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 1959, 3274, 96, 354, 603, 2258, 340, 355, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
CREATE TABLE table_57862 ( "Years" text, "Engine" text, "Displacement" text, "Power" text, "Torque" text, "Notes" text )
SELECT "Power" FROM table_57862 WHERE "Displacement" = '182cid (2,988cc)' AND "Notes" = 'eu spec'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 3840, 357, 41, 96, 476, 2741, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 23664, 11706, 297, 121, 1499, 6, 96, 23553, 121, 1499, 6, 96, 382, 127, 835, 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, 23553, 121, 21680, 953, 834, 3436, 3840, 357, 549, 17444, 427, 96, 23664, 11706, 297, 121, 3274, 3, 31, 2606, 357, 10812, 4743, 6, 3916, 927, 75, 75, 61, 31, 3430, 96, 10358, 15, 7, 121, 3274, 3, 31, 15, 76,...
find the maximum age of patients with government insurance who expired before the year 2154.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.insurance = "Government" AND demographic.dod_year < "2154.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 27304, 297, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 96, 357, 1808, 15021, 121, 1, -100, -100, -100, -100, ...
what is the number of patients whose diagnoses icd9 code is 25060 and lab test fluid is blood?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "25060" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What was Germany's lowest sales when the profit was smaller than 6.7 billion?
CREATE TABLE table_name_43 (sales__billion_ INTEGER, headquarters VARCHAR, profits__billion_$_ VARCHAR)
SELECT MIN(sales__billion_) AS $_ FROM table_name_43 WHERE headquarters = "germany" AND profits__billion_$_ < 6.7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 7, 4529, 834, 834, 115, 14916, 834, 3, 21342, 17966, 6, 13767, 584, 4280, 28027, 6, 9613, 834, 834, 115, 14916, 834, 3229, 834, 584, 4280, 28027, 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, 17684, 599, 7, 4529, 834, 834, 115, 14916, 834, 61, 6157, 1514, 834, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 13767, 3274, 96, 1304, 348, 63, 121, 3430, 9613, 834, 834, 115, 14916, 834, 3229, 834, 3, ...
What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?
CREATE TABLE table_26986076_2 (thurs_26_aug VARCHAR, wed_25_aug VARCHAR)
SELECT thurs_26_aug FROM table_26986076_2 WHERE wed_25_aug = "19' 59.98 113.192mph"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3916, 3328, 3959, 834, 357, 41, 189, 3589, 834, 2688, 834, 402, 122, 584, 4280, 28027, 6, 62, 26, 834, 1828, 834, 402, 122, 584, 4280, 28027, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 189, 3589, 834, 2688, 834, 402, 122, 21680, 953, 834, 2688, 3916, 3328, 3959, 834, 357, 549, 17444, 427, 62, 26, 834, 1828, 834, 402, 122, 3274, 96, 2294, 31, 3, 3390, 5, 3916, 3, 20522, 5, 19978, 7656, 121, ...
The golfer in place 1 if from what country?
CREATE TABLE table_79183 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_79183 WHERE "Place" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 24361, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 4440, 24361, 549, 17444, 427, 96, 345, 11706, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the segment A in episode 42?
CREATE TABLE table_name_87 ( segment_a VARCHAR, episode VARCHAR )
SELECT segment_a FROM table_name_87 WHERE episode = 42
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 5508, 834, 9, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 5508, 71, 16, 5640, 6426, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5508, 834, 9, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 5640, 3274, 6426, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the winner is Michael Albasini, what is the mountains classification name?
CREATE TABLE table_22941863_19 ( mountains_classification VARCHAR, winner VARCHAR )
SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Michael Albasini"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4240, 2606, 3891, 834, 2294, 41, 8022, 834, 4057, 2420, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 4668, 19, 2457, 16818...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8022, 834, 4057, 2420, 21680, 953, 834, 2884, 4240, 2606, 3891, 834, 2294, 549, 17444, 427, 4668, 3274, 96, 329, 362, 9, 15, 40, 16818, 7, 77, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Notes have a Date of 2008-01-27?
CREATE TABLE table_name_21 ( notes VARCHAR, date VARCHAR )
SELECT notes FROM table_name_21 WHERE date = "2008-01-27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 3358, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2507, 7, 43, 3, 9, 7678, 13, 2628, 14772, 18, 2555, 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, 3358, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 833, 3274, 96, 16128, 14772, 18, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for?
CREATE TABLE table_name_38 (school_club_team VARCHAR, round VARCHAR, overall VARCHAR)
SELECT school_club_team FROM table_name_38 WHERE round > 13 AND overall = 384
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 6646, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 496, 87, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 1751, 2490, 1179, 3430, 1879, 3274, 220, 4608, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
calculate the average days for which patients born after 2182 stayed in hospital.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.dob_year > "2182"
[ 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, 71, 17217, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 26, 32, 115, 834, 1201, 2490, 96, 2658, 4613, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the result when the record was 1-0 and it was earlier than week 4?
CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR, record VARCHAR)
SELECT result FROM table_name_63 WHERE week < 4 AND record = "1-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 116, 8, 136...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 471, 3, 2, 314, 3430, 1368, 3274, 96, 18930, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player lost more than 12?
CREATE TABLE table_name_54 (lost VARCHAR, played INTEGER)
SELECT COUNT(lost) FROM table_name_54 WHERE played > 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 2298, 17, 584, 4280, 28027, 6, 1944, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 1513, 72, 145, 586, 58, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1944, 2490, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In what district was the incumbent Steve Chabot?
CREATE TABLE table_1341395_36 ( district VARCHAR, incumbent VARCHAR )
SELECT district FROM table_1341395_36 WHERE incumbent = "Steve Chabot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2368, 3301, 834, 3420, 41, 3939, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 3939, 47, 8, 28406, 5659, 3643, 4045, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 23747, 2368, 3301, 834, 3420, 549, 17444, 427, 28406, 3274, 96, 14337, 162, 3643, 4045, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)?
CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR)
SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "233.4 (16)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4240, 3840, 4177, 834, 536, 41, 115, 107, 858, 35, 834, 5525, 1152, 357, 834, 834, 52, 157, 834, 584, 4280, 28027, 6, 7922, 834, 102, 9, 834, 834, 52, 157, 834, 584...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 115, 107, 858, 35, 834, 5525, 1152, 357, 834, 834, 52, 157, 834, 21680, 953, 834, 2534, 4240, 3840, 4177, 834, 536, 549, 17444, 427, 7922, 834, 102, 9, 834, 834, 52, 157, 834, 3274, 96, 2773, 23204, 19198, 61, ...
What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played?
CREATE TABLE table_39315 ( "Player" text, "Played" real, "Legs Won" real, "Legs Lost" real, "100+" real, "140+" real, "180s" real, "High Checkout" real, "3-dart Average" real )
SELECT COUNT("Legs Lost") FROM table_39315 WHERE "High Checkout" < '76' AND "Played" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 519, 1808, 41, 96, 15800, 49, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 2796, 122, 7, 549, 106, 121, 490, 6, 96, 2796, 122, 7, 19576, 121, 490, 6, 96, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 2796, 122, 7, 19576, 8512, 21680, 953, 834, 3288, 519, 1808, 549, 17444, 427, 96, 21417, 1972, 670, 121, 3, 2, 3, 31, 3959, 31, 3430, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 519, 31, 1, -10...
how many patients whose age is less than 74 and drug type is base?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "74" AND prescriptions.drug_type = "BASE"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Can you draw the trend of how many date in locaton to over the date in locaton to?
CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE Roles ( Role_Co...
SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations GROUP BY Date_in_Locaton_To
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 434, 32, 75, 1628, 41, 10450, 834, 22737, 3, 28027, 599, 1808, 201, 10450, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 10450, 834, 2962, 11830, 584, 4280, 28027, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 6, 2847, 17161, 599, 308, 342, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 61, 21680, 11167, 834, 434, 32, 75, 1628, 350, 4630, 6880, 272, 476, 7678, 834, 77, ...
Name the D 45 which has D 44 of d 53
CREATE TABLE table_name_40 (d_45 VARCHAR, d_44 VARCHAR)
SELECT d_45 FROM table_name_40 WHERE d_44 = "d 53"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 26, 834, 2128, 584, 4280, 28027, 6, 3, 26, 834, 3628, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 309, 3479, 84, 65, 309, 8537, 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, 3, 26, 834, 2128, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3, 26, 834, 3628, 3274, 96, 26, 12210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
among patients who had icd9 code 2219, calculate the total number of those on medicaid insurance.
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicaid" AND procedures.icd9_code = "2219"
[ 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,...
What is Daultan Leveille's Position?
CREATE TABLE table_name_68 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_68 WHERE player = "daultan leveille"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 309, 10335, 152, 312, 208, 15955, 31, 7, 14258, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1959, 3274, 96, 26, 10335, 152, 3, 10912, 15955, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the order id and order details for the order more than two invoices.
CREATE TABLE Orders (order_id VARCHAR, order_details VARCHAR); CREATE TABLE Invoices (order_id VARCHAR)
SELECT T2.order_id, T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id = T2.order_id GROUP BY T2.order_id HAVING COUNT(*) > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5197, 7, 41, 9397, 834, 23, 26, 584, 4280, 28027, 6, 455, 834, 221, 5756, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 86, 23235, 7, 41, 9397, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 9397, 834, 23, 26, 6, 332, 4416, 9397, 834, 221, 5756, 7, 21680, 86, 23235, 7, 6157, 332, 536, 3, 15355, 3162, 5197, 7, 6157, 332, 357, 9191, 332, 5411, 9397, 834, 23, 26, 3274, 332, 4416, 9397, 834, ...
Papers written by kurtis heimerl
CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE jo...
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'kurtis heimerl' AND writes.authorid = author.authorid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17953, 41, 17953, 23, 26, 16, 17, 6, 17953, 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...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 11858, 5, 19587, 23, 26, 21680, 2291, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 10923, 17, 159, 3, 3254, 49, 40, 31, 3430, 11858, 5, 17415, 23, 26, 3274, 2291, 5, 17415, ...
On what date was Kuwait City a venue?
CREATE TABLE table_name_29 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_29 WHERE venue = "kuwait city"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 833, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 28819, 896, 3, 9, 5669, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 5669, 3274, 96, 2729, 26745, 690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Label has a Date smaller than 2008, and a Catalog of fall cd 006?
CREATE TABLE table_75719 ( "Region" text, "Date" real, "Label" text, "Format" text, "Catalog" text )
SELECT "Label" FROM table_75719 WHERE "Date" < '2008' AND "Catalog" = 'fall cd 006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 940, 2294, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 490, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 3072, 940, 2294, 549, 17444, 427, 96, 308, 342, 121, 3, 2, 3, 31, 16128, 31, 3430, 96, 18610, 9, 2152, 121, 3274, 3, 31, 2857, 3, 75, 26, 3, 1206, 948, 31, 1, -100, -100, ...
What was the categorie in 2002 at the Berlin international Film Festival that Danielle Darrieux was in?
CREATE TABLE table_79933 ( "Year" real, "Awards" text, "Categorie" text, "Movie" text, "Result" text )
SELECT "Categorie" FROM table_79933 WHERE "Year" = '2002' AND "Awards" = 'berlin international film festival'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4271, 519, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 7, 121, 1499, 6, 96, 254, 342, 11498, 15, 121, 1499, 6, 96, 329, 9881, 15, 121, 1499, 6, 96, 20119, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 342, 11498, 15, 121, 21680, 953, 834, 4440, 4271, 519, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 24898, 31, 3430, 96, 188, 2239, 7, 121, 3274, 3, 31, 27995, 1038, 814, 3994, 31, 1, -100, -100, -...
Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3?
CREATE TABLE table_name_78 ( driver VARCHAR, constructor VARCHAR, grid VARCHAR )
SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 2535, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2535, 10719, 3, 9, 21945, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 6774, 127, 3274, 96, 1010, 52, 1665, 121, 3430, 8634, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which film was before the audacity of democracy ?
CREATE TABLE table_204_323 ( id number, "year" number, "film" text, "function" text, "notes" text )
SELECT "film" FROM table_204_323 WHERE id = (SELECT id FROM table_204_323 WHERE "film" = 'the audacity of democracy') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2668, 519, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 9988, 121, 1499, 6, 96, 23993, 121, 1499, 6, 96, 7977, 7, 121, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 9988, 121, 21680, 953, 834, 26363, 834, 2668, 519, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 2668, 519, 549, 17444, 427, 96, 9988, 121, 3274, 3, 31, 532, 185, ...
What is the label for December 2004?
CREATE TABLE table_39024 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text )
SELECT "Label" FROM table_39024 WHERE "Date" = 'december 2004'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2394, 2266, 41, 96, 10628, 651, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 10384, 1713, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 519, 2394, 2266, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 4406, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the visitor of the game on March 7?
CREATE TABLE table_name_48 ( visitor VARCHAR, date VARCHAR )
SELECT visitor FROM table_name_48 WHERE date = "march 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 7019, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 7019, 13, 8, 467, 30, 1332, 489, 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, 7019, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 833, 3274, 96, 51, 7064, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What season had the title 'A Safe Place'?
CREATE TABLE table_13440 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Ratings" text )
SELECT "No. in season" FROM table_13440 WHERE "Title" = 'a safe place'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 22335, 41, 96, 4168, 5, 16, 939, 121, 1499, 6, 96, 4168, 5, 16, 774, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5, 16, 774, 121, 21680, 953, 834, 2368, 22335, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 9, 1346, 286, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is sSpec Number, when Frequency is 1 GHZ?
CREATE TABLE table_name_98 ( sspec_number VARCHAR, frequency VARCHAR )
SELECT sspec_number FROM table_name_98 WHERE frequency = "1 ghz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 3, 7, 7576, 834, 5525, 1152, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 7, 7727, 7720, 6, 116, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 7, 7576, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 7321, 3274, 96, 536, 3, 122, 107, 172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give me the keywords used by kaiming he
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, autho...
SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'kaiming he' 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, 843, 27111, 41, 843, 27111, 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...
[ 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, 157, 19874, 3, 88, 31, 3430, 1040...
Which FA Cup has a Player of khairan ezuan razali, and a Total smaller than 0?
CREATE TABLE table_37020 ( "Player" text, "League" real, "Malaysia Cup" real, "FA Cup" real, "Total" real )
SELECT AVG("FA Cup") FROM table_37020 WHERE "Player" = 'khairan ezuan razali' AND "Total" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 1755, 41, 96, 15800, 49, 121, 1499, 6, 96, 2796, 9, 5398, 121, 490, 6, 96, 329, 9, 20244, 23, 9, 3802, 121, 490, 6, 96, 4795, 3802, 121, 490, 6, 96, 3696, 1947, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 4795, 3802, 8512, 21680, 953, 834, 22520, 1755, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 157, 19176, 152, 3, 15, 1000, 152, 3, 7275, 4288, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31...
What years did Omar Sneed play?
CREATE TABLE table_name_9 ( season VARCHAR, name VARCHAR )
SELECT season FROM table_name_9 WHERE name = "omar sneed"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 774, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 410, 411, 1635, 180, 29, 6958, 577, 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, 774, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 564, 3274, 96, 32, 1635, 3, 7, 29, 6958, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the score of the friendly match?
CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_63 WHERE competition = "friendly match"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 7, 9022, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 2609, 1588, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 2259, 3274, 96, 4905, 1588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many lanes have a Nationality of iceland?
CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR)
SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 8102, 3, 21342, 17966, 6, 1157, 485, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 50, 1496, 43, 3, 9, 868, 485, 13, 3, 867, 40, 232...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 8102, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1157, 485, 3274, 96, 867, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the frequency for community purpose and callsign of 1vfm
CREATE TABLE table_name_79 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_79 WHERE purpose = "community" AND callsign = "1vfm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 30989, 584, 4280, 28027, 6, 1730, 584, 4280, 28027, 6, 580, 6732, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 7321, 21, 573, 1730, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1730, 3274, 96, 18782, 485, 121, 3430, 580, 6732, 3274, 96, 536, 208, 89, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which team played on April 1?
CREATE TABLE table_18875 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_18875 WHERE "Date" = 'April 1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25794, 3072, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 25794, 3072, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 23323, 209, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest Cycle, when Number Of Contestants is 11, and when International Destinations is Paris Gran Canaria?
CREATE TABLE table_47957 ( "Cycle" real, "Premiere date" text, "Winner" text, "Runner-up" text, "Number of contestants" text, "International Destinations" text )
SELECT MIN("Cycle") FROM table_47957 WHERE "Number of contestants" = '11' AND "International Destinations" = 'paris gran canaria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4440, 3436, 41, 96, 254, 63, 2482, 121, 490, 6, 96, 10572, 2720, 60, 833, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 567, 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, 3, 17684, 599, 121, 254, 63, 2482, 8512, 21680, 953, 834, 591, 4440, 3436, 549, 17444, 427, 96, 567, 5937, 49, 13, 4233, 2366, 121, 3274, 3, 31, 2596, 31, 3430, 96, 27490, 19344, 1628, 121, 3274, 3, 31, 1893, 159,...
What's the First Day Cover Cancellation with Denomination of $0.50 and Date of Issue as 13 June 2005?
CREATE TABLE table_name_68 ( first_day_cover_cancellation VARCHAR, denomination VARCHAR, date_of_issue VARCHAR )
SELECT first_day_cover_cancellation FROM table_name_68 WHERE denomination = "$0.50" AND date_of_issue = "13 june 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 166, 834, 1135, 834, 9817, 834, 1608, 8725, 257, 584, 4280, 28027, 6, 28730, 584, 4280, 28027, 6, 833, 834, 858, 834, 13159, 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, 166, 834, 1135, 834, 9817, 834, 1608, 8725, 257, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 28730, 3274, 96, 3229, 12100, 632, 121, 3430, 833, 834, 858, 834, 13159, 3274, 96, 2368, 3, 6959, 15, 3105, 121, 1,...
What is the highest number of people in attendance in the game against the Buffalo Bills in a week later than 14?
CREATE TABLE table_40280 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_40280 WHERE "Opponent" = 'buffalo bills' AND "Week" > '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 17518, 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, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 2445, 17518, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 115, 2999, 138, 32, 7200, 31, 3430, 96, 518, 10266, 121, 2490, 3, 31, 2534, 31...
What director grossed $200,512,643
CREATE TABLE table_name_96 ( director VARCHAR, gross VARCHAR )
SELECT director FROM table_name_96 WHERE gross = "$200,512,643"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 2090, 584, 4280, 28027, 6, 8690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2090, 16917, 26, 19503, 6, 24163, 6, 4389, 519, 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, 2090, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 8690, 3274, 96, 3229, 3632, 6, 24163, 6, 4389, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which event had the record of 18–5 (1)?
CREATE TABLE table_name_18 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_18 WHERE record = "18–5 (1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 15, 2169, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 605, 141, 8, 1368, 13, 507, 104, 755, 5637, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1368, 3274, 96, 2606, 104, 755, 5637, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
On what date did the game end with the result w 43-14?
CREATE TABLE table_18025 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text )
SELECT "Date" FROM table_18025 WHERE "Result" = 'W 43-14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 1828, 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, 23055, 353, 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, 308, 342, 121, 21680, 953, 834, 20829, 1828, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 518, 8838, 11590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection?
CREATE TABLE table_54426 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT SUM("Grid") FROM table_54426 WHERE "Laps" < '68' AND "Time/Retired" = 'injection'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3628, 2688, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 13313, 26, 8512, 21680, 953, 834, 755, 3628, 2688, 549, 17444, 427, 96, 3612, 102, 7, 121, 3, 2, 3, 31, 3651, 31, 3430, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 77, 21440, 31, 1, ...
What was the result on 1990-11-04?
CREATE TABLE table_name_55 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_55 WHERE date = "1990-11-04"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 30, 5541, 9169, 18083, 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, 741, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 833, 3274, 96, 2294, 2394, 9169, 18083, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What day is south melbourne away?
CREATE TABLE table_33153 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_33153 WHERE "Away team" = 'south melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 27025, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4201, 27025, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 7, 670, 107, 3, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the home team for the junction oval venue?
CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_28 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 234, 372, 21, 8, 23704, 17986, 5669, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Germany's lowest heat ranked after 24?
CREATE TABLE table_name_84 ( heat INTEGER, nationality VARCHAR, rank VARCHAR )
SELECT MIN(heat) FROM table_name_84 WHERE nationality = "germany" AND rank > 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1678, 3, 21342, 17966, 6, 1157, 485, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3434, 31, 7, 7402, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 88, 144, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1157, 485, 3274, 96, 1304, 348, 63, 121, 3430, 11003, 2490, 997, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the year in 5th position that happened in Osaka, Japan?
CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 1201, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 215, 16, 305, 189, 1102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1102, 3274, 96, 755, 189, 121, 3430, 5669, 3274, 96, 32, 7, 5667, 6, 2662, 2837, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has Opponents of pkns fc, and a Date of january 8, 2006?
CREATE TABLE table_name_35 ( score VARCHAR, opponents VARCHAR, date VARCHAR )
SELECT score FROM table_name_35 WHERE opponents = "pkns fc" AND date = "january 8, 2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 2604, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 4495, 9977, 7, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 16383, 3274, 96, 102, 157, 29, 7, 3, 89, 75, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 9478, 3581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What years was Denis Lawson nominated for an award?
CREATE TABLE table_55028 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text )
SELECT COUNT("Year") FROM table_55028 WHERE "Nominee" = 'denis lawson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17147, 2577, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 121, 1499, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 4168, 8695, 15, 121, 1499, 6, 96, 20119, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 8512, 21680, 953, 834, 17147, 2577, 549, 17444, 427, 96, 4168, 8695, 15, 121, 3274, 3, 31, 537, 159, 3786, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which ranking has money of $82 and Al Watrous as the player?
CREATE TABLE table_name_64 (place VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT place FROM table_name_64 WHERE money___$__ = 82 AND player = "al watrous"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 4687, 584, 4280, 28027, 6, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1159...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 540, 834, 834, 834, 3229, 834, 834, 3274, 3, 4613, 3430, 1959, 3274, 96, 138, 8036, 17, 8283, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Provide me the list of patients with pr drug route that were born before 2071.
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 prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2071" AND prescriptions.route = "PR"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which Population (2004) has a Moroccan population larger than 234506?
CREATE TABLE table_name_38 ( population__2004_ INTEGER, moroccan_population INTEGER )
SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 2074, 834, 834, 21653, 834, 3, 21342, 17966, 6, 8030, 13377, 152, 834, 9791, 7830, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 29659, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 9791, 7830, 834, 834, 21653, 834, 61, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 8030, 13377, 152, 834, 9791, 7830, 2490, 1902, 10593, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the position for round 5 from alabama state?
CREATE TABLE table_name_39 ( position VARCHAR, round VARCHAR, college VARCHAR )
SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 1102, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 21, 1751, 305, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1751, 3274, 305, 3430, 1900, 3274, 96, 9, 9339, 265, 9, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average crowd size for the home team hawthorn?
CREATE TABLE table_name_13 ( crowd INTEGER, home_team VARCHAR )
SELECT AVG(crowd) FROM table_name_13 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 4374, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 4374, 812, 21, 8, 234, 372, 4244, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many different players does the Washington Redskins have?
CREATE TABLE table_29331 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "Pro Team" text, "College" text )
SELECT COUNT("Player") FROM table_29331 WHERE "NFL Team" = 'Washington Redskins'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4271, 3341, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 12619, 434, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 3174, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15800, 49, 8512, 21680, 953, 834, 357, 4271, 3341, 549, 17444, 427, 96, 12619, 434, 2271, 121, 3274, 3, 31, 518, 3198, 6029, 1624, 7, 7815, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average number of Gold when the total is 11 with more than 2 silver?
CREATE TABLE table_name_3 (gold INTEGER, total VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_3 WHERE total = 11 AND silver > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 14910, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 2540, 116, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 14910, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 792, 3274, 850, 3430, 4294, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which title has the Translation of vesoul?
CREATE TABLE table_54795 ( "Track" real, "Title" text, "Translation" text, "Composer" text, "Recorded" text )
SELECT "Title" FROM table_54795 WHERE "Translation" = 'vesoul'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4177, 3301, 41, 96, 382, 16729, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 18474, 6105, 121, 1499, 6, 96, 5890, 2748, 49, 121, 1499, 6, 96, 1649, 7621, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 755, 4177, 3301, 549, 17444, 427, 96, 18474, 6105, 121, 3274, 3, 31, 162, 7, 7115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which team played their first leg at home with an aggregate score of 3-4?
CREATE TABLE table_name_70 ( home__1st_leg_ VARCHAR, aggregate VARCHAR )
SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 234, 834, 834, 536, 7, 17, 834, 5772, 834, 584, 4280, 28027, 6, 12955, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 1944, 70, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 834, 536, 7, 17, 834, 5772, 834, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 12955, 3274, 96, 519, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which event was Tatyana Lebedeva in?
CREATE TABLE table_55224 ( "Event" text, "Record" text, "Athlete" text, "Nationality" text, "Date" text )
SELECT "Event" FROM table_55224 WHERE "Athlete" = 'tatyana lebedeva'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 24622, 41, 96, 427, 2169, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 308, 342, 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, 0, 0...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 3769, 24622, 549, 17444, 427, 96, 188, 189, 1655, 15, 121, 3274, 3, 31, 17, 144, 21247, 90, 4143, 4721, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the average top-10 when the cuts made is less than 9 and the events is more than 14?
CREATE TABLE table_name_48 ( top_10 INTEGER, cuts_made VARCHAR, events VARCHAR )
SELECT AVG(top_10) FROM table_name_48 WHERE cuts_made < 9 AND events > 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 420, 834, 1714, 3, 21342, 17966, 6, 8620, 834, 4725, 584, 4280, 28027, 6, 984, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1348...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2916, 834, 16968, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 8620, 834, 4725, 3, 2, 668, 3430, 984, 2490, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When less than 30 games have been played what is the average goals scored?
CREATE TABLE table_62696 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real )
SELECT AVG("Goals scored") FROM table_62696 WHERE "Games played" < '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2688, 4314, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 23055, 7, 1944, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 308, 10936, 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, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 6221, 5405, 5799, 8512, 21680, 953, 834, 948, 2688, 4314, 549, 17444, 427, 96, 23055, 7, 1944, 121, 3, 2, 3, 31, 1458, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who wrote the episode having joe daniello as director with production code 6ajn05?
CREATE TABLE table_26409328_1 ( written_by VARCHAR, directed_by VARCHAR, production_code VARCHAR )
SELECT written_by FROM table_26409328_1 WHERE directed_by = "Joe Daniello" AND production_code = "6AJN05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26755, 4198, 28070, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 999, 834, 4978, 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, 1545, 834, 969, 21680, 953, 834, 26755, 4198, 28070, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 683, 32, 15, 4173, 40, 32, 121, 3430, 999, 834, 4978, 3274, 96, 948, 22356, 567, 3076, 121, 1, -100, -100, ...
what number of the athletes are from spain ?
CREATE TABLE table_204_893 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text )
SELECT COUNT("name") FROM table_204_893 WHERE "nationality" = 'spain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3914, 519, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 7977, 7, 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, 2847, 17161, 599, 121, 4350, 8512, 21680, 953, 834, 26363, 834, 3914, 519, 549, 17444, 427, 96, 16557, 485, 121, 3274, 3, 31, 14147, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose primary disease is left internal jugular vein thrombosis;left arm edema and days of hospital stay is greater than 29?
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 t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA" AND demographic.days_stay > "29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 3765, 6245, 3, 21342, 11840, 434, 446, 19046, 4254, 4280, 3, 8575, 316...
What is the largest number of seats won?
CREATE TABLE table_21130 ( "Election" real, "Candidates fielded" real, "# of seats won" real, "Total votes" real, "% of popular vote" text, "Place" text )
SELECT MAX("# of seats won") FROM table_21130
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27278, 1458, 41, 96, 427, 12252, 121, 490, 6, 96, 14050, 12416, 6203, 1057, 15, 26, 121, 490, 6, 96, 4663, 13, 6116, 751, 121, 490, 6, 96, 3696, 1947, 11839, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 4663, 13, 6116, 751, 8512, 21680, 953, 834, 27278, 1458, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many black/haitian patients were aged below 80 years?
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/HAITIAN" AND demographic.age < "80"
[ 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, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 5478, 3177, 21758, 121, 3430, 14798, 5, 545, 3, 2...
What power has thunder bay as the city of license?
CREATE TABLE table_name_17 ( power VARCHAR, city_of_license VARCHAR )
SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 579, 584, 4280, 28027, 6, 690, 834, 858, 834, 28062, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 579, 65, 26783, 10210, 38, 8, 690, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 579, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 690, 834, 858, 834, 28062, 3274, 96, 189, 7248, 10210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...