NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)?
CREATE TABLE table_name_71 (part_number_s_ VARCHAR, l3_cache VARCHAR, sspec_number VARCHAR)
SELECT part_number_s_ FROM table_name_71 WHERE l3_cache = "8 mb" AND sspec_number = "sr0pl(e1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 2274, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 6, 3, 40, 519, 834, 75, 4933, 584, 4280, 28027, 6, 3, 7, 7576, 834, 5525, 1152, 584, 4280, 2802...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 294, 834, 5525, 1152, 834, 7, 834, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 3, 40, 519, 834, 75, 4933, 3274, 96, 927, 3, 51, 115, 121, 3430, 3, 7, 7576, 834, 5525, 1152, 3274, 96, 7, 52, 632, 102, 40...
What is No. 10, when No. 1 is Noah, and when No. 9 is Carter?
CREATE TABLE table_49610 ( "Region (year)" text, "No. 1" text, "No. 2" text, "No. 3" text, "No. 4" text, "No. 5" text, "No. 6" text, "No. 7" text, "No. 8" text, "No. 9" text, "No. 10" text )
SELECT "No. 10" FROM table_49610 WHERE "No. 1" = 'noah' AND "No. 9" = 'carter'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 27097, 41, 96, 17748, 23, 106, 41, 1201, 61, 121, 1499, 6, 96, 4168, 5, 209, 121, 1499, 6, 96, 4168, 5, 204, 121, 1499, 6, 96, 4168, 5, 220, 121, 1499, 6, 96, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4168, 5, 335, 121, 21680, 953, 834, 3647, 27097, 549, 17444, 427, 96, 4168, 5, 209, 121, 3274, 3, 31, 29, 32, 9, 107, 31, 3430, 96, 4168, 5, 668, 121, 3274, 3, 31, 1720, 449, 31, 1, -100, -100, -100, -100,...
what is the number of patients whose gender is f and diagnoses icd9 code is e9394?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "E9394"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Count the number of patients discharged to a skilled nursing facility who had procedure icd9 code 3491.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND procedures.icd9_code = "3491"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who was the home team of the game at the time of 15:00?
CREATE TABLE table_name_33 ( home VARCHAR, time VARCHAR )
SELECT home FROM table_name_33 WHERE time = "15:00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 234, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 13, 8, 467, 44, 8, 97, 13, 209, 19870, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 97, 3274, 96, 536, 19870, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What sport had a final score of 3-2?
CREATE TABLE table_10548224_1 ( sport VARCHAR, final_score VARCHAR )
SELECT sport FROM table_10548224_1 WHERE final_score = "3-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 3707, 24622, 834, 536, 41, 2600, 584, 4280, 28027, 6, 804, 834, 7, 9022, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2600, 141, 3, 9, 804, 2604, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2600, 21680, 953, 834, 12869, 3707, 24622, 834, 536, 549, 17444, 427, 804, 834, 7, 9022, 3274, 96, 21160, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts?
CREATE TABLE table_name_17 (wins INTEGER, starts VARCHAR, top_10 VARCHAR, winnings VARCHAR)
SELECT AVG(wins) FROM table_name_17 WHERE top_10 < 5 AND winnings = "$39,190" AND starts < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 3757, 7, 3, 21342, 17966, 6, 3511, 584, 4280, 28027, 6, 420, 834, 1714, 584, 4280, 28027, 6, 3447, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 420, 834, 1714, 3, 2, 305, 3430, 3447, 7, 3274, 96, 3229, 3288, 6, 11776, 121, 3430, 3511, 3, 2, 204, 1, -100, -100, -100, -100, -1...
What place did the golfer from the United States come in with a To Par of +2, and a score of 73-74-71-72=290?
CREATE TABLE table_name_43 ( place VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR )
SELECT place FROM table_name_43 WHERE country = "united states" AND to_par = "+2" AND score = 73 - 74 - 71 - 72 = 290
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 1, 1, 1...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 12, 834, 1893, 3274, 96, 1220, 357, 121, 3430, 2604, 3274, 3, 4552, 3, 18, 3, 4581, 3, 18, 3, 4450, 3, 18, ...
Which World Rank has a Year smaller than 1977, and a Location of eugene?
CREATE TABLE table_42960 ( "Year" real, "Result" real, "World Rank" text, "Location" text, "Date" text )
SELECT "World Rank" FROM table_42960 WHERE "Year" < '1977' AND "Location" = 'eugene'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 27699, 41, 96, 476, 2741, 121, 490, 6, 96, 20119, 121, 490, 6, 96, 17954, 3, 22557, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 308, 342, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17954, 3, 22557, 121, 21680, 953, 834, 4165, 27699, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4013, 31, 3430, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 15, 76, 729, 15, 31, 1, -100, -100, -100,...
Which Game has a Score of 3–6?
CREATE TABLE table_name_19 (game INTEGER, score VARCHAR)
SELECT SUM(game) FROM table_name_19 WHERE score = "3–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 7261, 3, 21342, 17966, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4435, 65, 3, 9, 17763, 13, 220, 104, 948, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7261, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2604, 3274, 96, 519, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the mark for the runner from Mozambique?
CREATE TABLE table_name_8 ( mark VARCHAR, country VARCHAR )
SELECT mark FROM table_name_8 WHERE country = "mozambique"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 3946, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3946, 21, 8, 3, 10806, 45, 1290, 172, 11379, 835, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3946, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 684, 3274, 96, 51, 13277, 14382, 835, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What series had an average of 3.72 million people watching it?
CREATE TABLE table_24057191_2 ( series INTEGER, average_viewers__millions_ VARCHAR )
SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 3436, 2294, 536, 834, 357, 41, 939, 3, 21342, 17966, 6, 1348, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 10833, 7, 61, 21680, 953, 834, 11944, 3436, 2294, 536, 834, 357, 549, 17444, 427, 1348, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 25168, 357, 121, 1, -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, show me about the correlation between salary and manager_id in a scatter chart.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT SALARY, MANAGER_ID 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, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 4090, 24721, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, 17966...
What is the average number of podiums in the 32nd position with less than 0 wins?
CREATE TABLE table_name_64 ( podiums INTEGER, position VARCHAR, wins VARCHAR )
SELECT AVG(podiums) FROM table_name_64 WHERE position = "32nd" AND wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 22828, 7, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 22828...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 11410, 2552, 7, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 1102, 3274, 96, 2668, 727, 121, 3430, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the birthplace of Pete Sanderson?
CREATE TABLE table_72037 ( "Code Name" text, "Function (figure)" text, "Real Name" text, "Birthplace" text, "Serial number" text, "Primary military speciality" text, "Secondary military speciality" text )
SELECT "Birthplace" FROM table_72037 WHERE "Real Name" = 'pete sanderson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18517, 4118, 41, 96, 22737, 5570, 121, 1499, 6, 96, 371, 202, 4985, 41, 9178, 15, 61, 121, 1499, 6, 96, 1649, 138, 5570, 121, 1499, 6, 96, 279, 23, 52, 189, 4687, 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, 279, 23, 52, 189, 4687, 121, 21680, 953, 834, 18517, 4118, 549, 17444, 427, 96, 1649, 138, 5570, 121, 3274, 3, 31, 4995, 15, 3, 7, 232, 13515, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me a bar chart for those countries of all appellations who have at most three wines, sort x axis in asc order.
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT )
SELECT County, COUNT(County) FROM appellations AS T1 JOIN wine AS T2 ON T1.Appelation = T2.Appelation GROUP BY County ORDER BY County
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 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, 1334, 6, 2847, 17161, 599, 10628, 63, 61, 21680, 8319, 6105, 7, 6157, 332, 536, 3, 15355, 3162, 2013, 6157, 332, 357, 9191, 332, 5411, 27794, 257, 3274, 332, 4416, 27794, 257, 350, 4630, 6880, 272, 476, 1334, 4674, ...
What are the engines for 1983?
CREATE TABLE table_66907 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" text )
SELECT "Engine(s)" FROM table_66907 WHERE "Year" = '1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 2394, 940, 41, 96, 476, 2741, 121, 490, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 599, 7, 61, 121, 1499, 6, 96, 382, 63, 60, 7, 121, 1499, 6, 96, 22512, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 31477, 599, 7, 61, 121, 21680, 953, 834, 3539, 2394, 940, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 4591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was third in Barwa International Campos Team?
CREATE TABLE table_36111 ( "Season" real, "Champion" text, "Second" text, "Third" text, "Team Champion" text )
SELECT "Third" FROM table_36111 WHERE "Team Champion" = 'barwa international campos team'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 15866, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 18699, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9288, 26, 121, 21680, 953, 834, 3420, 15866, 549, 17444, 427, 96, 18699, 16127, 121, 3274, 3, 31, 1047, 210, 9, 1038, 2856, 32, 7, 372, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31?
CREATE TABLE table_19998428_3 ( san_antonio_de_lomerío_municipality___percentage_ VARCHAR, san_javier_municipality___percentage_ VARCHAR )
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE san_javier_municipality___percentage_ = 31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3264, 4608, 2577, 834, 519, 41, 3, 7, 152, 834, 9, 6992, 23, 32, 834, 221, 834, 40, 32, 935, 2, 32, 834, 11760, 3389, 10355, 834, 834, 834, 883, 3728, 545, 834, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 7, 152, 834, 9, 6992, 23, 32, 834, 221, 834, 40, 32, 935, 2, 32, 834, 11760, 3389, 10355, 834, 834, 834, 883, 3728, 545, 834, 21680, 953, 834, 2294, 3264, 4608, 2577, 834, 519, 549, 17444, 427, 3, 7, 152, 8...
What is team 2 where the result is ICL world by 8 wickets?
CREATE TABLE table_17103566_1 ( team_2 VARCHAR, result VARCHAR )
SELECT team_2 FROM table_17103566_1 WHERE result = "ICL World by 8 wickets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 1714, 2469, 3539, 834, 536, 41, 372, 834, 357, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 372, 204, 213, 8, 741, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 357, 21680, 953, 834, 2517, 1714, 2469, 3539, 834, 536, 549, 17444, 427, 741, 3274, 96, 196, 8440, 1150, 57, 505, 29719, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose primary disease is hypertension;rule out coronary artery disease\cardiac cath and year of death is less than or equal to 2115?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH" AND demographic.dod_year <= "2115.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 15761, 8742, 17779, 134, 9215, 117, 8503, 3765, 3, 9744, 2847, 13044, ...
What are the lot details of lots associated with transactions with share count smaller than 50?
CREATE TABLE TRANSACTIONS_LOTS ( transaction_id VARCHAR ) CREATE TABLE LOTS ( lot_details VARCHAR, lot_id VARCHAR ) CREATE TABLE TRANSACTIONS ( transaction_id VARCHAR, share_count INTEGER )
SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count < 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26585, 30518, 134, 834, 19912, 134, 41, 5878, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 19912, 134, 41, 418, 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, 5411, 3171, 834, 221, 5756, 7, 21680, 3, 19912, 134, 6157, 332, 536, 3, 15355, 3162, 26585, 30518, 134, 834, 19912, 134, 6157, 332, 357, 9191, 332, 5411, 3171, 834, 23, 26, 3274, 332, 4416, 7031, 4787, 834, 23,...
Who wrote season 10
CREATE TABLE table_17355743_1 ( written_by VARCHAR, season__number VARCHAR )
SELECT written_by FROM table_17355743_1 WHERE season__number = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 3436, 4906, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 774,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1545, 834, 969, 21680, 953, 834, 2517, 2469, 3436, 4906, 834, 536, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the date for richmond
CREATE TABLE table_20724 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_20724 WHERE "Away team" = 'Richmond'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 2266, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 517, 7775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26426, 2266, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 448, 362, 6764, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What song has a length of 3:05?
CREATE TABLE table_10848177_1 ( song VARCHAR, length VARCHAR )
SELECT song FROM table_10848177_1 WHERE length = "3:05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 3707, 26793, 834, 536, 41, 2324, 584, 4280, 28027, 6, 2475, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2324, 65, 3, 9, 2475, 13, 220, 10, 3076, 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, 2324, 21680, 953, 834, 16169, 3707, 26793, 834, 536, 549, 17444, 427, 2475, 3274, 96, 519, 10, 3076, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5?
CREATE TABLE table_name_92 ( rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR )
SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 11003, 834, 77, 834, 7, 102, 3, 21342, 17966, 6, 11003, 834, 77, 834, 89, 7, 584, 4280, 28027, 6, 804, 834, 6254, 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, 71, 17217, 599, 6254, 834, 77, 834, 7, 102, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 11003, 834, 77, 834, 89, 7, 2490, 204, 3430, 804, 834, 6254, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -10...
What was the result for the total of 12?
CREATE TABLE table_73945 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text )
SELECT "Result" FROM table_73945 WHERE "Total" = '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3288, 2128, 41, 96, 22557, 121, 490, 6, 96, 3881, 413, 109, 121, 1499, 6, 96, 683, 13164, 7, 121, 490, 6, 96, 30931, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 940, 3288, 2128, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 2122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who build the boat where Ken Read was the skipper?
CREATE TABLE table_19872699_1 (builder VARCHAR, skipper VARCHAR)
SELECT builder FROM table_19872699_1 WHERE skipper = "Ken Read"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4225, 2688, 3264, 834, 536, 41, 16422, 49, 584, 4280, 28027, 6, 26205, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 918, 8, 3432, 213, 5704, 3403, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 918, 49, 21680, 953, 834, 2294, 4225, 2688, 3264, 834, 536, 549, 17444, 427, 26205, 52, 3274, 96, 439, 35, 3403, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the altitude of the yield of 1.4 megatons?
CREATE TABLE table_148578_1 ( altitude__km_ VARCHAR, yield__approximate_ VARCHAR )
SELECT altitude__km_ FROM table_148578_1 WHERE yield__approximate_ = "1.4 megatons"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4433, 3940, 834, 536, 41, 491, 6592, 834, 834, 5848, 834, 584, 4280, 28027, 6, 6339, 834, 834, 12497, 226, 23, 5058, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 491, 6592, 834, 834, 5848, 834, 21680, 953, 834, 2534, 4433, 3940, 834, 536, 549, 17444, 427, 6339, 834, 834, 12497, 226, 23, 5058, 834, 3274, 96, 14912, 13950, 8057, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
When 22 is the number what is the episode title?
CREATE TABLE table_29475589_3 ( episode_title VARCHAR, no VARCHAR )
SELECT episode_title FROM table_29475589_3 WHERE no = 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4177, 3769, 3914, 834, 519, 41, 5640, 834, 21869, 584, 4280, 28027, 6, 150, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 1630, 19, 8, 381, 125, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 834, 21869, 21680, 953, 834, 3166, 4177, 3769, 3914, 834, 519, 549, 17444, 427, 150, 3274, 1630, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the open cup for 2010
CREATE TABLE table_20249 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text )
SELECT "Open Cup" FROM table_20249 WHERE "Year" = '2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 3647, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 23, 6610, 121, 490, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17748, 4885, 7960, 121, 1499, 6, 96, 15800, 1647, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22696, 3802, 121, 21680, 953, 834, 19818, 3647, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 14926, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was in third place in the 1980 season?
CREATE TABLE table_26222 ( "Season" real, "Champion" text, "Count" real, "Runners-up" text, "Third place" text, "Top scorer" text, "Top scorers club" text, "Goals" text )
SELECT "Third place" FROM table_26222 WHERE "Season" = '1980'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 26144, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 10628, 121, 490, 6, 96, 23572, 7, 18, 413, 121, 1499, 6, 96, 382, 9288, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 9288, 26, 286, 121, 21680, 953, 834, 2688, 26144, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 2294, 2079, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, give me the comparison about price over the name , and group by attribute founder by a bar chart, display y axis in desc order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Price DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 345, 4920, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145...
Name the Height metres / ft of Years with tallest of 1098 1310?
CREATE TABLE table_name_68 ( height_metres___ft VARCHAR, years_as_tallest VARCHAR )
SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3902, 834, 22404, 7, 834, 834, 834, 89, 17, 584, 4280, 28027, 6, 203, 834, 9, 7, 834, 17, 1748, 222, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3902, 834, 22404, 7, 834, 834, 834, 89, 17, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 203, 834, 9, 7, 834, 17, 1748, 222, 3274, 96, 1714, 3916, 104, 2368, 1714, 121, 1, -100, -100, -100, -100, -100, -100,...
who won womens doubles in 2010
CREATE TABLE table_20361783_1 ( womens_doubles VARCHAR, year VARCHAR )
SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3420, 2517, 4591, 834, 536, 41, 887, 7, 834, 25761, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 751, 887, 7, 1486, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 887, 7, 834, 25761, 7, 21680, 953, 834, 1755, 3420, 2517, 4591, 834, 536, 549, 17444, 427, 215, 3274, 2735, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
I want the circuit for jim clark
CREATE TABLE table_10969 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text )
SELECT "Circuit" FROM table_10969 WHERE "Fastest lap" = 'jim clark'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 3951, 41, 96, 448, 3302, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 1102, 121, 1499, 6, 96, 371, 9, 7, 4377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 23, 52, 21560, 121, 21680, 953, 834, 17304, 3951, 549, 17444, 427, 96, 371, 9, 7, 4377, 14941, 121, 3274, 3, 31, 354, 603, 6860, 157, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Season has Finals of out of playoffs.?
CREATE TABLE table_65429 ( "Season" text, "1st round" text, "2nd round" text, "3rd round" text, "Finals" text )
SELECT "Season" FROM table_65429 WHERE "Finals" = 'out of playoffs.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 591, 3166, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 536, 7, 17, 1751, 121, 1499, 6, 96, 357, 727, 1751, 121, 1499, 6, 96, 519, 52, 26, 1751, 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, 134, 15, 9, 739, 121, 21680, 953, 834, 4122, 591, 3166, 549, 17444, 427, 96, 371, 10270, 7, 121, 3274, 3, 31, 670, 13, 15289, 7, 5, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the population of people for area being 24.35
CREATE TABLE table_14465924_1 ( population__people_ VARCHAR, area__km_2__ VARCHAR )
SELECT population__people_ FROM table_14465924_1 WHERE area__km_2__ = "24.35"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4448, 3390, 2266, 834, 536, 41, 2074, 834, 834, 16588, 834, 584, 4280, 28027, 6, 616, 834, 834, 5848, 834, 357, 834, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2074, 834, 834, 16588, 834, 21680, 953, 834, 2534, 4448, 3390, 2266, 834, 536, 549, 17444, 427, 616, 834, 834, 5848, 834, 357, 834, 834, 3274, 96, 2266, 5, 2469, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Which Opposition has a Year smaller than 1977, and a City of manchester?
CREATE TABLE table_5401 ( "Score" real, "Opposition" text, "Venue" text, "City" text, "Year" real )
SELECT "Opposition" FROM table_5401 WHERE "Year" < '1977' AND "City" = 'manchester'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 20016, 41, 96, 134, 9022, 121, 490, 6, 96, 667, 102, 4718, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 476, 2741, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 4718, 121, 21680, 953, 834, 755, 20016, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4013, 31, 3430, 96, 254, 485, 121, 3274, 3, 31, 348, 13263, 31, 1, -100, -100, -100, -100, -100, -100...
Name the tourism receipts 2003 for colombia
CREATE TABLE table_22412 ( "Country" text, "Tourist arrivals (2011) (Millions)" text, "Tourism receipts (2011) (Millions of US$)" real, "Tourism receipts (2011) (US$ per arrival)" real, "Tourism receipts (2011) (US$ per capita)" real, "Tourism receipts (2003) (as % of GDP)" text, "Tourism receipts (2003) (as % of exports)" text, "Direct and indirect employment in tourism (2005) (%)" text, "Tourism competitiveness (2011) (TTCI)" text )
SELECT "Tourism receipts (2003) (as % of GDP)" FROM table_22412 WHERE "Country" = 'Colombia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 2122, 41, 96, 10628, 651, 121, 1499, 6, 96, 382, 1211, 343, 6870, 7, 25163, 41, 329, 14916, 7, 61, 121, 1499, 6, 96, 3696, 459, 7, 51, 8958, 7, 25163, 41, 329, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 459, 7, 51, 8958, 7, 3, 31210, 41, 9, 7, 3, 1454, 13, 11284, 61, 121, 21680, 953, 834, 24622, 2122, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 3881, 17551, 23, 9, 31, 1, -100, -100, -100, -10...
How many Points have a Name of stephen myler, and Tries smaller than 0?
CREATE TABLE table_name_3 ( points INTEGER, name VARCHAR, tries VARCHAR )
SELECT SUM(points) FROM table_name_3 WHERE name = "stephen myler" AND tries < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 979, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 3, 9000, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564, 7, 43, 3, 9, 5570,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 564, 3274, 96, 849, 19017, 82, 1171, 121, 3430, 3, 9000, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the district with the most residents?
CREATE TABLE store_district ( store_id number, district_id number ) CREATE TABLE store_product ( store_id number, product_id number ) CREATE TABLE store ( store_id number, store_name text, type text, area_size number, number_of_product_category number, ranking number ) CREATE TABLE product ( product_id number, product text, dimensions text, dpi number, pages_per_minute_color number, max_page_size text, interface text ) CREATE TABLE district ( district_id number, district_name text, headquartered_city text, city_population number, city_area number )
SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1078, 834, 26, 23, 20066, 41, 1078, 834, 23, 26, 381, 6, 3939, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1078, 834, 15892, 41, 1078, 834, 23, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3939, 834, 4350, 21680, 3939, 4674, 11300, 272, 476, 690, 834, 9791, 7830, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose marital status is married and admission year is less than 2108?
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 text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admityear < "2108"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 20466, 17, 1201, 3, ...
count the number of patients who have admitted before the year 2179 and stayed in the hospital for more than 29 days.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.days_stay > "29" AND demographic.admityear < "2179"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 3166, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658, 4440,...
Name the lelast decile for roll of 428
CREATE TABLE table_53153 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real )
SELECT MIN("Decile") FROM table_53153 WHERE "Roll" = '428'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 27025, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 517, 3868, 121, 1499, 6, 96, 188, 864, 121, 1499, 6, 96, 23602, 127, 485, 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, 3, 17684, 599, 121, 2962, 75, 699, 8512, 21680, 953, 834, 4867, 27025, 549, 17444, 427, 96, 29807, 121, 3274, 3, 31, 591, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which country has more medals , colombia or venezuela ?
CREATE TABLE table_204_232 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_204_232 WHERE "nation" IN ('colombia', 'venezuela') ORDER BY "total" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 23188, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, 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, 29, 257, 121, 21680, 953, 834, 26363, 834, 23188, 549, 17444, 427, 96, 29, 257, 121, 3388, 41, 31, 8135, 14382, 9, 31, 6, 3, 31, 25277, 76, 15, 521, 31, 61, 4674, 11300, 272, 476, 96, 235, 1947, 121, 309, ...
What is the average value for Draws, when Against is "2177", and when Byes is less than 4?
CREATE TABLE table_name_2 (draws INTEGER, against VARCHAR, byes VARCHAR)
SELECT AVG(draws) FROM table_name_2 WHERE against = 2177 AND byes < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 19489, 7, 3, 21342, 17966, 6, 581, 584, 4280, 28027, 6, 57, 15, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 701, 21, 191...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 581, 3274, 1401, 4013, 3430, 57, 15, 7, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose ethnicity is black/african american and age is less than 83?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.age < "83"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 6282, 5593, 11425, 3, 17683, 5593, 11425, 121, 3430...
What is the report for round 9?
CREATE TABLE table_name_9 (report VARCHAR, round VARCHAR)
SELECT report FROM table_name_9 WHERE round = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 60, 1493, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 934, 21, 1751, 668, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1751, 3274, 668, 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,...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, and order total number in desc order.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051...
what are the genders of patient 007-7925?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '007-7925'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1868, 5, 122, 3868, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 940, 6832, 28456, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the district with result being re-elected and candidates being clarence f. lea (d) unopposed
CREATE TABLE table_18581 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "District" FROM table_18581 WHERE "Result" = 'Re-elected' AND "Candidates" = 'Clarence F. Lea (D) Unopposed'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 4959, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 20066, 121, 21680, 953, 834, 21594, 4959, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 1649, 18, 19971, 31, 3430, 96, 14050, 12416, 6203, 121, 3274, 3, 31, 254, 40, 291, 1433, 377, 5, 312, 9, 41, 3...
What is the all games for Maryland?
CREATE TABLE table_20697 ( "Team" text, "ACC Regular Season" text, "ACC %" text, "ACC Home" text, "ACC Road" text, "All Games" text, "All Games %" text, "All Home" text, "All Road" text, "All Neutral" text )
SELECT "All Games" FROM table_20697 WHERE "Team" = 'Maryland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24643, 4327, 41, 96, 18699, 121, 1499, 6, 96, 14775, 17116, 7960, 121, 1499, 6, 96, 14775, 3, 1454, 121, 1499, 6, 96, 14775, 1210, 121, 1499, 6, 96, 14775, 2409, 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, 6838, 5880, 121, 21680, 953, 834, 24643, 4327, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 7286, 28900, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the lowest wins for Australia?
CREATE TABLE table_34260 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Wins" real )
SELECT MIN("Wins") FROM table_34260 WHERE "Country" = 'australia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 18365, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 427, 291, 29, 53, 7, 41, 1514, 3, 61, 121, 490, 6, 96, 18455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18455, 7, 8512, 21680, 953, 834, 3710, 18365, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which room has the highest rate? List the room's full name, rate, check in and check out date.
CREATE TABLE Rooms ( roomName VARCHAR, RoomId VARCHAR ) CREATE TABLE Reservations ( Rate VARCHAR, CheckIn VARCHAR, CheckOut VARCHAR, Room VARCHAR )
SELECT T2.roomName, T1.Rate, T1.CheckIn, T1.CheckOut FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY T1.Rate DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 562, 23954, 584, 4280, 28027, 6, 4181, 196, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27659, 7, 41, 13002, 584, 4280, 28027, 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, 1...
[ 3, 23143, 14196, 332, 4416, 3082, 23954, 6, 332, 5411, 448, 342, 6, 332, 5411, 23751, 1570, 6, 332, 5411, 23751, 15767, 21680, 27659, 7, 6157, 332, 536, 3, 15355, 3162, 4181, 7, 6157, 332, 357, 9191, 332, 5411, 22778, 51, 3274, 332,...
How old was the official with Chinese name ?
CREATE TABLE table_2263674_1 ( age_at_appointment VARCHAR, chinese_name VARCHAR )
SELECT age_at_appointment FROM table_2263674_1 WHERE chinese_name = "孫明揚"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2688, 3420, 4581, 834, 536, 41, 1246, 834, 144, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 3, 1436, 1496, 15, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1246, 834, 144, 834, 9, 102, 2700, 297, 21680, 953, 834, 357, 2688, 3420, 4581, 834, 536, 549, 17444, 427, 3, 1436, 1496, 15, 834, 4350, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what was the next album released after the man in the mirror ?
CREATE TABLE table_203_830 ( id number, "year" number, "song" text, "chart positions\nus country" number, "chart positions\ncan country" number, "album" text )
SELECT "album" FROM table_203_830 WHERE "year" > (SELECT "year" FROM table_203_830 WHERE "album" = 'the man in the mirror' ORDER BY "year" DESC LIMIT 1) ORDER BY "year" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 1458, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 7, 2444, 121, 1499, 6, 96, 4059, 17, 4655, 2, 29, 302, 684, 121, 381, 6, 96, 4059, 17, 4655, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23703, 121, 21680, 953, 834, 23330, 834, 927, 1458, 549, 17444, 427, 96, 1201, 121, 2490, 41, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 23330, 834, 927, 1458, 549, 17444, 427, 96, 23703, 121, 3274, 3, 31, 53...
What Venue has an Away Team Score of 9.12 (66)?
CREATE TABLE table_57423 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_57423 WHERE "Away team score" = '9.12 (66)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 591, 2773, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 3436, 591, 2773, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 8797, 2122, 41, 3539, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Jo o Barbosa was the winner of which event?
CREATE TABLE table_name_93 ( event VARCHAR, winner VARCHAR )
SELECT event FROM table_name_93 WHERE winner = "joão barbosa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 605, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2194, 3, 32, 11038, 32, 7, 9, 47, 8, 4668, 13, 84, 605, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 4668, 3274, 96, 1927, 2, 32, 9935, 32, 7, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who had the high assists on march 30?
CREATE TABLE table_name_78 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_78 WHERE date = "march 30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 141, 8, 306, 13041, 30, 10556, 604, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 833, 3274, 96, 51, 7064, 604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Where was the game with a result of won 5-0?
CREATE TABLE table_name_25 ( venue VARCHAR, result VARCHAR )
SELECT venue FROM table_name_25 WHERE result = "won 5-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 5669, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 467, 28, 3, 9, 741, 13, 751, 3, 29325, 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, 5669, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 741, 3274, 96, 210, 106, 3, 29325, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What electorate does Member dingley brittin category:articles with hcards represent?
CREATE TABLE table_name_37 ( electorate VARCHAR, member VARCHAR )
SELECT electorate FROM table_name_37 WHERE member = "dingley brittin category:articles with hcards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 11924, 127, 342, 584, 4280, 28027, 6, 1144, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 11924, 127, 342, 405, 8541, 3, 26, 53, 1306, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11924, 127, 342, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 1144, 3274, 96, 26, 53, 1306, 3, 115, 18208, 77, 3295, 10, 8372, 7, 28, 3, 107, 6043, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of patients who are wheelchair dependent and survived
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.long_title = "Wheelchair dependence"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Name the driver/passenger for 30
CREATE TABLE table_17176509_4 (driver___passenger VARCHAR, position VARCHAR)
SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2517, 4122, 4198, 834, 591, 41, 13739, 52, 834, 834, 834, 3968, 35, 1304, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2535,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 13739, 52, 834, 834, 834, 3968, 35, 1304, 61, 21680, 953, 834, 2517, 2517, 4122, 4198, 834, 591, 549, 17444, 427, 1102, 3274, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the first names of all teachers who have taught a course and the corresponding descriptions?
CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, stu_gpa number, stu_transfer number, dept_code text, stu_phone text, prof_num number ) CREATE TABLE class ( class_code text, crs_code text, class_section text, class_time text, class_room text, prof_num number ) CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname text, emp_initial text, emp_jobcode text, emp_hiredate time, emp_dob time ) CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number )
SELECT T2.emp_fname, T3.crs_description FROM class AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5812, 41, 8943, 834, 5525, 381, 6, 20, 102, 17, 834, 4978, 1499, 6, 7108, 834, 19632, 1499, 6, 7108, 834, 994, 13177, 1499, 6, 7108, 834, 6739, 834, 19706, 1499, 3, 61, 3, 32102, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 15, 1167, 834, 89, 4350, 6, 332, 5787, 75, 52, 7, 834, 221, 11830, 21680, 853, 6157, 332, 536, 3, 15355, 3162, 3490, 6157, 332, 357, 9191, 332, 5411, 1409, 89, 834, 5525, 3274, 332, 4416, 15, 1167, 834,...
Find the names of customers who never ordered product Latte.
CREATE TABLE addresses ( address_id number, address_content text, city text, zip_postcode text, state_province_county text, country text, other_address_details text ) CREATE TABLE customer_contact_channels ( customer_id number, channel_code text, active_from_date time, active_to_date time, contact_number text ) CREATE TABLE order_items ( order_id number, product_id number, order_quantity text ) CREATE TABLE customer_addresses ( customer_id number, address_id number, date_address_from time, address_type text, date_address_to time ) CREATE TABLE products ( product_id number, product_details text ) CREATE TABLE customers ( customer_id number, payment_method text, customer_name text, date_became_customer time, other_customer_details text ) CREATE TABLE customer_orders ( order_id number, customer_id number, order_status text, order_date time, order_details text )
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Latte'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7181, 41, 1115, 834, 23, 26, 381, 6, 1115, 834, 14819, 1499, 6, 690, 1499, 6, 10658, 834, 5950, 4978, 1499, 6, 538, 834, 1409, 2494, 565, 834, 13362, 63, 1499, 6, 684, 1499, 6, 119...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 884, 834, 4350, 21680, 722, 262, 4, 30416, 3, 23143, 14196, 3, 17, 5411, 25697, 49, 834, 4350, 21680, 722, 6157, 3, 17, 536, 3, 15355, 3162, 884, 834, 9397, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25697, 49, 834...
Which Result has a Date of 7 june 2000?
CREATE TABLE table_6219 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_6219 WHERE "Date" = '7 june 2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 2294, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4056, 2294, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 940, 3, 6959, 15, 2766, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?
CREATE TABLE table_name_15 ( totals_06_10 INTEGER, pubs_2010 VARCHAR, totals_07_11 VARCHAR )
SELECT MIN(totals_06_10) FROM table_name_15 WHERE pubs_2010 = 68 AND totals_07_11 > 305
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 792, 7, 834, 5176, 834, 1714, 3, 21342, 17966, 6, 11943, 7, 834, 14926, 584, 4280, 28027, 6, 792, 7, 834, 4560, 834, 2596, 584, 4280, 28027, 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, 3, 17684, 599, 235, 1947, 7, 834, 5176, 834, 16968, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 11943, 7, 834, 14926, 3274, 3, 3651, 3430, 792, 7, 834, 4560, 834, 2596, 2490, 3, 26724, 1, -100, -100, -100, ...
Where did Calvin Peete of the United States place?
CREATE TABLE table_8868 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT "Place" FROM table_8868 WHERE "Country" = 'united states' AND "Player" = 'calvin peete'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4060, 3651, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, 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, 345, 11706, 121, 21680, 953, 834, 4060, 3651, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 1489, 2494, 158, 15, 17, 15, 31, 1, -100, -100...
How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )?
CREATE TABLE table_27279050_3 ( country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR )
SELECT COUNT(country) FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Adderly Fong ( 2013 )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2555, 2394, 1752, 834, 519, 41, 684, 584, 4280, 28027, 6, 336, 834, 14907, 834, 13739, 52, 834, 7, 834, 834, 519, 834, 5326, 18247, 834, 11138, 584, 4280, 28027, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 17529, 61, 21680, 953, 834, 2555, 2555, 2394, 1752, 834, 519, 549, 17444, 427, 336, 834, 14907, 834, 13739, 52, 834, 7, 834, 834, 519, 834, 5326, 18247, 834, 11138, 3274, 96, 20773, 49, 120, 377, 2...
Which Tournament has a Semi finalists of monica seles sandrine testud?
CREATE TABLE table_name_76 (tournament VARCHAR, semi_finalists VARCHAR)
SELECT tournament FROM table_name_76 WHERE semi_finalists = "monica seles sandrine testud"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 4772, 834, 28077, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 20502, 65, 3, 9, 22217, 3, 28077, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 4772, 834, 28077, 3274, 96, 2157, 2617, 142, 965, 3, 7, 232, 9249, 794, 76, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is event 4 when event one was gauntlet, event 2 was duel, and event 3 was pendulum?
CREATE TABLE table_name_10 ( event_4 VARCHAR, event_3 VARCHAR, event_1 VARCHAR, event_2 VARCHAR )
SELECT event_4 FROM table_name_10 WHERE event_1 = "gauntlet" AND event_2 = "duel" AND event_3 = "pendulum"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 605, 834, 591, 584, 4280, 28027, 6, 605, 834, 519, 584, 4280, 28027, 6, 605, 834, 536, 584, 4280, 28027, 6, 605, 834, 357, 584, 4280, 28027, 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, 605, 834, 591, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 605, 834, 536, 3274, 96, 20038, 29, 17, 1655, 121, 3430, 605, 834, 357, 3274, 96, 1259, 15, 40, 121, 3430, 605, 834, 519, 3274, 96, 3208, 1259, 517...
What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7?
CREATE TABLE table_name_2 ( total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR )
SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 792, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 215, 834, 210, 106, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 215, 834, 210, 106, 3, 2, 4407, 3430, 1959, 3274, 96, 17396, 3, 17, 1343, 121, 3430, 12, 834, 1893, 2490, 489, 1, -100, -100, -100...
Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?
CREATE TABLE table_name_98 ( visitor VARCHAR, decision VARCHAR, home VARCHAR )
SELECT visitor FROM table_name_98 WHERE decision = "osgood" AND home = "edmonton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 7019, 584, 4280, 28027, 6, 1357, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 3644, 372, 44, 8, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 1357, 3274, 96, 32, 7, 10452, 121, 3430, 234, 3274, 96, 15, 26, 4662, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the build date for PRR Class gf30a?
CREATE TABLE table_name_80 (build_date VARCHAR, prr_class VARCHAR)
SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 16422, 834, 5522, 584, 4280, 28027, 6, 4880, 52, 834, 4057, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 918, 833, 21, 6045, 448, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 918, 834, 5522, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 4880, 52, 834, 4057, 3274, 96, 122, 89, 1458, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the opponent on September 17, 1995?
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 30, 1600, 12864, 7273, 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, 15264, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 12864, 7273, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the goals for daniel sanchez
CREATE TABLE table_24565004_20 (goals¹ VARCHAR, name VARCHAR)
SELECT goals¹ FROM table_24565004_20 WHERE name = "Daniel Sanchez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 1755, 41, 839, 5405, 536, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1766, 21, 3, 26, 2738, 15, 40,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1766, 536, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 1755, 549, 17444, 427, 564, 3274, 96, 308, 2738, 15, 40, 28736, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which country has a reaction time of under 0.242 seconds and over 1041 points?
CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR)
SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 17529, 584, 4280, 28027, 6, 8922, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 3, 9, 6363, 97, 13, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 8922, 3, 2, 3, 18189, 4165, 3430, 979, 2490, 335, 4853, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position has round less than 2?
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
SELECT position FROM table_name_86 WHERE round < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 4718, 584, 4280, 28027, 6, 1751, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 65, 1751, 705, 145, 204, 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, 1102, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1751, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals?
CREATE TABLE table_name_75 ( bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR )
SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = "fw" AND apps < 492 AND goals = "79"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 12862, 106, 834, 3877, 588, 277, 834, 2864, 49, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 4050, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 12862, 106, 834, 3877, 588, 277, 834, 2864, 49, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 792, 2490, 3, 25285, 3430, 1102, 3274, 96, 89, 210, 121, 3430, 4050, 3, 2, 314, 4508, 3430, 1766, 3274, 96, 4440, ...
Who won the men's singles in 1958?
CREATE TABLE table_69958 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT "Men's singles" FROM table_69958 WHERE "Year" = '1958'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3264, 3449, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 31, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 31, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 31, 7, 1486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 35, 31, 7, 712, 7, 121, 21680, 953, 834, 948, 3264, 3449, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the Height which has a 2013 club of wvc dynamo moscow?
CREATE TABLE table_49665 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2013 club" text )
SELECT "Height" FROM table_49665 WHERE "2013 club" = 'wvc dynamo moscow'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 3539, 755, 41, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 1499, 6, 96, 134, 102, 5208, 121, 1499, 6, 96, 11138, 1886, 121, 1499, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 2632, 121, 21680, 953, 834, 3647, 3539, 755, 549, 17444, 427, 96, 11138, 1886, 121, 3274, 3, 31, 210, 208, 75, 3, 24805, 51, 32, 2288, 3523, 210, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the venue when the away team score is 17.13 (115)?
CREATE TABLE table_57259 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_57259 WHERE "Away team score" = '17.13 (115)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 357, 3390, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 3436, 357, 3390, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2517, 5, 2368, 41, 15660, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of patiemts who had crnry athrscl natve vssl?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Crnry athrscl natve vssl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
How many Points have Goals against of 35, and less than 13 losses?
CREATE TABLE table_name_45 ( points INTEGER, goals_against VARCHAR, losses VARCHAR )
SELECT SUM(points) FROM table_name_45 WHERE goals_against = 35 AND losses < 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 979, 3, 21342, 17966, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1766, 834, 9, 16720, 7, 17, 3274, 3097, 3430, 8467, 3, 2, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the customer ids for customers who do not have an account?
CREATE TABLE invoice_line_items ( order_item_id number, invoice_number number, product_id number, product_title text, product_quantity text, product_price number, derived_product_cost number, derived_vat_payable number, derived_total_cost number ) CREATE TABLE products ( product_id number, parent_product_id number, production_type_code text, unit_price number, product_name text, product_color text, product_size text ) CREATE TABLE invoices ( invoice_number number, order_id number, invoice_date time ) CREATE TABLE accounts ( account_id number, customer_id number, date_account_opened time, account_name text, other_account_details text ) CREATE TABLE orders ( order_id number, customer_id number, date_order_placed time, order_details text ) CREATE TABLE financial_transactions ( transaction_id number, account_id number, invoice_number number, transaction_type text, transaction_date time, transaction_amount number, transaction_comment text, other_transaction_details text ) CREATE TABLE order_items ( order_item_id number, order_id number, product_id number, product_quantity text, other_order_item_details text ) CREATE TABLE product_categories ( production_type_code text, product_type_description text, vat_rating number ) CREATE TABLE customers ( customer_id number, customer_first_name text, customer_middle_initial text, customer_last_name text, gender text, email_address text, login_name text, login_password text, phone_number text, town_city text, state_county_province text, country text )
SELECT customer_id FROM customers EXCEPT SELECT customer_id FROM accounts
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10921, 834, 747, 834, 23, 3524, 7, 41, 455, 834, 23, 3524, 834, 23, 26, 381, 6, 10921, 834, 5525, 1152, 381, 6, 556, 834, 23, 26, 381, 6, 556, 834, 21869, 1499, 6, 556, 834, 1315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 884, 834, 23, 26, 21680, 722, 262, 4, 30416, 3, 23143, 14196, 884, 834, 23, 26, 21680, 3744, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total End term with a Title of prince regent of bavaria?
CREATE TABLE table_52673 ( "Name" text, "Title" text, "Start term" real, "End term" real, "House" text )
SELECT SUM("End term") FROM table_52673 WHERE "Title" = 'prince regent of bavaria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2688, 4552, 41, 96, 23954, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 7681, 17, 1657, 121, 490, 6, 96, 8532, 26, 1657, 121, 490, 6, 96, 4489, 1074, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 8532, 26, 1657, 8512, 21680, 953, 834, 755, 2688, 4552, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 12298, 565, 5925, 295, 13, 4698, 9504, 9, 31, 1, -100, -100, -100, -100, -100, -10...
Which Spanish voice actor does the same character as French voice actor V ronique Desmadryl?
CREATE TABLE table_5915 ( "Character" text, "French voice actor" text, "Italian voice actor" text, "German voice actor" text, "Spanish voice actor" text )
SELECT "Spanish voice actor" FROM table_5915 WHERE "French voice actor" = 'véronique desmadryl'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 1808, 41, 96, 18947, 2708, 49, 121, 1499, 6, 96, 371, 60, 5457, 2249, 7556, 121, 1499, 6, 96, 196, 17, 9, 9928, 2249, 7556, 121, 1499, 6, 96, 24518, 2249, 7556, 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, 19675, 1273, 2249, 7556, 121, 21680, 953, 834, 3390, 1808, 549, 17444, 427, 96, 371, 60, 5457, 2249, 7556, 121, 3274, 3, 31, 208, 10633, 14612, 93, 11374, 12973, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What's the 102kg when the Ri Song-Hui was 226kg?
CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR)
SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 52, 23, 834, 7, 2444, 834, 3464, 834, 834, 834, 102, 52, 157, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 14388,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 14388, 6157, 9147, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 3, 52, 23, 834, 7, 2444, 834, 3464, 834, 834, 834, 102, 52, 157, 834, 834, 3274, 96, 357, 2688, 8711, 121, 1, -100, -100, -100, -100, -100, ...
What document type codes do we have?
CREATE TABLE Ref_Document_Types ( document_type_code VARCHAR )
SELECT document_type_code FROM Ref_Document_Types
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 4135, 1071, 297, 834, 25160, 7, 41, 1708, 834, 6137, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1708, 686, 5633, 103, 62, 43, 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, 1708, 834, 6137, 834, 4978, 21680, 419, 89, 834, 4135, 1071, 297, 834, 25160, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What time did the game start during week 1?
CREATE TABLE table_name_9 (time___et__ VARCHAR, week VARCHAR)
SELECT time___et__ FROM table_name_9 WHERE week = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 715, 834, 834, 834, 15, 17, 834, 834, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 97, 410, 8, 467, 456, 383, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 834, 834, 834, 15, 17, 834, 834, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 471, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average Density of 53 No. munic.?
CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR)
SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 3, 21342, 17966, 6, 150, 834, 11760, 75, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 150, 834, 11760, 75, 3274, 12210, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Attendance has a Date of november 19, 1961?
CREATE TABLE table_name_61 ( attendance INTEGER, date VARCHAR )
SELECT MIN(attendance) FROM table_name_61 WHERE date = "november 19, 1961"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 11364, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 22497, 663, 65, 3, 9, 7678, 13, 3, 5326, 18247, 12370, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 12370, 21018, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How was Sammy Lee's team doing on the table before being replaced?
CREATE TABLE table_name_49 ( position_in_table VARCHAR, outgoing_manager VARCHAR )
SELECT position_in_table FROM table_name_49 WHERE outgoing_manager = "sammy lee"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 1102, 834, 77, 834, 3869, 584, 4280, 28027, 6, 91, 9545, 834, 24185, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 47, 3084, 2258, 5531, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 834, 77, 834, 3869, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 91, 9545, 834, 24185, 3274, 96, 7, 265, 2258, 90, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the team's score on April 1?
CREATE TABLE table_72890 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_72890 WHERE "Date" = 'April 1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2577, 2394, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 940, 2577, 2394, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 23323, 209, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which album debuted in season 2 (2005)?
CREATE TABLE table_76159 ( "Season" text, "Winner" text, "Winning Song" text, "Winning Song (English Title)" text, "Debut Album" text )
SELECT "Debut Album" FROM table_76159 WHERE "Season" = 'season 2 (2005)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 27904, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 518, 10503, 11263, 121, 1499, 6, 96, 518, 10503, 11263, 41, 26749, 11029, 61, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2962, 2780, 16135, 121, 21680, 953, 834, 3959, 27904, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 9476, 204, 3, 29495, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose admission type is elective and procedure icd9 code is 9744?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.icd9_code = "9744"
[ 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,...
Name the location attendance for memphis
CREATE TABLE table_2824 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_2824 WHERE "Team" = 'Memphis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2266, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 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, 96, 434, 32, 75, 257, 22497, 663, 121, 21680, 953, 834, 2577, 2266, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 329, 15, 7656, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 14910, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 2045, 9365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 4294, 3274, 3, 632, 3430, 13467, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How did the jab tak hai jaan movie gross worldwide?
CREATE TABLE table_58225 ( "Rank" real, "Movie" text, "Year" real, "Worldwide Gross" text, "Director" text, "Verdict" text )
SELECT "Worldwide Gross" FROM table_58225 WHERE "Movie" = 'jab tak hai jaan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 20489, 41, 96, 22557, 121, 490, 6, 96, 329, 9881, 15, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 17954, 6728, 17969, 121, 1499, 6, 96, 23620, 127, 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, 17954, 6728, 17969, 121, 21680, 953, 834, 3449, 20489, 549, 17444, 427, 96, 329, 9881, 15, 121, 3274, 3, 31, 1191, 115, 3, 17, 1639, 4244, 23, 2662, 152, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...