NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
For the game that had an end record of 2-4, who was the high points scorer?
CREATE TABLE table_name_69 ( high_points VARCHAR, record VARCHAR )
SELECT high_points FROM table_name_69 WHERE record = "2-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 467, 24, 141, 46, 414, 1368, 13, 3, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1368, 3274, 96, 21432, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose age is less than 27 and days of hospital stay is greater than 16?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "27" AND demographic.days_stay > "16"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 2555, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 2938, 121, 1, -100, -...
Can you tell me Location Attendance that has the High points of andrew bogut (17)?
CREATE TABLE table_9910 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_9910 WHERE "High points" = 'andrew bogut (17)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3264, 1714, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 13041, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 22497, 663, 121, 21680, 953, 834, 3264, 1714, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 232, 60, 210, 3005, 11221, 18360, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
tell me the number of patients admitted before the year 2145 who have diagnoses icd9 code 58089.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 < "2145" AND diagnoses.icd9_code = "58089"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What episode number in the series originally aired on April 27, 1999?
CREATE TABLE table_228973_5 ( no_in_series INTEGER, original_air_date VARCHAR )
SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = "April 27, 1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3914, 4552, 834, 755, 41, 150, 834, 77, 834, 10833, 7, 3, 21342, 17966, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 564...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 29, 32, 834, 77, 834, 10833, 7, 61, 21680, 953, 834, 2884, 3914, 4552, 834, 755, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 23323, 14141, 5247, 121, 1, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about meter_100 over the meter_600 , display X in descending order.
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text )
SELECT meter_600, meter_100 FROM swimmer ORDER BY meter_600 DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 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, 3, 4401, 834, 6007, 6, 3, 4401, 834, 2915, 21680, 27424, 4674, 11300, 272, 476, 3, 4401, 834, 6007, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Look for location and time of admission for the patient with patient id 22377.
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 demographic.admission_location, demographic.admittime FROM demographic WHERE demographic.subject_id = "22377"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 14836, 6, 14798, 5, 20466, 17, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 357, 2773, 4013, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the presenter on Friday of the series in which Alice Levine Jamie East presented on Sunday?
CREATE TABLE table_11579 ( "Series" text, "Monday" text, "Tuesday" text, "Wednesday" text, "Thursday" text, "Friday" text, "Saturday" text, "Sunday" text )
SELECT "Friday" FROM table_11579 WHERE "Sunday" = 'alice levine jamie east'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 4440, 41, 96, 12106, 7, 121, 1499, 6, 96, 9168, 1135, 121, 1499, 6, 96, 382, 76, 15, 7, 1135, 121, 1499, 6, 96, 1326, 26, 1496, 1135, 121, 1499, 6, 96, 8991, 358...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31157, 121, 21680, 953, 834, 15660, 4440, 549, 17444, 427, 96, 134, 202, 1135, 121, 3274, 3, 31, 138, 867, 90, 8402, 2662, 2720, 5727, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the venue when the runner-up is 20,000, the champion (average in final) is phil taylor (109.35)?
CREATE TABLE table_name_86 ( venue VARCHAR, runner_up VARCHAR, champion__average_in_final_ VARCHAR )
SELECT venue FROM table_name_86 WHERE runner_up = "£20,000" AND champion__average_in_final_ = "phil taylor (109.35)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 5669, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 6, 6336, 834, 834, 28951, 834, 77, 834, 12406, 834, 584, 4280, 28027, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 19853, 13922, 121, 3430, 6336, 834, 834, 28951, 834, 77, 834, 12406, 834, 3274, 96, 18118, 3, 17, 9, 63, 322, 41, 17304, 5, 24...
hba1c 6.5 % _ _ 10 %
CREATE TABLE table_train_255 ( "id" int, "ldl_cholesterol" int, "hemoglobin_a1c_hba1c" float, "body_weight" float, "urine_albumin_to_creatinine_ratio_uacr" int, "hba1c" float, "body_mass_index_bmi" float, "triglyceride_tg" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_255 WHERE hba1c >= 6.5 AND hemoglobin_a1c_hba1c <= 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 25502, 41, 96, 23, 26, 121, 16, 17, 6, 96, 40, 26, 40, 834, 14297, 2613, 3491, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 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, 1429, 21680, 953, 834, 9719, 834, 25502, 549, 17444, 427, 3, 107, 115, 9, 536, 75, 2490, 2423, 3, 17255, 3430, 24731, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 3, 2, 2423, 335, 1, -100, -100, -100, ...
Which season had a home 2-3?
CREATE TABLE table_name_2 (season VARCHAR, home VARCHAR)
SELECT season FROM table_name_2 WHERE home = "2-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 9476, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, 141, 3, 9, 234, 10948, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 234, 3274, 96, 357, 3486, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many calories is 1 watt hour?
CREATE TABLE table_78629 ( "joule" text, "watt hour" text, "kilowatt hour" text, "electronvolt" text, "calorie" text )
SELECT "calorie" FROM table_78629 WHERE "watt hour" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3840, 3166, 41, 96, 8921, 109, 121, 1499, 6, 96, 11876, 1781, 121, 1499, 6, 96, 157, 173, 32, 11876, 1781, 121, 1499, 6, 96, 400, 75, 6255, 10897, 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, 22625, 121, 21680, 953, 834, 940, 3840, 3166, 549, 17444, 427, 96, 11876, 1781, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average change to have a land area of 546.74 and a population density greater than 0.5?
CREATE TABLE table_name_51 ( change___percentage_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR )
SELECT AVG(change___percentage_) FROM table_name_51 WHERE land_area__km²_ = 546.74 AND population_density__per_km²_ > 0.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 483, 834, 834, 834, 883, 3728, 545, 834, 3, 21342, 17966, 6, 1322, 834, 498, 834, 834, 5848, 357, 834, 584, 4280, 28027, 6, 2074, 834, 537, 7, 485, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 13073, 834, 834, 834, 883, 3728, 545, 834, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 1322, 834, 498, 834, 834, 5848, 357, 834, 3274, 305, 4448, 5, 4581, 3430, 2074, 834, 537, 7, 485, 8...
On October 17, 1937 what was maximum number or attendants.
CREATE TABLE table_72571 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_72571 WHERE "Date" = 'October 17, 1937'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1828, 4450, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 121, 1499, 6, 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, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 940, 1828, 4450, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 28680, 12864, 27456, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Reigns has 92 days held?
CREATE TABLE table_name_53 (reigns VARCHAR, days_held VARCHAR)
SELECT reigns FROM table_name_53 WHERE days_held = 92
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 60, 3191, 7, 584, 4280, 28027, 6, 477, 834, 14796, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 419, 3191, 7, 65, 3, 4508, 477, 1213, 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, 17367, 7, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 477, 834, 14796, 3274, 3, 4508, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
A bar chart for what are the number of the first names of all students in Smith Hall?
CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER )
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' GROUP BY Fname
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6200, 51, 41, 103, 52, 6983, 3, 21342, 17966, 6, 103, 52, 51, 834, 4350, 584, 4280, 28027, 599, 1755, 201, 1236, 834, 4010, 9, 6726, 3, 21342, 17966, 6, 7285, 584, 4280, 28027, 14296...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 377, 4350, 6, 2847, 17161, 599, 371, 4350, 61, 21680, 6341, 6157, 332, 536, 3, 15355, 3162, 3306, 7, 834, 77, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, 17, 76, 23, 26, 3, 15355, 3...
From which country was Sodje loaned?
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_88 WHERE name = "sodje"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 17529, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1029, 84, 684, 47, 264, 26, 1924, 2289, 15, 26, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 564, 3274, 96, 7, 32, 26, 1924, 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 Region of the Warner Music Canada Label release?
CREATE TABLE table_name_29 ( region VARCHAR, label VARCHAR )
SELECT region FROM table_name_29 WHERE label = "warner music canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 1719, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6163, 13, 8, 20055, 3057, 1894, 16229, 1576, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1719, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 3783, 3274, 96, 2910, 687, 723, 19343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What hand guard system is used with a gas piston commando?
CREATE TABLE table_12834315_5 ( hand_guards VARCHAR, name VARCHAR )
SELECT hand_guards FROM table_12834315_5 WHERE name = "Gas Piston Commando"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4591, 4906, 1808, 834, 755, 41, 609, 834, 11010, 7, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 609, 4879, 358, 19, 261, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 609, 834, 11010, 7, 21680, 953, 834, 2122, 4591, 4906, 1808, 834, 755, 549, 17444, 427, 564, 3274, 96, 517, 9, 7, 2745, 4411, 13901, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the latest year that data is available for?
CREATE TABLE table_25414 ( "Year" real, "Majors" real, "ATP wins" real, "Total wins" real, "Earnings ($)" real, "Money list rank" real )
SELECT MAX("Year") FROM table_25414
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 591, 2534, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 9, 12775, 7, 121, 490, 6, 96, 26758, 9204, 121, 490, 6, 96, 3696, 1947, 9204, 121, 490, 6, 96, 427, 291, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 1828, 591, 2534, 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, ...
Provide the number of patients who were admitted before the year 2146 and had procedure short title as cardiopulm resuscita nos.
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2146" AND procedures.short_title = "Cardiopulm resuscita NOS"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What Entrant older than 1950 has points smaller than 7?
CREATE TABLE table_70206 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Entrant" FROM table_70206 WHERE "Year" > '1950' AND "Points" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 24643, 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, 0, 0...
[ 3, 23143, 14196, 96, 16924, 3569, 121, 21680, 953, 834, 2518, 24643, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 1752, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
How many different cities do have some airport in the country of Greenland?
CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE TABLE airports ( apid number, name text, city text, country text, x number, y number, elevation number, iata text, icao text )
SELECT COUNT(DISTINCT city) FROM airports WHERE country = 'Greenland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19184, 41, 3, 9, 8130, 381, 6, 564, 1499, 6, 3, 17221, 1499, 6, 3, 2617, 32, 1499, 6, 580, 6732, 1499, 6, 684, 1499, 6, 1676, 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, 2847, 17161, 599, 15438, 25424, 6227, 690, 61, 21680, 3761, 7, 549, 17444, 427, 684, 3274, 3, 31, 22918, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give the number of patients under the age of 86 whose religion is unknown.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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.religion = "UNOBTAINABLE" AND demographic.age < "86"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 60, 2825, 23, 106, 3274, 96, 7443, 10539, 382, 13570, 17098, 121, 3430, 14798, 5, 545, 3, 2, 96,...
What were the supersonics record at game 2?
CREATE TABLE table_28768469_5 (record VARCHAR, game VARCHAR)
SELECT record FROM table_28768469_5 WHERE game = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3959, 4608, 3951, 834, 755, 41, 60, 7621, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 1355, 7, 4554, 7, 1368, 44, 467,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 2577, 3959, 4608, 3951, 834, 755, 549, 17444, 427, 467, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What episode has a run time of 25:12?
CREATE TABLE table_name_51 ( episode VARCHAR, run_time VARCHAR )
SELECT episode FROM table_name_51 WHERE run_time = "25:12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 5640, 584, 4280, 28027, 6, 661, 834, 715, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5640, 65, 3, 9, 661, 97, 13, 944, 10, 2122, 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, 5640, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 661, 834, 715, 3274, 96, 1828, 10, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest rank of an athlete from Switzerland in a heat larger than 3?
CREATE TABLE table_name_54 ( rank INTEGER, heat VARCHAR, nationality VARCHAR )
SELECT MAX(rank) FROM table_name_54 WHERE heat > 3 AND nationality = "switzerland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 11003, 3, 21342, 17966, 6, 1678, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 11003, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1678, 2490, 220, 3430, 1157, 485, 3274, 96, 7, 15686, 15, 7721, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many times did franz race with his simca 2.0 l engine ?
CREATE TABLE table_204_864 ( id number, "pos" number, "class" text, "no" number, "team" text, "drivers" text, "chassis" text, "engine" text )
SELECT COUNT(*) FROM table_204_864 WHERE "drivers" = 'franz hummel' AND "engine" = 'roc-simca 2.0l i4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3840, 591, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 381, 6, 96, 4057, 121, 1499, 6, 96, 29, 32, 121, 381, 6, 96, 11650, 121, 1499, 6, 96, 13739, 52, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 3840, 591, 549, 17444, 427, 96, 13739, 52, 7, 121, 3274, 3, 31, 6296, 172, 3, 4884, 2341, 31, 3430, 96, 20165, 121, 3274, 3, 31, 7818, 18, 7, 603, 658, 68...
Which Name had a Rank of 18 Out of a number smaller than 149?
CREATE TABLE table_40572 ( "Name" text, "Rank" real, "Out of" real, "Source" text, "Year" text )
SELECT "Name" FROM table_40572 WHERE "Out of" < '149' AND "Rank" = '18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3436, 357, 41, 96, 23954, 121, 1499, 6, 96, 22557, 121, 490, 6, 96, 15767, 13, 121, 490, 6, 96, 23799, 121, 1499, 6, 96, 476, 2741, 121, 1499, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 2445, 3436, 357, 549, 17444, 427, 96, 15767, 13, 121, 3, 2, 3, 31, 24816, 31, 3430, 96, 22557, 121, 3274, 3, 31, 2606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the unemployment rate for botetourt
CREATE TABLE table_22815568_12 ( unemployment_rate VARCHAR, county VARCHAR )
SELECT unemployment_rate FROM table_22815568_12 WHERE county = "Botetourt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 20896, 3651, 834, 2122, 41, 17646, 834, 2206, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 17646, 1080, 21, 14761, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17646, 834, 2206, 21680, 953, 834, 357, 2577, 20896, 3651, 834, 2122, 549, 17444, 427, 5435, 3274, 96, 26465, 15, 17, 1211, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the first elected for abner j. mikva
CREATE TABLE table_1341672_14 ( first_elected VARCHAR, incumbent VARCHAR )
SELECT first_elected FROM table_1341672_14 WHERE incumbent = "Abner J. Mikva"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 27650, 357, 834, 2534, 41, 166, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 166, 8160, 21, 703, 687, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 19971, 21680, 953, 834, 23747, 27650, 357, 834, 2534, 549, 17444, 427, 28406, 3274, 96, 8952, 687, 446, 5, 21475, 900, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the mean evening gown number when the average is 8.686?
CREATE TABLE table_11397 ( "State" text, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real )
SELECT AVG("Evening Gown") FROM table_11397 WHERE "Average" = '8.686'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 4327, 41, 96, 134, 4748, 121, 1499, 6, 96, 17555, 4576, 121, 490, 6, 96, 134, 210, 603, 7628, 121, 490, 6, 96, 427, 1926, 53, 350, 9197, 121, 490, 6, 96, 188, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 427, 1926, 53, 350, 9197, 8512, 21680, 953, 834, 20522, 4327, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 927, 5, 3651, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients are born before 2049 and followed the procedure insertion of drug-eluting coronary artery stent(s)?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2049" AND procedures.long_title = "Insertion of drug-eluting coronary artery stent(s)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the Team with a Score that is w 101 97 (2ot)?
CREATE TABLE table_40501 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_40501 WHERE "Score" = 'w 101–97 (2ot)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 20176, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 2445, 20176, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 210, 13736, 104, 4327, 4743, 32, 17, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Opponent had a Surface of hard, and a Partner of maria elena camerin?
CREATE TABLE table_name_26 ( opponent VARCHAR, surface VARCHAR, partner VARCHAR )
SELECT opponent FROM table_name_26 WHERE surface = "hard" AND partner = "maria elena camerin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 15264, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4495, 9977, 141, 3, 9, 18884, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 2397, 3274, 96, 17289, 9, 3, 400, 29, 9, 5511, 6655, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many millions of spectator did has the episode whose prod.code was rp#213?
CREATE TABLE table_23117208_3 ( viewers__millions_ VARCHAR, prod_code VARCHAR )
SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 20275, 23946, 834, 519, 41, 13569, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 813, 26, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 13569, 834, 834, 17030, 7, 834, 21680, 953, 834, 2773, 20275, 23946, 834, 519, 549, 17444, 427, 813, 26, 834, 4978, 3274, 96, 6294, 4663, 357, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the D 43 when it has D 46 of d 26
CREATE TABLE table_name_89 ( d_43_√ VARCHAR, d_46_√ VARCHAR )
SELECT d_43_√ FROM table_name_89 WHERE d_46_√ = "d 26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 3, 26, 834, 4906, 834, 2, 584, 4280, 28027, 6, 3, 26, 834, 4448, 834, 2, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 309, 8838, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 26, 834, 4906, 834, 2, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 3, 26, 834, 4448, 834, 2, 3274, 96, 26, 2208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What opponent has a record of 6-9?
CREATE TABLE table_name_27 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_27 WHERE record = "6-9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 15264, 65, 3, 9, 1368, 13, 431, 7141, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1368, 3274, 96, 948, 7141, 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 highest fa cup goals when flt goals is more than 0?
CREATE TABLE table_name_96 ( fa_cup_goals INTEGER, flt_goals INTEGER )
SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 3, 89, 9, 834, 4658, 834, 839, 5405, 3, 21342, 17966, 6, 3, 89, 40, 17, 834, 839, 5405, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 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, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 89, 9, 834, 4658, 834, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3, 89, 40, 17, 834, 839, 5405, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of wickets being yuvraj singh
CREATE TABLE table_72704 ( "Name" text, "Overs Bowled" text, "Maidens" real, "Runs Conceded" real, "Wickets" real, "Extras" real, "E.R." text )
SELECT COUNT("Wickets") FROM table_72704 WHERE "Name" = 'Yuvraj Singh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 2518, 591, 41, 96, 23954, 121, 1499, 6, 96, 23847, 7, 10715, 1361, 121, 1499, 6, 96, 21978, 537, 7, 121, 490, 6, 96, 448, 202, 7, 1193, 565, 221, 26, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 518, 447, 8044, 7, 8512, 21680, 953, 834, 5865, 2518, 591, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 476, 76, 208, 9655, 16738, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show publishers with a book published in 1989 and a book in 1990.
CREATE TABLE book_club ( publisher VARCHAR, YEAR VARCHAR )
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 484, 834, 13442, 41, 14859, 584, 4280, 28027, 6, 30431, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 18902, 28, 3, 9, 484, 1790, 16, 9975, 11, 3, 9, 484, 16, 5541, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14859, 21680, 484, 834, 13442, 549, 17444, 427, 30431, 3274, 9975, 3, 21342, 5249, 14196, 3, 23143, 14196, 14859, 21680, 484, 834, 13442, 549, 17444, 427, 30431, 3274, 5541, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest overall number of hurricanes?
CREATE TABLE table_2930244_3 (number_of_hurricanes INTEGER)
SELECT MIN(number_of_hurricanes) FROM table_2930244_3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 1458, 357, 3628, 834, 519, 41, 5525, 1152, 834, 858, 834, 10666, 2234, 9, 1496, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1879, 381, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 5525, 1152, 834, 858, 834, 10666, 2234, 9, 1496, 61, 21680, 953, 834, 3166, 1458, 357, 3628, 834, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the launched date of the station in cora huichol tepehuano nahuatl language?
CREATE TABLE table_39697 ( "Call sign" text, "Launched" text, "Transmitting from" text, "Coverage" text, "Languages" text, "Frequency" text )
SELECT "Launched" FROM table_39697 WHERE "Languages" = 'cora huichol tepehuano nahuatl'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4314, 4327, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 3612, 202, 4513, 121, 1499, 6, 96, 18474, 1538, 1222, 45, 121, 1499, 6, 96, 254, 1890, 545, 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, 3612, 202, 4513, 121, 21680, 953, 834, 519, 4314, 4327, 549, 17444, 427, 96, 434, 1468, 76, 2568, 121, 3274, 3, 31, 5715, 9, 3, 3464, 14297, 3, 17, 15, 855, 107, 76, 152, 32, 3, 8607, 76, 144, 40, 31, 1, ...
What is the rank of manager Rob Mcdonald?
CREATE TABLE table_1218784_1 ( rank VARCHAR, manager VARCHAR )
SELECT COUNT(rank) FROM table_1218784_1 WHERE manager = "Rob McDonald"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 25828, 4608, 834, 536, 41, 11003, 584, 4280, 28027, 6, 2743, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 2743, 5376, 3038, 26, 9533, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 61, 21680, 953, 834, 2122, 25828, 4608, 834, 536, 549, 17444, 427, 2743, 3274, 96, 24372, 17970, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position does Christian Leibl-Cote play?
CREATE TABLE table_72145 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "Position" FROM table_72145 WHERE "Player" = 'Christian Leibl-Cote'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 20987, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 5865, 20987, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 28412, 312, 23, 115, 40, 18, 3881, 17, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the position of the Racing Organisation Course team?
CREATE TABLE table_67778 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text )
SELECT "Pos." FROM table_67778 WHERE "Team" = 'racing organisation course'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 940, 3940, 41, 96, 476, 2741, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 3881, 18, 20982, 52, 7, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 3612, 102, 7, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 535, 21680, 953, 834, 3708, 940, 3940, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 3738, 53, 5102, 503, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total area of the Arkansas River outlet with a % in-state of a021 100%?
CREATE TABLE table_name_61 ( total_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR )
SELECT total_area FROM table_name_61 WHERE outlet = "arkansas river" AND _percentage_in_state = "a021 100%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 792, 834, 498, 584, 4280, 28027, 6, 12577, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 77, 834, 5540, 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, 792, 834, 498, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 12577, 3274, 96, 6604, 3247, 9, 7, 4033, 121, 3430, 3, 834, 883, 3728, 545, 834, 77, 834, 5540, 3274, 96, 9, 632, 2658, 2349, 121, 1, -100, -100, ...
Count the number of markets that have a number of cities lower than 300.
CREATE TABLE film_market_estimation ( estimation_id number, low_estimate number, high_estimate number, film_id number, type text, market_id number, year number ) CREATE TABLE film ( film_id number, title text, studio text, director text, gross_in_dollar number ) CREATE TABLE market ( market_id number, country text, number_cities number )
SELECT COUNT(*) FROM market WHERE number_cities < 300
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 834, 8809, 834, 3340, 51, 257, 41, 22781, 834, 23, 26, 381, 6, 731, 834, 3340, 5058, 381, 6, 306, 834, 3340, 5058, 381, 6, 814, 834, 23, 26, 381, 6, 686, 1499, 6, 512, 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, 2847, 17161, 599, 1935, 61, 21680, 512, 549, 17444, 427, 381, 834, 75, 2197, 3, 2, 3147, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the 2006 with 2003 of a and 2012 of a
CREATE TABLE table_name_1 (Id VARCHAR)
SELECT 2006 FROM table_name_1 WHERE 2003 = "a" AND 2012 = "a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3581, 28, 3888, 13, 3, 9, 11, 1673, 13, 3, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3581, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 3888, 3274, 96, 9, 121, 3430, 1673, 3274, 96, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Place has a Player of lee trevino?
CREATE TABLE table_9564 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Place" FROM table_9564 WHERE "Player" = 'lee trevino'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3301, 4389, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, 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, 3301, 4389, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 109, 15, 3, 929, 2494, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many rebounds have a Player of herb estes?
CREATE TABLE table_48226 ( "Rank" real, "Player" text, "Years" text, "Games" real, "Reb. Avg." real, "Total Rebounds" real )
SELECT COUNT("Total Rebounds") FROM table_48226 WHERE "Player" = 'herb estes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 357, 2688, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 1649, 115, 5, 71, 208, 122, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3696, 1947, 419, 6115, 7, 8512, 21680, 953, 834, 3707, 357, 2688, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 760, 115, 249, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.
CREATE TABLE problem_log (assigned_to_staff_id VARCHAR, problem_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)
SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 682, 834, 2152, 41, 9, 7, 15532, 834, 235, 834, 26416, 834, 23, 26, 584, 4280, 28027, 6, 682, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 871, 834, 14672, 834, 4350, 6, 871, 834, 5064, 834, 4350, 21680, 871, 6157, 332, 536, 3, 15355, 3162, 682, 834, 2152, 6157, 332, 357, 9191, 332, 5411, 26416, 834, 23, 26, 3274, 332, 4416, 9, ...
Which competition did the toronto city saints win?
CREATE TABLE table_25735_1 ( competition VARCHAR, winner VARCHAR )
SELECT competition FROM table_25735_1 WHERE winner = "Toronto City Saints"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3436, 2469, 834, 536, 41, 2259, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2259, 410, 8, 12, 4438, 32, 690, 15528, 7, 136...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 3436, 2469, 834, 536, 549, 17444, 427, 4668, 3274, 96, 3696, 4438, 32, 896, 2788, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the nationality of the player from Vancouver Canucks?
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)
SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2368, 22174, 834, 519, 41, 16557, 485, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1157, 485, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 1714, 2368, 22174, 834, 519, 549, 17444, 427, 3, 29, 107, 40, 834, 11650, 3274, 96, 553, 152, 3422, 624, 1072, 4636, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many age figures for the player fired in week 6?
CREATE TABLE table_24501530_1 ( age VARCHAR, result VARCHAR )
SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 20176, 26918, 834, 536, 41, 1246, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1246, 5638, 21, 8, 1959, 12744, 16, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 545, 61, 21680, 953, 834, 2266, 20176, 26918, 834, 536, 549, 17444, 427, 741, 3274, 96, 3183, 1271, 16, 471, 431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country was the film made in that was made after 2011?
CREATE TABLE table_name_10 ( country VARCHAR, year INTEGER )
SELECT country FROM table_name_10 WHERE year > 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 684, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 47, 8, 814, 263, 16, 24, 47, 263, 227, 2722, 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, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 215, 2490, 2722, 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,...
Name the opponent for 9 november 1991
CREATE TABLE table_37066 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real )
SELECT "Opponent" FROM table_37066 WHERE "Date" = '9 november 1991'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 3539, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 22520, 3539, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1298, 3, 5326, 18247, 9957, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Failures larger than 0, and a Successes of 1 has what lowest partial failures?
CREATE TABLE table_name_64 ( partial_failures INTEGER, failures VARCHAR, successes VARCHAR )
SELECT MIN(partial_failures) FROM table_name_64 WHERE failures > 0 AND successes = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 11807, 834, 89, 9, 173, 7665, 3, 21342, 17966, 6, 3338, 7, 584, 4280, 28027, 6, 21231, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 25629, 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, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1893, 10646, 834, 89, 9, 173, 7665, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 3338, 7, 2490, 3, 632, 3430, 21231, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was eliminated from the competition when pau proceed to the quarter final?
CREATE TABLE table_3969 ( "Proceed to Quarter-final" text, "Match points" text, "Aggregate score" text, "Points margin" real, "Eliminated from competition" text )
SELECT "Eliminated from competition" FROM table_3969 WHERE "Proceed to Quarter-final" = 'Pau'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 3951, 41, 96, 3174, 75, 6958, 12, 17610, 18, 12406, 121, 1499, 6, 96, 329, 14547, 979, 121, 1499, 6, 96, 188, 122, 18301, 342, 2604, 121, 1499, 6, 96, 22512, 7, 634...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 4941, 77, 920, 45, 2259, 121, 21680, 953, 834, 3288, 3951, 549, 17444, 427, 96, 3174, 75, 6958, 12, 17610, 18, 12406, 121, 3274, 3, 31, 345, 402, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose religion is greek orthodox and diagnoses long title is physical restraints status?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "GREEK ORTHODOX" AND diagnoses.long_title = "Physical restraints status"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the Atlantic Europe when age is 10,000 years?
CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, age__before_ VARCHAR)
SELECT atlantic_europe FROM table_22860_1 WHERE age__before_ = "10,000 years"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 3328, 834, 536, 41, 31767, 834, 28188, 584, 4280, 28027, 6, 1246, 834, 834, 26116, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9640, 1740...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 31767, 834, 28188, 21680, 953, 834, 357, 2577, 3328, 834, 536, 549, 17444, 427, 1246, 834, 834, 26116, 834, 3274, 96, 29573, 203, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Return the name of the heaviest entrepreneur.
CREATE TABLE entrepreneur ( entrepreneur_id number, people_id number, company text, money_requested number, investor text ) CREATE TABLE people ( people_id number, name text, height number, weight number, date_of_birth text )
SELECT T2.name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id ORDER BY T2.weight DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 3, 12290, 834, 23, 26, 381, 6, 151, 834, 23, 26, 381, 6, 349, 1499, 6, 540, 834, 60, 835, 6265, 381, 6, 12024, 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, 332, 4416, 4350, 21680, 3, 12290, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 16588, 834, 23, 26, 3274, 332, 4416, 16588, 834, 23, 26, 4674, 11300, 272, 476, 332, 4416, 9378, 309, 25067, 87...
When alvin and the chipmunks meet frankenstein, what was the role?
CREATE TABLE table_name_99 ( role VARCHAR, title VARCHAR )
SELECT role FROM table_name_99 WHERE title = "alvin and the chipmunks meet frankenstein"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 1075, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 491, 2494, 11, 8, 6591, 51, 6513, 7, 942, 3, 89, 6254, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1075, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 2233, 3274, 96, 138, 2494, 11, 8, 6591, 51, 6513, 7, 942, 3, 89, 6254, 20207, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which barony contains a townland with an area 24 acres?
CREATE TABLE table_4286 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text )
SELECT "Barony" FROM table_4286 WHERE "Area( acres )" = '24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 3840, 41, 96, 382, 9197, 40, 232, 121, 1499, 6, 96, 188, 864, 599, 9704, 3, 61, 121, 490, 6, 96, 14851, 106, 63, 121, 1499, 6, 96, 254, 23, 6372, 14961, 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, 14851, 106, 63, 121, 21680, 953, 834, 4165, 3840, 549, 17444, 427, 96, 188, 864, 599, 9704, 3, 61, 121, 3274, 3, 31, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Tie no when the Home team was Ramsgate?
CREATE TABLE table_name_20 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_20 WHERE home_team = "ramsgate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 17, 23, 15, 834, 29, 32, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2262, 15, 150, 116, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6177, 834, 29, 32, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2375, 7, 5339, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time for 18 laps and 5 grids?
CREATE TABLE table_name_52 (time VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time FROM table_name_52 WHERE laps = 18 AND grid = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 715, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 21, 507, 14941, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 14941, 7, 3274, 507, 3430, 8634, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
in how many years was the finish 7th ?
CREATE TABLE table_204_939 ( id number, "year" number, "chassis" text, "engine" text, "start" text, "finish" text )
SELECT COUNT("year") FROM table_204_939 WHERE "finish" = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 1298, 3288, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 524, 6500, 7, 121, 1499, 6, 96, 20165, 121, 1499, 6, 96, 10208, 121, 1499, 6, 96, 25535, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 1298, 3288, 549, 17444, 427, 96, 25535, 121, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?
CREATE TABLE table_name_54 ( _number_of_prefectural_votes VARCHAR, _number_of_seats_won VARCHAR, leader VARCHAR )
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_54 WHERE _number_of_seats_won > 69 AND leader = "yasuhiro nakasone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 3, 834, 5525, 1152, 834, 858, 834, 2026, 4075, 9709, 834, 1621, 1422, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 834, 858, 834, 7, 1544, 7, 834, 210, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 834, 5525, 1152, 834, 858, 834, 2026, 4075, 9709, 834, 1621, 1422, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 3, 834, 5525, 1152, 834, 858, 834, 7, 1544, 7, 834, 210, 106, 2490, 3, 39...
If team two is Lan s, what was the total number of points?
CREATE TABLE table_21071 ( "Team #1" text, "Points" text, "Team #2" text, "1st leg" text, "2nd leg" text )
SELECT COUNT("Points") FROM table_21071 WHERE "Team #2" = 'Lanús'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 4450, 41, 96, 18699, 7172, 121, 1499, 6, 96, 22512, 7, 121, 1499, 6, 96, 18699, 15493, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 15239, 4450, 549, 17444, 427, 96, 18699, 15493, 121, 3274, 3, 31, 434, 152, 2, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What event had the opponent Ryan Bow?
CREATE TABLE table_name_89 ( event VARCHAR, opponent VARCHAR )
SELECT event FROM table_name_89 WHERE opponent = "ryan bow"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 605, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 141, 8, 15264, 7826, 10715, 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, 605, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 15264, 3274, 96, 651, 152, 12543, 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 percent of republicans with 7/6 democrat/republican?
CREATE TABLE table_52942 ( "State ranked in partisan order" text, "Percentage Democrats" text, "Percentage Republicans" text, "Democratic/ Republican" text, "Democratic seat plurality" text )
SELECT "Percentage Republicans" FROM table_52942 WHERE "Democratic/ Republican" = '7/6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 4240, 357, 41, 96, 134, 4748, 3, 8232, 16, 3, 18237, 455, 121, 1499, 6, 96, 12988, 3728, 545, 11882, 121, 1499, 6, 96, 12988, 3728, 545, 15623, 121, 1499, 6, 96, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12988, 3728, 545, 15623, 121, 21680, 953, 834, 5373, 4240, 357, 549, 17444, 427, 96, 19679, 447, 87, 8994, 121, 3274, 3, 31, 940, 18656, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What year is the death for a birth of 1873 and higher than rank 28?
CREATE TABLE table_name_74 (death VARCHAR, birth VARCHAR, rank VARCHAR)
SELECT death FROM table_name_74 WHERE birth = 1873 AND rank > 28
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 221, 9, 189, 584, 4280, 28027, 6, 3879, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 19, 8, 1687, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1687, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 3879, 3274, 507, 4552, 3430, 11003, 2490, 2059, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the score from the 21-27 Record?
CREATE TABLE table_name_96 ( score VARCHAR, record VARCHAR )
SELECT score FROM table_name_96 WHERE record = "21-27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 2604, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 45, 8, 1401, 18, 2555, 11392, 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, 2604, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1368, 3274, 96, 2658, 18, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which category was Dev Patel nominated for?
CREATE TABLE table_name_61 ( category VARCHAR, winner_nominee_s_ VARCHAR )
SELECT category FROM table_name_61 WHERE winner_nominee_s_ = "dev patel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 3295, 584, 4280, 28027, 6, 4668, 834, 3114, 630, 15, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3295, 47, 374, 208, 270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3295, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 4668, 834, 3114, 630, 15, 834, 7, 834, 3274, 96, 9776, 2576, 1625, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the opponent for december 8
CREATE TABLE table_17924362_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_17924362_1 WHERE date = "December 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 27730, 4056, 834, 536, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 15264, 21, 20, 75, 18247, 505, 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, 15264, 21680, 953, 834, 26593, 27730, 4056, 834, 536, 549, 17444, 427, 833, 3274, 96, 29835, 505, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What circuit has qualifying as the session?
CREATE TABLE table_48642 ( "Discipline" text, "Circuit" text, "Event" text, "Session" text, "Cause" text )
SELECT "Circuit" FROM table_48642 WHERE "Session" = 'qualifying'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 4389, 357, 41, 96, 15683, 23, 10574, 15, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 134, 15, 7, 1938, 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, 254, 23, 52, 21560, 121, 21680, 953, 834, 3707, 4389, 357, 549, 17444, 427, 96, 134, 15, 7, 1938, 121, 3274, 3, 31, 11433, 8587, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose days of hospital stay is greater than 16 and procedure long title is continuous intra-arterial blood gas monitoring?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "16" AND procedures.long_title = "Continuous intra-arterial blood gas monitoring"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Show the number of debates for each person on the affirmative side in a bar chart, I want to list y-axis in ascending order.
CREATE TABLE debate ( Debate_ID int, Date text, Venue text, Num_of_Audience int ) CREATE TABLE people ( People_ID int, District text, Name text, Party text, Age int ) CREATE TABLE debate_people ( Debate_ID int, Affirmative int, Negative int, If_Affirmative_Win bool )
SELECT Name, COUNT(Name) FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID GROUP BY Name ORDER BY COUNT(Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5054, 41, 9794, 342, 834, 4309, 16, 17, 6, 7678, 1499, 6, 29940, 1499, 6, 1174, 51, 834, 858, 834, 188, 5291, 1433, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 5054, 834, 16588, 6157, 332, 536, 3, 15355, 3162, 5054, 6157, 332, 357, 9191, 332, 5411, 2962, 3697, 15, 834, 4309, 3274, 332, 4416, 2962, 3697, 15, 834, 4309, 3, 15355, ...
When west indes was a holder at the end of the series for the 1991 season with an england greater than 1, what is the smallest west indies?
CREATE TABLE table_name_92 (west_indies INTEGER, season VARCHAR, holder_at_the_end_of_the_series VARCHAR, england VARCHAR)
SELECT MIN(west_indies) FROM table_name_92 WHERE holder_at_the_end_of_the_series = "west indies" AND england > 1 AND season = "1991"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 12425, 834, 77, 7719, 3, 21342, 17966, 6, 774, 584, 4280, 28027, 6, 3, 5235, 834, 144, 834, 532, 834, 989, 834, 858, 834, 532, 834, 10833, 7, 584, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12425, 834, 77, 7719, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 3, 5235, 834, 144, 834, 532, 834, 989, 834, 858, 834, 532, 834, 10833, 7, 3274, 96, 12425, 16, 7719, 121, 3430, 3, 4606, ...
What is the lowest attendance when footscray is the away team?
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 75, 3623, 26, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 11364, 116, 2418, 7, 2935, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 550, 834, 11650, 3274, 96, 6259, 7, 2935, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In Week 7, what is the highest attendance number?
CREATE TABLE table_43426 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_43426 WHERE "Week" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3710, 2688, 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, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 591, 3710, 2688, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many song title with artbeingt being chubby checker
CREATE TABLE table_13789248_2 ( song_title VARCHAR, artist VARCHAR )
SELECT COUNT(song_title) FROM table_13789248_2 WHERE artist = "Chubby Checker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3940, 4508, 3707, 834, 357, 41, 2324, 834, 21869, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 2324, 2233, 28, 768, 9032...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 2444, 834, 21869, 61, 21680, 953, 834, 2368, 3940, 4508, 3707, 834, 357, 549, 17444, 427, 2377, 3274, 96, 254, 16420, 969, 1972, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the to par for score of 74-74-74-71=293
CREATE TABLE table_name_64 ( to_par VARCHAR, score VARCHAR )
SELECT to_par FROM table_name_64 WHERE score = 74 - 74 - 74 - 71 = 293
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 12, 260, 21, 2604, 13, 3, 4581, 18, 4581, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 2604, 3274, 3, 4581, 3, 18, 3, 4581, 3, 18, 3, 4581, 3, 18, 3, 4450, 3274, 204, 4271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Peković, and when Rank is less than 4?
CREATE TABLE table_name_26 (games INTEGER, rank VARCHAR, rebounds VARCHAR, name VARCHAR)
SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 7261, 7, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 3, 23768, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7261, 7, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 3, 23768, 2490, 910, 3430, 564, 3274, 96, 4953, 32, 521, 158, 9789, 23, 2, 121, 3430, 11003, 3, 2, 314, 1, -100, -100, -100, -100, -1...
What is the Tie Number when Barnsley was the away team?
CREATE TABLE table_47603 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Tie no" FROM table_47603 WHERE "Away team" = 'barnsley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 3328, 519, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 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, 382, 23, 15, 150, 121, 21680, 953, 834, 4177, 3328, 519, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 1047, 29, 8887, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Home Team of the game against Seattle on June 1?
CREATE TABLE table_name_7 ( home_team VARCHAR, road_team VARCHAR, date VARCHAR )
SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 234, 834, 11650, 584, 4280, 28027, 6, 1373, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1373, 834, 11650, 3274, 96, 7, 15, 9, 8692, 121, 3430, 833, 3274, 96, 6959, 15, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For all employees who have the letters D or S in their first name, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id, I want to show by the Y in desc.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, ...
WHAT IS THE NATIONALITY FOR SOUTHWESTERN OKLAHOMA?
CREATE TABLE table_name_53 (nationality VARCHAR, college VARCHAR)
SELECT nationality FROM table_name_53 WHERE college = "southwestern oklahoma"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 16557, 485, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 3, 25271, 27342, 15296, 5652, 180, 9744, 566...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1900, 3274, 96, 7, 31380, 3, 32, 8142, 10207, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the player for pick number less than 29 and mls team of chicago fire
CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)
SELECT player FROM table_name_97 WHERE pick__number < 29 AND mls_team = "chicago fire"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 20846, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 3, 51, 40, 7, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3, 2, 2838, 3430, 3, 51, 40, 7, 834, 11650, 3274, 96, 1436, 658, 839, 1472, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Name the joined for blue hose
CREATE TABLE table_16168849_1 ( joined VARCHAR, nickname VARCHAR )
SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2938, 4060, 3647, 834, 536, 41, 3311, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3311, 21, 1692, 3, 9672, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3311, 21680, 953, 834, 2938, 2938, 4060, 3647, 834, 536, 549, 17444, 427, 24649, 3274, 96, 22530, 25462, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the original air date of the episode written by Karen Felix and Don Woodard?
CREATE TABLE table_72210 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Original air date" FROM table_72210 WHERE "Written by" = 'Karen Felix and Don Woodard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 15239, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 5865, 15239, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 439, 9, 1536, 23354, 11, 1008, 2985, 986, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has?
CREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 14910, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 792, 3, 2, 204, 3430, 11003, 3274, 1003, 3430, 4294, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose gender is f and drug type is main?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the high total for players with over 15 solo tackles?
CREATE TABLE table_72059 ( "Player" text, "Solo" real, "Total" real, "Sacks" text, "Fumble force" real, "Fumble rec" real )
SELECT MAX("Total") FROM table_72059 WHERE "Solo" > '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18517, 3390, 41, 96, 15800, 49, 121, 1499, 6, 96, 5231, 40, 32, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 134, 4365, 7, 121, 1499, 6, 96, 371, 13514, 2054, 121, 490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 18517, 3390, 549, 17444, 427, 96, 5231, 40, 32, 121, 2490, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the average of employee_id , and group by attribute job_id, show by the names in asc.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, ...
What date were Romania at Home at the Bucharest Venue with a Score of 13-19?
CREATE TABLE table_7706 ( "Year" real, "Date" text, "Home" text, "Score" text, "Away" text, "Venue" text )
SELECT "Date" FROM table_7706 WHERE "Home" = 'romania' AND "Venue" = 'bucharest' AND "Score" = '13-19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 5176, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4013, 5176, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 3522, 11219, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5671, 9, 6216, 31, 3430, 96, 134, 9022, 121, 3274, 3, ...
which game had the least number of people in attendance ?
CREATE TABLE table_204_146 ( id number, "tie" number, "home team" text, "score" text, "away team" text, "attendance" number )
SELECT "home team" FROM table_204_146 ORDER BY "attendance" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 24300, 41, 3, 23, 26, 381, 6, 96, 17, 23, 15, 121, 381, 6, 96, 5515, 372, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 8006, 372, 121, 1499, 6, 96, 15116,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5515, 372, 121, 21680, 953, 834, 26363, 834, 24300, 4674, 11300, 272, 476, 96, 15116, 663, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was 11-8 the record?
CREATE TABLE table_63775 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_63775 WHERE "Record" = '11-8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 940, 3072, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 22497, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 940, 3072, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2596, 6039, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Author's Company is Ruth Kanner Theatre Group?
CREATE TABLE table_62968 ( "play" text, "author" text, "company" text, "base" text, "country" text )
SELECT "author" FROM table_62968 WHERE "company" = 'ruth kanner theatre group'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3166, 3651, 41, 96, 4895, 121, 1499, 6, 96, 17415, 121, 1499, 6, 96, 29179, 121, 1499, 6, 96, 10925, 121, 1499, 6, 96, 17529, 121, 1499, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 17415, 121, 21680, 953, 834, 948, 3166, 3651, 549, 17444, 427, 96, 29179, 121, 3274, 3, 31, 6830, 107, 675, 49, 8516, 563, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which date has roma as opponent and a H/A of A?
CREATE TABLE table_77652 ( "Date" text, "Round" text, "Opponents" text, "H / A" text, "Result F\u2013A" text, "Attendance" real )
SELECT "Date" FROM table_77652 WHERE "Opponents" = 'roma' AND "H / A" = 'a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 4122, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, 96, 566, 3, 87, 71, 121, 1499, 6, 96, 20119, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4013, 4122, 357, 549, 17444, 427, 96, 667, 102, 9977, 7, 121, 3274, 3, 31, 3522, 9, 31, 3430, 96, 566, 3, 87, 71, 121, 3274, 3, 31, 9, 31, 1, -100, -100, -100, -100, -100, ...