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 competition when the result is 2-1?
CREATE TABLE table_name_58 ( competition VARCHAR, result VARCHAR )
SELECT competition FROM table_name_58 WHERE result = "2-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 2259, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2259, 116, 8, 741, 19, 3, 17234, 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, 2259, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 741, 3274, 96, 17234, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which home teams had crowds larger than 4,000?
CREATE TABLE table_name_25 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_25 WHERE crowd > 4 OFFSET 000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 4374, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 2323, 141, 4374, 7, 2186, 145, 3, 13161, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 4374, 2490, 314, 3, 15316, 20788, 6078, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
CREATE TABLE table_27177 ( "Year" text, "Amiga demo" text, "PC demo" text, "C64 demo" text, "Amiga intro" text, "PC intro" text )
SELECT "Amiga demo" FROM table_27177 WHERE "PC demo" = 'Tribes ( Pulse & Melon Dezign)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 26793, 41, 96, 476, 2741, 121, 1499, 6, 96, 8123, 12581, 8698, 121, 1499, 6, 96, 4051, 8698, 121, 1499, 6, 96, 254, 4389, 8698, 121, 1499, 6, 96, 8123, 12581, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8123, 12581, 8698, 121, 21680, 953, 834, 2555, 26793, 549, 17444, 427, 96, 4051, 8698, 121, 3274, 3, 31, 19310, 346, 7, 41, 10035, 7, 15, 3, 184, 5049, 106, 374, 9389, 29, 61, 31, 1, -100, -100, -100, -100, ...
List the names of counties in descending order of population.
CREATE TABLE county_public_safety (Name VARCHAR, Population VARCHAR)
SELECT Name FROM county_public_safety ORDER BY Population DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5435, 834, 15727, 834, 15233, 17, 63, 41, 23954, 584, 4280, 28027, 6, 29659, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 3056, 13, 16227, 16, 3, 30960, 455, 13, 2074,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5570, 21680, 5435, 834, 15727, 834, 15233, 17, 63, 4674, 11300, 272, 476, 29659, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many members are in each party. Visualize by pie chart.
CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE party_events ( Event_ID int, Event_Name text, Party_ID int, Member_in_charge_ID int ) CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text )
SELECT Party_name, COUNT(*) FROM member AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1719, 41, 6163, 834, 4309, 16, 17, 6, 6163, 834, 4350, 1499, 6, 7678, 1499, 6, 16229, 1499, 6, 12439, 1499, 6, 22424, 76, 15, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3450, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 1144, 6157, 332, 536, 3, 15355, 3162, 1088, 6157, 332, 357, 9191, 332, 5411, 13725, 63, 834, 4309, 3274, 332, 4416, 13725, 63, 834, 4309, 350, 4630, 6880, 272, ...
Name the venue for 2004 and position of 25th
CREATE TABLE table_67492 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text )
SELECT "Venue" FROM table_67492 WHERE "Position" = '25th' AND "Year" = '2004'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 3647, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 10358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 3708, 3647, 357, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 1828, 189, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 21653, 31, 1, -100, -100, -100, -100, ...
Name the electoraate for united future being 4.47%
CREATE TABLE table_20217811_1 (electorate VARCHAR, united_future VARCHAR)
SELECT electorate FROM table_20217811_1 WHERE united_future = "4.47%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 27640, 2596, 834, 536, 41, 400, 5317, 342, 584, 4280, 28027, 6, 18279, 834, 89, 76, 2693, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 11924, 127, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11924, 127, 342, 21680, 953, 834, 19818, 27640, 2596, 834, 536, 549, 17444, 427, 18279, 834, 89, 76, 2693, 3274, 96, 23444, 6170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is primary disease and procedure icd9 code of subject id 18077?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.diagnosis, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "18077"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 25930, 4844, 159, 6, 4293, 5, 447, 26, 1298, 834, 4978, 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, 427, 1479...
What's the wold ranking of the index by Transparency International?
CREATE TABLE table_2200 ( "Index (Year)" text, "Author / Editor / Source" text, "Year of publication" text, "Countries sampled" real, "World Ranking (1)" text, "Ranking L.A. (2)" text )
SELECT "World Ranking (1)" FROM table_2200 WHERE "Author / Editor / Source" = 'Transparency International'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3632, 41, 96, 26267, 226, 41, 476, 2741, 61, 121, 1499, 6, 96, 23602, 127, 3, 87, 11953, 3, 87, 9149, 121, 1499, 6, 96, 476, 2741, 13, 5707, 121, 1499, 6, 96, 1062...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17954, 29153, 5637, 121, 21680, 953, 834, 357, 3632, 549, 17444, 427, 96, 23602, 127, 3, 87, 11953, 3, 87, 9149, 121, 3274, 3, 31, 18474, 1893, 4392, 1331, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What kind of hand guards are associated with a rear sight of A1 and stock of A2?
CREATE TABLE table_12834315_8 ( hand_guards VARCHAR, rear_sight VARCHAR, stock VARCHAR )
SELECT hand_guards FROM table_12834315_8 WHERE rear_sight = "A1" AND stock = "A2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4591, 4906, 1808, 834, 927, 41, 609, 834, 11010, 7, 584, 4280, 28027, 6, 4091, 834, 7, 2632, 584, 4280, 28027, 6, 1519, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 609, 834, 11010, 7, 21680, 953, 834, 2122, 4591, 4906, 1808, 834, 927, 549, 17444, 427, 4091, 834, 7, 2632, 3274, 96, 188, 536, 121, 3430, 1519, 3274, 96, 188, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What event was a loss in 5:00?
CREATE TABLE table_name_52 (event VARCHAR, res VARCHAR, time VARCHAR)
SELECT event FROM table_name_52 WHERE res = "loss" AND time = "5:00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 15, 2169, 584, 4280, 28027, 6, 3, 60, 7, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 47, 3, 9, 1453, 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, 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, 5373, 549, 17444, 427, 3, 60, 7, 3274, 96, 2298, 7, 121, 3430, 97, 3274, 96, 19870, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Yards larger than 52, and a Opponent of san francisco 49ers is what kicker?
CREATE TABLE table_35080 ( "Date" text, "Kicker" text, "Kicking team" text, "Opponent" text, "Yards" real, "Result" text, "Game time" text )
SELECT "Kicker" FROM table_35080 WHERE "Yards" > '52' AND "Opponent" = 'san francisco 49ers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16975, 2079, 41, 96, 308, 342, 121, 1499, 6, 96, 439, 23, 3383, 121, 1499, 6, 96, 439, 3142, 53, 372, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 476, 986, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 439, 23, 3383, 121, 21680, 953, 834, 16975, 2079, 549, 17444, 427, 96, 476, 986, 7, 121, 2490, 3, 31, 5373, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 7, 152, 2515, 11389, 3523, 9526, 277, 31, 1, -100, ...
The Zeehond was built by whom?
CREATE TABLE table_name_49 (builder VARCHAR, ship VARCHAR)
SELECT builder FROM table_name_49 WHERE ship = "zeehond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 16422, 49, 584, 4280, 28027, 6, 4383, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 37, 4603, 15, 107, 106, 26, 47, 1192, 57, 4068, 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, 918, 49, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 4383, 3274, 96, 776, 15, 107, 106, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the national share of Guizhou's administrative division?
CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, administrative_division VARCHAR)
SELECT national_share___percentage_ FROM table_171666_1 WHERE administrative_division = "Guizhou"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2938, 3539, 834, 536, 41, 16557, 834, 12484, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027, 6, 6601, 834, 26, 23, 6610, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 834, 12484, 834, 834, 834, 883, 3728, 545, 834, 21680, 953, 834, 2517, 2938, 3539, 834, 536, 549, 17444, 427, 6601, 834, 26, 23, 6610, 3274, 96, 9105, 23, 25303, 121, 1, -100, -100, -100, -100, -100, -100, -10...
count the number of patients whose admission type is emergency and lab test name is ld, body fluid?
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.label = "LD, Body Fluid"
[ 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,...
Give me a stacked bar chart for showing the total number of each ship type and categorize it by ship nationality, and I want to order names in desc order.
CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )
SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY Type DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 8960, 834, 4309, 16, 17, 6, 15508, 834, 4309, 16, 17, 6, 3636, 1499, 6, 17113, 15, 26, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 9913, 834, 157, 2264, 7, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6632, 6, 2847, 17161, 599, 25160, 61, 21680, 4383, 350, 4630, 6880, 272, 476, 868, 485, 6, 6632, 4674, 11300, 272, 476, 6632, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many different Leagues are associated with Billy Meredith Category:Articles with hCards?
CREATE TABLE table_14962287_2 ( league VARCHAR, name VARCHAR )
SELECT COUNT(league) FROM table_14962287_2 WHERE name = "Billy Meredith Category:Articles with hCards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4314, 2884, 4225, 834, 357, 41, 5533, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 3815, 7, 33, 1968, 28, 17724, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 29512, 61, 21680, 953, 834, 2534, 4314, 2884, 4225, 834, 357, 549, 17444, 427, 564, 3274, 96, 279, 173, 120, 4039, 11272, 107, 17459, 10, 7754, 447, 965, 28, 3, 107, 6936, 26, 7, 121, 1, -100, -1...
What release date has 6998 as the production num.?
CREATE TABLE table_name_77 ( release_date VARCHAR, production_num VARCHAR )
SELECT release_date FROM table_name_77 WHERE production_num = "6998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 1576, 834, 5522, 584, 4280, 28027, 6, 999, 834, 5525, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1576, 833, 65, 3, 3951, 3916, 38, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1576, 834, 5522, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 999, 834, 5525, 3274, 96, 3951, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
List all information about courses sorted by credits in the ascending order.
CREATE TABLE COURSE (Credits VARCHAR)
SELECT * FROM COURSE ORDER BY Credits
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 9131, 4132, 41, 254, 1271, 7085, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 66, 251, 81, 2996, 3, 14504, 57, 11893, 16, 8, 25200, 53, 455, 5, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1429, 21680, 205, 9131, 4132, 4674, 11300, 272, 476, 6529, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the away team score at Western Oval?
CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_64 WHERE venue = "western oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 550, 372, 2604, 44, 3782, 411, 2165, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 5669, 3274, 96, 24411, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average grid for piers courage?
CREATE TABLE table_name_96 (grid INTEGER, driver VARCHAR)
SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 3496, 26, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 8634, 21, 3, 8343, 7, 11578, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 2535, 3274, 96, 8343, 7, 11578, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date had a kickoff of 1:00 and a result of l 27-14?
CREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT date FROM table_name_81 WHERE kickoff_[a_] = "1:00" AND result = "l 27-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 5522, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 4583, 1647, 834, 584, 4280, 28027, 6, 3, 9, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 4583, 1647, 834, 6306, 9, 834, 908, 3274, 96, 24294, 121, 3430, 741, 3274, 96, 40, 2307, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Rank that has a Season of 1995/96?
CREATE TABLE table_name_77 (rank VARCHAR, season VARCHAR)
SELECT rank FROM table_name_77 WHERE season = "1995/96"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 6254, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 22557, 24, 65, 3, 9, 7960, 13, 7273, 87, 4314, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 774, 3274, 96, 2294, 3301, 87, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which works number has a class of 15th and year of 1940?
CREATE TABLE table_name_69 ( works_no VARCHAR, class VARCHAR, year VARCHAR )
SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 930, 834, 29, 32, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 930, 381, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 930, 834, 29, 32, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 853, 3274, 96, 1808, 189, 121, 3430, 215, 3274, 96, 2294, 2445, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the opponent with a score of 109–108?
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "109–108"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 32, 102, 9977, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 28, 3, 9, 2604, 13, 3, 17304, 104, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 2604, 3274, 96, 17304, 104, 16169, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the primary disease and procedure for the patient name travis hofman?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.diagnosis, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Travis Hofman"
[ 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, 14798, 5, 25930, 4844, 159, 6, 4293, 5, 7, 14184, 834, 21869, 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, 427, 14798, 5...
what is the continent in which the country russia is listed?
CREATE TABLE table_29514 ( "Year" text, "Summits" text, "Country" text, "Continent" text, "Elevation ft" real, "Elevation m" real )
SELECT "Continent" FROM table_29514 WHERE "Country" = 'Russia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3301, 2534, 41, 96, 476, 2741, 121, 1499, 6, 96, 134, 440, 1538, 7, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 16798, 295, 121, 1499, 6, 96, 427, 10912, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 16798, 295, 121, 21680, 953, 834, 357, 3301, 2534, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 29613, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are December 10's high points?
CREATE TABLE table_27712451_6 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_27712451_6 WHERE date = "December 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4450, 2266, 5553, 834, 948, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 1882, 335, 31, 7, 306, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 2555, 4450, 2266, 5553, 834, 948, 549, 17444, 427, 833, 3274, 96, 29835, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
During what weak of the season was the game played on october 4, 1987?
CREATE TABLE table_13258806_2 ( week INTEGER, date VARCHAR )
SELECT MAX(week) FROM table_13258806_2 WHERE date = "October 4, 1987"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 1828, 4060, 5176, 834, 357, 41, 471, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 2092, 125, 5676, 13, 8, 774, 47, 8, 467, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 61, 21680, 953, 834, 2368, 1828, 4060, 5176, 834, 357, 549, 17444, 427, 833, 3274, 96, 28680, 6464, 12701, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average base price of rooms, for each bed type Plot them as bar chart, and display total number in asc order.
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER )
SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType ORDER BY AVG(basePrice)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1953, 25160, 6, 71, 17217, 599, 10925, 345, 4920, 61, 21680, 4181, 7, 350, 4630, 6880, 272, 476, 1953, 25160, 4674, 11300, 272, 476, 71, 17217, 599, 10925, 345, 4920, 61, 1, -100, -100, -100, -100, -100, -100, -100, ...
What Persian word has the same meaning as the Domari word na?
CREATE TABLE table_name_84 (persian VARCHAR, domari VARCHAR)
SELECT persian FROM table_name_84 WHERE domari = "na"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 883, 10488, 584, 4280, 28027, 6, 103, 17289, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 25518, 1448, 65, 8, 337, 2530, 38, 8, 531, 17289, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 399, 10488, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 103, 17289, 3274, 96, 29, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the 1st round with fc nantes (d1) as team 1?
CREATE TABLE table_name_25 ( team_1 VARCHAR )
SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 372, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 209, 7, 17, 1751, 28, 3, 89, 75, 3, 29, 8386, 41, 26, 6982, 38, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 209, 6157, 3, 7, 17, 834, 7775, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 372, 834, 536, 3274, 96, 89, 75, 3, 29, 8386, 41, 26, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR)
SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 20489, 17864, 834, 357, 41, 75, 51, 834, 8163, 834, 11650, 584, 4280, 28027, 6, 3, 89, 51, 834, 8163, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2446, 834, 8163, 834, 11650, 21680, 953, 834, 3166, 20489, 17864, 834, 357, 549, 17444, 427, 3, 89, 51, 834, 8163, 834, 11650, 3274, 96, 4663, 2517, 1289, 900, 3, 18, 5222, 121, 1, -100, -100, -100, -100, -100, -100...
How many golds have a Total of 11, and a Bronze smaller than 3?
CREATE TABLE table_name_81 ( gold INTEGER, total VARCHAR, bronze VARCHAR )
SELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2045, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2045, 7, 43, 3, 9, 9273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 792, 3274, 850, 3430, 13467, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When they played at Chicago Bulls, what was the Location/Attendance?
CREATE TABLE table_name_47 (location_attendance VARCHAR, opponent VARCHAR)
SELECT location_attendance FROM table_name_47 WHERE opponent = "at chicago bulls"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 79, 1944, 44, 3715, 10204, 7, 6, 125, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 15264, 3274, 96, 144, 8780, 9, 839, 8434, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Draws has a Wins smaller than 17, and an Against smaller than 1158?
CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)
SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 19489, 7, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 19183, 7, 65, 3, 9, 4871, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 9204, 3, 2, 1003, 3430, 581, 3, 2, 850, 3449, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts?
CREATE TABLE table_name_33 (uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR)
SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 1598, 834, 4059, 17, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 44, 834, 1238, 32, 6610, 584, 4280, 28027, 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, 3, 1598, 834, 4059, 17, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 215, 2490, 21018, 3430, 44, 834, 1238, 32, 6610, 3274, 96, 357, 727, 121, 3430, 2377, 3274, 96, 51, 362, 9, 15, 40, 1996, 121, 1, -100, ...
What is the Place of the Player with a To par of 5?
CREATE TABLE table_61952 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Place" FROM table_61952 WHERE "To par" = '–5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 3301, 357, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 11706, 121, 21680, 953, 834, 4241, 3301, 357, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 104, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the only city name with a population density of 200?
CREATE TABLE table_24233 ( "Name" text, "Municipal status" text, "Census division" text, "Population (2011)" real, "Population (2006)" real, "Change (%)" text, "Area (km\u00b2)" text, "Population density" text )
SELECT "Name" FROM table_24233 WHERE "Population density" = '200'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 20879, 41, 96, 23954, 121, 1499, 6, 96, 329, 202, 1294, 6459, 2637, 121, 1499, 6, 96, 254, 35, 7, 302, 4889, 121, 1499, 6, 96, 27773, 7830, 25163, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 2266, 20879, 549, 17444, 427, 96, 27773, 7830, 11048, 121, 3274, 3, 31, 3632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many directors were there for the film Course Completed?
CREATE TABLE table_10798928_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(director) FROM table_10798928_1 WHERE film_title_used_in_nomination = "Course Completed"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 4440, 3914, 2577, 834, 536, 41, 25982, 584, 4280, 28027, 6, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 25982, 61, 21680, 953, 834, 1714, 4440, 3914, 2577, 834, 536, 549, 17444, 427, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 3274, 96, 3881, 3589, 15, 9480, 26, 121, 1, -100, -100, -100...
How many people attended the home game against the New York Jets?
CREATE TABLE table_62776 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT SUM("Attendance") FROM table_62776 WHERE "Opponent" = 'new york jets'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2555, 3959, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 948, 2555, 3959, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 5534, 25453, 8757, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose age is less than 43 and lab test fluid is pleural?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "43" AND lab.fluid = "Pleural"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which sport has 17 as the medal count?
CREATE TABLE table_63603 ( "Medal count" real, "Date" text, "Athlete" text, "Nation" text, "Sport" text, "Record medal event" text )
SELECT "Sport" FROM table_63603 WHERE "Medal count" = '17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3328, 519, 41, 96, 20123, 138, 3476, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 17682, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17682, 121, 21680, 953, 834, 3891, 3328, 519, 549, 17444, 427, 96, 20123, 138, 3476, 121, 3274, 3, 31, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of bronzes having silvers over 5 and golds under 20?
CREATE TABLE table_name_43 ( bronze INTEGER, silver VARCHAR, gold VARCHAR )
SELECT SUM(bronze) FROM table_name_43 WHERE silver > 5 AND gold < 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 13467, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 13467, 7, 578...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 4294, 2490, 305, 3430, 2045, 3, 2, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average attendance for matches where the home team was vida?
CREATE TABLE table_name_2 ( attendance INTEGER, home VARCHAR )
SELECT AVG(attendance) FROM table_name_2 WHERE home = "vida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 11364, 3, 21342, 17966, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 11364, 21, 6407, 213, 8, 234, 372, 47, 3, 69...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 234, 3274, 96, 6961, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the title and the lowest rating among all movies in a bar chart, I want to rank in ascending by the Y.
CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date )
SELECT title, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title ORDER BY MIN(T1.stars)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 3, 51, 4309, 16, 17, 6, 2233, 1499, 6, 215, 16, 17, 6, 2090, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52, 4309, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 6, 3, 17684, 599, 382, 5411, 3624, 7, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 350, 4630, 6880, 272, 476, 2233, 4674, 11300...
What is the lowest Total for rank 3 with more than 4 gold?
CREATE TABLE table_41456 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Total") FROM table_41456 WHERE "Rank" = '3' AND "Gold" > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2534, 4834, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 591, 2534, 4834, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 519, 31, 3430, 96, 23576, 121, 2490, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -10...
What is the time of songs that have the writer Aaron Schroeder and Wally Gold?
CREATE TABLE table_name_55 ( time VARCHAR, writer_s_ VARCHAR )
SELECT time FROM table_name_55 WHERE writer_s_ = "aaron schroeder and wally gold"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 97, 584, 4280, 28027, 6, 4346, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 13, 3605, 24, 43, 8, 4346, 14411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 4346, 834, 7, 834, 3274, 96, 9, 291, 106, 3, 7, 10363, 15, 588, 11, 1481, 63, 2045, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is man of the match for match number 5?
CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, match_number VARCHAR)
SELECT man_of_the_match FROM table_17103566_1 WHERE match_number = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 1714, 2469, 3539, 834, 536, 41, 348, 834, 858, 834, 532, 834, 19515, 584, 4280, 28027, 6, 1588, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 388, 834, 858, 834, 532, 834, 19515, 21680, 953, 834, 2517, 1714, 2469, 3539, 834, 536, 549, 17444, 427, 1588, 834, 5525, 1152, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When Matt Ware won the mens singles, who won the mixed restricted?
CREATE TABLE table_28211674_3 ( mixed_restricted VARCHAR, mens_singles VARCHAR )
SELECT mixed_restricted FROM table_28211674_3 WHERE mens_singles = "Matt Ware"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2658, 2938, 4581, 834, 519, 41, 4838, 834, 60, 20066, 15, 26, 584, 4280, 28027, 6, 1076, 7, 834, 7, 53, 965, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4838, 834, 60, 20066, 15, 26, 21680, 953, 834, 2577, 2658, 2938, 4581, 834, 519, 549, 17444, 427, 1076, 7, 834, 7, 53, 965, 3274, 96, 329, 144, 17, 1602, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Which result happened more recently than week 2, and had a date of November 30, 1958?
CREATE TABLE table_35374 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real )
SELECT "Result" FROM table_35374 WHERE "Week" > '2' AND "Date" = 'november 30, 1958'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 519, 4581, 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, 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, 20119, 121, 21680, 953, 834, 2469, 519, 4581, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 357, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 11558, 22306, 31, 1, -100, -100, -100, -100, -100, -...
When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications?
CREATE TABLE table_2279413_1 ( conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR )
SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2555, 4240, 2368, 834, 536, 41, 6113, 834, 7152, 834, 4665, 295, 834, 12251, 584, 4280, 28027, 6, 2411, 834, 1987, 584, 4280, 28027, 6, 3, 102, 75, 17, 834, 20300, 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, 6113, 834, 7152, 834, 4665, 295, 834, 12251, 21680, 953, 834, 357, 2555, 4240, 2368, 834, 536, 549, 17444, 427, 2411, 834, 1987, 3274, 96, 1714, 203, 121, 3430, 3, 102, 75, 17, 834, 20300, 834, 28843, 3274, 96, 1973...
When has a Visitor of new england whalers, and a Record of 9 9 1? Question 2
CREATE TABLE table_37296 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Date" FROM table_37296 WHERE "Visitor" = 'new england whalers' AND "Record" = '9–9–1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 357, 4314, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4118, 357, 4314, 549, 17444, 427, 96, 553, 159, 155, 127, 121, 3274, 3, 31, 5534, 3, 4606, 40, 232, 18214, 52, 7, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 1298, 104, 1298, ...
What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
CREATE TABLE table_54343 ( "Dismissals" text, "Player" text, "Versus" text, "Venue" text, "Date" text )
SELECT "Versus" FROM table_54343 WHERE "Player" = 'ko otieno' AND "Venue" = 'bloemfontein'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 3710, 519, 41, 96, 308, 159, 11502, 5405, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 5000, 7, 302, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 308, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5000, 7, 302, 121, 21680, 953, 834, 5062, 3710, 519, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 157, 32, 3, 32, 15945, 32, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 4672, 15, 51, 89, 1770, ...
What U15 3rd Quad has a U15 2nd Quad of ACGS?
CREATE TABLE table_name_89 (u15_3rd_quad VARCHAR, u15_2nd_quad VARCHAR)
SELECT u15_3rd_quad FROM table_name_89 WHERE u15_2nd_quad = "acgs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 76, 1808, 834, 519, 52, 26, 834, 4960, 26, 584, 4280, 28027, 6, 3, 76, 1808, 834, 357, 727, 834, 4960, 26, 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, 76, 1808, 834, 519, 52, 26, 834, 4960, 26, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 3, 76, 1808, 834, 357, 727, 834, 4960, 26, 3274, 96, 9, 75, 122, 7, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the average snatch score of body builders?
CREATE TABLE body_builder ( body_builder_id number, people_id number, snatch number, clean_jerk number, total number ) CREATE TABLE people ( people_id number, name text, height number, weight number, birth_date text, birth_place text )
SELECT AVG(snatch) FROM body_builder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 643, 834, 16422, 49, 41, 643, 834, 16422, 49, 834, 23, 26, 381, 6, 151, 834, 23, 26, 381, 6, 3, 7, 29, 14547, 381, 6, 1349, 834, 12488, 157, 381, 6, 792, 381, 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, 71, 17217, 599, 7, 29, 14547, 61, 21680, 643, 834, 16422, 49, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the frequency for the 10kw station with DXEZ as its callsign?
CREATE TABLE table_name_25 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_25 WHERE power__kw_ = "10kw" AND callsign = "dxez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 30989, 584, 4280, 28027, 6, 579, 834, 834, 157, 210, 834, 584, 4280, 28027, 6, 580, 6732, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 579, 834, 834, 157, 210, 834, 3274, 96, 1714, 157, 210, 121, 3430, 580, 6732, 3274, 96, 26, 226, 457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
In which venue did the home team score 11.20 (86)?
CREATE TABLE table_33028 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_33028 WHERE "Home team score" = '11.20 (86)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17225, 2577, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 17225, 2577, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 10032, 1755, 41, 3840, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the details of all the markets that are accessible by walk or bus.
CREATE TABLE visits ( visit_id number, tourist_attraction_id number, tourist_id number, visit_date time, visit_details text ) CREATE TABLE royal_family ( royal_family_id number, royal_family_details text ) CREATE TABLE staff ( staff_id number, tourist_attraction_id number, name text, other_details text ) CREATE TABLE street_markets ( market_id number, market_details text ) CREATE TABLE ref_attraction_types ( attraction_type_code text, attraction_type_description text ) CREATE TABLE shops ( shop_id number, shop_details text ) CREATE TABLE theme_parks ( theme_park_id number, theme_park_details text ) CREATE TABLE features ( feature_id number, feature_details text ) CREATE TABLE hotels ( hotel_id number, star_rating_code text, pets_allowed_yn text, price_range number, other_hotel_details text ) CREATE TABLE museums ( museum_id number, museum_details text ) CREATE TABLE tourist_attraction_features ( tourist_attraction_id number, feature_id number ) CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE locations ( location_id number, location_name text, address text, other_details text ) CREATE TABLE tourist_attractions ( tourist_attraction_id number, attraction_type_code text, location_id number, how_to_get_there text, name text, description text, opening_hours text, other_details text ) CREATE TABLE photos ( photo_id number, tourist_attraction_id number, name text, description text, filename text, other_details text ) CREATE TABLE ref_hotel_star_ratings ( star_rating_code text, star_rating_description text )
SELECT T1.market_details FROM street_markets AS T1 JOIN tourist_attractions AS T2 ON T1.market_id = T2.tourist_attraction_id WHERE T2.how_to_get_there = "walk" OR T2.how_to_get_there = "bus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8305, 41, 719, 834, 23, 26, 381, 6, 8548, 834, 144, 10559, 834, 23, 26, 381, 6, 8548, 834, 23, 26, 381, 6, 719, 834, 5522, 97, 6, 719, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 8809, 834, 221, 5756, 7, 21680, 2815, 834, 8809, 7, 6157, 332, 536, 3, 15355, 3162, 8548, 834, 144, 10559, 7, 6157, 332, 357, 9191, 332, 5411, 8809, 834, 23, 26, 3274, 332, 4416, 17, 1211, 343, 834, 144...
What team was the opponent when the score was 8-2?
CREATE TABLE table_name_24 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_24 WHERE score = "8-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 32, 102, 9977, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 8, 15264, 116, 8, 2604, 47, 505, 4949, 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, 15264, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 2604, 3274, 96, 927, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?
CREATE TABLE table_name_40 ( run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR )
SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 661, 834, 536, 3, 21342, 17966, 6, 661, 834, 357, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4312, 834, 6982, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 661, 834, 357, 2490, 6897, 5, 2266, 3430, 17893, 3274, 96, 3357, 7436, 9, 7, 3, 122, 13917, 11063, 49, 121, 1, -100, -100, -100, ...
What was the College of Player Perry Ellis?
CREATE TABLE table_53976 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text )
SELECT "College" FROM table_53976 WHERE "Player" = 'perry ellis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3288, 3959, 41, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 121, 21680, 953, 834, 755, 3288, 3959, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 883, 651, 3, 7999, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps?
CREATE TABLE table_50726 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real )
SELECT COUNT("Grid") FROM table_50726 WHERE "Manufacturer" = 'ducati' AND "Rider" = 'casey stoner' AND "Laps" < '27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 940, 2688, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 121, 1499, 6, 96, 13313, 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, 2847, 17161, 599, 121, 13313, 26, 8512, 21680, 953, 834, 1752, 940, 2688, 549, 17444, 427, 96, 7296, 76, 8717, 450, 49, 121, 3274, 3, 31, 1259, 16461, 31, 3430, 96, 448, 23, 588, 121, 3274, 3, 31, 6701, 63, 3372, ...
What is the frequency of the model whose part number is ado520biaa5do?
CREATE TABLE table_895 ( "Model Number" text, "Stepping" text, "Frequency" text, "L2 Cache" text, "HT" text, "Multi 1" text, "V Core" text, "TDP" text, "Socket" text, "Release Date" text, "Part Number(s)" text )
SELECT "Frequency" FROM table_895 WHERE "Part Number(s)" = 'ADO520BIAA5DO'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3914, 755, 41, 96, 24663, 7720, 121, 1499, 6, 96, 14337, 5341, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 357, 205, 4933, 121, 1499, 6, 96, 10966, 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, 371, 60, 835, 11298, 121, 21680, 953, 834, 3914, 755, 549, 17444, 427, 96, 13725, 7720, 599, 7, 61, 121, 3274, 3, 31, 188, 9857, 25356, 5972, 5498, 755, 9857, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
Who won under Gary Simms?
CREATE TABLE table_name_92 (winner VARCHAR, trainer VARCHAR)
SELECT winner FROM table_name_92 WHERE trainer = "gary simms"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 3757, 687, 584, 4280, 28027, 6, 8813, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 365, 13439, 6619, 51, 7, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 8813, 3274, 96, 1478, 63, 108, 635, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What city is the headquarter of the store Blackville?
CREATE TABLE district ( district_id number, district_name text, headquartered_city text, city_population number, city_area number ) CREATE TABLE product ( product_id number, product text, dimensions text, dpi number, pages_per_minute_color number, max_page_size text, interface text ) CREATE TABLE store_district ( store_id number, district_id number ) CREATE TABLE store_product ( store_id number, product_id number ) CREATE TABLE store ( store_id number, store_name text, type text, area_size number, number_of_product_category number, ranking number )
SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.store_name = "Blackville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3939, 41, 3939, 834, 23, 26, 381, 6, 3939, 834, 4350, 1499, 6, 3, 27630, 834, 6726, 1499, 6, 690, 834, 9791, 7830, 381, 6, 690, 834, 498, 381, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5787, 27630, 834, 6726, 21680, 1078, 6157, 3, 17, 536, 3, 15355, 3162, 1078, 834, 26, 23, 20066, 6157, 3, 17, 357, 9191, 3, 17, 5411, 7154, 834, 23, 26, 3274, 3, 17, 4416, 7154, 834, 23, 26, 3, 15355, 3...
For 2006 what category has the Show of kasautii zindagii kay?
CREATE TABLE table_name_54 ( category VARCHAR, for_the_show VARCHAR, year VARCHAR )
SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 3295, 584, 4280, 28027, 6, 21, 834, 532, 834, 10049, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 3581, 125, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3295, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 21, 834, 532, 834, 10049, 3274, 96, 1258, 7348, 17, 23, 23, 3, 7196, 26, 6623, 23, 3, 18075, 121, 3430, 215, 3274, 3581, 1, -100, -100, -100, -100, -100, -1...
What played has 3 as the losing bonus?
CREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR)
SELECT played FROM table_name_91 WHERE losing_bonus = "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 4895, 15, 26, 584, 4280, 28027, 6, 5489, 834, 5407, 302, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1944, 65, 220, 38, 8, 5489, 4023, 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, 1944, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 5489, 834, 5407, 302, 3274, 96, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose drug code is posa200l and lab test fluid is urine?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "POSA200L" AND lab.fluid = "Urine"
[ 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, 338...
Find the name and credit score of the customers who have some loans.
CREATE TABLE loan ( cust_id VARCHAR ) CREATE TABLE customer ( cust_name VARCHAR, credit_score VARCHAR, cust_id VARCHAR )
SELECT DISTINCT T1.cust_name, T1.credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2289, 41, 123, 7, 17, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 41, 123, 7, 17, 834, 4350, 584, 4280, 28027, 6, 998, 834, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5411, 1071, 7, 17, 834, 4350, 6, 332, 5411, 15547, 834, 7, 9022, 21680, 884, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1071, 7, 17, 834, 23, 26, 3274, 332, ...
What type of song is larger than 8 and named 實情?
CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR)
SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 9519, 834, 858, 834, 532, 834, 7, 2444, 584, 4280, 28027, 6, 381, 584, 4280, 28027, 6, 564, 834, 858, 834, 532, 834, 7, 2444, 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, 0, 0...
[ 3, 23143, 14196, 773, 834, 858, 834, 532, 834, 7, 2444, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 381, 2490, 505, 3430, 564, 834, 858, 834, 532, 834, 7, 2444, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
How many different net run rates did the team with 19 total points have?
CREATE TABLE table_25368177_1 ( net_run_rate VARCHAR, total_points VARCHAR )
SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3420, 4959, 4013, 834, 536, 41, 3134, 834, 4312, 834, 2206, 584, 4280, 28027, 6, 792, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1582, 834, 4312, 834, 2206, 61, 21680, 953, 834, 1828, 3420, 4959, 4013, 834, 536, 549, 17444, 427, 792, 834, 2700, 7, 3274, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the rank that shows 426 games?
CREATE TABLE table_67019 ( "Rank" text, "Games" text, "Player" text, "Club" text, "Career span" text )
SELECT "Rank" FROM table_67019 WHERE "Games" = '426'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 632, 2294, 41, 96, 22557, 121, 1499, 6, 96, 23055, 7, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 6936, 15, 49, 8438, 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, 22557, 121, 21680, 953, 834, 3708, 632, 2294, 549, 17444, 427, 96, 23055, 7, 121, 3274, 3, 31, 591, 2688, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the details of all trucks in the order of their license number.
CREATE TABLE products ( product_id number, product_name text, product_price number, product_description text ) CREATE TABLE trucks ( truck_id number, truck_licence_number text, truck_details text ) CREATE TABLE delivery_route_locations ( location_code text, route_id number, location_address_id number, location_name text ) CREATE TABLE addresses ( address_id number, address_details text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE order_deliveries ( location_code text, actual_order_id number, delivery_status_code text, driver_employee_id number, truck_id number, delivery_date time ) CREATE TABLE employees ( employee_id number, employee_address_id number, employee_name text, employee_phone text ) CREATE TABLE customer_addresses ( customer_id number, address_id number, date_from time, address_type text, date_to time ) CREATE TABLE regular_order_products ( regular_order_id number, product_id number ) CREATE TABLE delivery_routes ( route_id number, route_name text, other_route_details text ) CREATE TABLE actual_orders ( actual_order_id number, order_status_code text, regular_order_id number, actual_order_date time ) CREATE TABLE customers ( customer_id number, payment_method text, customer_name text, customer_phone text, customer_email text, date_became_customer time ) CREATE TABLE regular_orders ( regular_order_id number, distributer_id number ) CREATE TABLE actual_order_products ( actual_order_id number, product_id number )
SELECT truck_details FROM trucks ORDER BY truck_licence_number
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 556, 834, 23, 26, 381, 6, 556, 834, 4350, 1499, 6, 556, 834, 102, 4920, 381, 6, 556, 834, 221, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4072, 834, 221, 5756, 7, 21680, 11370, 4674, 11300, 272, 476, 4072, 834, 2176, 1433, 834, 5525, 1152, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Display a bar chart for how old is the average person for each job?, sort by the X in ascending.
CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT )
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY job
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 17701, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1565, 3, 4331, 4059, 599, 1755, 201, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 613, 6, 71, 17217, 599, 545, 61, 21680, 5780, 350, 4630, 6880, 272, 476, 613, 4674, 11300, 272, 476, 613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
inform me about the number of patients born before 2168 who were diagnosed with unspecified hepatitis.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2168" AND diagnoses.long_title = "Hepatitis, unspecified"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0?
CREATE TABLE table_13336122_3 ( title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR )
SELECT title FROM table_13336122_3 WHERE directed_by = "David Von Ancken" AND no_in_series > 16.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 3420, 20889, 834, 519, 41, 2233, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 3, 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, 2233, 21680, 953, 834, 22974, 3420, 20889, 834, 519, 549, 17444, 427, 6640, 834, 969, 3274, 96, 308, 9, 6961, 6560, 389, 4695, 121, 3430, 150, 834, 77, 834, 10833, 7, 2490, 209, 22642, 1, -100, -100, -100, -100, -10...
Who was the finalist in the 2010 season in the host city tartu?
CREATE TABLE table_37207 ( "Season" real, "Winner" text, "Finalist" text, "Score" text, "Host City" text )
SELECT "Finalist" FROM table_37207 WHERE "Host City" = 'tartu' AND "Season" = '2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 26426, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 371, 10270, 343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 566, 3481, 896, 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, 371, 10270, 343, 121, 21680, 953, 834, 4118, 26426, 549, 17444, 427, 96, 566, 3481, 896, 121, 3274, 3, 31, 17, 1408, 76, 31, 3430, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 14926, 31, 1, -100, -100, -100, -100,...
how many patients whose diagnoses short title is enterococcus group d and lab test name is bands?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Enterococcus group d" AND lab.label = "Bands"
[ 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...
how many of the private patients were female?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.insurance = "Private"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 29441, 3274, 96, 7855, 208, 342, 121, 1, -100, -1...
Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4?
CREATE TABLE table_name_95 ( car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR )
SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 443, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 3, 2748, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 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, 1720, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 372, 3274, 96, 3225, 26, 5206, 2340, 6661, 7, 121, 3430, 2535, 3274, 96, 3920, 3157, 17, 77, 121, 3430, 3, 2748, 2...
What's the highest capacity for a position of 5 in 2004?
CREATE TABLE table_36960 ( "Team" text, "Location" text, "Venue" text, "Capacity" real, "Position in 2004" text )
SELECT MAX("Capacity") FROM table_36960 WHERE "Position in 2004" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 27699, 41, 96, 18699, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 345, 32, 7, 4749...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19566, 9, 6726, 8512, 21680, 953, 834, 3420, 27699, 549, 17444, 427, 96, 345, 32, 7, 4749, 16, 4406, 121, 3274, 3, 31, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the date when scorers is parkinson?
CREATE TABLE table_name_23 ( date VARCHAR, scorers VARCHAR )
SELECT date FROM table_name_23 WHERE scorers = "parkinson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 833, 584, 4280, 28027, 6, 14056, 277, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 116, 14056, 277, 19, 2447, 77, 739, 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, 833, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 14056, 277, 3274, 96, 6334, 77, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many games lost for team(s) with less than 4 paints and against total of over 340?
CREATE TABLE table_name_65 (lost VARCHAR, points VARCHAR, against VARCHAR)
SELECT COUNT(lost) FROM table_name_65 WHERE points < 4 AND against > 340
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 2298, 17, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 1513, 21, 372, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 979, 3, 2, 314, 3430, 581, 2490, 3, 21129, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the categoria when E.E.U.U was the country?
CREATE TABLE table_29565 ( "A\u00f1o" real, "Trabajo nominado" text, "Premio" text, "Categor\u00eda" text, "Country" text, "Resultado" text )
SELECT "Categor\u00eda" FROM table_29565 WHERE "Country" = 'E.E.U.U'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3301, 4122, 41, 96, 188, 2, 76, 1206, 89, 536, 32, 121, 490, 6, 96, 9402, 115, 9, 1927, 5252, 23, 25065, 121, 1499, 6, 96, 10572, 51, 23, 32, 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, 18610, 6066, 52, 2, 76, 1206, 15, 26, 9, 121, 21680, 953, 834, 357, 3301, 4122, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 427, 5, 427, 5, 1265, 5, 1265, 31, 1, -100, -100, -100, -100, -100, -100, ...
When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?
CREATE TABLE table_26609958_1 ( groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR )
SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3328, 3264, 3449, 834, 536, 41, 1591, 3552, 834, 26, 159, 7993, 834, 834, 17030, 834, 51, 834, 519, 834, 834, 3, 21342, 17966, 6, 7668, 14797, 834, 4883, 77, 584, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9232, 3552, 834, 26, 159, 7993, 834, 834, 17030, 834, 51, 834, 519, 834, 834, 61, 21680, 953, 834, 2688, 3328, 3264, 3449, 834, 536, 549, 17444, 427, 7668, 14797, 834, 4883, 77, 3274, 96, 254, 8699, ...
What years does Goreville High School have members?
CREATE TABLE table_12380 ( "School" text, "Location (Population)" text, "Nickname(s)" text, "Colors" text, "Years Member" text, "Enrollment (2013/14)" text )
SELECT "Years Member" FROM table_12380 WHERE "School" = 'goreville high school'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 2079, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 41, 27773, 7830, 61, 121, 1499, 6, 96, 567, 3142, 4350, 599, 7, 61, 121, 1499, 6, 96, 3881, 322, 7, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 8541, 121, 21680, 953, 834, 14574, 2079, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 839, 60, 1420, 306, 496, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Cumulative point total for all teams playing on the Discovery Channel?
CREATE TABLE table_name_67 ( points VARCHAR, team VARCHAR )
SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 979, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5469, 83, 1528, 500, 792, 21, 66, 2323, 1556, 30, 8, 19499, 9916...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 372, 3274, 96, 19315, 1890, 63, 4245, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many were in attendance at the game where the visiting team was the Jazz?
CREATE TABLE table_name_67 (attendance INTEGER, visitor VARCHAR)
SELECT SUM(attendance) FROM table_name_67 WHERE visitor = "jazz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 15116, 663, 3, 21342, 17966, 6, 7019, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 130, 16, 11364, 44, 8, 467, 213, 8, 3644, 372, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 7019, 3274, 96, 1191, 5271, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the construction of Olivier Panis' car that retired due to a collision?
CREATE TABLE table_11189 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text )
SELECT "Constructor" FROM table_11189 WHERE "Time/Retired" = 'collision' AND "Driver" = 'olivier panis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15866, 3914, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 1499, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4302, 7593, 127, 121, 21680, 953, 834, 15866, 3914, 549, 17444, 427, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 75, 20953, 1938, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 4172, 5144, 2131, 159, 31, 1, ...
What is the total number with Nov 2012 with a Jun 2013 larger than 542, and a Aug 2011 more than 935?
CREATE TABLE table_51531 ( "Feb 2010" text, "Mar 2010" text, "May 2010" real, "Jun 2010" real, "Jul 2010" real, "Aug 2010" real, "Sep 2010" real, "Oct 2010" real, "Nov 2010" real, "Dec 2010" real, "Jan 2011" real, "Feb 2011" real, "Mar 2011" real, "Apr 2011" real, "May 2011" real, "Jun 2011" real, "Jul 2011" real, "Aug 2011" real, "Sep 2011" real, "Oct 2011" real, "Nov 2011" real, "Dec 2011" real, "Jan 2012" real, "Feb 2012" real, "Mar 2012" real, "Apr 2012" real, "May 2012" real, "Jun 2012" real, "Jul 2012" real, "Aug 2012" real, "Sep 2012" real, "Oct 2012" real, "Nov 2012" real, "Dec 2012" real, "Jan 2013" real, "Feb 2013" real, "Mar 2013" real, "Apr 2013" real, "May 2013" real, "Jun 2013" real, "Jul 2013" real, "Aug 2013" real, "Sep 2013" real, "Oct 2013" real )
SELECT COUNT("Nov 2012") FROM table_51531 WHERE "Jun 2013" > '542' AND "Aug 2011" > '935'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1808, 3341, 41, 96, 371, 15, 115, 2735, 121, 1499, 6, 96, 7286, 2735, 121, 1499, 6, 96, 15881, 2735, 121, 490, 6, 96, 683, 202, 2735, 121, 490, 6, 96, 683, 83, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4168, 208, 1673, 8512, 21680, 953, 834, 755, 1808, 3341, 549, 17444, 427, 96, 683, 202, 2038, 121, 2490, 3, 31, 5062, 357, 31, 3430, 96, 188, 76, 122, 2722, 121, 2490, 3, 31, 1298, 2469, 31,...
What is total amount of points of entrants with a ford cosworth engine and a year later than 1991?
CREATE TABLE table_15121 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT COUNT("Points") FROM table_15121 WHERE "Engine" = 'ford cosworth' AND "Year" > '1991'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 22011, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 1808, 22011, 549, 17444, 427, 96, 31477, 121, 3274, 3, 31, 2590, 576, 7, 7048, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4729, 31, 1, -100, -100, -100...
When did the staff member with first name as Janessa and last name as Sawayn join the company?
CREATE TABLE Staff (date_joined_staff VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT date_joined_staff FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10071, 41, 5522, 834, 1927, 630, 26, 834, 26416, 584, 4280, 28027, 6, 166, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 1927, 630, 26, 834, 26416, 21680, 10071, 549, 17444, 427, 166, 834, 4350, 3274, 96, 683, 9, 655, 9, 121, 3430, 336, 834, 4350, 3274, 96, 134, 8006, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the eastern #1 for week of 5
CREATE TABLE table_56897 ( "Week" real, "EASTERN #1" text, "Eastern #2" text, "WESTERN #1" text, "Western #2" text )
SELECT "EASTERN #1" FROM table_56897 WHERE "Week" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3651, 4327, 41, 96, 518, 10266, 121, 490, 6, 96, 427, 12510, 25992, 7172, 121, 1499, 6, 96, 427, 9, 13072, 15493, 121, 1499, 6, 96, 518, 6038, 25992, 7172, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 12510, 25992, 7172, 121, 21680, 953, 834, 755, 3651, 4327, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Goals have a Name of lee dong-gook?
CREATE TABLE table_41791 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real )
SELECT MAX("Goals") FROM table_41791 WHERE "Name" = 'lee dong-gook'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2517, 4729, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 6221, 5405, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6221, 5405, 8512, 21680, 953, 834, 591, 2517, 4729, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 109, 15, 278, 122, 18, 839, 1825, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 larger than 47.91, for propylene, and an Upper index MJ/ Nm 3 larger than 77.04?
CREATE TABLE table_name_1 ( upper_index_kcal__nm_3 INTEGER, upper_index_mj__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR, fuel_gas VARCHAR )
SELECT SUM(upper_index_kcal__nm_3) FROM table_name_1 WHERE lower_index_mj__nm_3 > 47.91 AND fuel_gas = "propylene" AND upper_index_mj__nm_3 > 77.04
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 4548, 834, 18288, 834, 157, 1489, 834, 834, 29, 51, 834, 519, 3, 21342, 17966, 6, 4548, 834, 18288, 834, 51, 354, 834, 834, 29, 51, 834, 519, 584, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15689, 834, 18288, 834, 157, 1489, 834, 834, 29, 51, 834, 5268, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1364, 834, 18288, 834, 51, 354, 834, 834, 29, 51, 834, 519, 2490, 10635, 5, 4729, 3...
what is the engine when the rounds ar all, the tyre is m and the driver is david coulthard?
CREATE TABLE table_77578 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine \u2020" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT "Engine \u2020" FROM table_77578 WHERE "Rounds" = 'all' AND "Tyre" = 'm' AND "Driver" = 'david coulthard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3072, 3940, 41, 96, 16924, 3569, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 3, 2, 76, 22224, 121, 1499, 6, 96, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31477, 3, 2, 76, 22224, 121, 21680, 953, 834, 940, 3072, 3940, 549, 17444, 427, 96, 448, 32, 1106, 7, 121, 3274, 3, 31, 1748, 31, 3430, 96, 382, 63, 60, 121, 3274, 3, 31, 51, 31, 3430, 96, 20982, 52, 121, ...
Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?
CREATE TABLE table_38940 ( "Team" text, "Constructor" text, "Motorcycle" text, "Rider" text, "Rounds" text )
SELECT "Rider" FROM table_38940 WHERE "Constructor" = 'honda' AND "Team" = 'scot racing team' AND "Rounds" = '6-17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3914, 2445, 41, 96, 18699, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 329, 32, 17, 127, 10136, 121, 1499, 6, 96, 448, 23, 588, 121, 1499, 6, 96, 448, 32,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 23, 588, 121, 21680, 953, 834, 519, 3914, 2445, 549, 17444, 427, 96, 4302, 7593, 127, 121, 3274, 3, 31, 31782, 31, 3430, 96, 18699, 121, 3274, 3, 31, 7, 4310, 8191, 372, 31, 3430, 96, 448, 32, 1106, 7, ...
Which line after 1959 had the highest amount of points?
CREATE TABLE table_70837 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT MAX("Points") FROM table_70837 WHERE "Year" > '1959'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 927, 4118, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22512, 7, 8512, 21680, 953, 834, 2518, 927, 4118, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 3390, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the away team at Arden Street Oval?
CREATE TABLE table_name_20 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_20 WHERE venue = "arden street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 44, 22635, 35, 1887, 411, 2165, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 5669, 3274, 96, 986, 35, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...