NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
how many patients whose primary disease is atrial septal defect\mitral valve replacement;repair atrial-septal defect/sda and procedure short title is cath base invasv ep test?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ATRIAL SEPTAL DEFECT\MITRAL VALVE REPLACEMENT;REPAIR ATRIAL-SEPTAL DEFECT/SDA" AND procedures.short_title = "Cath base invasv ep test"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the CFL Team with Will Grant?
CREATE TABLE table_39811 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "CFL Team" FROM table_39811 WHERE "Player" = 'will grant'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3916, 2596, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10765, 2271, 121, 21680, 953, 834, 519, 3916, 2596, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 8894, 5334, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which School has a Mascot of squires?
CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_35 WHERE mascot = "squires"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 6646, 584, 4280, 28027, 6, 3, 2754, 4310, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1121, 65, 3, 9, 6664, 4310, 13, 3, 7, 1169, 60, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 496, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 3, 2754, 4310, 3274, 96, 7, 1169, 60, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the state class for iowa admitted to the union december 28, 1846
CREATE TABLE table_25105 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successors formal installation" text )
SELECT "State (class)" FROM table_25105 WHERE "Reason for change" = 'Iowa admitted to the Union December 28, 1846'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 12869, 41, 96, 134, 4748, 41, 4057, 61, 121, 1499, 6, 96, 25203, 1016, 121, 1499, 6, 96, 1649, 9, 739, 21, 483, 121, 1499, 6, 96, 134, 17431, 24901, 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, 134, 4748, 41, 4057, 61, 121, 21680, 953, 834, 1828, 12869, 549, 17444, 427, 96, 1649, 9, 739, 21, 483, 121, 3274, 3, 31, 196, 2381, 9, 10246, 12, 8, 3545, 1882, 13719, 507, 4448, 31, 1, -100, -100, -100, -1...
What Leading scorer had a Score of 80–112?
CREATE TABLE table_name_98 (leading_scorer VARCHAR, score VARCHAR)
SELECT leading_scorer FROM table_name_98 WHERE score = "80–112"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 17103, 834, 7, 5715, 49, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 22798, 2604, 52, 141, 3, 9, 17763, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1374, 834, 7, 5715, 49, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 2604, 3274, 96, 2079, 104, 2596, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is minimum age of patients whose days of hospital stay is 20 and year of death is less than 2164?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT MIN(demographic.age) FROM demographic WHERE demographic.days_stay = "20" AND demographic.dod_year < "2164.0"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1135, 7, 834, 21545, 3274, 96, 1755, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 96, 27184, 15021, 121, 1, -100, -100, -100, ...
how many total laps did alex figge complete ?
CREATE TABLE table_203_761 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number )
SELECT "laps" FROM table_203_761 WHERE "driver" = 'alex figge'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3959, 536, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 381, 6, 96, 29, 32, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 8478, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8478, 7, 121, 21680, 953, 834, 23330, 834, 3959, 536, 549, 17444, 427, 96, 13739, 52, 121, 3274, 3, 31, 138, 994, 3, 15994, 397, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was his partner when he played on carpet?
CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR)
SELECT partner FROM table_name_22 WHERE surface = "carpet"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 12300, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 112, 2397, 116, 3, 88, 1944, 30, 4898, 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, 2397, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1774, 3274, 96, 1720, 4995, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the salaries of all distinct instructors that are less than the largest salary.
CREATE TABLE instructor (salary INTEGER)
SELECT DISTINCT salary FROM instructor WHERE salary < (SELECT MAX(salary) FROM instructor)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 7, 138, 1208, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 21331, 13, 66, 6746, 18166, 24, 33, 705, 145, 8, 2015, 9090, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 9090, 21680, 10617, 549, 17444, 427, 9090, 3, 2, 41, 23143, 14196, 4800, 4, 599, 7, 138, 1208, 61, 21680, 10617, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is insurance of subject name paul edwards?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT demographic.insurance FROM demographic WHERE demographic.name = "Paul Edwards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 29441, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 23183, 8200, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Among deaths 106 000 how many is crude rate.
CREATE TABLE table_21258_1 ( crude_death_rate VARCHAR, deaths VARCHAR )
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24837, 3449, 834, 536, 41, 19058, 834, 221, 9, 189, 834, 2206, 584, 4280, 28027, 6, 14319, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 7264, 14319, 3, 16431, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 19058, 834, 221, 9, 189, 834, 2206, 21680, 953, 834, 24837, 3449, 834, 536, 549, 17444, 427, 14319, 3274, 96, 16431, 6078, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the lineage of oka tadatomo ( )?
CREATE TABLE table_14968 ( "Name" text, "Tenure" text, "Courtesy title" text, "Court Rank" text, "Revenues" text, "Lineage" text )
SELECT "Lineage" FROM table_14968 WHERE "Name" = 'ōoka tadatomo (大岡忠與)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 3651, 41, 96, 23954, 121, 1499, 6, 96, 382, 35, 1462, 121, 1499, 6, 96, 254, 1211, 1422, 63, 2233, 121, 1499, 6, 96, 254, 1211, 17, 3, 22557, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21022, 545, 121, 21680, 953, 834, 24816, 3651, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2, 1825, 9, 3, 17, 9, 26, 10432, 32, 41, 2, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the area of Colonsay Island?
CREATE TABLE table_143579_1 (area___ha__ INTEGER, island VARCHAR)
SELECT MIN(area___ha__) FROM table_143579_1 WHERE island = "Colonsay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 2469, 4440, 834, 536, 41, 498, 834, 834, 834, 1024, 834, 834, 3, 21342, 17966, 6, 3368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 616, 13, 3043...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 498, 834, 834, 834, 1024, 834, 834, 61, 21680, 953, 834, 2534, 2469, 4440, 834, 536, 549, 17444, 427, 3368, 3274, 96, 9939, 106, 8735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the relationship between Team_ID and School_ID ?
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT Team_ID, School_ID FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 4309, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many of the patients treated with ketorolac died?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Ketorolac"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
In what year was the rank 24?
CREATE TABLE table_name_96 (year VARCHAR, rank VARCHAR)
SELECT year FROM table_name_96 WHERE rank = "24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1201, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 47, 8, 11003, 997, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 11003, 3274, 96, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In what year was player Bruce Graham acquired?
CREATE TABLE table_name_18 (acquired VARCHAR, player VARCHAR)
SELECT acquired FROM table_name_18 WHERE player = "bruce graham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 9, 75, 1169, 1271, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 47, 1959, 13800, 15146, 7347, 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, 7347, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1959, 3274, 96, 9052, 565, 3, 3484, 1483, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who are all the writers of episodes in season 24?
CREATE TABLE table_25800134_2 ( writer_s_ VARCHAR, season__number VARCHAR )
SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 6192, 23747, 834, 357, 41, 4346, 834, 7, 834, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 66, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4346, 834, 7, 834, 21680, 953, 834, 1828, 6192, 23747, 834, 357, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 997, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the character for 2005?
CREATE TABLE table_name_43 ( character VARCHAR, year VARCHAR )
SELECT character FROM table_name_43 WHERE year = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 1848, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1848, 21, 3105, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1848, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 215, 3274, 3105, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How much Rank has a Bronze of 21, and a Silver larger than 10?
CREATE TABLE table_79713 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Rank") FROM table_79713 WHERE "Bronze" = '21' AND "Silver" > '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 4327, 2368, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 940, 4327, 2368, 549, 17444, 427, 96, 22780, 29, 776, 121, 3274, 3, 31, 2658, 31, 3430, 96, 134, 173, 624, 121, 2490, 3, 31, 1714, 31, 1, -100, -100, -100, -100...
What date was the release when the format was lp?
CREATE TABLE table_name_21 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_21 WHERE format = "lp"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 5522, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 1576, 116, 8, 1910, 47, 3, 40, 102, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1910, 3274, 96, 40, 102, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the score in the 2 truck pull of the player who got 1 (5 in 33.84s) in the 4 fingals fingers?
CREATE TABLE table_26750 ( "Position" text, "Name" text, "Nationality" text, "Event 1 Medley" text, "Event 2 Truck Pull" text, "Event 3 Dead Lift" text, "Event 4 Fingals Fingers" text, "Event 5 Keg Toss" text, "Event 6 Atlas Stones" text )
SELECT "Event 2 Truck Pull" FROM table_26750 WHERE "Event 4 Fingals Fingers" = '1 (5 in 33.84s)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 9979, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 427, 2169, 209, 8067, 1306, 121, 1499, 6, 96, 427, 2169, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 2169, 204, 14049, 17039, 121, 21680, 953, 834, 2688, 9979, 549, 17444, 427, 96, 427, 2169, 314, 377, 53, 5405, 16625, 7, 121, 3274, 3, 31, 536, 9209, 16, 5400, 5, 4608, 7, 61, 31, 1, -100, -100, -100, -...
Name the result for goal # more than 4
CREATE TABLE table_name_92 (result VARCHAR, goal__number INTEGER)
SELECT result FROM table_name_92 WHERE goal__number > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 1288, 834, 834, 5525, 1152, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 741, 21, 1288, 1713, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1288, 834, 834, 5525, 1152, 2490, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a pie chart to show the proportion of acceptance result.
CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text )
SELECT Result, COUNT(Result) FROM Acceptance GROUP BY Result
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8121, 41, 29779, 834, 4309, 16, 17, 6, 17763, 7, 490, 6, 10236, 1499, 6, 1888, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4786, 41, 9644, 834, 4309, 16, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 20119, 6, 2847, 17161, 599, 20119, 61, 21680, 20592, 663, 350, 4630, 6880, 272, 476, 3, 20119, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
A scatter chart shows the correlation between People_ID and Total .
CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text )
SELECT People_ID, Total FROM body_builder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 643, 834, 16422, 49, 41, 8501, 834, 24752, 49, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 180, 29, 14547, 490, 6, 7433, 834, 683, 49, 157, 490, 6, 9273, 490, 3, 61, 3, 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, 2449, 834, 4309, 6, 9273, 21680, 643, 834, 16422, 49, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Date performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14?
CREATE TABLE table_name_12 ( date_performed VARCHAR, position VARCHAR, scores_by_each_individual_judge VARCHAR )
SELECT date_performed FROM table_name_12 WHERE position = "bottom 3" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 833, 834, 883, 10816, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 7586, 834, 969, 834, 15, 1836, 834, 17027, 138, 834, 354, 13164, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 883, 10816, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1102, 3274, 96, 30142, 220, 121, 3430, 7586, 834, 969, 834, 15, 1836, 834, 17027, 138, 834, 354, 13164, 3274, 305, 1768, 305, 1768, 314, 3274, ...
What is the average account balance of customers with credit score below 50 for the different account types. Show the proportion.
CREATE TABLE loan ( loan_ID varchar(3), loan_type varchar(15), cust_ID varchar(3), branch_ID varchar(3), amount int ) CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, s...
SELECT acc_type, AVG(acc_bal) FROM customer WHERE credit_score < 50 GROUP BY acc_type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2289, 41, 2289, 834, 4309, 3, 4331, 4059, 17867, 6, 2289, 834, 6137, 3, 4331, 4059, 599, 1808, 201, 123, 7, 17, 834, 4309, 3, 4331, 4059, 17867, 6, 6421, 834, 4309, 3, 4331, 4059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6004, 834, 6137, 6, 71, 17217, 599, 6004, 834, 3849, 61, 21680, 884, 549, 17444, 427, 998, 834, 7, 9022, 3, 2, 943, 350, 4630, 6880, 272, 476, 3, 6004, 834, 6137, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the class for Geholfen Gedroschen in part 4?
CREATE TABLE table_name_26 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_name_26 WHERE part_4 = "geholfen gedroschen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 4057, 584, 4280, 28027, 6, 294, 834, 591, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 853, 21, 961, 2831, 89, 35, 961, 26, 1859, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 294, 834, 591, 3274, 96, 397, 2831, 89, 35, 3, 5402, 1859, 1559, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the release date of Sonic Adventure 2?
CREATE TABLE table_1322904_1 ( release VARCHAR, title VARCHAR )
SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23757, 3166, 6348, 834, 536, 41, 1576, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1576, 833, 13, 20419, 12316, 204, 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, 1576, 21680, 953, 834, 23757, 3166, 6348, 834, 536, 549, 17444, 427, 2233, 3274, 96, 134, 4554, 12316, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the player if the innings is 82?
CREATE TABLE table_23316034_16 (player VARCHAR, innings VARCHAR)
SELECT player FROM table_23316034_16 WHERE innings = 82
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 19129, 3710, 834, 2938, 41, 20846, 584, 4280, 28027, 6, 19714, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1959, 3, 99, 8, 19714, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 20879, 19129, 3710, 834, 2938, 549, 17444, 427, 19714, 3274, 3, 4613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When was the duchess, who was married on 11 july 1643, born?
CREATE TABLE table_59573 ( "Name" text, "Father" text, "Birth" text, "Marriage" text, "Became Duchess" text, "Ceased to be Duchess" text, "Death" text, "Spouse" text )
SELECT "Birth" FROM table_59573 WHERE "Marriage" = '11 july 1643'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3436, 519, 41, 96, 23954, 121, 1499, 6, 96, 371, 144, 760, 121, 1499, 6, 96, 279, 23, 52, 189, 121, 1499, 6, 96, 329, 10269, 545, 121, 1499, 6, 96, 2703, 6527, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 23, 52, 189, 121, 21680, 953, 834, 3390, 3436, 519, 549, 17444, 427, 96, 329, 10269, 545, 121, 3274, 3, 31, 2596, 3, 2047, 120, 898, 4906, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many points are listed when the position is 2?
CREATE TABLE table_15405904_1 ( points INTEGER, position VARCHAR )
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2445, 3390, 6348, 834, 536, 41, 979, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 33, 2616, 116, 8, 1102, 19, 204,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2700, 7, 61, 21680, 953, 834, 1808, 2445, 3390, 6348, 834, 536, 549, 17444, 427, 1102, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the weight of the CF pos on the 2012 CN Sabadell team?
CREATE TABLE table_9226 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "2012 club" text )
SELECT "Weight" FROM table_9226 WHERE "Pos." = 'cf' AND "2012 club" = 'cn sabadell'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 2688, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 1499, 6, 96, 12172, 1886, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1326, 2632, 121, 21680, 953, 834, 4508, 2688, 549, 17444, 427, 96, 345, 32, 7, 535, 3274, 3, 31, 75, 89, 31, 3430, 96, 12172, 1886, 121, 3274, 3, 31, 75, 29, 3, 7, 9, 5514, 3820, 31, 1, -100, -100, -100, ...
What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No?
CREATE TABLE table_name_61 ( city VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR )
SELECT city FROM table_name_61 WHERE state = "florida" AND aam_member = "no" AND aam_accredited = "no"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 690, 584, 4280, 28027, 6, 3, 9, 265, 834, 9, 75, 16473, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 6, 3, 9, 265, 834, 12066, 584, 4280, 28027, 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, 690, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 538, 3274, 96, 89, 322, 23, 26, 9, 121, 3430, 3, 9, 265, 834, 12066, 3274, 96, 29, 32, 121, 3430, 3, 9, 265, 834, 9, 75, 16473, 3274, 96, 29, 32, 121, ...
who took office after abdullah jaafar ?
CREATE TABLE table_204_668 ( id number, "#" number, "menteri besar" text, "took office" text, "left office" text, "party" text )
SELECT "menteri besar" FROM table_204_668 WHERE "took office" > (SELECT "took office" FROM table_204_668 WHERE "menteri besar" = 'abdullah jaafar') ORDER BY "took office" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3539, 927, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 297, 49, 23, 36, 7, 291, 121, 1499, 6, 96, 235, 1825, 828, 121, 1499, 6, 96, 17068, 828, 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, 297, 49, 23, 36, 7, 291, 121, 21680, 953, 834, 26363, 834, 3539, 927, 549, 17444, 427, 96, 235, 1825, 828, 121, 2490, 41, 23143, 14196, 96, 235, 1825, 828, 121, 21680, 953, 834, 26363, 834, 3539, 927, 549, 174...
Name the casualities for kabul area
CREATE TABLE table_name_74 (casualties VARCHAR, location VARCHAR)
SELECT casualties FROM table_name_74 WHERE location = "kabul area"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 6769, 3471, 3010, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 6995, 2197, 21, 3, 1258, 6724, 616, 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, 6995, 3010, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1128, 3274, 96, 1258, 6724, 616, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Name has a Round smaller than 5, and a Pick # larger than 13?
CREATE TABLE table_name_50 ( name VARCHAR, round VARCHAR, pick__number VARCHAR )
SELECT name FROM table_name_50 WHERE round < 5 AND pick__number > 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 564, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5570, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 1751, 3, 2, 305, 3430, 1432, 834, 834, 5525, 1152, 2490, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country has a rank smaller than 6, a time of 6:32.32 and notes of FB?
CREATE TABLE table_name_45 (country VARCHAR, time VARCHAR, rank VARCHAR, notes VARCHAR)
SELECT country FROM table_name_45 WHERE rank < 6 AND notes = "fb" AND time = "6:32.32"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 17529, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 11003, 3, 2, 431, 3430, 3358, 3274, 96, 89, 115, 121, 3430, 97, 3274, 96, 948, 10, 2668, 5, 2668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Calculate the average days for which patients suffering from sternal wound infection primary disease were admitted in hospital.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "STERNAL WOUND INFECTION"
[ 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, 71, 17217, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 20727, 567, 4090, 3, 16733, 13110, 27, 12619, 3073, 9562, 121, 1, -100, -100, -100, -100, ...
What percentage did chris wright receive?
CREATE TABLE table_name_23 (percentage VARCHAR, candidate VARCHAR)
SELECT percentage FROM table_name_23 WHERE candidate = "chris wright"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 883, 3728, 545, 584, 4280, 28027, 6, 4775, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5294, 410, 3, 524, 52, 159, 3, 210, 3535, 911, 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, 5294, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 4775, 3274, 96, 524, 52, 159, 3, 210, 3535, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many grand final dual television commentators were there in 1961?
CREATE TABLE table_1368649_9 (grand_final_dual_television_commentator VARCHAR, year_s_ VARCHAR)
SELECT COUNT(grand_final_dual_television_commentator) FROM table_1368649_9 WHERE year_s_ = 1961
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 3840, 3647, 834, 1298, 41, 15448, 834, 12406, 834, 26, 3471, 834, 1931, 6610, 834, 287, 297, 1016, 584, 4280, 28027, 6, 215, 834, 7, 834, 584, 4280, 28027, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15448, 834, 12406, 834, 26, 3471, 834, 1931, 6610, 834, 287, 297, 1016, 61, 21680, 953, 834, 23459, 3840, 3647, 834, 1298, 549, 17444, 427, 215, 834, 7, 834, 3274, 21018, 1, -100, -100, -100, -100, ...
Tell me the most attendance for game less than 1
CREATE TABLE table_name_15 ( attendance INTEGER, game INTEGER )
SELECT MAX(attendance) FROM table_name_15 WHERE game < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 11364, 3, 21342, 17966, 6, 467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 167, 11364, 21, 467, 705, 145, 209, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 467, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Player has a To par of 12, and a Country of fiji?
CREATE TABLE table_59807 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real )
SELECT "Player" FROM table_59807 WHERE "To par" = '12' AND "Country" = 'fiji'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 2079, 940, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3390, 2079, 940, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 2122, 31, 3430, 96, 10628, 651, 121, 3274, 3, 31, 89, 17279, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
Which team has Pick 13 in Round 2?
CREATE TABLE table_name_88 (team VARCHAR, round VARCHAR, pick VARCHAR)
SELECT team FROM table_name_88 WHERE round = "2" AND pick = "13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 11650, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 8356, 1179, 16, 9609, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 4350, 834, 4060, 549, 17444, 427, 1751, 3274, 96, 357, 121, 3430, 1432, 3274, 96, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was in the women's 200m medley?
CREATE TABLE table_name_22 ( name VARCHAR, event VARCHAR )
SELECT name FROM table_name_22 WHERE event = "women's 200m medley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 564, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 16, 8, 887, 31, 7, 2382, 51, 3, 2726, 1306, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 605, 3274, 96, 210, 32, 904, 31, 7, 2382, 51, 3, 2726, 1306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the procedure short title and how many days did subject id 17595 stay in the hospital?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT demographic.days_stay, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "17595"
[ 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, 14798, 5, 1135, 7, 834, 21545, 6, 4293, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798...
Which tournament was played on September 25, 1995?
CREATE TABLE table_40202 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Tournament" FROM table_40202 WHERE "Date" = 'september 25, 1995'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 19818, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 16, 8, 804, 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, 382, 1211, 20205, 17, 121, 21680, 953, 834, 2445, 19818, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7, 6707, 18247, 14105, 7273, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose year of death is less than or equal to 2138 and drug code is hydr20/100ns?
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 demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2138.0" AND prescriptions.formulary_drug_cd = "HYDR20/100NS"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
who directed the production code 2398204
CREATE TABLE table_10953197_7 ( director VARCHAR, production_code VARCHAR )
SELECT director FROM table_10953197_7 WHERE production_code = "2398204"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 4867, 27181, 834, 940, 41, 2090, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 6640, 8, 999, 1081, 1902, 3916, 2636...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2090, 21680, 953, 834, 17304, 4867, 27181, 834, 940, 549, 17444, 427, 999, 834, 4978, 3274, 96, 2773, 3916, 26363, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many time is fri 27 aug 19' 38.87 115.219mph?
CREATE TABLE table_29184 ( "Rank" real, "Rider" text, "Sat 21 Aug" text, "Mon 23 Aug" text, "Tues 24 Aug" text, "Wed 25 Aug" text, "Thurs 26 Aug" text, "Fri 27 Aug" text, "Sat 29 Aug" text )
SELECT COUNT("Sat 29 Aug") FROM table_29184 WHERE "Fri 27 Aug" = '19'' 38.87 115.219mph'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 25987, 41, 96, 22557, 121, 490, 6, 96, 448, 23, 588, 121, 1499, 6, 96, 134, 144, 1401, 6128, 121, 1499, 6, 96, 9168, 1902, 6128, 121, 1499, 6, 96, 382, 76, 15, 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, 2847, 17161, 599, 121, 134, 144, 2838, 6128, 8512, 21680, 953, 834, 3166, 25987, 549, 17444, 427, 96, 371, 52, 23, 2307, 6128, 121, 3274, 3, 31, 2294, 31, 31, 6654, 5, 4225, 850, 24342, 2294, 7656, 31, 1, -100, -1...
Show first name for all students with major 600.
CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE sportsinfo ( stuid number, sportname text, ...
SELECT fname FROM student WHERE major = 600
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4805, 834, 7261, 7, 41, 21341, 23, 26, 381, 6, 467, 23, 26, 381, 6, 716, 834, 4895, 15, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 89, 4350, 21680, 1236, 549, 17444, 427, 779, 3274, 7366, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was driving with a Grid of 13?
CREATE TABLE table_53342 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Driver" FROM table_53342 WHERE "Grid" = '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 3710, 357, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20982, 52, 121, 21680, 953, 834, 4867, 3710, 357, 549, 17444, 427, 96, 13313, 26, 121, 3274, 3, 31, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What school/club had pick 33?
CREATE TABLE table_name_31 (school_club_team VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_31 WHERE pick = 33
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 6646, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 496, 87, 13442, 141, 1432, 5400, 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, 0...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1432, 3274, 5400, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What player was picked 176?
CREATE TABLE table_name_51 ( player VARCHAR, pick VARCHAR )
SELECT player FROM table_name_51 WHERE pick = 176
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 1959, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 47, 4758, 3, 26782, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 1432, 3274, 3, 26782, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What time is CDT when PDT is 3:17 a.m.?
CREATE TABLE table_8654 ( "Event" text, "PDT (-7 UTC)" text, "MDT (-6 UTC)" text, "CDT (-5 UTC)" text, "EDT (-4 UTC)" text )
SELECT "CDT (-5 UTC)" FROM table_8654 WHERE "PDT (-7 UTC)" = '3:17 a.m.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3840, 5062, 41, 96, 427, 2169, 121, 1499, 6, 96, 6251, 382, 41, 6832, 412, 3838, 61, 121, 1499, 6, 96, 329, 12111, 41, 5783, 412, 3838, 61, 121, 1499, 6, 96, 6931, 382, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6931, 382, 41, 4525, 412, 3838, 61, 121, 21680, 953, 834, 3840, 5062, 549, 17444, 427, 96, 6251, 382, 41, 6832, 412, 3838, 61, 121, 3274, 3, 31, 519, 10, 2517, 3, 9, 5, 51, 5, 31, 1, -100, -100, -100, -100...
How many Premierships have Nicknamed of kangaroos?
CREATE TABLE table_name_72 (no_of_premierships VARCHAR, nickname VARCHAR)
SELECT COUNT(no_of_premierships) FROM table_name_72 WHERE nickname = "kangaroos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 29, 32, 834, 858, 834, 2026, 51, 972, 2009, 7, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6552, 2009, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 29, 32, 834, 858, 834, 2026, 51, 972, 2009, 7, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 24649, 3274, 96, 3304, 1478, 32, 32, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
how many albums did french montana release under bad boy ?
CREATE TABLE table_200_14 ( id number, "act" text, "year signed" number, "# albums released under bad boy" number )
SELECT "# albums released under bad boy" FROM table_200_14 WHERE "act" = 'french montana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 834, 2534, 41, 3, 23, 26, 381, 6, 96, 2708, 121, 1499, 6, 96, 1201, 3814, 121, 381, 6, 96, 4663, 14234, 1883, 365, 1282, 4940, 121, 381, 3, 61, 3, 32102, 32103, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 4663, 14234, 1883, 365, 1282, 4940, 121, 21680, 953, 834, 3632, 834, 2534, 549, 17444, 427, 96, 2708, 121, 3274, 3, 31, 89, 60, 5457, 6278, 152, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of hire_date and the amount of hire_date bin hire_date by time.
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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varc...
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 2847, 17161, 599, 566, 14132, 834, 308, 6048, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 54...
What is the average Bronze, when Silver is 0, when Rank is 19, and when Total is greater than 2?
CREATE TABLE table_name_29 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_29 WHERE silver = 0 AND rank = "19" AND total > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 13711, 776, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 4294, 3274, 3, 632, 3430, 11003, 3274, 96, 2294, 121, 3430, 792, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the customer last name, id and phone number with most number of orders?
CREATE TABLE Orders (customer_id VARCHAR); CREATE TABLE Customers (customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)
SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5197, 7, 41, 25697, 49, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 25697, 49, 834, 5064, 834, 4350, 584, 4280, 28027, 6, 951, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25697, 49, 834, 5064, 834, 4350, 6, 332, 5411, 25697, 49, 834, 23, 26, 6, 332, 4416, 6399, 834, 5525, 1152, 21680, 5197, 7, 6157, 332, 536, 3, 15355, 3162, 16423, 6157, 332, 357, 9191, 332, 5411, 25697, ...
What's listed for the Elevated category that has an Order of Cardinal-Bishop?
CREATE TABLE table_name_78 (elevated VARCHAR, order VARCHAR)
SELECT elevated FROM table_name_78 WHERE order = "cardinal-bishop"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 15, 10912, 920, 584, 4280, 28027, 6, 455, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 2616, 21, 8, 8021, 208, 920, 3295, 24, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15712, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 455, 3274, 96, 6043, 10270, 18, 11514, 10776, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the lead with Pete Fenson as skip and Joe Polo as second in season 2005 06?
CREATE TABLE table_77326 ( "Season" text, "Skip" text, "Third" text, "Second" text, "Lead" text )
SELECT "Lead" FROM table_77326 WHERE "Skip" = 'pete fenson' AND "Second" = 'joe polo' AND "Season" = '2005–06'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 519, 2688, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 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, 96, 2796, 9, 26, 121, 21680, 953, 834, 4013, 519, 2688, 549, 17444, 427, 96, 134, 2168, 102, 121, 3274, 3, 31, 4995, 15, 3, 89, 35, 739, 31, 3430, 96, 134, 15, 1018, 26, 121, 3274, 3, 31, 1927, 15, 3, 3233, ...
How many players are injured in each day? Show a bar chart, and sort in asc by the Date please.
CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text ) CREATE TABLE stadium ( id int, name text, Home_Games int, Average_Attendance real, Total_Attendance real, Capacity_Percentage real ) ...
SELECT Date, COUNT(Date) FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id GROUP BY Date ORDER BY Date
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 467, 41, 14939, 834, 23, 26, 16, 17, 6, 3, 23, 26, 16, 17, 6, 7960, 16, 17, 6, 7678, 1499, 6, 1210, 834, 11650, 1499, 6, 71, 1343, 834, 11650, 1499, 6, 17763, 1499, 6, 15571, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 6, 2847, 17161, 599, 308, 342, 61, 21680, 467, 6157, 332, 536, 3, 15355, 3162, 2871, 834, 6004, 4215, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 7261, 834, 23, 26, 350, 4630, 6880, 272, 476, 7...
Who is the kitmaker for TPS?
CREATE TABLE table_25129482_1 (kitmaker VARCHAR, club VARCHAR)
SELECT kitmaker FROM table_25129482_1 WHERE club = "TPS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 22174, 3707, 357, 834, 536, 41, 9229, 8337, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3650, 8337, 21, 332, 4176, 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, 3650, 8337, 21680, 953, 834, 1828, 22174, 3707, 357, 834, 536, 549, 17444, 427, 1886, 3274, 96, 7150, 134, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which place is payne stewart, the player in?
CREATE TABLE table_name_40 ( place VARCHAR, player VARCHAR )
SELECT place FROM table_name_40 WHERE player = "payne stewart"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 286, 19, 726, 29, 15, 21786, 1408, 6, 8, 1959, 16, 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, 286, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1959, 3274, 96, 102, 21993, 21786, 1408, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton?
CREATE TABLE table_name_26 ( race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR )
SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "winton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1964, 834, 357, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 6, 1964, 834, 536, 584, 4280, 28027, 6, 1964, 834, 519, 584, 4280, 28027, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1964, 834, 357, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1964, 834, 536, 3274, 96, 26, 29, 89, 121, 3430, 1964, 834, 519, 3274, 96, 26, 29, 89, 121, 3430, 1463, 3274, 96, 3757, 17, 106, 121, 1, -100, -...
What's the date for Details of 1000 copies?
CREATE TABLE table_63601 ( "Date" real, "Single" text, "Backed with" text, "Record label" text, "Format" text, "Other details" text )
SELECT MIN("Date") FROM table_63601 WHERE "Other details" = '1000 copies'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3328, 536, 41, 96, 308, 342, 121, 490, 6, 96, 134, 53, 109, 121, 1499, 6, 96, 279, 13365, 28, 121, 1499, 6, 96, 1649, 7621, 3783, 121, 1499, 6, 96, 3809, 3357, 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, 3, 17684, 599, 121, 308, 342, 8512, 21680, 953, 834, 3891, 3328, 536, 549, 17444, 427, 96, 667, 189, 49, 1030, 121, 3274, 3, 31, 16824, 8167, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose diagnoses long title is personal history of malignant neoplasm of other gastrointestinal tract and lab test fluid is other body fluid?
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 ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Personal history of malignant neoplasm of other gastrointestinal tract" AND lab.fluid = "Other Body Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
How many reviews does ' Acacia Cafe ' have ?
CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_addr...
SELECT review_count FROM business WHERE name = 'Acacia Cafe'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 41, 5413, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 1139, 834, 23, 26, 3, 4331, 4059, 6, 5773, 3, 12660, 6, 1499, 307, 6327, 6, 215, 16, 17, 6, 847, 3, 4331, 4059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1132, 834, 13362, 21680, 268, 549, 17444, 427, 564, 3274, 3, 31, 188, 658, 4915, 14022, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Extra points 1 point is the highest one that has a Total Points smaller than 8?
CREATE TABLE table_name_59 (extra_points_1_point INTEGER, total_points INTEGER)
SELECT MAX(extra_points_1_point) FROM table_name_59 WHERE total_points < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 25666, 834, 2700, 7, 834, 536, 834, 2700, 3, 21342, 17966, 6, 792, 834, 2700, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 8505, 979, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 25666, 834, 2700, 7, 834, 536, 834, 2700, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 792, 834, 2700, 7, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the away team at the Win Entertainment Centre?
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 44, 8, 4871, 12694, 2969, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 5669, 3274, 96, 3757, 4527, 2050, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many musical guests and songs were in episodes with a production code k0519?
CREATE TABLE table_17267 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Musical guest and song" text, "Original air date" text, "Production code" text )
SELECT COUNT("Musical guest and song") FROM table_17267 WHERE "Production code" = 'K0519'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 3708, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 29035, 138, 3886, 11, 2324, 8512, 21680, 953, 834, 27156, 3708, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 439, 3076, 2294, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
hematocrit < 36 ( female ) , < 38 ( male )
CREATE TABLE table_dev_53 ( "id" int, "anemia" bool, "gender" string, "hemoglobin_a1c_hba1c" float, "dyslipidemia" bool, "hct" int, "hematocrit_hct" float, "persistent_macroalbuminuria" bool, "urine_albumin" int, "high_density_lipoprotein_cholesterol_hdl_c" int, "coagulopathy...
SELECT * FROM table_dev_53 WHERE (gender = 'female' AND hematocrit_hct < 36) OR (gender = 'male' AND hematocrit_hct < 38)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 4867, 41, 96, 23, 26, 121, 16, 17, 6, 96, 152, 11658, 121, 3, 12840, 40, 6, 96, 122, 3868, 121, 6108, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 4867, 549, 17444, 427, 41, 122, 3868, 3274, 3, 31, 89, 15, 13513, 31, 3430, 3, 6015, 9, 235, 12563, 834, 107, 75, 17, 3, 2, 4475, 61, 4674, 41, 122, 3868, 3274, 3, 31, 13513, ...
how many matches did colin dibley win
CREATE TABLE table_74379 ( "Rk" real, "Name" text, "Country" text, "Matches Played" real, "Matches Won" real, "Points" real, "Prize Money (USD)" real )
SELECT "Matches Won" FROM table_74379 WHERE "Name" = 'Colin Dibley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 519, 4440, 41, 96, 448, 157, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 329, 144, 2951, 2911, 15, 26, 121, 490, 6, 96, 329, 144, 2951...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 144, 2951, 549, 106, 121, 21680, 953, 834, 4581, 519, 4440, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 9939, 77, 309, 2317, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For the roll of 651, what was the lowest Decile?
CREATE TABLE table_name_79 ( decile INTEGER, roll VARCHAR )
SELECT MIN(decile) FROM table_name_79 WHERE roll = 651
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 7908, 109, 3, 21342, 17966, 6, 3812, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 3812, 13, 7123, 4347, 125, 47, 8, 7402, 14600, 109...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24223, 109, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 3812, 3274, 431, 5553, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What sport was played by the team founded in 2010?
CREATE TABLE table_name_3 ( sport VARCHAR, founded VARCHAR )
SELECT sport FROM table_name_3 WHERE founded = 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 2600, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2600, 47, 1944, 57, 8, 372, 5710, 16, 2735, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2600, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 5710, 3274, 2735, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which date had a final score of 20-27?
CREATE TABLE table_68807 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text )
SELECT "Date" FROM table_68807 WHERE "Final Score" = '20-27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 2079, 940, 41, 96, 308, 342, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 371, 10270, 17763, 121, 1499, 6, 96, 566, 3481, 2271, 121, 1499, 6, 96, 134, 17, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3651, 2079, 940, 549, 17444, 427, 96, 371, 10270, 17763, 121, 3274, 3, 31, 1755, 18, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Stack bar chart of school_id vs All_Home based on acc road
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT ACC_Road, School_ID FROM basketball_match GROUP BY All_Home, ACC_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs?
CREATE TABLE table_name_92 ( total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR )
SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 792, 834, 3757, 7, 3, 21342, 17966, 6, 381, 834, 858, 834, 13442, 7, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 6, 16448, 834, 413, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 834, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 774, 3, 2, 9975, 3430, 16448, 834, 413, 3274, 96, 12572, 354, 77, 121, 3430, 381, 834, 858, 834, 13442, 7, 2490, 505, ...
What team was home, when the record was 24 16 6?
CREATE TABLE table_name_77 ( home VARCHAR, record VARCHAR )
SELECT home FROM table_name_77 WHERE record = "24–16–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 234, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 234, 6, 116, 8, 1368, 47, 997, 898, 431, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 1368, 3274, 96, 2266, 104, 2938, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the comparison of the total number of the home city of all drivers with a bar chart, I want to rank in descending by the bars.
CREATE TABLE school ( School_ID int, Grade text, School text, Location text, Type text ) CREATE TABLE school_bus ( School_ID int, Driver_ID int, Years_Working int, If_full_time bool ) CREATE TABLE driver ( Driver_ID int, Name text, Party text, Home_city text, Ag...
SELECT Home_city, COUNT(Home_city) FROM driver GROUP BY Home_city ORDER BY Home_city DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 1121, 834, 4309, 16, 17, 6, 13027, 1499, 6, 1121, 1499, 6, 10450, 1499, 6, 6632, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 834, 3465, 41, 1121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1210, 834, 6726, 6, 2847, 17161, 599, 19040, 834, 6726, 61, 21680, 2535, 350, 4630, 6880, 272, 476, 1210, 834, 6726, 4674, 11300, 272, 476, 1210, 834, 6726, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Show the id and details of the investor that has the largest number of transactions.
CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)
SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26585, 30518, 134, 41, 15601, 127, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27, 17058, 6038, 22500, 41, 13898, 127, 834, 221, 5756, 7, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 15601, 127, 834, 23, 26, 6, 332, 5411, 13898, 127, 834, 221, 5756, 7, 21680, 27, 17058, 6038, 22500, 6157, 332, 536, 3, 15355, 3162, 26585, 30518, 134, 6157, 332, 357, 9191, 332, 5411, 15601, 127, 834, 23...
When the time/retired is electrical how many laps did Rubens Barrichello have?
CREATE TABLE table_name_53 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_53 WHERE time_retired = "electrical" AND driver = "rubens barrichello"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 8478, 7, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 97, 87, 106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14941, 7, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 17470, 138, 121, 3430, 2535, 3274, 96, 14446, 35, 7, 1207, 3723, 7126, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
Which Platelet count has a Condition of bernard-soulier syndrome?
CREATE TABLE table_name_34 (platelet_count VARCHAR, condition VARCHAR)
SELECT platelet_count FROM table_name_34 WHERE condition = "bernard-soulier syndrome"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 17628, 1655, 834, 13362, 584, 4280, 28027, 6, 1706, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14477, 1655, 3476, 65, 3, 9, 24239, 13, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3829, 1655, 834, 13362, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1706, 3274, 96, 1152, 29, 986, 18, 7, 1063, 3299, 12398, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who constructed the car with laps more than 70 and a time/retired of +12.535?
CREATE TABLE table_name_5 ( constructor VARCHAR, laps VARCHAR, time_retired VARCHAR )
SELECT constructor FROM table_name_5 WHERE laps > 70 AND time_retired = "+12.535"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 6774, 127, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 8520, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 755, 549, 17444, 427, 14941, 7, 2490, 2861, 3430, 97, 834, 10682, 1271, 3274, 96, 18446, 15967, 2469, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Away team Swindon Town had a Tie no listing of Replay with what as an Attendance?
CREATE TABLE table_name_74 ( attendance VARCHAR, tie_no VARCHAR, away_team VARCHAR )
SELECT attendance FROM table_name_74 WHERE tie_no = "replay" AND away_team = "swindon town"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 11364, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 71, 1343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 60, 4895, 121, 3430, 550, 834, 11650, 3274, 96, 7, 5165, 106, 1511, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What decision had a Record of 3 5 0?
CREATE TABLE table_56956 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Decision" FROM table_56956 WHERE "Record" = '3–5–0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3951, 4834, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 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, 2962, 18901, 121, 21680, 953, 834, 755, 3951, 4834, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 519, 104, 755, 104, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Tell me the competition for 2nd position with year more than 2005
CREATE TABLE table_name_23 ( competition VARCHAR, position VARCHAR, year VARCHAR )
SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 2259, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2259, 21, 204, 727, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2259, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1102, 3274, 96, 357, 727, 121, 3430, 215, 2490, 3105, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What surface was used on may 13, 2007?
CREATE TABLE table_38598 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Surface" FROM table_38598 WHERE "Date" = 'may 13, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4433, 3916, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 16, 8, 804, 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, 134, 450, 4861, 121, 21680, 953, 834, 519, 4433, 3916, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 13726, 10670, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is discharge time of subject id 16438?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT demographic.dischtime FROM demographic WHERE demographic.subject_id = "16438"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 26987, 3747, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What content is provided by the television service ewtn?
CREATE TABLE table_name_1 (content VARCHAR, television_service VARCHAR)
SELECT content FROM table_name_1 WHERE television_service = "ewtn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 14819, 584, 4280, 28027, 6, 4390, 834, 5114, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 738, 19, 937, 57, 8, 4390, 313, 3, 15, 210, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 738, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 4390, 834, 5114, 3274, 96, 15, 210, 17, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the number of patients who have been prescribed vancomycin consult to pharmacy.
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsysto...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'vancomycin consult to pharmacy')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 7757, 5, 10061, 15129, 21545, 23, 26, 21680, 7757, 549, ...
What is the average number of field goals scored by a right halfback who had more than 3 touchdowns?
CREATE TABLE table_75628 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT AVG("Field goals") FROM table_75628 WHERE "Position" = 'right halfback' AND "Touchdowns" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 948, 2577, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 7681, 449, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3183, 8804, 1766, 8512, 21680, 953, 834, 3072, 948, 2577, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 3535, 985, 1549, 31, 3430, 96, 3696, 2295, 3035, 7, 121, 2490, 3, 31, 519, ...
How many HDI (2012) does the area with nominal GDP and 14,246,000,000 USD (2012) have?
CREATE TABLE table_4094 ( "Country" text, "Area (km 2 )" real, "Population(2012)" real, "Density (/km 2 )" real, "GDP (nominal), USD (2012)" text, "GDP (nominal) per capita, USD (2012)" text, "HDI (2012)" text, "Capital" text )
SELECT COUNT("HDI (2012)") FROM table_4094 WHERE "GDP (nominal), USD (2012)" = '14,246,000,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 4240, 41, 96, 10628, 651, 121, 1499, 6, 96, 188, 864, 41, 5848, 204, 3, 61, 121, 490, 6, 96, 27773, 7830, 599, 12172, 61, 121, 490, 6, 96, 308, 35, 7, 485, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 11083, 196, 24705, 8512, 21680, 953, 834, 2445, 4240, 549, 17444, 427, 96, 517, 7410, 41, 3114, 10270, 201, 9513, 24705, 121, 3274, 3, 31, 2534, 6, 357, 4448, 23916, 31, 1, -100, -100, -100, -...
What is the IHSAA class for Crown Point?
CREATE TABLE table_name_98 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_98 WHERE school = "crown point"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 27, 4950, 5498, 853, 21, 1563...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 23, 107, 7, 9, 9, 834, 4057, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 496, 3274, 96, 75, 3623, 29, 500, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Was the semi-final round held at home or away?
CREATE TABLE table_name_53 (h___a VARCHAR, round VARCHAR)
SELECT h___a FROM table_name_53 WHERE round = "semi-final"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 107, 834, 834, 834, 9, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2751, 8, 4772, 18, 12406, 1751, 1213, 44, 234, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 107, 834, 834, 834, 9, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1751, 3274, 96, 7, 15, 51, 23, 18, 12406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which driver for Bob Holden Motors has fewer than 36 points and placed 7 in race 1?
CREATE TABLE table_name_80 (driver VARCHAR, race_1 VARCHAR, points VARCHAR, team VARCHAR)
SELECT driver FROM table_name_80 WHERE points < 36 AND team = "bob holden motors" AND race_1 = "7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 13739, 52, 584, 4280, 28027, 6, 1964, 834, 536, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 979, 3, 2, 4475, 3430, 372, 3274, 96, 17396, 1520, 35, 2340, 7, 121, 3430, 1964, 834, 536, 3274, 96, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What was the H/A when the scorer was Hughes?
CREATE TABLE table_name_50 ( h___a VARCHAR, scorers VARCHAR )
SELECT h___a FROM table_name_50 WHERE scorers = "hughes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 3, 107, 834, 834, 834, 9, 584, 4280, 28027, 6, 14056, 277, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 454, 87, 188, 116, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 107, 834, 834, 834, 9, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 14056, 277, 3274, 96, 107, 14439, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the first year Fabrice Soulier was a runner-up?
CREATE TABLE table_name_43 ( year INTEGER, runner_up VARCHAR )
SELECT MIN(year) FROM table_name_43 WHERE runner_up = "fabrice soulier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 215, 3, 21342, 17966, 6, 3, 10806, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 166, 215, 15089, 15, 13759, 972, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 12644, 4920, 3668, 972, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On which date was the GT class at Monterey Sports Car Grand Prix?
CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR)
SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 5522, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 833, 47, 8, 10188, 853, 44, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 853, 3274, 96, 122, 17, 121, 3430, 1964, 3274, 96, 4662, 49, 15, 63, 2100, 443, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...