NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Against has a Position larger than 8, and Points larger than 9?
CREATE TABLE table_name_67 (against VARCHAR, position VARCHAR, points VARCHAR)
SELECT against FROM table_name_67 WHERE position > 8 AND points > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 9, 16720, 7, 17, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 20749, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 581, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1102, 2490, 505, 3430, 979, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose gender is f and diagnoses short title is hypovolemia?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Hypovolemia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What was the crowd size when Essendon was the home team?
CREATE TABLE table_33555 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Crowd" FROM table_33555 WHERE "Home team" = 'essendon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 28803, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 3623, 26, 121, 21680, 953, 834, 4201, 28803, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 8185, 2029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the To par for denmark
CREATE TABLE table_70193 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_70193 WHERE "Country" = 'denmark'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 2294, 519, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 3696, 260, 121, 21680, 953, 834, 2518, 2294, 519, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 537, 3920, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What player has a round larger than 2, and position of (d)?
CREATE TABLE table_61926 ( "Round" real, "Pick" text, "Player" text, "Position" text, "Nationality" text, "College" text )
SELECT "Player" FROM table_61926 WHERE "Round" > '2' AND "Position" = '(d)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2294, 2688, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 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, 15800, 49, 121, 21680, 953, 834, 948, 2294, 2688, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 357, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 599, 26, 61, 31, 1, -100, -100, -100, -100, -1...
What's the lowest Gold if the Rank is over 4 but the Total is less than 1?
CREATE TABLE table_70569 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Gold") FROM table_70569 WHERE "Rank" > '4' AND "Total" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 755, 3951, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 23576, 8512, 21680, 953, 834, 2518, 755, 3951, 549, 17444, 427, 96, 22557, 121, 2490, 3, 31, 591, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -...
Which method has a record of 3-0?
CREATE TABLE table_name_27 ( method VARCHAR, record VARCHAR )
SELECT method FROM table_name_27 WHERE record = "3-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 1573, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1573, 65, 3, 9, 1368, 13, 3, 22773, 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, 1573, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1368, 3274, 96, 22773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Status of Mexborough?
CREATE TABLE table_name_83 ( status VARCHAR, name VARCHAR )
SELECT status FROM table_name_83 WHERE name = "mexborough"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 2637, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 19318, 13, 1212, 226, 12823, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2637, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 564, 3274, 96, 51, 994, 12823, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the name of the department that has the largest number of students enrolled?
CREATE TABLE CLASS ( class_code VARCHAR, crs_code VARCHAR ) CREATE TABLE department ( dept_name VARCHAR, dept_code VARCHAR ) CREATE TABLE course ( dept_code VARCHAR, crs_code VARCHAR ) CREATE TABLE enroll ( class_code VARCHAR )
SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code GROUP BY T3.dept_code ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 31598, 41, 853, 834, 4978, 584, 4280, 28027, 6, 5764, 7, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 20, 102, 17, 834, 4350,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 7984, 26, 6707, 834, 4350, 21680, 3, 31598, 6157, 332, 536, 3, 15355, 3162, 17990, 6157, 332, 357, 9191, 332, 5411, 4057, 834, 4978, 3274, 332, 4416, 4057, 834, 4978, 3, 15355, 3162, 503, 6157, 332, 519, 9191, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a line chart about the change of employee_id over hire_date , display by the x axis from low to high.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 262, 5244, 5017, 476, 5080, 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, 4...
give me the number of patients whose diagnoses short title is hx surgery to organs nec and drug type is base?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hx surgery to organs NEC" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Visualize a bar chart about the distribution of Nationality and the average of meter_100 , and group by attribute Nationality.
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text )
SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 868, 485, 6, 71, 17217, 599, 4401, 834, 2915, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Get me the number of unmarried patients who had tonsil and adenoid biopsy.
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.short_title = "Tonsil&adenoid biopsy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What country is the artist who made the fewest songs from?
CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number ) CREATE TABLE genre ( g_name text, rating text, most_popular_in text ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text )
SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2073, 41, 3, 89, 834, 23, 26, 381, 6, 2377, 834, 4350, 1499, 6, 1042, 834, 7991, 1499, 6, 8659, 1499, 6, 10874, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 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, 332, 5411, 17529, 21680, 2377, 6157, 332, 536, 3, 15355, 3162, 2324, 6157, 332, 357, 9191, 332, 5411, 1408, 343, 834, 4350, 3274, 332, 4416, 1408, 343, 834, 4350, 350, 4630, 6880, 272, 476, 332, 4416, 1408, 343, 834, ...
On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?
CREATE TABLE table_name_35 ( deleted VARCHAR, listed VARCHAR, name VARCHAR )
SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 16355, 584, 4280, 28027, 6, 2616, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 19238, 7010, 17843...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16355, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 2616, 3274, 96, 4198, 87, 2658, 13523, 4608, 121, 3430, 564, 3274, 96, 2427, 2999, 49, 5368, 349, 41, 109, 51, 32, 63, 29, 15, 1475, 61, 121, 1, -100, -100...
Which NTFS has a no for ReFS and a yes for HPFS?
CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR)
SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 29, 17, 89, 7, 584, 4280, 28027, 6, 6273, 7, 584, 4280, 28027, 6, 3, 107, 102, 89, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 29, 17, 89, 7, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 6273, 7, 3274, 96, 29, 32, 121, 3430, 3, 107, 102, 89, 7, 3274, 96, 10070, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the model for specification of dl-066
CREATE TABLE table_name_54 (model VARCHAR, specification VARCHAR)
SELECT model FROM table_name_54 WHERE specification = "dl-066"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 21770, 584, 4280, 28027, 6, 16726, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 825, 21, 16726, 13, 3, 26, 40, 18, 632, 3539, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 825, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 16726, 3274, 96, 26, 40, 18, 632, 3539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the high assists for orlando
CREATE TABLE table_name_46 ( high_assists VARCHAR, team VARCHAR )
SELECT high_assists FROM table_name_46 WHERE team = "orlando"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 306, 13041, 21, 3, 32, 7721...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 372, 3274, 96, 32, 7721, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the average crowd size at Victoria Park?
CREATE TABLE table_name_22 ( crowd INTEGER, venue VARCHAR )
SELECT AVG(crowd) FROM table_name_22 WHERE venue = "victoria park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 4374, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1348, 4374, 812, 44, 7488, 1061, 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, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 5669, 3274, 96, 7287, 3600, 9, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the gt1 winning team for #54 bell motorsports
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, gt2_winning_team VARCHAR)
SELECT gt1_winning_team FROM table_12146068_2 WHERE gt2_winning_team = "#54 Bell Motorsports"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22011, 25991, 3651, 834, 357, 41, 122, 17, 536, 834, 8163, 834, 11650, 584, 4280, 28027, 6, 3, 122, 17, 357, 834, 8163, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 122, 17, 536, 834, 8163, 834, 11650, 21680, 953, 834, 22011, 25991, 3651, 834, 357, 549, 17444, 427, 3, 122, 17, 357, 834, 8163, 834, 11650, 3274, 96, 4663, 5062, 5377, 30045, 7, 121, 1, -100, -100, -100, -100, ...
Which Player has a Position of number 8, and a Club/province of scarlets?
CREATE TABLE table_name_92 (player VARCHAR, position VARCHAR, club_province VARCHAR)
SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 20846, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1886, 834, 1409, 2494, 565, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 12387, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1102, 3274, 96, 5525, 1152, 505, 121, 3430, 1886, 834, 1409, 2494, 565, 3274, 96, 7, 1720, 7677, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name who directed the 114 episode in the series
CREATE TABLE table_15584067_7 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT directed_by FROM table_15584067_7 WHERE no_in_series = "114"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 26311, 3708, 834, 940, 41, 22955, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 113, 6640, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6640, 834, 969, 21680, 953, 834, 20896, 26311, 3708, 834, 940, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 96, 18959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When dxrt-tv is the callsign what is the power kw?
CREATE TABLE table_26012 ( "Branding" text, "Callsign" text, "Ch. #" text, "Power kW" text, "Station Type" text, "Location (Transmitter site)" text )
SELECT "Power kW" FROM table_26012 WHERE "Callsign" = 'DXRT-TV'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 2122, 41, 96, 18304, 727, 53, 121, 1499, 6, 96, 254, 1748, 6732, 121, 1499, 6, 96, 3541, 5, 1713, 121, 1499, 6, 96, 23553, 3, 21729, 121, 1499, 6, 96, 134, 6821, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23553, 3, 21729, 121, 21680, 953, 834, 18365, 2122, 549, 17444, 427, 96, 254, 1748, 6732, 121, 3274, 3, 31, 308, 4, 5934, 18, 4562, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who set the record for youngest nominee?
CREATE TABLE table_54719 ( "Superlative" text, "Actress" text, "Record Set" text, "Year" real, "Notes" text )
SELECT "Record Set" FROM table_54719 WHERE "Superlative" = 'youngest nominee'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4177, 2294, 41, 96, 23290, 40, 1528, 121, 1499, 6, 96, 23312, 9377, 121, 1499, 6, 96, 1649, 7621, 2821, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 10358, 15, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 2821, 121, 21680, 953, 834, 755, 4177, 2294, 549, 17444, 427, 96, 23290, 40, 1528, 121, 3274, 3, 31, 4188, 1725, 222, 21077, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What shows for 2002 when 2010 shows 69?
CREATE TABLE table_name_85 ( Id VARCHAR )
SELECT 2002 FROM table_name_85 WHERE 2010 = "69"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, 21, 4407, 116, 2735, 1267, 3, 3951, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4407, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 2735, 3274, 96, 3951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the greatest number of members for the National University of Ireland, when the Total number of members in the Seanad was 60, and when the Administrative Panel had more than 7 members?
CREATE TABLE table_name_57 ( national_university_of_ireland INTEGER, total VARCHAR, administrative_panel VARCHAR )
SELECT MAX(national_university_of_ireland) FROM table_name_57 WHERE total = 60 AND administrative_panel > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 1157, 834, 7846, 485, 834, 858, 834, 2060, 40, 232, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 6601, 834, 28726, 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, 4800, 4, 599, 16557, 834, 7846, 485, 834, 858, 834, 2060, 40, 232, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 792, 3274, 1640, 3430, 6601, 834, 28726, 2490, 489, 1, -100, -100, -100, -100, -100, -100, -1...
calculate the average age of office admitted patients who have celo-vessicle fistula primary disease.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 AVG(demographic.age) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.diagnosis = "CELO-VESSICLE FISTULA"
[ 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, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083, 20805, 21415, 87, 24833, 329, 4090, 309, 22590, 121, 3430, 14798, 5, 25930, ...
What are the first and last names of all customers who lived in Lockmanfurt?
CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number ) CREATE TABLE customers ( customer_id number, customer_address_id number, customer_status_code text, date_became_customer time, date_of_birth time, first_name text, last_name text, amount_outstanding number, email_address text, phone_number text, cell_mobile_phone_number text ) CREATE TABLE staff ( staff_id number, staff_address_id number, nickname text, first_name text, middle_name text, last_name text, date_of_birth time, date_joined_staff time, date_left_staff time ) CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE customer_payments ( customer_id number, datetime_payment time, payment_method_code text, amount_payment number )
SELECT T1.first_name, T1.last_name FROM customers AS T1 JOIN addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = "Lockmanfurt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3203, 41, 1689, 834, 23, 26, 381, 6, 1689, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5182, 41, 6114, 834, 23, 26, 381, 6, 884, 834, 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, 332, 5411, 14672, 834, 4350, 6, 332, 5411, 5064, 834, 4350, 21680, 722, 6157, 332, 536, 3, 15355, 3162, 7181, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 9, 26, 12039, 834, 23, 26, 3274, 332, 4416, 9, 26, 120...
Tell me the director for the movie with svetlana zelenkovskaya
CREATE TABLE table_31746 ( "Nomination" text, "Actor's Name" text, "Film Name" text, "Director" text, "Country" text )
SELECT "Director" FROM table_31746 WHERE "Actor's Name" = 'svetlana zelenkovskaya'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2517, 4448, 41, 96, 4168, 14484, 121, 1499, 6, 96, 188, 5317, 31, 7, 5570, 121, 1499, 6, 96, 371, 173, 51, 5570, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23620, 127, 121, 21680, 953, 834, 519, 2517, 4448, 549, 17444, 427, 96, 188, 5317, 31, 7, 5570, 121, 3274, 3, 31, 7, 162, 17, 1618, 9, 3, 4650, 35, 9789, 7, 18075, 9, 31, 1, -100, -100, -100, -100, -100, -...
what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904?
CREATE TABLE table_name_87 ( name VARCHAR, rank VARCHAR, begin_date VARCHAR )
SELECT name FROM table_name_87 WHERE rank = "lieutenant colonel" AND begin_date = "1904-02-22 22 february 1904"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 564, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 1731, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 564, 65, 3, 9, 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, 564, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 11003, 3274, 96, 1896, 76, 324, 288, 6718, 15, 40, 121, 3430, 1731, 834, 5522, 3274, 96, 11776, 26814, 357, 16149, 1630, 29976, 76, 1208, 3, 11776, 20364, 1, -...
What position shows for canada, and an NHL team of new york islanders, and a Pick # of 113?
CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 4718, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 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, 1102, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1157, 485, 3274, 96, 658, 18089, 121, 3430, 3, 29, 107, 40, 834, 11650, 3274, 96, 5534, 25453, 3368, 277, 121, 3430, 1432, 834, 834, 5525, 1152, 3274, 96, 205...
Who was the Winner when the Runner-up was Real Salt Lake?
CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_20 WHERE runner_up = "real salt lake"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 3757, 687, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 18125, 116, 8, 3, 23572, 18, 413,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4668, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 6644, 3136, 6957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What rank is Super Mario Land 2: 6 Golden Coins?
CREATE TABLE table_18590048_1 (rank INTEGER, title VARCHAR)
SELECT MIN(rank) FROM table_18590048_1 WHERE title = "Super Mario Land 2: 6 Golden Coins"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 7015, 3707, 834, 536, 41, 6254, 3, 21342, 17966, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 19, 2011, 14082, 2216, 204, 10, 431, 7100, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 61, 21680, 953, 834, 21594, 7015, 3707, 834, 536, 549, 17444, 427, 2233, 3274, 96, 23290, 14082, 2216, 204, 10, 431, 7100, 15589, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the details of all sales and purchases?
CREATE TABLE purchases ( sales_details VARCHAR, purchase_details VARCHAR ) CREATE TABLE sales ( sales_details VARCHAR, purchase_details VARCHAR )
SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 9701, 41, 1085, 834, 221, 5756, 7, 584, 4280, 28027, 6, 1242, 834, 221, 5756, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1085, 41, 1085, 834, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1085, 834, 221, 5756, 7, 21680, 1085, 4417, 9215, 3, 23143, 14196, 1242, 834, 221, 5756, 7, 21680, 9701, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
count the number of patients whose age is less than 55 and drug code is syrg1?
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 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 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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "55" AND prescriptions.formulary_drug_cd = "SYRG1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is admission type and primary disease of subject name jonathan wiggins?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT demographic.admission_type, demographic.diagnosis FROM demographic WHERE demographic.name = "Jonathan Wiggins"
[ 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, 14798, 5, 9, 26, 5451, 834, 6137, 6, 14798, 5, 25930, 4844, 159, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 106, 9, 6736, 2142, 122, 19655, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which airport has SEB as its IATA code?
CREATE TABLE table_name_86 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_86 WHERE iata = "seb"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 2256, 1493, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3761, 65, 5985, 279, 38, 165, 27, 19282, 1081, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3761, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 3, 17221, 3274, 96, 7, 15, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What offensive line player hailed from Baton Rouge, Louisiana?
CREATE TABLE table_301 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text )
SELECT "Player" FROM table_301 WHERE "Position" = 'Offensive line' AND "Hometown" = 'Baton Rouge, Louisiana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 25626, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 21265, 35, 7, 757, 689, 31, 3430, 96, 19040, 3540, 121, 3274, 3, 31, 279, 144, 106, 23777, 6, 15625, 31, 1, ...
If the position is AM and the league is larger than 7.0, what is the total R number?
CREATE TABLE table_25570 ( "R" real, "Player" text, "Position" text, "League" real, "Champions League" real, "Copa del Rey" real, "Total" real )
SELECT COUNT("R") FROM table_25570 WHERE "Position" = 'AM' AND "League" > '7.0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 28363, 41, 96, 448, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 2796, 9, 5398, 121, 490, 6, 96, 3541, 4624, 2865, 3815, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 448, 8512, 21680, 953, 834, 1828, 28363, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 4815, 31, 3430, 96, 2796, 9, 5398, 121, 2490, 3, 31, 26346, 31, 1, -100, -100, -100, -100, ...
How many picks did Mike Zaher have?
CREATE TABLE table_name_17 (pick__number INTEGER, player VARCHAR)
SELECT SUM(pick__number) FROM table_name_17 WHERE player = "mike zaher"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 17967, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1432, 7, 410, 4794, 4904, 760, 43, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 1959, 3274, 96, 20068, 15, 3, 1629, 760, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many entries for 1983-84 when 1984-85 is Terri Gilreath?
CREATE TABLE table_25169 ( "Rank" real, "1980-81" text, "1981-82" text, "1982-83" text, "1983-84" text, "1984-85" text )
SELECT COUNT("1983-84") FROM table_25169 WHERE "1984-85" = 'Terri Gilreath'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 27096, 41, 96, 22557, 121, 490, 6, 96, 24151, 9498, 4959, 121, 1499, 6, 96, 2294, 4959, 18, 4613, 121, 1499, 6, 96, 24151, 7412, 4591, 121, 1499, 6, 96, 2294, 4591, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 2294, 4591, 18, 4608, 8512, 21680, 953, 834, 1828, 27096, 549, 17444, 427, 96, 2294, 4608, 18, 4433, 121, 3274, 3, 31, 382, 21301, 12798, 864, 189, 31, 1, -100, -100, -100, -100, -100, -100, -...
What is the Yogi Bear that aired on 1959.12.21?
CREATE TABLE table_19860361_3 (yogi_bear VARCHAR, air_date VARCHAR)
SELECT yogi_bear FROM table_19860361_3 WHERE air_date = "1959.12.21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3840, 4928, 4241, 834, 519, 41, 28922, 23, 834, 346, 291, 584, 4280, 28027, 6, 799, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 28922, 23, 834, 346, 291, 21680, 953, 834, 2294, 3840, 4928, 4241, 834, 519, 549, 17444, 427, 799, 834, 5522, 3274, 96, 22464, 8797, 9368, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Series Ep has a Netflix of s08e18?
CREATE TABLE table_name_83 ( series_ep VARCHAR, netflix VARCHAR )
SELECT series_ep FROM table_name_83 WHERE netflix = "s08e18"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 939, 834, 15, 102, 584, 4280, 28027, 6, 3134, 89, 17591, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4531, 10395, 65, 3, 9, 11894, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 939, 834, 15, 102, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 3134, 89, 17591, 3274, 96, 7, 4018, 15, 2606, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many million U.S. viewers saw 'Fake Me Home Tonight'?
CREATE TABLE table_74354 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "U.S. viewers (million)" FROM table_74354 WHERE "Title" = 'Fake Me Home Tonight'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 2469, 591, 41, 96, 4168, 535, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 3380, 10270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1265, 5, 134, 5, 13569, 41, 17030, 61, 121, 21680, 953, 834, 4581, 2469, 591, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 371, 9, 1050, 1212, 1210, 24951, 31, 1, -100, -100, -100, -100, -100, -100, ...
On what date was Kentucky the opponent, and Ragle lost?
CREATE TABLE table_name_9 ( date VARCHAR, opponent VARCHAR, loss VARCHAR )
SELECT date FROM table_name_9 WHERE opponent = "kentucky" AND loss = "ragle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 833, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 13401, 8, 15264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 15264, 3274, 96, 2217, 17, 4636, 63, 121, 3430, 1453, 3274, 96, 6151, 109, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date of the game away against Pride?
CREATE TABLE table_11495 ( "Date" text, "Opponent" text, "Home/Away" text, "Field" text, "Result" text )
SELECT "Date" FROM table_11495 WHERE "Opponent" = 'pride' AND "Home/Away" = 'away'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18959, 3301, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 19040, 87, 188, 1343, 121, 1499, 6, 96, 3183, 8804, 121, 1499, 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, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 18959, 3301, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 2246, 221, 31, 3430, 96, 19040, 87, 188, 1343, 121, 3274, 3, 31, 8006, 31, 1, -100, -100, -100, -100, -100, ...
How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?
CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2368, 22174, 834, 357, 41, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 61, 21680, 953, 834, 1714, 2368, 22174, 834, 357, 549, 17444, 427, 3, 29, 107, 40, 834, 11650, 3274, 96, 518, 3198, 6029, 5826, 7, 121, 1, ...
What is the Cover Date of the Story Title Spacehikers (Part 2)?
CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR)
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 9817, 834, 5522, 584, 4280, 28027, 6, 733, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5620, 7678, 13, 8, 8483, 11029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1189, 834, 5522, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 733, 834, 21869, 3274, 96, 6633, 16942, 277, 41, 2274, 9266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the lowest number of points scored in the league cup?
CREATE TABLE table_22683369_8 ( league INTEGER )
SELECT MIN(league) AS Cup FROM table_22683369_8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3651, 4201, 3951, 834, 927, 41, 5533, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 381, 13, 979, 5799, 16, 8, 5533, 4119, 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, 3, 17684, 599, 29512, 61, 6157, 3802, 21680, 953, 834, 2884, 3651, 4201, 3951, 834, 927, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the IATA when France was the country, and the ICAO was lfrn?
CREATE TABLE table_name_72 (iata VARCHAR, country VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_72 WHERE country = "france" AND icao = "lfrn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 17221, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 27, 19282, 116, 141...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17221, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 684, 3274, 96, 89, 5219, 121, 3430, 3, 2617, 32, 3274, 96, 40, 89, 52, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What constructor has a grid less than 21, and time/retired of engine?
CREATE TABLE table_name_64 ( constructor VARCHAR, grid VARCHAR, time_retired VARCHAR )
SELECT constructor FROM table_name_64 WHERE grid < 21 AND time_retired = "engine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 6774, 127, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6774, 127, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6774, 127, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 8634, 3, 2, 1401, 3430, 97, 834, 10682, 1271, 3274, 96, 20165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the average grade point of student whose last name is Smith.
CREATE TABLE ENROLLED_IN ( Grade VARCHAR, StuID VARCHAR ) CREATE TABLE STUDENT ( LName VARCHAR, StuID VARCHAR ) CREATE TABLE GRADECONVERSION ( gradepoint INTEGER, lettergrade VARCHAR )
SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = "Smith"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 9142, 5194, 17717, 834, 3162, 41, 13027, 584, 4280, 28027, 6, 3, 13076, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5097, 10161, 6431, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 382, 4416, 6801, 2700, 61, 21680, 262, 9142, 5194, 17717, 834, 3162, 6157, 332, 536, 3, 15355, 3162, 23194, 5596, 17752, 26794, 9215, 6157, 332, 357, 3, 15355, 3162, 5097, 10161, 6431, 6157, 332, 519, ...
What is the child sex ration for the population with 37.7% work participation?
CREATE TABLE table_4629 ( "Religious group" text, "Population %" text, "Growth (1991\u20132001)" text, "Sex ratio (total)" real, "Literacy (%)" text, "Work participation (%)" text, "Sex ratio (rural)" real, "Sex ratio (urban)" real, "Sex ratio (child)" real )
SELECT MAX("Sex ratio (child)") FROM table_4629 WHERE "Work participation (%)" = '37.7%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 3166, 41, 96, 1649, 2825, 2936, 563, 121, 1499, 6, 96, 27773, 7830, 3, 1454, 121, 1499, 6, 96, 517, 3623, 189, 2863, 4729, 2, 76, 11138, 23658, 61, 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, 4800, 4, 599, 121, 134, 994, 5688, 41, 11495, 61, 8512, 21680, 953, 834, 4448, 3166, 549, 17444, 427, 96, 12492, 5178, 41, 6210, 121, 3274, 3, 31, 4118, 5, 6170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%?
CREATE TABLE table_34089 ( "Driver" text, "Points" real, "Season" real, "Races" real, "Percentage of possible points" text )
SELECT "Races" FROM table_34089 WHERE "Points" > '123' AND "Driver" = 'fernando alonso' AND "Percentage of possible points" = '74.44%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21129, 3914, 41, 96, 20982, 52, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 134, 15, 9, 739, 121, 490, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 12988, 3728, 545, 13, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 9, 2319, 121, 21680, 953, 834, 21129, 3914, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 14574, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 8377, 232, 32, 3, 9, 14061, 32, 31, 3430, 96, 12988, 3728, ...
Name the number of nationality is tom hilde
CREATE TABLE table_14407512_23 (nationality VARCHAR, name VARCHAR)
SELECT COUNT(nationality) FROM table_14407512_23 WHERE name = "Tom Hilde"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20885, 4560, 24163, 834, 2773, 41, 16557, 485, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 1157, 485, 19, 12, 51, 3, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 16557, 485, 61, 21680, 953, 834, 20885, 4560, 24163, 834, 2773, 549, 17444, 427, 564, 3274, 96, 3696, 51, 11995, 221, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the attendance when the result was 1-1?
CREATE TABLE table_name_12 ( attendance VARCHAR, result VARCHAR )
SELECT attendance FROM table_name_12 WHERE result = "1-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 11364, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 116, 8, 741, 47, 209, 2292, 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, 11364, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 741, 3274, 96, 536, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many votes did Lee Teng-Hui receive when he was elected?
CREATE TABLE table_50484 ( "Election" real, "Candidate" text, "Running mate" text, "Total votes" real, "Share of votes" text, "Outcome" text )
SELECT MAX("Total votes") FROM table_50484 WHERE "Outcome" = 'elected' AND "Candidate" = 'lee teng-hui'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 3707, 591, 41, 96, 427, 12252, 121, 490, 6, 96, 14050, 12416, 342, 121, 1499, 6, 96, 17137, 9416, 3, 5058, 121, 1499, 6, 96, 3696, 1947, 11839, 121, 490, 6, 96, 245...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3696, 1947, 11839, 8512, 21680, 953, 834, 1752, 3707, 591, 549, 17444, 427, 96, 15767, 287, 15, 121, 3274, 3, 31, 19971, 31, 3430, 96, 14050, 12416, 342, 121, 3274, 3, 31, 109, 15, 3, 324, 122, ...
What is the average of number_of_platforms for each location? Show the comparison with a bar chart.
CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train_station ( Train_ID int, Station_ID int )
SELECT Location, AVG(Number_of_Platforms) FROM station GROUP BY Location
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2900, 1499, 6, 1387, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 5939, 834, 4309, 16, 17, 6, 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, 10450, 6, 71, 17217, 599, 567, 5937, 49, 834, 858, 834, 10146, 2032, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 10450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average PUBS 11 value in Mumbai, which has a 07-11 totals less than 1025?
CREATE TABLE table_45750 ( "SCHOOL" text, "LOCATION" text, "PUBS. 2010" real, "TOTALS 06-10" real, "RANK 06-10" real, "PUBS 2011" real, "TOTALS 07-11" real, "RANK 07-11" real, "WORLD RANKING" text )
SELECT AVG("PUBS 2011") FROM table_45750 WHERE "LOCATION" = 'mumbai' AND "TOTALS 07-11" < '1025'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 9979, 41, 96, 134, 25683, 5194, 121, 1499, 6, 96, 5017, 254, 8015, 121, 1499, 6, 96, 10744, 4547, 5, 2735, 121, 490, 6, 96, 5647, 16359, 134, 13574, 4536, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 10744, 4547, 2722, 8512, 21680, 953, 834, 2128, 9979, 549, 17444, 427, 96, 5017, 254, 8015, 121, 3274, 3, 31, 51, 440, 9441, 31, 3430, 96, 5647, 16359, 134, 10668, 9169, 121, 3, 2, 3, 31, 1714...
How many musicals has each nominee been nominated for Plot them as bar chart, rank in descending by the total number.
CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text )
SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7556, 41, 1983, 127, 834, 4309, 16, 17, 6, 5570, 1499, 6, 22307, 834, 4309, 16, 17, 6, 20087, 1499, 6, 20610, 1499, 6, 1246, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 465, 8695, 15, 6, 2847, 17161, 599, 1935, 61, 21680, 4183, 350, 4630, 6880, 272, 476, 465, 8695, 15, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the turbo when the cores is standard power?
CREATE TABLE table_name_30 (turbo VARCHAR, cores VARCHAR)
SELECT turbo FROM table_name_30 WHERE cores = "standard power"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 2905, 115, 32, 584, 4280, 28027, 6, 2583, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 20353, 116, 8, 2583, 7, 19, 1068, 579, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20353, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 2583, 7, 3274, 96, 16020, 579, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of stations that have latitude lower than 37.5?
CREATE TABLE station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text ) CREATE TABLE weather ( date text, max_temperature_f number, mean_temperature_f number, min_temperature_f number, max_dew_point_f number, mean_dew_point_f number, min_dew_point_f number, max_humidity number, mean_humidity number, min_humidity number, max_sea_level_pressure_inches number, mean_sea_level_pressure_inches number, min_sea_level_pressure_inches number, max_visibility_miles number, mean_visibility_miles number, min_visibility_miles number, max_wind_speed_mph number, mean_wind_speed_mph number, max_gust_speed_mph number, precipitation_inches number, cloud_cover number, events text, wind_dir_degrees number, zip_code number ) CREATE TABLE trip ( id number, duration number, start_date text, start_station_name text, start_station_id number, end_date text, end_station_name text, end_station_id number, bike_id number, subscription_type text, zip_code number ) CREATE TABLE status ( station_id number, bikes_available number, docks_available number, time text )
SELECT name FROM station WHERE lat < 37.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 381, 6, 564, 1499, 6, 50, 17, 381, 6, 307, 381, 6, 12908, 834, 13362, 381, 6, 690, 1499, 6, 2545, 834, 5522, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 2478, 549, 17444, 427, 50, 17, 3, 2, 220, 15731, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the Opponents at the Schenectady, U.S. Tournament?
CREATE TABLE table_name_51 ( opponents_in_the_final VARCHAR, tournament VARCHAR )
SELECT opponents_in_the_final FROM table_name_51 WHERE tournament = "schenectady, u.s."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 4495, 9977, 7, 44,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16383, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 5892, 3274, 96, 3992, 20902, 9, 26, 63, 6, 3, 76, 5, 7, 535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
at least how many times was Pierre Vermeulen at a game?
CREATE TABLE table_24565004_22 (appearances¹ INTEGER, name VARCHAR)
SELECT MIN(appearances¹) FROM table_24565004_22 WHERE name = "Pierre Vermeulen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 2884, 41, 3096, 2741, 663, 7, 536, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 44, 709, 149, 186, 648, 47, 118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3096, 2741, 663, 7, 6982, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 2884, 549, 17444, 427, 564, 3274, 96, 26928, 781, 526, 83, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is patient 006-21143's last ward id since 3 years ago?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-21143') AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 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, 1868, 5, 2239, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, ...
What's the release date of Feather Finger with an MM Series?
CREATE TABLE table_name_4 (release_date VARCHAR, series VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_4 WHERE series = "mm" AND title = "feather finger"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 21019, 834, 5522, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1576, 833, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1576, 834, 5522, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 939, 3274, 96, 635, 121, 3430, 2233, 3274, 96, 89, 1544, 760, 8425, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the joined for blue hose
CREATE TABLE table_20586 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" text, "Left" text, "Current Conference" text )
SELECT "Joined" FROM table_20586 WHERE "Nickname" = 'Blue Hose'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23201, 3840, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 683, 32, 630, 26, 121, 21680, 953, 834, 23201, 3840, 549, 17444, 427, 96, 567, 3142, 4350, 121, 3274, 3, 31, 22530, 25462, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What IATA has queensland as the state/territory and an ICAO of ybrk?
CREATE TABLE table_name_30 (iata VARCHAR, state_territory VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_30 WHERE state_territory = "queensland" AND icao = "ybrk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 17221, 584, 4280, 28027, 6, 538, 834, 17, 21301, 10972, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 27, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17221, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 538, 834, 17, 21301, 10972, 3274, 96, 835, 35, 7, 40, 232, 121, 3430, 3, 2617, 32, 3274, 96, 63, 115, 52, 157, 121, 1, -100, -100, -100, -100, -100, -...
how many high schools had a league leave to big nine conference ?
CREATE TABLE table_203_591 ( id number, "high school" text, "join\nyear" text, "from" text, "left" text, "league left to" text )
SELECT COUNT("high school") FROM table_203_591 WHERE "league left to" = 'big nine conference'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3390, 536, 41, 3, 23, 26, 381, 6, 96, 6739, 496, 121, 1499, 6, 96, 1927, 77, 2, 29, 1201, 121, 1499, 6, 96, 7152, 121, 1499, 6, 96, 17068, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 6739, 496, 8512, 21680, 953, 834, 23330, 834, 3390, 536, 549, 17444, 427, 96, 29512, 646, 12, 121, 3274, 3, 31, 12911, 4169, 2542, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Attendance is the highest one that has a Record of 37-38?
CREATE TABLE table_38339 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT MAX("Attendance") FROM table_38339 WHERE "Record" = '37-38'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 519, 3288, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 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, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3747, 519, 3288, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 4118, 18, 3747, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the sum of cuts made when the top-5 is 2, and there are 12 events?
CREATE TABLE table_43332 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT COUNT("Cuts made") FROM table_43332 WHERE "Top-5" = '2' AND "Events" = '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 519, 2668, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 15784, 17, 7, 263, 8512, 21680, 953, 834, 4906, 519, 2668, 549, 17444, 427, 96, 22481, 18, 17395, 3274, 3, 31, 357, 31, 3430, 96, 427, 2169, 7, 121, 3274, 3, 31, 2122, 31, 1, -100, -100, -...
What is the grid for dirk heidolf?
CREATE TABLE table_name_25 ( grid INTEGER, rider VARCHAR )
SELECT SUM(grid) FROM table_name_25 WHERE rider = "dirk heidolf"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 8634, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8634, 21, 5141, 157, 3, 88, 23, 26, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 2564, 52, 3274, 96, 26, 12546, 3, 88, 23, 26, 32, 40, 89, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT ROUND HAS A GUARD POSITION AT OHIO COLLEGE?
CREATE TABLE table_name_18 ( round VARCHAR, position VARCHAR, college VARCHAR )
SELECT round FROM table_name_18 WHERE position = "guard" AND college = "ohio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 10264, 13110, 454, 3291, 71, 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, 1751, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1102, 3274, 96, 11010, 121, 3430, 1900, 3274, 96, 32, 107, 23, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of opponents ?
CREATE TABLE table_204_130 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT COUNT(DISTINCT "opponent") FROM table_204_130
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 21448, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 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, 2847, 17161, 599, 15438, 25424, 6227, 96, 32, 102, 9977, 8512, 21680, 953, 834, 26363, 834, 21448, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Draw a scatter chart about the correlation between CID and DNO .
CREATE TABLE Course ( CID VARCHAR(7), CName VARCHAR(40), Credits INTEGER, Instructor INTEGER, Days VARCHAR(5), Hours VARCHAR(11), DNO INTEGER ) CREATE TABLE Gradeconversion ( lettergrade VARCHAR(2), gradepoint FLOAT ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Department ( DNO INTEGER, Division VARCHAR(2), DName VARCHAR(25), Room VARCHAR(5), Building VARCHAR(13), DPhone INTEGER ) CREATE TABLE Member_of ( FacID INTEGER, DNO INTEGER, Appt_Type VARCHAR(15) ) CREATE TABLE Minor_in ( StuID INTEGER, DNO INTEGER ) CREATE TABLE Enrolled_in ( StuID INTEGER, CID VARCHAR(7), Grade VARCHAR(2) )
SELECT CID, DNO FROM Course ORDER BY Credits
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 41, 205, 4309, 584, 4280, 28027, 24358, 6, 205, 23954, 584, 4280, 28027, 599, 2445, 201, 6529, 7, 3, 21342, 17966, 6, 24562, 3, 21342, 17966, 6, 13992, 584, 4280, 28027, 15757, 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, 205, 4309, 6, 309, 7400, 21680, 8670, 4674, 11300, 272, 476, 6529, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977?
CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)
SELECT leftfielder FROM table_name_90 WHERE second_baseman = "davey lopes" AND first_baseman = "steve garvey" AND shortstop = "bill russell" AND year > 1977
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 17068, 1846, 49, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 710, 7618, 584, 4280, 28027, 6, 511, 834, 10925, 348, 584, 4280, 28027, 6, 166, 834, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 646, 1846, 49, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 511, 834, 10925, 348, 3274, 96, 26, 9, 162, 63, 3, 17696, 7, 121, 3430, 166, 834, 10925, 348, 3274, 96, 849, 162, 5260, 162, 63, 121, 3430, 710, ...
How many parties were first elected in 1994?
CREATE TABLE table_1805191_39 (party VARCHAR, first_elected VARCHAR)
SELECT COUNT(party) FROM table_1805191_39 WHERE first_elected = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 5553, 4729, 834, 3288, 41, 8071, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2251, 130, 166, 8160, 16, 7520, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8071, 61, 21680, 953, 834, 20829, 5553, 4729, 834, 3288, 549, 17444, 427, 166, 834, 19971, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor, and show by the bars from low to high.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text )
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY Investor
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 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, 16873, 6, 2847, 17161, 599, 1935, 61, 21680, 3, 12290, 350, 4630, 6880, 272, 476, 16873, 4674, 11300, 272, 476, 16873, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What years does plateau school serve?
CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR)
SELECT years FROM table_name_96 WHERE name = "plateau school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1201, 7, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 203, 405, 20839, 496, 1716, 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, 203, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 564, 3274, 96, 17628, 402, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which team has a record of 7-1?
CREATE TABLE table_name_99 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_99 WHERE record = "7-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 3, 9, 1368, 13, 489, 2292, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 1368, 3274, 96, 940, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 9am program on the channel that shows Power Rangers in Space at 4pm?
CREATE TABLE table_12248 ( "7:00 am" text, "8:00 am" text, "9:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "3:30 pm" text, "4:00 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "9:00 am" FROM table_12248 WHERE "4:00 pm" = 'power rangers in space'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 3707, 41, 96, 18735, 183, 121, 1499, 6, 96, 15692, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 24294, 183, 121, 1499, 6, 96, 29, 32, 106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1298, 10, 1206, 183, 121, 21680, 953, 834, 20889, 3707, 549, 17444, 427, 96, 591, 10, 1206, 6366, 121, 3274, 3, 31, 6740, 620, 52, 7, 16, 628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many seats in 2006 has a % 1997 rating of 38.9?
CREATE TABLE table_21132404_1 ( seats_2006 VARCHAR, _percentage_1997 VARCHAR )
SELECT COUNT(seats_2006) FROM table_21132404_1 WHERE _percentage_1997 = "38.9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 23757, 25285, 834, 536, 41, 6116, 834, 21196, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 2294, 4327, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 1544, 7, 834, 21196, 61, 21680, 953, 834, 2658, 23757, 25285, 834, 536, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 2294, 4327, 3274, 96, 3747, 5, 1298, 121, 1, -100, -100, -100, -100, -100, ...
papers published in 2011 by luke zettlemoyer
CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar )
SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'luke zettlemoyer' AND paper.year = 2011 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 41, 1040, 23, 26, 16, 17, 6, 2233, 3, 4331, 4059, 6, 5669, 23, 26, 16, 17, 6, 215, 16, 17, 6, 3, 5525, 17994, 16, 17, 6, 3, 5525, 11675, 969, 16, 17, 6, 6378, 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, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 2291, 6, 1040, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 40, 1598, 15, 3, 776, 8692, 51, 32, 7975, 31, 3430, 1040, 5, 1201, 3274, 2722, 3...
What was the score when the record was 21-31-13?
CREATE TABLE table_21654 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real )
SELECT "Score" FROM table_21654 WHERE "Record" = '21-31-13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 5062, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 27184, 5062, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2658, 18, 3341, 13056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the goals for in the season that the pct % was 0.604?
CREATE TABLE table_24148 ( "Season" text, "Games" real, "Won" real, "Lost" real, "Tied" real, "Points" real, "Pct %" text, "Goals For" real, "Goals Against" real, "Standing" text )
SELECT MAX("Goals For") FROM table_24148 WHERE "Pct %" = '0.604'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 24748, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 382, 5973, 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, 4800, 4, 599, 121, 6221, 5405, 242, 8512, 21680, 953, 834, 2266, 24748, 549, 17444, 427, 96, 345, 75, 17, 3, 1454, 121, 3274, 3, 31, 22787, 6348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The Last Metro refers to which Original Title?
CREATE TABLE table_name_91 ( original_title VARCHAR, title_in_english VARCHAR )
SELECT original_title FROM table_name_91 WHERE title_in_english = "the last metro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 926, 834, 21869, 584, 4280, 28027, 6, 2233, 834, 77, 834, 4606, 40, 1273, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 37, 2506, 10730, 2401, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 926, 834, 21869, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 2233, 834, 77, 834, 4606, 40, 1273, 3274, 96, 532, 336, 12810, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is admission type and drug code of subject id 2560?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.admission_type, prescriptions.formulary_drug_cd FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "2560"
[ 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, 14798, 5, 9, 26, 5451, 834, 6137, 6, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 8...
Return the description for the courses named 'database'.
CREATE TABLE courses ( course_id number, author_id number, subject_id number, course_name text, course_description text ) CREATE TABLE student_course_enrolment ( registration_id number, student_id number, course_id number, date_of_enrolment time, date_of_completion time ) CREATE TABLE student_tests_taken ( registration_id number, date_test_taken time, test_result text ) CREATE TABLE subjects ( subject_id number, subject_name text ) CREATE TABLE course_authors_and_tutors ( author_id number, author_tutor_atb text, login_name text, password text, personal_name text, middle_name text, family_name text, gender_mf text, address_line_1 text ) CREATE TABLE students ( student_id number, date_of_registration time, date_of_latest_logon time, login_name text, password text, personal_name text, middle_name text, family_name text )
SELECT course_description FROM courses WHERE course_name = "database"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2996, 41, 503, 834, 23, 26, 381, 6, 2291, 834, 23, 26, 381, 6, 1426, 834, 23, 26, 381, 6, 503, 834, 4350, 1499, 6, 503, 834, 221, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 205,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 503, 834, 221, 11830, 21680, 2996, 549, 17444, 427, 503, 834, 4350, 3274, 96, 6757, 10925, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the names of customers who never ordered product Latte.
CREATE TABLE customer_orders ( customer_id VARCHAR, order_id VARCHAR ) CREATE TABLE customers ( customer_name VARCHAR ) CREATE TABLE products ( product_id VARCHAR, product_details VARCHAR ) CREATE TABLE order_items ( order_id VARCHAR, product_id VARCHAR )
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, 884, 834, 9397, 7, 41, 884, 834, 23, 26, 584, 4280, 28027, 6, 455, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 884, 834, 435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
What is the language, when 'house' is 'balay', when 'three' is 'tatlo', and when 'four' is 'apat'?
CREATE TABLE table_name_52 ( english VARCHAR, four VARCHAR, house VARCHAR, three VARCHAR )
SELECT english FROM table_name_52 WHERE house = "balay" AND three = "tatlo" AND four = "apat"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 22269, 584, 4280, 28027, 6, 662, 584, 4280, 28027, 6, 629, 584, 4280, 28027, 6, 386, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 22269, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 629, 3274, 96, 10810, 63, 121, 3430, 386, 3274, 96, 17, 144, 40, 32, 121, 3430, 662, 3274, 96, 9, 4665, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
What is Since, when Transfer Fee is ' 12m'?
CREATE TABLE table_name_48 ( since VARCHAR, transfer_fee VARCHAR )
SELECT since FROM table_name_48 WHERE transfer_fee = "£ 12m"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 437, 584, 4280, 28027, 6, 2025, 834, 89, 15, 15, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1541, 6, 116, 9900, 8495, 19, 3, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 437, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 2025, 834, 89, 15, 15, 3274, 96, 19853, 586, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which SANSKRT has a CHINESE of 摩拏羅 / mónáluó?
CREATE TABLE table_name_76 (sanskrt VARCHAR, chinese VARCHAR)
SELECT sanskrt FROM table_name_76 WHERE chinese = "摩拏羅 / mónáluó"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 7, 3247, 157, 52, 17, 584, 4280, 28027, 6, 3, 1436, 1496, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 19976, 10047, 5934, 65, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 1532, 157, 52, 17, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 3, 1436, 1496, 15, 3274, 96, 2, 3, 87, 3, 51, 15742, 2975, 40, 76, 4922, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are the number of times the competition was listed as friendly ?
CREATE TABLE table_204_52 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT COUNT(DISTINCT "date") FROM table_204_52 WHERE "competition" = 'friendly'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 5373, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 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, 2847, 17161, 599, 15438, 25424, 6227, 96, 5522, 8512, 21680, 953, 834, 26363, 834, 5373, 549, 17444, 427, 96, 287, 4995, 4749, 121, 3274, 3, 31, 4905, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Bring me the long title of diagnoses and short title of procedures for the patient Cynthia Robinson.
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 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT diagnoses.long_title, procedures.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Cynthia Robinson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 2961, 834, 21869, 6, 4293, 5, 7, 14184, 834, 21869, 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, 3388, 18206, ...
count the number of patients whose admission year is less than 2179 and procedure long title is (aorto)coronary bypass of one coronary artery?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2179" AND procedures.long_title = "(Aorto)coronary bypass of one coronary artery"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
CREATE TABLE table_50619 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Record" FROM table_50619 WHERE "Date" = 'november 14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 948, 2294, 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, 1649, 7621, 121, 21680, 953, 834, 1752, 948, 2294, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 968, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Zone 2008 has Services of greater anglia, and a Station of cheshunt?
CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR)
SELECT zone_2008 FROM table_name_17 WHERE services = "greater anglia" AND station = "cheshunt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 9431, 834, 16128, 584, 4280, 28027, 6, 364, 584, 4280, 28027, 6, 2478, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11628, 2628, 65, 1799, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2901, 834, 16128, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 364, 3274, 96, 20288, 49, 46, 4707, 9, 121, 3430, 2478, 3274, 96, 2951, 24963, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have?
CREATE TABLE table_52891 ( "Maker" text, "Model" text, "Intro year" text, "Screen size (inch)" text, "Self-lit" text, "Screen type" text, "Weight" text, "Screen pixels" text, "Touch screen" text, "micro SDHC" text )
SELECT "Screen pixels" FROM table_52891 WHERE "Maker" = 'amazon.com' AND "Weight" = '221g (7.8oz)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2577, 4729, 41, 96, 22638, 52, 121, 1499, 6, 96, 24663, 121, 1499, 6, 96, 1570, 17, 52, 32, 215, 121, 1499, 6, 96, 134, 5045, 35, 812, 41, 4976, 61, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 5045, 35, 15386, 121, 21680, 953, 834, 755, 2577, 4729, 549, 17444, 427, 96, 22638, 52, 121, 3274, 3, 31, 9, 18983, 106, 5, 287, 31, 3430, 96, 1326, 2632, 121, 3274, 3, 31, 357, 2658, 122, 13649, 5, 927...
How many Points have a Home of pittsburgh, and a Score of 1 7?
CREATE TABLE table_name_11 ( points INTEGER, home VARCHAR, score VARCHAR )
SELECT SUM(points) FROM table_name_11 WHERE home = "pittsburgh" AND score = "1–7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 979, 3, 21342, 17966, 6, 234, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564, 7, 43, 3, 9, 1210, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2596, 549, 17444, 427, 234, 3274, 96, 5230, 17, 7289, 107, 121, 3430, 2604, 3274, 96, 536, 104, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest TD's with less than 15 yards and less than 1 rec.?
CREATE TABLE table_57698 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real )
SELECT MAX("TD's") FROM table_57698 WHERE "Yards" < '15' AND "Rec." < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3959, 3916, 41, 96, 15800, 49, 121, 1499, 6, 96, 1649, 75, 535, 490, 6, 96, 476, 986, 7, 121, 490, 6, 96, 188, 208, 122, 535, 490, 6, 96, 10494, 31, 7, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 10494, 31, 7, 8512, 21680, 953, 834, 755, 3959, 3916, 549, 17444, 427, 96, 476, 986, 7, 121, 3, 2, 3, 31, 1808, 31, 3430, 96, 1649, 75, 535, 3, 2, 3, 31, 536, 31, 1, -100, -100, -100, -100...