NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Name the BUSHI that has kaz hayashi of kai (14:01)
CREATE TABLE table_name_50 (bushi VARCHAR, kaz_hayashi VARCHAR)
SELECT bushi FROM table_name_50 WHERE kaz_hayashi = "kai (14:01)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 3007, 5605, 584, 4280, 28027, 6, 3, 1258, 172, 834, 12687, 17155, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 272, 3063, 7094, 24, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17907, 23, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3, 1258, 172, 834, 12687, 17155, 3274, 96, 1258, 23, 41, 2534, 10, 4542, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average year that the medical school in dominican republic was established?
CREATE TABLE table_63244 ( "Country/Territory" text, "Established" real, "Degree" text, "Regional/Offshore" text, "IMED/Avicenna Listed" text )
SELECT AVG("Established") FROM table_63244 WHERE "Country/Territory" = 'dominican republic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 357, 3628, 41, 96, 10628, 651, 87, 382, 21301, 10972, 121, 1499, 6, 96, 14997, 15403, 11904, 121, 490, 6, 96, 2962, 3584, 15, 121, 1499, 6, 96, 17748, 6318, 87, 21265...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14997, 15403, 11904, 8512, 21680, 953, 834, 3891, 357, 3628, 549, 17444, 427, 96, 10628, 651, 87, 382, 21301, 10972, 121, 3274, 3, 31, 26, 32, 7619, 1608, 20237, 31, 1, -100, -100, -100, -100, -...
Draw a bar chart about the distribution of Sex and the average of Height , and group by attribute Sex, and display in ascending by the Y.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, AVG(Height) FROM people GROUP BY Sex ORDER BY AVG(Height)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 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, 679, 226, 6, 71, 17217, 599, 3845, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 71, 17217, 599, 3845, 2632, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Score has an Opponent of nina bratchikova?
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_58 WHERE opponent = "nina bratchikova"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 17763, 65, 46, 4495, 9977, 13, 3, 29, 77, 9, 3858, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 15264, 3274, 96, 29, 77, 9, 3858, 17, 1436, 9789, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the electoral district when total candidates were 35?
CREATE TABLE table_2676980_4 ( electoral_district VARCHAR, total_candidates VARCHAR )
SELECT electoral_district FROM table_2676980_4 WHERE total_candidates = 35
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 3951, 2079, 834, 591, 41, 16289, 834, 26, 23, 20066, 584, 4280, 28027, 6, 792, 834, 1608, 12416, 6203, 584, 4280, 28027, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16289, 834, 26, 23, 20066, 21680, 953, 834, 357, 3708, 3951, 2079, 834, 591, 549, 17444, 427, 792, 834, 1608, 12416, 6203, 3274, 3097, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For each film, return the number of cinemas showing that fim in a bar chart, could you rank by the Title in asc?
CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float )
SELECT Title, COUNT(Title) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Title ORDER BY Title
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10276, 41, 17544, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2384, 29, 53, 834, 1201, 16, 17, 6, 4000, 9, 6726, 16, 17, 6, 10450, 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, 11029, 6, 2847, 17161, 599, 382, 155, 109, 61, 21680, 2023, 6157, 332, 536, 3, 15355, 3162, 814, 6157, 332, 357, 9191, 332, 5411, 371, 173, 51, 834, 4309, 3274, 332, 4416, 371, 173, 51, 834, 4309, 3, 15355, 3162, ...
Where does Collingwood play their games?
CREATE TABLE table_55869 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_55869 WHERE "Away team" = 'collingwood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3449, 3951, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 755, 3449, 3951, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 3297, 697, 2037, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the home team when Burnley were the away team?
CREATE TABLE table_17736890_5 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_17736890_5 WHERE away_team = "Burnley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4552, 3651, 2394, 834, 755, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 2517, 4552, 3651, 2394, 834, 755, 549, 17444, 427, 550, 834, 11650, 3274, 96, 279, 450, 29, 1306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
the subject has a recent history ( within 2 years ) of alcohol or substance abuse / dependence.
CREATE TABLE table_train_137 ( "id" int, "hbv" bool, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "substance_dependence" bool, "hcv" bool, "schizophrenia" bool, "neutrophil_count" int, "renal_disease" bool, "creatinine_clearance_cl" float, "platelet_count" float, "diastolic_greater_than" int, "pulse_rate" int, "bipolar_disorder" bool, "delusional_disorder" bool, "serum_creatinine" float, "alcohol_abuse" bool, "primary_psychotic_disorder" bool, "bilirubin" float, "schizoaffective_disorder" bool, "NOUSE" float )
SELECT * FROM table_train_137 WHERE alcohol_abuse = 1 OR substance_dependence = 1 OR substance_dependence = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 24636, 41, 96, 23, 26, 121, 16, 17, 6, 96, 107, 115, 208, 121, 3, 12840, 40, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 24636, 549, 17444, 427, 4798, 834, 9, 3465, 15, 3274, 209, 4674, 8096, 834, 18790, 1433, 3274, 209, 4674, 8096, 834, 18790, 1433, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -10...
Who are the candidates in Florida 13 district?
CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 26918, 4440, 834, 2122, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 8, 4341, 16, 2599, 1179, 3939, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4341, 21680, 953, 834, 27181, 26918, 4440, 834, 2122, 549, 17444, 427, 3939, 3274, 96, 11251, 4055, 9, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the away team when North Melbourne was the home team?
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_17 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 116, 1117, 9396, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the average attendance when the opponents are dundalk?
CREATE TABLE table_name_85 ( attendance INTEGER, opponents VARCHAR )
SELECT AVG(attendance) FROM table_name_85 WHERE opponents = "dundalk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 11364, 3, 21342, 17966, 6, 16383, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1348, 11364, 116, 8, 16383, 33, 146, 727, 138,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 16383, 3274, 96, 26, 1106, 138, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the home team in the match with an away team of Millwall?
CREATE TABLE table_47392 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_47392 WHERE "Away team" = 'millwall'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 3288, 357, 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, 19040, 372, 121, 21680, 953, 834, 4177, 3288, 357, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 12415, 10279, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients are with hypertension; rule out coronary artery disease\cardiac cath?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 15761, 8742, 17779, 134, 9215, 117, 8503, 3765, 3, 9744, 2847, 13044, ...
the capacity of a timberline lodge lift is at most how many rides per hour ?
CREATE TABLE table_204_907 ( id number, "lift name" text, "type" text, "top\nelevation\n(ft)" number, "bottom\nelevation" number, "vertical\nrise" number, "length\n(ft)" number, "slope\n(%)" text, "capacity\n(rides/hr)" number, "speed\n(ft/min)" number, "lift\nmanufacturer" text, "year\ninstalled" number )
SELECT MAX("capacity\n(rides/hr)") FROM table_204_907
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2394, 940, 41, 3, 23, 26, 381, 6, 96, 9253, 564, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 2916, 2, 29, 15, 10912, 257, 2, 29, 599, 89, 17, 61, 121, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 4010, 9, 6726, 2, 29, 599, 52, 9361, 87, 107, 52, 61, 8512, 21680, 953, 834, 26363, 834, 2394, 940, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many other goals did Dunne have in the season where he had 1 league goal?
CREATE TABLE table_31358 ( "Season" text, "Division" text, "League Apps" real, "League Goals" real, "FA Cup Apps" real, "FA Cup Goals" real, "Other Apps" real, "Other Goals" real, "Total Apps" real, "Total Goals" real )
SELECT "Other Goals" FROM table_31358 WHERE "League Goals" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 3449, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 2796, 9, 5398, 2276, 7, 121, 490, 6, 96, 2796, 9, 5398, 17916, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 189, 49, 17916, 7, 121, 21680, 953, 834, 519, 2368, 3449, 549, 17444, 427, 96, 2796, 9, 5398, 17916, 7, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
japan earned only 1 bronze metal in boxing during the 1960 olympics . how many other countries earned the exact same metal count as japan ?
CREATE TABLE table_203_496 ( id number, "pos" number, "country" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT COUNT("country") FROM table_203_496 WHERE "country" <> 'japan' AND "bronze" = 1 AND "total" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 4314, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 381, 6, 96, 17529, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 17529, 8512, 21680, 953, 834, 23330, 834, 591, 4314, 549, 17444, 427, 96, 17529, 121, 3, 2, 3155, 3, 31, 1191, 2837, 31, 3430, 96, 13711, 776, 121, 3274, 209, 3430, 96, 235, 1947, 121, 3274, ...
Name the Winning constructor on 31 may and a Circuit of madonie?
CREATE TABLE table_name_96 (winning_constructor VARCHAR, date VARCHAR, circuit VARCHAR)
SELECT winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 8163, 834, 15982, 5317, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 549, 10503, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 15982, 5317, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 833, 3274, 96, 3341, 164, 121, 3430, 4558, 3274, 96, 11374, 106, 23, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are all the overall with viewers (m) being 2.61
CREATE TABLE table_13110459_2 (overall VARCHAR, viewers__m_ VARCHAR)
SELECT overall FROM table_13110459_2 WHERE viewers__m_ = "2.61"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22048, 15442, 3390, 834, 357, 41, 1890, 1748, 584, 4280, 28027, 6, 13569, 834, 834, 51, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 33, 66, 8, 1879, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1879, 21680, 953, 834, 22048, 15442, 3390, 834, 357, 549, 17444, 427, 13569, 834, 834, 51, 834, 3274, 96, 22724, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find Nationality and the average of meter_100 , and group by attribute Nationality, and visualize them by a bar chart, and display in descending by the Y-axis.
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 swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int )
SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality ORDER BY AVG(meter_100) 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, 868, 485, 6, 71, 17217, 599, 4401, 834, 2915, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 71, 17217, 599, 4401, 834, 2915, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -10...
what is the difference in years between his last role and his first role ?
CREATE TABLE table_204_707 ( id number, "year" number, "english title" text, "chinese title" text, "director" text, "role" text )
SELECT MAX("year") - MIN("year") FROM table_204_707
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2518, 940, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 4606, 40, 1273, 2233, 121, 1499, 6, 96, 1436, 1496, 15, 2233, 121, 1499, 6, 96, 25982, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1201, 8512, 3, 18, 3, 17684, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 2518, 940, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score on April 8?
CREATE TABLE table_name_39 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_39 WHERE date = "april 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 1186, 505, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 505, 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 geo code of the township with ANSI code 1759243?
CREATE TABLE table_18600760_9 (geo_id VARCHAR, ansi_code VARCHAR)
SELECT geo_id FROM table_18600760_9 WHERE ansi_code = 1759243
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24700, 4560, 3328, 834, 1298, 41, 397, 32, 834, 23, 26, 584, 4280, 28027, 6, 46, 7, 23, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9502, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9502, 834, 23, 26, 21680, 953, 834, 24700, 4560, 3328, 834, 1298, 549, 17444, 427, 46, 7, 23, 834, 4978, 3274, 1003, 3390, 27730, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what patient 035-4312's age is on this hospital encounter?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT patient.age FROM patient WHERE patient.uniquepid = '035-4312' AND patient.hospitaldischargetime IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 545, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2469, 18, 4906, 2122, 31, 3430, 1868, 5, 31386, 26, 159, 7993, 715, 6827, 13046, 10376, 1, -100, -100, -100, -100, -100, -100,...
What is the most points when the won is 9?
CREATE TABLE table_13018116_1 ( pts_for INTEGER, won VARCHAR )
SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 2606, 20159, 834, 536, 41, 3, 102, 17, 7, 834, 1161, 3, 21342, 17966, 6, 751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 979, 116, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 102, 17, 7, 834, 1161, 61, 21680, 953, 834, 21448, 2606, 20159, 834, 536, 549, 17444, 427, 751, 3274, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show me about the distribution of Sex and the sum of Height , and group by attribute Sex in a bar chart, show sum height in descending order.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, SUM(Height) FROM people GROUP BY Sex ORDER BY SUM(Height) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 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, 679, 226, 6, 180, 6122, 599, 3845, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 180, 6122, 599, 3845, 2632, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the first name and last name employee helps the customer with first name Leonie?
CREATE TABLE EMPLOYEE ( FirstName VARCHAR, LastName VARCHAR, EmployeeId VARCHAR ) CREATE TABLE CUSTOMER ( SupportRepId VARCHAR, FirstName VARCHAR )
SELECT T2.FirstName, T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 5244, 5017, 476, 5080, 41, 1485, 23954, 584, 4280, 28027, 6, 2506, 23954, 584, 4280, 28027, 6, 15871, 196, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25171, 23954, 6, 332, 4416, 3612, 7, 17, 23954, 21680, 205, 16847, 667, 13098, 6157, 332, 536, 3, 15355, 3162, 262, 5244, 5017, 476, 5080, 6157, 332, 357, 9191, 332, 5411, 134, 413, 1493, 1649, 102, 196, ...
How many papers does Andrew King have ?
CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar )
SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'Andrew King' AND writes.authorid = author.authorid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 6757, 2244, 41, 1040, 23, 26, 16, 17, 6, 17953, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17953, 41, 17953, 23, 26, 16, 17, 6, 17953, 4350, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 15438, 25424, 6227, 11858, 5, 19587, 23, 26, 61, 21680, 2291, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 7175, 60, 210, 2671, 31, 3430, 11858, 5, 17415, 23...
What was the number of others votes in Columbia county?
CREATE TABLE table_20693870_1 ( others_number INTEGER, county VARCHAR )
SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3951, 3747, 2518, 834, 536, 41, 717, 834, 5525, 1152, 3, 21342, 17966, 6, 5435, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 381, 13, 717, 1183...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 9269, 7, 834, 5525, 1152, 61, 21680, 953, 834, 1755, 3951, 3747, 2518, 834, 536, 549, 17444, 427, 5435, 3274, 96, 9939, 5937, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show all allergy types.
CREATE TABLE Allergy_type (allergytype VARCHAR)
SELECT DISTINCT allergytype FROM Allergy_type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 49, 122, 63, 834, 6137, 41, 11211, 122, 63, 6137, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 23886, 1308, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 23886, 6137, 21680, 432, 49, 122, 63, 834, 6137, 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, ...
What is the D 43 √ with a D 49 √ with d 49 √?
CREATE TABLE table_name_64 (d_43_√ VARCHAR, d_49_√ VARCHAR)
SELECT d_43_√ FROM table_name_64 WHERE d_49_√ = "d 49 √"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 26, 834, 4906, 834, 2, 584, 4280, 28027, 6, 3, 26, 834, 3647, 834, 2, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 309, 8838, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 834, 4906, 834, 2, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 3, 26, 834, 3647, 834, 2, 3274, 96, 26, 9526, 3, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Opponent in Final, when Surface is 'Hard', and when Date is '13 January 1992'?
CREATE TABLE table_name_31 ( opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR )
SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 15264, 834, 77, 834, 12406, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4495, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15264, 834, 77, 834, 12406, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 833, 3274, 96, 2368, 3, 7066, 76, 1208, 9047, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)?
CREATE TABLE table_name_72 ( week_1_sept_2 VARCHAR, week_3_sept_14 VARCHAR )
SELECT week_1_sept_2 FROM table_name_72 WHERE week_3_sept_14 = "south florida (3-0)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 471, 834, 536, 834, 7, 6707, 834, 357, 584, 4280, 28027, 6, 471, 834, 519, 834, 7, 6707, 834, 2534, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 471, 834, 536, 834, 7, 6707, 834, 357, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 471, 834, 519, 834, 7, 6707, 834, 2534, 3274, 96, 7, 670, 107, 12215, 26, 9, 41, 22773, 61, 121, 1, -100, -100, -100, -10...
Which Mountains classification has a General classification of egoi mart nez, and a Stage of 9?
CREATE TABLE table_name_42 ( mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR )
SELECT mountains_classification FROM table_name_42 WHERE general_classification = "egoi martínez" AND stage = "9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 8022, 834, 4057, 2420, 584, 4280, 28027, 6, 879, 834, 4057, 2420, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8022, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 879, 834, 4057, 2420, 3274, 96, 6066, 23, 3157, 17, 2, 9645, 121, 3430, 1726, 3274, 96, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -10...
How many yards have a Player of james macpherson, and a Long smaller than 1?
CREATE TABLE table_name_6 (yards VARCHAR, player VARCHAR, long VARCHAR)
SELECT COUNT(yards) FROM table_name_6 WHERE player = "james macpherson" AND long < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 6636, 7, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 307, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6460, 43, 3, 9, 12387, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6636, 7, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1959, 3274, 96, 1191, 2687, 11486, 102, 760, 739, 121, 3430, 307, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of played when the goals for is more than 34 and goals against is more than 63?
CREATE TABLE table_name_24 ( played VARCHAR, goals_for VARCHAR, goals_against VARCHAR )
SELECT COUNT(played) FROM table_name_24 WHERE goals_for > 34 AND goals_against > 63
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 1944, 584, 4280, 28027, 6, 1766, 834, 1161, 584, 4280, 28027, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1766, 834, 1161, 2490, 6154, 3430, 1766, 834, 9, 16720, 7, 17, 2490, 3, 3891, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the 2nd leg score for Chemie Halle?
CREATE TABLE table_name_73 (team__number1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = "chemie halle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 11650, 834, 834, 5525, 1152, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 204, 727, 4553, 2604, 21, 2556, 2720, 2501, 15, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 204, 6157, 3, 727, 834, 5772, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 372, 834, 834, 5525, 1152, 536, 3274, 96, 1033, 2720, 3, 18369, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Record has Points larger than 0, and a Score of 7 3?
CREATE TABLE table_39285 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT "Record" FROM table_39285 WHERE "Points" > '0' AND "Score" = '7–3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 357, 4433, 41, 96, 23055, 121, 490, 6, 96, 28680, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3288, 357, 4433, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 632, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 940, 104, 519, 31, 1, -100, -100, -100, -100, -100, -100, -...
How many people are in the crowd in south melbourne?
CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 75, 3623, 26, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 33, 16, 8, 4374, 16, 3414, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which year has a railway class of 250?
CREATE TABLE table_name_19 (year VARCHAR, class VARCHAR)
SELECT year FROM table_name_19 WHERE class = "250"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 1201, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 65, 3, 9, 14421, 853, 13, 5986, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 853, 3274, 96, 11434, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the artist that issued the single on 19 January?
CREATE TABLE table_9847 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" text, "Song" text, "Artist" text )
SELECT "Artist" FROM table_9847 WHERE "Issue Date(s)" = '19 january'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3916, 4177, 41, 96, 22803, 440, 15, 10, 196, 7, 7, 76, 15, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 7678, 599, 7, 61, 121, 1499, 6, 96, 1326, 16789, 30, 2224, 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, 7754, 343, 121, 21680, 953, 834, 3916, 4177, 549, 17444, 427, 96, 196, 7, 7, 76, 15, 7678, 599, 7, 61, 121, 3274, 3, 31, 2294, 3, 7066, 76, 1208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients admitted before 2200 who had endoscopic removal of stone(s) from biliary tract.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2200" AND procedures.long_title = "Endoscopic removal of stone(s) from biliary tract"
[ 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 position went lower than 106 from the College of Virginia?
CREATE TABLE table_70045 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT "Position" FROM table_70045 WHERE "Overall" < '106' AND "College" = 'virginia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9295, 2128, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 9295, 2128, 549, 17444, 427, 96, 23847, 1748, 121, 3, 2, 3, 31, 16431, 31, 3430, 96, 9939, 7883, 121, 3274, 3, 31, 5771, 122, 77, 23, 9, 31, 1, -100, -100, -100, -10...
Name the averag scored for 2011 long teng cup and 2 october 2011
CREATE TABLE table_name_64 ( scored INTEGER, competition VARCHAR, date VARCHAR )
SELECT AVG(scored) FROM table_name_64 WHERE competition = "2011 long teng cup" AND date = "2 october 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 5799, 3, 21342, 17966, 6, 2259, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 9, 162, 6151, 5799, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 3523, 1271, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 2259, 3274, 96, 13907, 307, 3, 324, 122, 4119, 121, 3430, 833, 3274, 96, 357, 3, 32, 75, 235, 1152, 2722, 121, 1, -100, -100, -100...
Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?
CREATE TABLE table_name_28 ( draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR )
SELECT AVG(draws) FROM table_name_28 WHERE wins = 10 AND peel = "south mandurah" AND byes > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 14924, 3, 21342, 17966, 6, 57, 15, 7, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 14517, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19489, 7, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 9204, 3274, 335, 3430, 14517, 3274, 96, 7, 670, 107, 388, 26, 2414, 107, 121, 3430, 57, 15, 7, 2490, 3, 632, 1, -100, -100, -100, ...
How many sets of presenters are there for the version of the show named Celebrity Masterchef?
CREATE TABLE table_28190363_1 ( presenter_s_ VARCHAR, name VARCHAR )
SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 11776, 3420, 519, 834, 536, 41, 915, 49, 834, 7, 834, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3369, 13, 915, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 12640, 49, 834, 7, 834, 61, 21680, 953, 834, 2577, 11776, 3420, 519, 834, 536, 549, 17444, 427, 564, 3274, 96, 254, 400, 2160, 17, 63, 3226, 29639, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose ethnicity is american indian/alaska native and drug code is benz1i?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND prescriptions.formulary_drug_cd = "BENZ1I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which County has an IHSAA Class of aaaa, and a Mascot of cardinals?
CREATE TABLE table_64064 ( "School" text, "City" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "County" text )
SELECT "County" FROM table_64064 WHERE "IHSAA Class" = 'aaaa' AND "Mascot" = 'cardinals'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23714, 4389, 41, 96, 29364, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96, 196, 4950, 5498, 4501, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 63, 121, 21680, 953, 834, 23714, 4389, 549, 17444, 427, 96, 196, 4950, 5498, 4501, 121, 3274, 3, 31, 9, 9, 9, 9, 31, 3430, 96, 329, 9, 7, 4310, 121, 3274, 3, 31, 6043, 10270, 7, 31, 1, -100, -100, ...
Tell me the call sign for frequency of 0 97.3 fm
CREATE TABLE table_name_67 ( call_sign VARCHAR, frequency VARCHAR )
SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 580, 834, 6732, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 580, 1320, 21, 7321, 13, 3, 632, 668, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 580, 834, 6732, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 7321, 3274, 96, 632, 668, 27914, 3, 89, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What time was the game played that had a record of 0 2 0?
CREATE TABLE table_name_56 ( time___et__ VARCHAR, record VARCHAR )
SELECT time___et__ FROM table_name_56 WHERE record = "0–2–0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 97, 834, 834, 834, 15, 17, 834, 834, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 97, 47, 8, 467, 1944, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 834, 834, 15, 17, 834, 834, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 1368, 3274, 96, 632, 104, 357, 104, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many regions were affected by each storm Visualize by bar chart, and rank from high to low by the y-axis.
CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int )
SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4161, 834, 18145, 41, 6163, 834, 23, 26, 16, 17, 6, 16133, 834, 4309, 16, 17, 6, 7720, 834, 6726, 834, 9, 27488, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 5536, 6157, 332, 536, 3, 15355, 3162, 4161, 834, 18145, 6157, 332, 357, 9191, 332, 5411, 134, 17, 127, 51, 834, 4309, 3274, 332, 4416, 134, 17, 127, 51, 834, 4309, 350, ...
Name the lowest reported isn for russia
CREATE TABLE table_name_28 (reported_isn INTEGER, citizenship VARCHAR)
SELECT MIN(reported_isn) FROM table_name_28 WHERE citizenship = "russia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 60, 16262, 834, 159, 29, 3, 21342, 17966, 6, 22214, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 7402, 2196, 19, 29, 21, 3, 26165, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 60, 16262, 834, 159, 29, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 22214, 3274, 96, 26165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many ranks are for Switzerland with more than 2 total medals?
CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR)
SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 6254, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13799, 33, 21, 12527, 28, 72, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2982, 3274, 96, 7, 15686, 15, 7721, 121, 3430, 792, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the T4 Place Player with a Score of 71-74-66=211?
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_57 WHERE place = "t4" AND score = 71 - 74 - 66 = 211
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 20846, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 332, 591, 3399, 12387, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 286, 3274, 96, 17, 20364, 3430, 2604, 3274, 3, 4450, 3, 18, 3, 4581, 3, 18, 3, 3539, 3274, 3, 27278, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many stages were at least 200 km in length in the 1995 tour de france ?
CREATE TABLE table_203_475 ( id number, "stage" number, "date" text, "route" text, "terrain" text, "length" text, "winner" text )
SELECT COUNT("stage") FROM table_203_475 WHERE "length" >= 200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3072, 41, 3, 23, 26, 381, 6, 96, 10705, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 20300, 121, 1499, 6, 96, 12829, 77, 121, 1499, 6, 96, 19457, 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, 2847, 17161, 599, 121, 10705, 8512, 21680, 953, 834, 23330, 834, 591, 3072, 549, 17444, 427, 96, 19457, 121, 2490, 2423, 2382, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?
CREATE TABLE table_name_70 ( week INTEGER, date VARCHAR, attendance VARCHAR )
SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 471, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 471, 24, 65, 1600, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 12370, 19201, 121, 3430, 11364, 3, 2, 9668, 3, 15316, 20788, 668, 4853, 1, -100, -100, -100, -100, -100, -10...
Who had the high assists against San Antonio?
CREATE TABLE table_name_58 ( high_assists VARCHAR, team VARCHAR )
SELECT high_assists FROM table_name_58 WHERE team = "san antonio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 306, 13041, 581, 1051, 12923,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 372, 3274, 96, 7, 152, 3, 9, 6992, 23, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Record has a Score of 2 4, and a Home of quebec nordiques?
CREATE TABLE table_name_23 ( record VARCHAR, score VARCHAR, home VARCHAR )
SELECT record FROM table_name_23 WHERE score = "2–4" AND home = "quebec nordiques"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1368, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 11392, 65, 3, 9, 17763, 13, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 2604, 3274, 96, 357, 104, 20364, 3430, 234, 3274, 96, 835, 346, 75, 9532, 5125, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the total number of Roll that has the Area of aranga?
CREATE TABLE table_name_95 (roll VARCHAR, area VARCHAR)
SELECT COUNT(roll) FROM table_name_95 WHERE area = "aranga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 4046, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 792, 381, 13, 6070, 24, 65, 8, 5690, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4046, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 616, 3274, 96, 9, 6287, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record?
CREATE TABLE table_name_63 ( laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR )
SELECT MAX(laps) FROM table_name_63 WHERE grid > 6 AND constructor = "renault" AND time_retired = "ignition"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 14941, 7, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 6774, 127, 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, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 8634, 2490, 431, 3430, 6774, 127, 3274, 96, 1536, 10335, 121, 3430, 97, 834, 10682, 1271, 3274, 96, 3191, 4749, 121, 1, -100, -100, -100,...
Who was the Rookie of the Year for the Season in 2000?
CREATE TABLE table_15558 ( "Season" real, "Teams" real, "Champion" text, "Season MVP" text, "Top Draft Pick" text, "Rookie of the Year" text, "All-Star Game" text )
SELECT "Rookie of the Year" FROM table_15558 WHERE "Season" = '2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 3449, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 18699, 7, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 134, 15, 9, 739, 27203, 121, 1499, 6, 96, 22481, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 21132, 13, 8, 2929, 121, 21680, 953, 834, 20896, 3449, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 13527, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What date was the game with a score of w 116 93 (ot)?
CREATE TABLE table_27715173_6 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_27715173_6 WHERE score = "W 116–93 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 26578, 4552, 834, 948, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 467, 28, 3, 9, 2604, 13, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 357, 4013, 26578, 4552, 834, 948, 549, 17444, 427, 2604, 3274, 96, 518, 3, 20159, 104, 4271, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different players did the most high assists on the March 4 game?
CREATE TABLE table_73528 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT COUNT("High assists") FROM table_73528 WHERE "Date" = 'March 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2469, 2577, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21417, 13041, 8512, 21680, 953, 834, 940, 2469, 2577, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 25019, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date of the label Dos or Die Recordings?
CREATE TABLE table_41360 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Date" FROM table_41360 WHERE "Label" = 'dos or die recordings'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 19208, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4853, 19208, 549, 17444, 427, 96, 434, 10333, 121, 3274, 3, 31, 26, 32, 7, 42, 67, 18338, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the year when the champion team members are mikee de vega, jari monteagudo, crissy aquino?
CREATE TABLE table_66531 ( "Year" real, "Champion" text, "Grand Finalist" text, "Champion Team Members" text, "Grand Finalists" text )
SELECT "Year" FROM table_66531 WHERE "Champion Team Members" = 'mikee de vega, jari monteagudo, crissy aquino'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 755, 3341, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 4744, 727, 6514, 343, 121, 1499, 6, 96, 254, 1483, 12364, 2271, 9537, 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, 476, 2741, 121, 21680, 953, 834, 3539, 755, 3341, 549, 17444, 427, 96, 254, 1483, 12364, 2271, 9537, 121, 3274, 3, 31, 20068, 15, 15, 20, 3, 162, 122, 9, 6, 3, 5670, 23, 6278, 15, 9, 1744, 26, 32, 6, 3, ...
What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron?
CREATE TABLE table_65335 ( "Vessel" text, "Origin" text, "Type" text, "In service" real, "Unit" text )
SELECT MAX("In service") FROM table_65335 WHERE "Unit" = '12th minesweeper squadron'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 519, 2469, 41, 96, 553, 19132, 121, 1499, 6, 96, 667, 3380, 77, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 1570, 313, 121, 490, 6, 96, 5110, 155, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 1570, 313, 8512, 21680, 953, 834, 4122, 519, 2469, 549, 17444, 427, 96, 5110, 155, 121, 3274, 3, 31, 2122, 189, 2000, 7, 1123, 15, 883, 12025, 52, 106, 31, 1, -100, -100, -100, -100, -100, -100,...
What is the ICAO when the IATA shows mfm?
CREATE TABLE table_name_2 ( icao VARCHAR, iata VARCHAR )
SELECT icao FROM table_name_2 WHERE iata = "mfm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 3, 2617, 32, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 15038, 667, 116, 8, 27, 19282, 1267...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2617, 32, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 3, 17221, 3274, 96, 51, 89, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the date of vacancy when the position in table is 16th and the outgoing manager is russell slade?
CREATE TABLE table_name_25 (date_of_vacancy VARCHAR, position_in_table VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_vacancy FROM table_name_25 WHERE position_in_table = "16th" AND outgoing_manager = "russell slade"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 5522, 834, 858, 834, 29685, 584, 4280, 28027, 6, 1102, 834, 77, 834, 3869, 584, 4280, 28027, 6, 91, 9545, 834, 24185, 584, 4280, 28027, 61, 3, 32102, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 29685, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 1102, 834, 77, 834, 3869, 3274, 96, 2938, 189, 121, 3430, 91, 9545, 834, 24185, 3274, 96, 4502, 12019, 3, 7, 14712, 121, 1, -100, -100, ...
What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15?
CREATE TABLE table_name_95 ( points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR )
SELECT COUNT(points) FROM table_name_95 WHERE drawn < 2 AND team = "paulistano" AND against < 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 979, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 6796, 3, 2, 204, 3430, 372, 3274, 96, 102, 402, 3350, 152, 32, 121, 3430, 581, 3, 2, 627, 1, -100, -100, -100, -100, -100, -100, ...
list the name, job title of all people ordered by their names.
CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number )
SELECT name, job FROM person ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 41, 564, 1499, 6, 1246, 381, 6, 690, 1499, 6, 7285, 1499, 6, 613, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 15504, 41, 564, 1499, 6, 1565, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 613, 21680, 568, 4674, 11300, 272, 476, 564, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of rooms with king bed for each decor type, I want to order the total number in asc order.
CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT )
SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27659, 7, 41, 3636, 3, 21342, 17966, 6, 4181, 3, 3463, 4, 382, 6, 1972, 1570, 3, 3463, 4, 382, 6, 1972, 15767, 3, 3463, 4, 382, 6, 13002, 17833, 6, 2506, 23954, 3, 3463, 4, 382, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4469, 6, 2847, 17161, 599, 1935, 61, 21680, 4181, 7, 549, 17444, 427, 1953, 25160, 3274, 96, 439, 53, 121, 350, 4630, 6880, 272, 476, 4469, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -10...
What was the resolution for the match that ended by Submission (armbar)?
CREATE TABLE table_39988 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text )
SELECT "Res." FROM table_39988 WHERE "Method" = 'submission (armbar)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3264, 4060, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 448, 32, 1106,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7, 535, 21680, 953, 834, 519, 3264, 4060, 549, 17444, 427, 96, 23351, 107, 32, 26, 121, 3274, 3, 31, 7304, 5451, 41, 6768, 1047, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the format when the frequency is fm 94.5?
CREATE TABLE table_name_58 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_58 WHERE frequency = "fm 94.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 8995, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1910, 116, 8, 7321, 19, 3, 89, 51, 668, 12451, 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, 1910, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 7321, 3274, 96, 89, 51, 668, 12451, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What year was the first election when Fritz G. Lanham was elected?
CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 3341, 834, 4906, 41, 14672, 834, 19971, 3, 21342, 17966, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 166, 4356, 116, 28748, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2773, 3341, 834, 4906, 549, 17444, 427, 28406, 3274, 96, 371, 52, 5615, 350, 5, 9144, 1483, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return the number of venues of each workshop in a bar chart, could you rank by the total number in asc?
CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text )
SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue ORDER BY COUNT(Venue)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4786, 41, 9644, 834, 4309, 16, 17, 6, 7678, 1499, 6, 29940, 1499, 6, 5570, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 20592, 663, 41, 29779, 834, 4309, 16, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 29940, 6, 2847, 17161, 599, 553, 35, 76, 15, 61, 21680, 4786, 350, 4630, 6880, 272, 476, 29940, 4674, 11300, 272, 476, 2847, 17161, 599, 553, 35, 76, 15, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Road Team, when Result is "74-71"?
CREATE TABLE table_name_36 (road_team VARCHAR, result VARCHAR)
SELECT road_team FROM table_name_36 WHERE result = "74-71"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 8635, 834, 11650, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2409, 2271, 6, 116, 3, 20119, 19, 96, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1373, 834, 11650, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 741, 3274, 96, 4581, 18, 4450, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the highest pick for the position tight end?
CREATE TABLE table_name_20 (pick INTEGER, position VARCHAR)
SELECT MAX(pick) FROM table_name_20 WHERE position = "tight end"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 17967, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2030, 1432, 21, 8, 1102, 4095, 414, 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, 4800, 4, 599, 17967, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1102, 3274, 96, 17, 2632, 414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What district does the road with a MDR number of 47 pass through?
CREATE TABLE table_26036389_1 (passes_through___district_s VARCHAR, mdr_no VARCHAR)
SELECT passes_through___district_s FROM table_26036389_1 WHERE mdr_no = 47
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 3420, 519, 3914, 834, 536, 41, 3968, 15, 7, 834, 11258, 834, 834, 834, 26, 23, 20066, 834, 7, 584, 4280, 28027, 6, 3, 51, 26, 52, 834, 29, 32, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9016, 834, 11258, 834, 834, 834, 26, 23, 20066, 834, 7, 21680, 953, 834, 18365, 3420, 519, 3914, 834, 536, 549, 17444, 427, 3, 51, 26, 52, 834, 29, 32, 3274, 10635, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many bronze medals did Bulgaria receive?
CREATE TABLE table_name_1 (bronze VARCHAR, nation VARCHAR)
SELECT bronze FROM table_name_1 WHERE nation = "bulgaria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 13711, 776, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13467, 9365, 7, 410, 15536, 911, 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, 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, 13467, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 2982, 3274, 96, 6724, 122, 6286, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Position, when School/Club Team is McMaster?
CREATE TABLE table_48609 ( "Round" real, "Pick" text, "Player" text, "Position" text, "School/Club Team" text )
SELECT "Position" FROM table_48609 WHERE "School/Club Team" = 'mcmaster'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3840, 4198, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 591, 3840, 4198, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 51, 75, 7429, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
WHAT IS THE SCORE WITH THE TEAM OF INDIANA?
CREATE TABLE table_48580 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_48580 WHERE "Team" = 'indiana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4433, 2079, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 591, 4433, 2079, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 77, 8603, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which February has a Game of 40?
CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR)
SELECT february FROM table_name_91 WHERE game = 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 89, 15, 9052, 1208, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2083, 65, 3, 9, 4435, 13, 1283, 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, 29976, 76, 1208, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 467, 3274, 1283, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What label is formatted as compact disc and has United Kingdom as its region?
CREATE TABLE table_name_94 ( label VARCHAR, format VARCHAR, region VARCHAR )
SELECT label FROM table_name_94 WHERE format = "compact disc" AND region = "united kingdom"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 3783, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3783, 19, 1910, 1054, 38, 6607, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3783, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 1910, 3274, 96, 7699, 2708, 5025, 121, 3430, 1719, 3274, 96, 15129, 15, 26, 14740, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For all employees who have the letters D or S in their first name, give me the comparison about the sum of salary over the job_id , and group by attribute job_id.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 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, 446, 10539, 834, 4309, 6, 180, 6122, 599, 134, 4090, 24721, 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, 31, 1454, 13...
What is the total number of Poles, when Position is 6th, and when Points is less than 164?
CREATE TABLE table_name_27 ( poles VARCHAR, position VARCHAR, points VARCHAR )
SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 11148, 7, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 19418,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 14332, 7, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1102, 3274, 96, 948, 189, 121, 3430, 979, 3, 2, 3, 26987, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the nationality of the player kevin stevens?
CREATE TABLE table_3651 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "Nationality" FROM table_3651 WHERE "Player" = 'Kevin Stevens'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10402, 536, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 10402, 536, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 439, 15, 2494, 9316, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the most area of Bochum Part 2 with a population less than 15,911?
CREATE TABLE table_name_72 ( area__km_2__ INTEGER, place VARCHAR, population VARCHAR )
SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 616, 834, 834, 5848, 834, 357, 834, 834, 3, 21342, 17966, 6, 286, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 498, 834, 834, 5848, 834, 357, 834, 834, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 286, 3274, 96, 26943, 4884, 294, 204, 121, 3430, 2074, 3, 2, 627, 3, 15316, 20788, 23783, 1, -100, -100...
What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points?
CREATE TABLE table_name_49 ( location_attendance VARCHAR, high_rebounds VARCHAR, high_points VARCHAR )
SELECT location_attendance FROM table_name_49 WHERE high_rebounds = "a. horford (10)" AND high_points = "j. johnson (21)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 306, 834, 23768, 3274, 96, 9, 5, 3, 107, 127, 2590, 41, 16968, 121, 3430, 306, 834, 2700, 7, 3274, 96, 354, 5, 3, 27341, 739, 4743, 6982, ...
What are the names of the technicians that are assigned to repair machines with more point values than 70, and count them by a bar chart, and sort in ascending by the x-axis.
CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int ) CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text )
SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id WHERE T2.value_points > 70 GROUP BY Name ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17730, 41, 17730, 834, 23, 26, 490, 6, 5570, 1499, 6, 2271, 1499, 6, 14362, 834, 476, 2741, 490, 6, 7526, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2096, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2096, 834, 9, 7, 6732, 297, 6157, 332, 536, 3, 15355, 3162, 1437, 6157, 332, 357, 9191, 332, 5411, 329, 1836, 630, 834, 4309, 3274, 332, 4416, 329, 1836, 630, 834, 4309, ...
Name the gdp world rank for asian rank being 15
CREATE TABLE table_25045 ( "Asian rank" real, "World rank" real, "Country" text, "GDP per capita" text, "GDP world rank" text )
SELECT "GDP world rank" FROM table_25045 WHERE "Asian rank" = '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 2128, 41, 96, 188, 10488, 11003, 121, 490, 6, 96, 17954, 11003, 121, 490, 6, 96, 10628, 651, 121, 1499, 6, 96, 517, 7410, 399, 23219, 121, 1499, 6, 96, 517, 7410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 517, 7410, 296, 11003, 121, 21680, 953, 834, 11434, 2128, 549, 17444, 427, 96, 188, 10488, 11003, 121, 3274, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is maximum age of patients whose admission location is emergency room admit and days of hospital stay is 9?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.days_stay = "9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 427, 13098, 18464, 17063, 3, 30270, 8502, 12604, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 3274, 96,...
What are the valid from and valid to dates for the card with the number 4560596484842?
CREATE TABLE accounts ( account_id number, customer_id number, account_name text, other_account_details text ) CREATE TABLE financial_transactions ( transaction_id number, previous_transaction_id number, account_id number, card_id number, transaction_type text, transaction_date time, transaction_amount number, transaction_comment text, other_transaction_details text ) CREATE TABLE customers ( customer_id number, customer_first_name text, customer_last_name text, customer_address text, customer_phone text, customer_email text, other_customer_details text ) CREATE TABLE customers_cards ( card_id number, customer_id number, card_type_code text, card_number text, date_valid_from time, date_valid_to time, other_card_details text )
SELECT date_valid_from, date_valid_to FROM customers_cards WHERE card_number = "4560596484842"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3744, 41, 905, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 905, 834, 4350, 1499, 6, 119, 834, 9, 75, 13362, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 27769, 834, 7152, 6, 833, 834, 27769, 834, 235, 21680, 722, 834, 6043, 7, 549, 17444, 427, 895, 834, 5525, 1152, 3274, 96, 2128, 3328, 3390, 4389, 4608, 4608, 357, 121, 1, -100, -100, -100, -100, -100, -10...
Name the kicks with goals of 1
CREATE TABLE table_69272 ( "Player" text, "AFL debut" text, "Games" text, "Goals" text, "Kicks" text, "Handballs" text, "Disposals" text, "Marks" text, "Tackles" text )
SELECT "Kicks" FROM table_69272 WHERE "Goals" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 2555, 357, 41, 96, 15800, 49, 121, 1499, 6, 96, 188, 10765, 5695, 121, 1499, 6, 96, 23055, 7, 121, 1499, 6, 96, 6221, 5405, 121, 1499, 6, 96, 439, 3142, 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, 1...
[ 3, 23143, 14196, 96, 439, 3142, 7, 121, 21680, 953, 834, 3951, 2555, 357, 549, 17444, 427, 96, 6221, 5405, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which year did the school with enrollment of 413 join?
CREATE TABLE table_name_46 (year_joined VARCHAR, enrollment VARCHAR)
SELECT year_joined FROM table_name_46 WHERE enrollment = 413
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1201, 834, 1927, 630, 26, 584, 4280, 28027, 6, 17938, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 410, 8, 496, 28, 17938, 13, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 834, 1927, 630, 26, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 17938, 3274, 314, 2368, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the low goal for orders more than 939 during Seasons of 1996 – 2001?
CREATE TABLE table_name_17 (goals INTEGER, seasons VARCHAR, order VARCHAR)
SELECT MIN(goals) FROM table_name_17 WHERE seasons = "1996 – 2001" AND order > 939
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 839, 5405, 3, 21342, 17966, 6, 9385, 584, 4280, 28027, 6, 455, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 731, 1288, 21, 5022, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 9385, 3274, 96, 2294, 4314, 3, 104, 4402, 121, 3430, 455, 2490, 668, 3288, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What place is the player with score of 70-68-70=208 from?
CREATE TABLE table_name_38 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 286, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 19, 8, 1959, 28, 2604, 13, 2861, 18, 3651, 18, 2518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 2604, 3274, 2861, 3, 18, 3, 3651, 3, 18, 2861, 3274, 3, 23946, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total attended for kilmarnock?
CREATE TABLE table_29176 ( "Team" text, "Stadium" text, "Capacity" real, "Total" real, "Highest" real, "Lowest" real, "Average" real )
SELECT MIN("Total") FROM table_29176 WHERE "Team" = 'Kilmarnock'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 26782, 41, 96, 18699, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 21417, 222, 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, 3, 17684, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 3166, 26782, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 439, 173, 1635, 29, 3961, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the SDLP of Belfast?
CREATE TABLE table_30219 ( "Council" text, "TUV" real, "Democratic Unionist" real, "Ulster Unionist" real, "Alliance" real, "SDLP" real, "Sinn F\u00e9in" real, "Green (NI)" real, "Independent" real, "Others" text, "Total" real )
SELECT MAX("SDLP") FROM table_30219 WHERE "Council" = 'Belfast'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 357, 2294, 41, 96, 3881, 15254, 40, 121, 1499, 6, 96, 9968, 553, 121, 490, 6, 96, 19679, 447, 3545, 343, 121, 490, 6, 96, 1265, 40, 1370, 3545, 343, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 7331, 6892, 8512, 21680, 953, 834, 1458, 357, 2294, 549, 17444, 427, 96, 3881, 15254, 40, 121, 3274, 3, 31, 2703, 40, 11584, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the profits in billions for Berkshire Hathaway?
CREATE TABLE table_72823 ( "Rank" real, "Company" text, "Headquarters" text, "Industry" text, "Sales (billion $)" text, "Profits (billion $)" text, "Assets (billion $)" text, "Market Value (billion $)" text )
SELECT "Profits (billion $)" FROM table_72823 WHERE "Company" = 'Berkshire Hathaway'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2577, 2773, 41, 96, 22557, 121, 490, 6, 96, 5890, 2837, 63, 121, 1499, 6, 96, 3845, 9, 26, 19973, 7, 121, 1499, 6, 96, 1570, 8655, 8224, 121, 1499, 6, 96, 134, 452...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23057, 7085, 41, 115, 14916, 1514, 61, 121, 21680, 953, 834, 940, 2577, 2773, 549, 17444, 427, 96, 5890, 2837, 63, 121, 3274, 3, 31, 279, 49, 157, 5718, 1626, 189, 8006, 31, 1, -100, -100, -100, -100, -100, -1...
In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)?
CREATE TABLE table_name_70 (ba__place_ VARCHAR, year VARCHAR, team VARCHAR, bb_ VARCHAR, hbp VARCHAR)
SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 115, 9, 834, 834, 4687, 834, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 3, 115, 115, 834, 584, 4280, 28027, 6, 3, 107, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4698, 834, 834, 4687, 834, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3, 115, 115, 834, 1768, 3, 107, 115, 102, 2490, 9526, 3430, 372, 3274, 96, 7, 15, 23, 3007, 3, 7325, 7, 121, 3430, 215, 3274, 96, 194...