NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team?
CREATE TABLE table_name_15 ( winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR )
SELECT winning_team FROM table_name_15 WHERE winning_driver = "emerson fittipaldi" AND pole_position = "michael andretti" AND circuit = "cleveland burke lakefront airport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 3447, 834, 11650, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3447, 834, 11650, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 15, 5567, 106, 1400, 11537, 138, 26, 23, 121, 3430, 11148, 834, 4718, 3274, 96, 51, 362, 9, 15, 40, 11, 52, 1065...
Name the title that aired for november 08, 1985
CREATE TABLE table_20967430_2 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_20967430_2 WHERE original_air_date = "November 08, 1985"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4314, 4581, 1458, 834, 357, 41, 21869, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2233, 24, 3, 2378, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 1755, 4314, 4581, 1458, 834, 357, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 28635, 12046, 6, 13200, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Stack bar chart of school_id vs All_Home based on acc road, rank Y from high to low order.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Road, School_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY School_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 1121, 834, 4309, 309, 25067, 1, -1...
which patients have the diagnoses of accidents occurring in other specified places?
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 ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Accident in place NEC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What was the country for Sam Snead?
CREATE TABLE table_name_58 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_58 WHERE player = "sam snead"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 684, 21, 3084, 180, 29, 15, 9, 26, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1959, 3274, 96, 7, 265, 3, 7, 29, 15, 9, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the nationality of the guard who plays at Utah?
CREATE TABLE table_name_96 ( nationality VARCHAR, position VARCHAR, school_club_team VARCHAR )
SELECT nationality FROM table_name_96 WHERE position = "guard" AND school_club_team = "utah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1157, 485, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1102, 3274, 96, 11010, 121, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 76, 17, 9, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What competition had its first match on December 20, 2007?
CREATE TABLE table_name_15 ( competition VARCHAR, first_match VARCHAR )
SELECT competition FROM table_name_15 WHERE first_match = "december 20, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2259, 584, 4280, 28027, 6, 166, 834, 19515, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2259, 141, 165, 166, 1588, 30, 1882, 16047, 4101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 166, 834, 19515, 3274, 96, 221, 75, 18247, 16047, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the height for the player born in 1980 and center?
CREATE TABLE table_12962773_13 ( height VARCHAR, year_born VARCHAR, position VARCHAR )
SELECT height FROM table_12962773_13 WHERE year_born = 1980 AND position = "Center"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4314, 2555, 4552, 834, 2368, 41, 3902, 584, 4280, 28027, 6, 215, 834, 7473, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 21680, 953, 834, 2122, 4314, 2555, 4552, 834, 2368, 549, 17444, 427, 215, 834, 7473, 3274, 6694, 3430, 1102, 3274, 96, 24382, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest overall number for a player from Kentucky State?
CREATE TABLE table_name_36 ( overall INTEGER, college VARCHAR )
SELECT MAX(overall) FROM table_name_36 WHERE college = "kentucky state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 1879, 3, 21342, 17966, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1879, 381, 21, 3, 9, 1959, 45, 13401, 1015, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 1900, 3274, 96, 2217, 17, 4636, 63, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the number of s /cal mol 1 k 1 for butadiene being 1,2-dimethylene-cyclohexane
CREATE TABLE table_2068719_1 ( δs_ VARCHAR, _butadiene VARCHAR )
SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24643, 4225, 2294, 834, 536, 41, 3, 2, 7, 834, 584, 4280, 28027, 6, 3, 834, 2780, 9, 26, 15067, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2, 7, 834, 61, 6157, 3, 2, 834, 834, 1489, 834, 4641, 834, 2, 536, 834, 157, 834, 2, 536, 21680, 953, 834, 24643, 4225, 2294, 834, 536, 549, 17444, 427, 3, 834, 2780, 9, 26, 15067, 3274, 96, ...
Which opponent has a record of 4-2?
CREATE TABLE table_name_55 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_55 WHERE record = "4-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 65, 3, 9, 1368, 13, 314, 4949, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 1368, 3274, 96, 591, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many population values are listed for the community with an area of 10.25 sq.km.?
CREATE TABLE table_21382 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text )
SELECT COUNT("Population") FROM table_21382 WHERE "Area km 2" = '10.25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 3747, 357, 41, 96, 667, 89, 22816, 5570, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 188, 864, 2280, 204, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 27773, 7830, 8512, 21680, 953, 834, 2658, 3747, 357, 549, 17444, 427, 96, 188, 864, 2280, 204, 121, 3274, 3, 31, 10415, 1828, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose year of death is less than or equal to 2174 and lab test name is urobilinogen?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2174.0" AND lab.label = "Urobilinogen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament?
CREATE TABLE table_40274 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Runner(s)-up" FROM table_40274 WHERE "Tournament" = 'merrill lynch/golf digest commemorative pro-am'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 2555, 591, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 599, 7, 61, 18, 413, 121, 21680, 953, 834, 2445, 2555, 591, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 935, 52, 1092, 3, 120, 5457, 87, 7579, 89, 15168, 18681, 757, 813, 18, 265, 31,...
how many patients had the drug code hepa10s and ascites as the lab test fluid?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "HEPA10S" AND lab.fluid = "Ascites"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
For those employees who was hired before 2002-06-21, a bar chart shows the distribution of job_id and the sum of salary , and group by attribute job_id, and could you rank by the x axis in desc?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, 834, 4309, ...
Show all calendar dates and bin by weekday in a bar chart, could you order how many calendar date from low to high order?
CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME )
SELECT Calendar_Date, COUNT(Calendar_Date) FROM Ref_Calendar ORDER BY COUNT(Calendar_Date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 834, 4135, 1071, 4128, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 7678, 834, 28719, 26, 309, 6048, 382, 15382, 6, 11167, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 11167, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18783, 834, 308, 342, 6, 2847, 17161, 599, 14318, 35, 3439, 834, 308, 342, 61, 21680, 419, 89, 834, 14318, 35, 3439, 4674, 11300, 272, 476, 2847, 17161, 599, 14318, 35, 3439, 834, 308, 342, 61, 1, -100, -100, -100, ...
Who built the car that went 53 laps with a Time/Retired of 1:17:09.672?
CREATE TABLE table_name_25 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_25 WHERE laps = 53 AND time_retired = "1:17:09.672"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 15982, 5317, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 1192, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 14941, 7, 3274, 12210, 3430, 97, 834, 10682, 1271, 3274, 96, 536, 10, 2517, 10, 12900, 3708, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of medicaid patients who have an automatic implantable cardioverter/defibrillator (aicd) check procedure?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicaid" AND procedures.long_title = "Automatic implantable cardioverter/defibrillator (AICD) check"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the Player in the Int'l Debut of 1974?
CREATE TABLE table_64942 ( "Player" text, "Int'l Debut" text, "Year" text, "Cross Code Debut" text, "Date" text )
SELECT "Player" FROM table_64942 WHERE "Year" = '1974'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 4240, 357, 41, 96, 15800, 49, 121, 1499, 6, 96, 1570, 17, 31, 40, 374, 2780, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 254, 1859, 7, 3636, 374, 2780, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4389, 4240, 357, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 4581, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Stations of 16 is assigned what length?
CREATE TABLE table_4616 ( "Line" text, "Color" text, "Terminus" text, "Length" text, "Stations" text, "Daily Ridership" real )
SELECT "Length" FROM table_4616 WHERE "Stations" = '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 2938, 41, 96, 21022, 121, 1499, 6, 96, 3881, 322, 121, 1499, 6, 96, 382, 49, 14078, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 134, 17, 1628, 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, 434, 4606, 189, 121, 21680, 953, 834, 4448, 2938, 549, 17444, 427, 96, 134, 17, 1628, 121, 3274, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When was Color of green first issued?
CREATE TABLE table_name_51 (first_issued INTEGER, color VARCHAR)
SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 14672, 834, 13159, 26, 3, 21342, 17966, 6, 945, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 6088, 13, 1442, 166, 4683, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14672, 834, 13159, 26, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 945, 3274, 96, 9423, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What team was the opponent on 09/20/1975?
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_62 WHERE date = "09/20/1975"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 8, 15264, 30, 14146, 20173, 13523, 3072, 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, 15264, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 833, 3274, 96, 4198, 20173, 13523, 3072, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When did South Melbourne play at home?
CREATE TABLE table_33159 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_33159 WHERE "Home team" = 'south melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 27904, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4201, 27904, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 7, 670, 107, 3, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
With the cultural and educational panel less than 0 what is the average industrial and commercial panel?
CREATE TABLE table_43283 ( "Administrative Panel" real, "Agricultural Panel" real, "Cultural and Educational Panel" real, "Industrial and Commercial Panel" real, "Labour Panel" real, "National University of Ireland" real, "University of Dublin" real, "Nominated by the Taoiseach" real, "Total" real )
SELECT AVG("Industrial and Commercial Panel") FROM table_43283 WHERE "Cultural and Educational Panel" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 2577, 519, 41, 96, 16313, 343, 52, 1528, 9871, 121, 490, 6, 96, 24354, 9871, 121, 490, 6, 96, 254, 83, 17, 9709, 11, 19173, 9871, 121, 490, 6, 96, 1570, 8655, 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, 71, 17217, 599, 121, 1570, 8655, 17, 12042, 11, 9747, 9871, 8512, 21680, 953, 834, 4906, 2577, 519, 549, 17444, 427, 96, 254, 83, 17, 9709, 11, 19173, 9871, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, ...
What is every reference for the example of AF117?
CREATE TABLE table_30011_2 (reference VARCHAR, example VARCHAR)
SELECT reference FROM table_30011_2 WHERE example = "AF117"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 2596, 834, 357, 41, 60, 11788, 584, 4280, 28027, 6, 677, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 2848, 21, 8, 677, 13, 3, 6282, 20275, 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, 2848, 21680, 953, 834, 5426, 2596, 834, 357, 549, 17444, 427, 677, 3274, 96, 6282, 20275, 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 total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?
CREATE TABLE table_70489 ( "Season" text, "Team" text, "Country" text, "Division" real, "Apps" real, "Goals" real )
SELECT SUM("Division") FROM table_70489 WHERE "Country" = 'serbia and montenegro' AND "Apps" < '12' AND "Goals" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 591, 3914, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 308, 23, 6610, 121, 490, 6, 96, 9648, 7, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 308, 23, 6610, 8512, 21680, 953, 834, 2518, 591, 3914, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 7, 49, 15500, 11, 6278, 35, 15, 3844, 31, 3430, 96, 9648, 7, 121, 3, 2, 3, 31, 212...
What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng?
CREATE TABLE table_40182 ( "Rank" real, "Prev" real, "Player" text, "Rating" real, "Chng" text )
SELECT "Player" FROM table_40182 WHERE "Rating" > '2746' AND "Prev" < '4' AND "Chng" = '+4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20016, 4613, 41, 96, 22557, 121, 490, 6, 96, 10572, 208, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 448, 1014, 121, 490, 6, 96, 3541, 1725, 121, 1499, 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, 96, 15800, 49, 121, 21680, 953, 834, 20016, 4613, 549, 17444, 427, 96, 448, 1014, 121, 2490, 3, 31, 2555, 4448, 31, 3430, 96, 10572, 208, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 3541, 1725, 121, 3274, 3, 31, 1220, ...
What was the surface in 1981?
CREATE TABLE table_76409 ( "Outcome" text, "Date" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Surface" FROM table_76409 WHERE "Date" = '1981'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 591, 4198, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 450, 4861, 121, 21680, 953, 834, 3959, 591, 4198, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2294, 4959, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What driver raced for more than 9 laps on grid 7?
CREATE TABLE table_name_22 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_22 WHERE laps > 9 AND grid = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 13739, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2535, 1964, 26, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 14941, 7, 2490, 668, 3430, 8634, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
hematocrit of less than 36 % for male , less than 32 % for female .
CREATE TABLE table_dev_34 ( "id" int, "gender" string, "heart_disease" bool, "body_weight" float, "hematocrit_hct" float, "fasting_blood_glucose_fbg" float, "hyperlipidemia" bool, "systemic_illness" bool, "angina" bool, "serum_ldl" int, "clinically_significant_atherosclerotic_vascular_disease" bool, "impaired_glucose_tolerance" bool, "fbg" int, "post_prandial_pp" int, "significant_nephropathy" bool, "serum_tg" int, "proteinuria" int, "body_mass_index_bmi" float, "plasma_creatinine" float, "cfrd" bool, "NOUSE" float )
SELECT * FROM table_dev_34 WHERE (hematocrit_hct < 36 AND gender = 'male') OR (hematocrit_hct < 32 AND gender = 'female')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 3710, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 88, 1408, 834, 26, 159, 14608, 121, 3, 12840, 40, 6, 96, 6965, 834, 9378, 121, 3, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 3710, 549, 17444, 427, 41, 6015, 9, 235, 12563, 834, 107, 75, 17, 3, 2, 4475, 3430, 7285, 3274, 3, 31, 13513, 31, 61, 4674, 41, 6015, 9, 235, 12563, 834, 107, 75, 17, 3, 2, 35...
Which Start has a 0 Conv, 0 Pens and 8 Tries?
CREATE TABLE table_name_54 ( start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR )
SELECT start FROM table_name_54 WHERE conv = "0" AND pens = "0" AND tries = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 456, 584, 4280, 28027, 6, 3, 9000, 584, 4280, 28027, 6, 975, 208, 584, 4280, 28027, 6, 3, 3801, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 456, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 975, 208, 3274, 96, 632, 121, 3430, 3, 3801, 3274, 96, 632, 121, 3430, 3, 9000, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
subjects with a known low ejection fraction of less than 40 % or any previous history of heart failure.
CREATE TABLE table_test_8 ( "id" int, "anemia" bool, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "intravenous_pressors" bool, "fever" bool, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "vasopressors" bool, "renal_disease" bool, "temperature" float, "creatinine_clearance_cl" float, "planned_left_main_intervention" bool, "estimated_glomerular_filtration_rate_egfr" int, "cardiogenic_shock" bool, "platelet_count" float, "non_responsive_to_fluids" bool, "infection_with_fever" bool, "hypotension" bool, "serum_creatinine" float, "unprotected_left_main_stenosis" int, "low_ejection_fraction" int, "hb" float, "NOUSE" float )
SELECT * FROM table_test_8 WHERE low_ejection_fraction < 40 OR heart_disease = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 927, 41, 96, 23, 26, 121, 16, 17, 6, 96, 152, 11658, 121, 3, 12840, 40, 6, 96, 20322, 9, 834, 9, 127, 1225, 834, 3184, 32, 106, 834, 4987, 1167, 834, 23, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 4377, 834, 927, 549, 17444, 427, 731, 834, 15, 21440, 834, 22513, 3, 2, 1283, 4674, 842, 834, 26, 159, 14608, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Airdate of the episode that ranked #29 and had a share greater than 10?
CREATE TABLE table_80189 ( "Episode #" real, "Title" text, "Airdate" text, "Rating" real, "Share" real, "18-49" real, "Viewers (millions)" real, "Rank" text )
SELECT "Airdate" FROM table_80189 WHERE "Share" = '10' AND "Rank" = '#29'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 25312, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 20162, 5522, 121, 1499, 6, 96, 448, 1014, 121, 490, 6, 96, 24501, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20162, 5522, 121, 21680, 953, 834, 2079, 25312, 549, 17444, 427, 96, 24501, 121, 3274, 3, 31, 1714, 31, 3430, 96, 22557, 121, 3274, 3, 31, 4663, 3166, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the match ids of the cities that hosted competition '1994 FIFA World Cup qualification'?
CREATE TABLE MATCH ( match_id VARCHAR, competition VARCHAR )
SELECT match_id FROM MATCH WHERE competition = "1994 FIFA World Cup qualification"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 283, 29572, 41, 1588, 834, 23, 26, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1588, 3, 23, 26, 7, 13, 8, 3119, 24, 6523, 2259, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1588, 834, 23, 26, 21680, 283, 29572, 549, 17444, 427, 2259, 3274, 96, 2294, 4240, 23129, 1150, 3802, 15513, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the wkts for econ of 4.23
CREATE TABLE table_56740 ( "Player" text, "Overs" text, "Runs" text, "Wkts" text, "Mdns" text, "Econ" text )
SELECT "Wkts" FROM table_56740 WHERE "Econ" = '4.23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3708, 2445, 41, 96, 15800, 49, 121, 1499, 6, 96, 23847, 7, 121, 1499, 6, 96, 448, 202, 7, 121, 1499, 6, 96, 518, 157, 17, 7, 121, 1499, 6, 96, 329, 26, 29, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 157, 17, 7, 121, 21680, 953, 834, 755, 3708, 2445, 549, 17444, 427, 96, 427, 1018, 121, 3274, 3, 31, 19765, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date for score w 109–95 (ot)
CREATE TABLE table_23285761_8 (date VARCHAR, score VARCHAR)
SELECT date FROM table_23285761_8 WHERE score = "W 109–95 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 3436, 4241, 834, 927, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 2604, 3, 210, 3, 17304, 104, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2773, 2577, 3436, 4241, 834, 927, 549, 17444, 427, 2604, 3274, 96, 518, 3, 17304, 104, 3301, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who came in 3rd place in Kr ko , Slovenia Matije Gubca Stadium
CREATE TABLE table_22950 ( "Round" real, "Date" text, "City and venue" text, "Winner" text, "Runner-up" text, "3rd placed" text, "4th placed" text, "Results" text )
SELECT "3rd placed" FROM table_22950 WHERE "City and venue" = 'Krško , Slovenia Matije Gubca Stadium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 25188, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 485, 11, 5669, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 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, 519, 52, 26, 2681, 121, 21680, 953, 834, 2884, 25188, 549, 17444, 427, 96, 254, 485, 11, 5669, 121, 3274, 3, 31, 439, 52, 2, 157, 32, 3, 6, 27425, 5708, 23, 1924, 2846, 115, 658, 12750, 31, 1, -100, -100, ...
familial / genetic disorders of lipid metabolism
CREATE TABLE table_train_69 ( "id" int, "systolic_blood_pressure_sbp" int, "language" string, "valvular_dysfunction" bool, "heart_disease" bool, "temperature" float, "sepsis" bool, "heart_rate" int, "lipid_metabolism" bool, "organ_failure" bool, "NOUSE" float )
SELECT * FROM table_train_69 WHERE lipid_metabolism = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 3951, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, 24925, 121, 6108, 6, 96, 2165,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3951, 549, 17444, 427, 3, 19437, 834, 27787, 159, 51, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which players have a pick number of 27?
CREATE TABLE table_10975034_4 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_10975034_4 WHERE pick__number = 27
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 9979, 3710, 834, 591, 41, 20846, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1508, 43, 3, 9, 1432, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 17304, 9979, 3710, 834, 591, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3274, 2307, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Label has a Release of liebesgr sse aus ost-berlin?
CREATE TABLE table_64825 ( "Release" text, "Track" text, "Format" text, "Label" text, "Year" real )
SELECT "Label" FROM table_64825 WHERE "Release" = 'liebesgrüsse aus ost-berlin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3707, 1828, 41, 96, 1649, 40, 14608, 121, 1499, 6, 96, 382, 16729, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 476, 2741, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 948, 3707, 1828, 549, 17444, 427, 96, 1649, 40, 14608, 121, 3274, 3, 31, 8980, 15, 7, 122, 52, 12079, 403, 3, 3481, 18, 27995, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
Who is the opponent with a time of 1:16?
CREATE TABLE table_54533 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text )
SELECT "Opponent" FROM table_54533 WHERE "Time" = '1:16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2128, 4201, 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, 667, 102, 9977, 121, 21680, 953, 834, 755, 2128, 4201, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 536, 10, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the average gold medals when the bronze medals was less than 1, silver medals being 0 and total medals more than 1
CREATE TABLE table_15549 ( "Ensemble" text, "Gold Medals" real, "Silver Medals" real, "Bronze Medals" real, "Total Medals" real )
SELECT AVG("Gold Medals") FROM table_15549 WHERE "Bronze Medals" < '1' AND "Silver Medals" = '0' AND "Total Medals" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 3647, 41, 96, 8532, 7, 8312, 15, 121, 1499, 6, 96, 23576, 20002, 7, 121, 490, 6, 96, 134, 173, 624, 20002, 7, 121, 490, 6, 96, 22780, 29, 776, 20002, 7, 121, 490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 23576, 20002, 7, 8512, 21680, 953, 834, 20896, 3647, 549, 17444, 427, 96, 22780, 29, 776, 20002, 7, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 134, 173, 624, 20002, 7, 121, 3274, 3, 31, 632, 31, ...
What is the geust with a 0:1 result?
CREATE TABLE table_name_65 ( geust VARCHAR, result VARCHAR )
SELECT geust FROM table_name_65 WHERE result = "0:1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 873, 302, 17, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 873, 302, 17, 28, 3, 9, 3, 632, 10, 536...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 873, 302, 17, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 741, 3274, 96, 632, 10, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the names of artworks in ascending order of the year they are nominated in.
CREATE TABLE festival_detail ( festival_id number, festival_name text, chair_name text, location text, year number, num_of_audience number ) CREATE TABLE artwork ( artwork_id number, type text, name text ) CREATE TABLE nomination ( artwork_id number, festival_id number, result text )
SELECT T2.name FROM nomination AS T1 JOIN artwork AS T2 ON T1.artwork_id = T2.artwork_id JOIN festival_detail AS T3 ON T1.festival_id = T3.festival_id ORDER BY T3.year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3994, 834, 221, 5756, 41, 3994, 834, 23, 26, 381, 6, 3994, 834, 4350, 1499, 6, 3533, 834, 4350, 1499, 6, 1128, 1499, 6, 215, 381, 6, 3, 5525, 834, 858, 834, 9, 5291, 1433, 381, 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, 332, 4416, 4350, 21680, 13588, 6157, 332, 536, 3, 15355, 3162, 7924, 6157, 332, 357, 9191, 332, 5411, 1408, 1981, 834, 23, 26, 3274, 332, 4416, 1408, 1981, 834, 23, 26, 3, 15355, 3162, 3994, 834, 221, 5756, 6157, 33...
What is the lowest number of wins for ben crenshaw?
CREATE TABLE table_name_87 (wins INTEGER, player VARCHAR)
SELECT MIN(wins) FROM table_name_87 WHERE player = "ben crenshaw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 3757, 7, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 9204, 21, 36, 29, 3935, 29, 15622, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 1959, 3274, 96, 115, 35, 3935, 29, 15622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What horizontal bar score also has a pommel horse score of 15.250?
CREATE TABLE table_64214 ( "Position" real, "Gymnast" text, "Floor" text, "Pommel Horse" text, "Rings" text, "Vault" text, "Parallel Bars" text, "Horizontal Bar" text, "Total" real )
SELECT "Horizontal Bar" FROM table_64214 WHERE "Pommel Horse" = '15.250'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 27357, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 517, 63, 51, 29, 9, 7, 17, 121, 1499, 6, 96, 11251, 127, 121, 1499, 6, 96, 345, 7649, 40, 13538, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4489, 13266, 106, 1947, 1386, 121, 21680, 953, 834, 4389, 27357, 549, 17444, 427, 96, 345, 7649, 40, 13538, 121, 3274, 3, 31, 1808, 5, 11434, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the score with record of 68-66
CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_69 WHERE record = "68-66"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 7, 9022, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 28, 1368, 13, 3, 3651, 18, 3539, 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, 2604, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1368, 3274, 96, 3651, 18, 3539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Week has an Attendance of 72,855?
CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_47 WHERE attendance = "72,855"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 8041, 3, 21342, 17966, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6551, 65, 46, 22497, 663, 13, 9455, 6, 4433, 755, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 11364, 3274, 96, 5865, 6, 4433, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me a histogram for what are the names and total prices of all products in the store?, display by the bar in desc.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, SUM(Price) FROM Products GROUP BY Name ORDER BY Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 180, 6122, 599, 345, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 5570, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
end _ stage kidney disease or hepatic failure
CREATE TABLE table_test_16 ( "id" int, "left_ventricular_ejection_fraction_lvef" int, "systolic_blood_pressure_sbp" int, "severe_hypertension" bool, "adrenaline" bool, "stroke" bool, "renal_disease" bool, "severe_uncontrolled_arterial_hypertension" bool, "hepatic_disease" bool, "dobutamine" bool, "temperature" float, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "cardiogenic_shock" bool, "diastolic_blood_pressure_dbp" int, "liver_disease" bool, "intravenous_vasoactive_agents" bool, "kidney_disease" bool, "hypertension" bool, "age" float, "NOUSE" float )
SELECT * FROM table_test_16 WHERE kidney_disease = 1 OR hepatic_disease = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 2938, 41, 96, 23, 26, 121, 16, 17, 6, 96, 17068, 834, 31695, 834, 15, 21440, 834, 22513, 834, 40, 162, 89, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4377, 834, 2938, 549, 17444, 427, 11546, 834, 26, 159, 14608, 3274, 209, 4674, 3, 88, 7768, 75, 834, 26, 159, 14608, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
I want the time/retired for eddie irvine
CREATE TABLE table_53101 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Time/Retired" FROM table_53101 WHERE "Driver" = 'eddie irvine'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 19621, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 87, 1649, 11809, 26, 121, 21680, 953, 834, 4867, 19621, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 15, 26, 2498, 3, 23, 52, 8402, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is average round of Auburn College?
CREATE TABLE table_name_46 ( round INTEGER, college VARCHAR )
SELECT AVG(round) FROM table_name_46 WHERE college = "auburn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1751, 3, 21342, 17966, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1348, 1751, 13, 28384, 1888, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 1900, 3274, 96, 402, 7223, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
On what date did the game at Windy Hill take place?
CREATE TABLE table_53580 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_53580 WHERE "Venue" = 'windy hill'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2469, 2079, 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, 308, 342, 121, 21680, 953, 834, 755, 2469, 2079, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5165, 63, 9956, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many black/haitian patients were admitted in the hospital before the year 2172?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/HAITIAN" AND demographic.admityear < "2172"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 5478, 3177, 21758, 121, 3430, 14798, 5, 20466, 17, ...
timothy truman worked on what dates
CREATE TABLE table_953 ( "Book title" text, "Issues" real, "Writer" text, "Artist(s)" text, "Publication dates" text )
SELECT "Publication dates" FROM table_953 WHERE "Artist(s)" = 'Timothy Truman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3301, 519, 41, 96, 13355, 2233, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 7, 121, 490, 6, 96, 24965, 49, 121, 1499, 6, 96, 7754, 343, 599, 7, 61, 121, 1499, 6, 96, 30931, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30931, 257, 5128, 121, 21680, 953, 834, 3301, 519, 549, 17444, 427, 96, 7754, 343, 599, 7, 61, 121, 3274, 3, 31, 382, 603, 32, 189, 63, 7953, 348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What nationality is the player ranked 2?
CREATE TABLE table_56358 ( "Rank" real, "Player" text, "Country" text, "Earnings( $ )" real, "Wins" real )
SELECT "Country" FROM table_56358 WHERE "Rank" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 519, 3449, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 427, 291, 29, 53, 7, 599, 1514, 3, 61, 121, 490, 6, 96, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 651, 121, 21680, 953, 834, 4834, 519, 3449, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the candidate for the district Arkansas 2?
CREATE TABLE table_18556 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_18556 WHERE "District" = 'Arkansas 2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 4834, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 6203, 121, 21680, 953, 834, 21594, 4834, 549, 17444, 427, 96, 308, 23, 20066, 121, 3274, 3, 31, 188, 52, 3304, 7, 9, 7, 204, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the english for j'avais entendu
CREATE TABLE table_1841901_1 (english VARCHAR, french VARCHAR)
SELECT english FROM table_1841901_1 WHERE french = "j'avais entendu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25987, 11776, 536, 834, 536, 41, 4606, 40, 1273, 584, 4280, 28027, 6, 20609, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 22269, 21, 3, 354, 31, 11277, 21481...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22269, 21680, 953, 834, 25987, 11776, 536, 834, 536, 549, 17444, 427, 20609, 3274, 96, 354, 31, 11277, 21481, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many events have each participants attended? Show their total number by each participant type code using a bar chart, rank in asc by the total number of count(*).
CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) )
SELECT T1.Participant_Type_Code, SUM(COUNT(*)) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_Type_Code ORDER BY SUM(COUNT(*))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1799, 41, 1387, 834, 4309, 3, 21342, 17966, 6, 1387, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11137, 41, 8042, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 13725, 23, 3389, 288, 834, 25160, 834, 22737, 6, 180, 6122, 599, 5911, 17161, 599, 1935, 61, 61, 21680, 19204, 6157, 332, 536, 3, 15355, 3162, 19204, 834, 77, 834, 427, 2169, 7, 6157, 332, 357, 9191, 332,...
If the RR Rate is less than 0.75 with a result of RR:08,09, what is the average appeared?
CREATE TABLE table_6289 ( "Player" text, "Result" text, "Appeared" real, "RR W\u2013L" text, "RR W Rate" real )
SELECT AVG("Appeared") FROM table_6289 WHERE "RR W Rate" < '0.75' AND "Result" = 'rr:08,09'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 3914, 41, 96, 15800, 49, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 9648, 15, 9, 1271, 121, 490, 6, 96, 12224, 549, 2, 76, 11138, 434, 121, 1499, 6, 96, 12224, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9648, 15, 9, 1271, 8512, 21680, 953, 834, 4056, 3914, 549, 17444, 427, 96, 12224, 549, 13002, 121, 3, 2, 3, 31, 22426, 755, 31, 3430, 96, 20119, 121, 3274, 3, 31, 52, 52, 10, 4018, 6, 4198, ...
which has the least number or academic staff ?
CREATE TABLE table_203_592 ( id number, "institution" text, "location" text, "athletic nickname" text, "undergraduate enrollment" number, "graduate enrollment" number, "total enrollment" number, "2013 endowment\n(and us rank)" text, "academic staff" number, "motto" text )
SELECT "institution" FROM table_203_592 ORDER BY "academic staff" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3390, 357, 41, 3, 23, 26, 381, 6, 96, 77, 17448, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 26170, 447, 24649, 121, 1499, 6, 96, 7248, 17079, 17938, 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, 96, 77, 17448, 121, 21680, 953, 834, 23330, 834, 3390, 357, 4674, 11300, 272, 476, 96, 9, 6615, 3113, 871, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many times patient 005-18714 last year visits the icu?
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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) 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 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text )
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-18714') AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 10061, 15129, 21545, 23, 26, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, ...
did the hall of fame player awarded the year after tony coton earn more goals than he did ?
CREATE TABLE table_204_340 ( id number, "name" text, "year inducted" number, "position" text, "apps" number, "goals" number )
SELECT (SELECT "goals" FROM table_204_340 WHERE "year inducted" = (SELECT "year inducted" FROM table_204_340 WHERE "name" = 'tony coton') + 1) > (SELECT "goals" FROM table_204_340 WHERE "name" = 'tony coton')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 21129, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 1201, 16, 21336, 121, 381, 6, 96, 4718, 121, 1499, 6, 96, 3096, 7, 121, 381, 6, 96, 839, 5405, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 839, 5405, 121, 21680, 953, 834, 26363, 834, 21129, 549, 17444, 427, 96, 1201, 16, 21336, 121, 3274, 41, 23143, 14196, 96, 1201, 16, 21336, 121, 21680, 953, 834, 26363, 834, 21129, 549, 17444, 42...
What competition took place on 10 August 2011?
CREATE TABLE table_name_85 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_85 WHERE date = "10 august 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 287, 4995, 4749, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2259, 808, 286, 30, 335, 1660, 2722, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2259, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 833, 3274, 96, 1714, 14663, 2722, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where are there 25 episodes in Catfights and Brawls?
CREATE TABLE table_22843 ( "DVD title" text, "Number of Episodes" text, "Region 2" text, "Region 4 (AU)" text, "Region 1 (US)" text )
SELECT "Region 2" FROM table_22843 WHERE "Number of Episodes" = '25' AND "DVD title" = 'Catfights and Brawls'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 4906, 41, 96, 13529, 308, 2233, 121, 1499, 6, 96, 567, 5937, 49, 13, 16112, 7, 121, 1499, 6, 96, 17748, 23, 106, 204, 121, 1499, 6, 96, 17748, 23, 106, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17748, 23, 106, 204, 121, 21680, 953, 834, 357, 2577, 4906, 549, 17444, 427, 96, 567, 5937, 49, 13, 16112, 7, 121, 3274, 3, 31, 1828, 31, 3430, 96, 13529, 308, 2233, 121, 3274, 3, 31, 18610, 14466, 7, 11, 34...
which train number has its destination in kannur ?
CREATE TABLE table_204_824 ( id number, "no." number, "train no:" text, "origin" text, "destination" text, "train name" text )
SELECT "train no:" FROM table_204_824 WHERE "destination" = 'kannur'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 2266, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 9719, 150, 10, 121, 1499, 6, 96, 32, 3380, 77, 121, 1499, 6, 96, 13557, 257, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9719, 150, 10, 121, 21680, 953, 834, 26363, 834, 927, 2266, 549, 17444, 427, 96, 13557, 257, 121, 3274, 3, 31, 3304, 29, 450, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is every team with a record of 9-7?
CREATE TABLE table_27902171_5 ( team VARCHAR, record VARCHAR )
SELECT team FROM table_27902171_5 WHERE record = "9-7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2394, 2658, 4450, 834, 755, 41, 372, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 372, 28, 3, 9, 1368, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 2555, 2394, 2658, 4450, 834, 755, 549, 17444, 427, 1368, 3274, 96, 1298, 6832, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the player/s when there were 20 points with less than 1.0 extra point .
CREATE TABLE table_28067 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT "Player" FROM table_28067 WHERE "Extra points" < '1.0' AND "Points" = '20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17518, 3708, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313, 979, 121, 490, 6, 96, 3183, 8804, 1766, 121, 490, 6, 96, 22512, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 17518, 3708, 549, 17444, 427, 96, 5420, 1313, 979, 121, 3, 2, 3, 31, 12734, 31, 3430, 96, 22512, 7, 121, 3274, 3, 31, 1755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
how many prescriptions were ordered for the drug 1 ml : hydromorphone hcl pf 1 mg/ml ij soln?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT COUNT(*) FROM medication WHERE medication.drugname = '1 ml : hydromorphone hcl pf 1 mg/ml ij soln'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 7757, 549, 17444, 427, 7757, 5, 26, 13534, 4350, 3274, 3, 31, 536, 3, 51, 40, 3, 10, 7668, 8886, 782, 3, 107, 75, 40, 3, 102, 89, 209, 5453, 87, 51, 40, 3, 23, 354, 9467, 2...
Leading Scorer that has a Goal smaller than 23, and a League of football league division 3, and a Year of 1997 98 is who?
CREATE TABLE table_name_24 ( leading_scorer VARCHAR, year VARCHAR, goals VARCHAR, league VARCHAR )
SELECT leading_scorer FROM table_name_24 WHERE goals < 23 AND league = "football league division 3" AND year = "1997–98"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 1374, 834, 7, 5715, 49, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 5533, 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, 1374, 834, 7, 5715, 49, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1766, 3, 2, 1902, 3430, 5533, 3274, 96, 6259, 3184, 5533, 4889, 220, 121, 3430, 215, 3274, 96, 2294, 4327, 104, 3916, 121, 1, -100, -100, ...
What are the ranks of captains that are both in the Cutter and Armed schooner classes?
CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text )
SELECT rank FROM captain WHERE class = 'Cutter' INTERSECT SELECT rank FROM captain WHERE class = 'Armed schooner'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 14268, 834, 23, 26, 381, 6, 564, 1499, 6, 4383, 834, 23, 26, 381, 6, 1246, 1499, 6, 853, 1499, 6, 11003, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11003, 21680, 14268, 549, 17444, 427, 853, 3274, 3, 31, 254, 5108, 31, 3, 21342, 5249, 14196, 3, 23143, 14196, 11003, 21680, 14268, 549, 17444, 427, 853, 3274, 3, 31, 23823, 15, 26, 3, 7, 3995, 106, 49, 31, 1, -10...
Virtual channel of 16.5 has what call sign?
CREATE TABLE table_75031 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text )
SELECT "Call sign" FROM table_75031 WHERE "Virtual channel" = '16.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9979, 3341, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 188, 29, 9, 2152, 4245, 121, 1499, 6, 96, 30225, 4245, 121, 1499, 6, 96, 21031, 17, 3471, 4245, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1748, 1320, 121, 21680, 953, 834, 9979, 3341, 549, 17444, 427, 96, 21031, 17, 3471, 4245, 121, 3274, 3, 31, 536, 17255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How close to par was Tom Kite when he played?
CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_29 WHERE player = "tom kite"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 235, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 885, 12, 260, 47, 3059, 5747, 15, 116, 3, 88, 1944...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1959, 3274, 96, 235, 51, 3650, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has a Visitor of montreal canadiens, and Points of 5?
CREATE TABLE table_name_93 ( score VARCHAR, visitor VARCHAR, points VARCHAR )
SELECT score FROM table_name_93 WHERE visitor = "montreal canadiens" AND points = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 2604, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 4957, 127, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 7019, 3274, 96, 4662, 6644, 27114, 7, 121, 3430, 979, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career?
CREATE TABLE table_name_50 (career VARCHAR)
SELECT 2003 FROM table_name_50 WHERE 1998 = "1r" AND 1994 = "1r" AND career = "7-12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 2864, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3888, 701, 28, 3, 9, 209, 52, 16, 6260, 6, 3, 9, 968, 16, 7520, 6, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3888, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 6260, 3274, 96, 536, 52, 121, 3430, 7520, 3274, 96, 536, 52, 121, 3430, 1415, 3274, 96, 940, 5947, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
who had the same score as bulla ?
CREATE TABLE table_204_679 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number )
SELECT "player" FROM table_204_679 WHERE "player" <> 'johnny bulla' AND "score" = (SELECT "score" FROM table_204_679 WHERE "player" = 'johnny bulla')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 4440, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 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, 20846, 121, 21680, 953, 834, 26363, 834, 948, 4440, 549, 17444, 427, 96, 20846, 121, 3, 2, 3155, 3, 31, 27341, 29, 63, 8434, 9, 31, 3430, 96, 7, 9022, 121, 3274, 41, 23143, 14196, 96, 7, 9022, 121, 21680, 95...
On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
CREATE TABLE table_24919137_2 ( date VARCHAR, ladder_position VARCHAR, opposition VARCHAR )
SELECT date FROM table_24919137_2 WHERE ladder_position = "8th" AND opposition = "Hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3647, 2294, 24636, 834, 357, 41, 833, 584, 4280, 28027, 6, 15812, 834, 4718, 584, 4280, 28027, 6, 8263, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 357, 3647, 2294, 24636, 834, 357, 549, 17444, 427, 15812, 834, 4718, 3274, 96, 927, 189, 121, 3430, 8263, 3274, 96, 566, 9, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the name of the school where the year of last win is 1985-86?
CREATE TABLE table_14286908_1 ( school VARCHAR, year_of_last_win VARCHAR )
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "1985-86"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 2577, 3951, 4018, 834, 536, 41, 496, 584, 4280, 28027, 6, 215, 834, 858, 834, 5064, 834, 3757, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 21680, 953, 834, 2534, 2577, 3951, 4018, 834, 536, 549, 17444, 427, 215, 834, 858, 834, 5064, 834, 3757, 3274, 96, 24151, 27698, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the lowest gold with a total over 15 and less than 16 silver?
CREATE TABLE table_name_98 (gold INTEGER, total VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_98 WHERE total > 15 AND silver < 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 14910, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 7402, 2045, 28, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 792, 2490, 627, 3430, 4294, 3, 2, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many values of Other A correspond to Tommy Johnson Category:Articles with hCards?
CREATE TABLE table_14962287_2 ( other_a VARCHAR, name VARCHAR )
SELECT COUNT(other_a) FROM table_14962287_2 WHERE name = "Tommy Johnson Category:Articles with hCards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4314, 2884, 4225, 834, 357, 41, 119, 834, 9, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2620, 13, 2502, 71, 10423, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9269, 834, 9, 61, 21680, 953, 834, 2534, 4314, 2884, 4225, 834, 357, 549, 17444, 427, 564, 3274, 96, 3696, 635, 63, 5891, 17459, 10, 7754, 447, 965, 28, 3, 107, 6936, 26, 7, 121, 1, -100, -100, ...
What is the average pick # from the Quebec Major Junior Hockey League player Samuel Carrier?
CREATE TABLE table_name_11 ( pick__number INTEGER, league_from VARCHAR, player VARCHAR )
SELECT AVG(pick__number) FROM table_name_11 WHERE league_from = "quebec major junior hockey league" AND player = "samuel carrier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 5533, 834, 7152, 584, 4280, 28027, 6, 1959, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 5533, 834, 7152, 3274, 96, 835, 346, 75, 779, 9212, 16528, 5533, 121, 3430, 1959, 3274, 96, 7, 265, 76, 15, 40, 9...
When interplanet janet is the episode title who is the music by?
CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)
SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 536, 12869, 834, 519, 41, 22170, 834, 969, 584, 4280, 28027, 6, 5640, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 1413, 3767, 15, 17, 2662, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 723, 834, 969, 21680, 953, 834, 2294, 536, 12869, 834, 519, 549, 17444, 427, 5640, 834, 21869, 3274, 96, 17555, 3767, 15, 17, 8158, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the qualifying end date when the qualifying start date is qualifying start date?
CREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR)
SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3264, 1752, 3072, 834, 357, 41, 11433, 8587, 834, 989, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 18002, 414, 833, 116, 8, 18002, 456, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18002, 834, 989, 834, 5522, 21680, 953, 834, 2773, 3264, 1752, 3072, 834, 357, 549, 17444, 427, 96, 11433, 8587, 834, 10208, 834, 5522, 121, 3274, 96, 11433, 8587, 834, 10208, 834, 5522, 121, 1, -100, -100, -100, -100...
what season did the juventus win
CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR)
SELECT season FROM table_name_54 WHERE champion = "juventus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 9476, 584, 4280, 28027, 6, 6336, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 774, 410, 8, 3, 354, 4348, 302, 1369, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 6336, 3274, 96, 354, 4348, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the record on the game that was played on october 27?
CREATE TABLE table_name_72 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_72 WHERE date = "october 27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 30, 8, 467, 24, 47, 1944, 30, 3, 32, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 2307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many fatalities does Italy have?
CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)
SELECT fatalities FROM table_name_50 WHERE country = "italy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 6589, 138, 2197, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 12699, 2197, 405, 5308, 43, 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, 12699, 2197, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 684, 3274, 96, 9538, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the total number of instructors who teach a course in the Spring 2010 semester.
CREATE TABLE teaches (ID VARCHAR, semester VARCHAR, YEAR VARCHAR)
SELECT COUNT(DISTINCT ID) FROM teaches WHERE semester = 'Spring' AND YEAR = 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 11749, 41, 4309, 584, 4280, 28027, 6, 10542, 584, 4280, 28027, 6, 30431, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 792, 381, 13, 18166, 113, 3884, 3, 9, 503, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15438, 25424, 6227, 4699, 61, 21680, 3, 11749, 549, 17444, 427, 10542, 3274, 3, 31, 14562, 53, 31, 3430, 30431, 3274, 2735, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
find the diagnostic decription of diagnoses icd9 code v202.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "V202"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 2961, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 447, 26, 1298, 834, 4978, 3274, 96, 553, 19818, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
count the number of patients whose discharge location is disch-tran to psych hosp and primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 15438, 8360, 18, 11359, 567, 3001, 5610, 476, 8360, 3, 6299, ...
other than kyle anderson , who else lost in 2014 ?
CREATE TABLE table_203_20 ( id number, "player" text, "year" number, "round" text, "result" text, "opponent" text )
SELECT "player" FROM table_203_20 WHERE "player" <> 'kyle anderson' AND "result" = 'lost' AND "year" = 2014
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 1755, 41, 3, 23, 26, 381, 6, 96, 20846, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 7775, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 32, 102, 9977, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20846, 121, 21680, 953, 834, 23330, 834, 1755, 549, 17444, 427, 96, 20846, 121, 3, 2, 3155, 3, 31, 3781, 109, 11, 13515, 31, 3430, 96, 60, 7, 83, 17, 121, 3274, 3, 31, 2298, 17, 31, 3430, 96, 1201, 121, 32...
Which Pick # is the highest and has the Rd # is under 1?
CREATE TABLE table_name_9 ( pick__number INTEGER, rd__number INTEGER )
SELECT MAX(pick__number) FROM table_name_9 WHERE rd__number < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 3, 52, 26, 834, 834, 5525, 1152, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 8356, 171...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 3, 52, 26, 834, 834, 5525, 1152, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
body mass index ( bmi ) of 27 to 45 kg / m2 with weight < / = 136 kg ( 300 lbs.
CREATE TABLE table_train_273 ( "id" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "body_weight" float, "hba1c" float, "insulin_requirement" float, "body_mass_index_bmi" float, "NOUSE" float )
SELECT * FROM table_train_273 WHERE body_mass_index_bmi >= 27 AND body_mass_index_bmi <= 45 AND body_weight <= 136
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2555, 519, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 2555, 519, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 2490, 2423, 2307, 3430, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 3, 2, 2423, 3479, 3430, 643, ...
give the number of patients whose admission locations is trsf within this facility and who were given the drug cetylpyridinum chl (cepacol).
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND prescriptions.drug = "Cetylpyridinium Chl (Cepacol)"
[ 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...
What is the number of electorates (2009) for Hingna?
CREATE TABLE table_name_78 ( number_of_electorates__2009_ INTEGER, name VARCHAR )
SELECT AVG(number_of_electorates__2009_) FROM table_name_78 WHERE name = "hingna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 381, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 564, 3274, 96, 2907, 11260, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of unmarried patients who have procedure icd9 code 5771?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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.marital_status = "SINGLE" AND procedures.icd9_code = "5771"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
When was the game played against Astley Bridge 'a'?
CREATE TABLE table_60102 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Scorers" text )
SELECT "Date" FROM table_60102 WHERE "Opponents" = 'astley bridge ''a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 14388, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, 96, 566, 3, 87, 71, 121, 1499, 6, 96, 20119, 377, 3, 2, 76, 11138, 71, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3328, 14388, 549, 17444, 427, 96, 667, 102, 9977, 7, 121, 3274, 3, 31, 9, 7, 17, 1306, 4716, 3, 31, 31, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which IATA has a ICAO of slk?
CREATE TABLE table_name_14 ( iata VARCHAR, icao VARCHAR )
SELECT iata FROM table_name_14 WHERE icao = "slk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 3, 17221, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 27, 19282, 65, 3, 9, 3, 15038, 667, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17221, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 3, 2617, 32, 3274, 96, 7, 40, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the the name of the customers who have a loan with amount more than 3000.
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 41, 1071, 7, 17, 834, 4350, 584, 4280, 28027, 6, 123, 7, 17, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2289, 41, 1071, 7, 17, 834...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 1071, 7, 17, 834, 4350, 21680, 884, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1071, 7, 17, 834, 23, 26, 3274, 332, 4416, 1071, 7, 17, 834, 23, 26, 549, 17444, 427, 866, 24...
how many patients had been released until 4 years ago from the hospital?
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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime) <= DATETIME(CURRENT_TIME(), '-4 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 4486, 1868, 5, 31386, 26, 159, 7993, 715, 6827, 13046, 10376, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 26, 1...