NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
how many patients with drug type base were diagnosed with diaphragmatic hernia?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Diaphragmatic hernia" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is 02-03, when School Year is % Learning In Latvian?
CREATE TABLE table_name_33 ( school_year VARCHAR )
SELECT 02 AS _03 FROM table_name_33 WHERE school_year = "% learning in latvian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 496, 834, 1201, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11270, 18, 4928, 6, 116, 1121, 2929, 19, 3, 1454, 6630, 86, 28487, 29,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11270, 6157, 3, 834, 4928, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 496, 834, 1201, 3274, 96, 1454, 1036, 16, 50, 17, 5907, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What barony is Ballycunningham in?
CREATE TABLE table_31498 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text )
SELECT "Barony" FROM table_31498 WHERE "Townland" = 'Ballycunningham'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2534, 3916, 41, 96, 382, 9197, 40, 232, 121, 1499, 6, 96, 188, 864, 599, 9704, 3, 61, 121, 490, 6, 96, 14851, 106, 63, 121, 1499, 6, 96, 254, 23, 6372, 14961, 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, 14851, 106, 63, 121, 21680, 953, 834, 519, 2534, 3916, 549, 17444, 427, 96, 382, 9197, 40, 232, 121, 3274, 3, 31, 279, 1427, 1071, 9416, 1483, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Score that has a Date of 2005-10-29?
CREATE TABLE table_name_6 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_6 WHERE date = "2005-10-29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17763, 24, 65, 3, 9, 7678, 13, 3105, 4536, 18, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 833, 3274, 96, 22594, 4536, 18, 3166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
find out the number of patients who have been prescribed neo*iv*ampicillin sodium.
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "NEO*IV*AMPicillin Sodium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the place of the player from the United States with a score of 74-72=146?
CREATE TABLE table_13063 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real )
SELECT "Place" FROM table_13063 WHERE "Country" = 'united states' AND "Score" = '74-72=146'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 3891, 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, 490, 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, 345, 11706, 121, 21680, 953, 834, 21448, 3891, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 4581, 18, 5865, 2423, 24300, 31, 1, -100, -100,...
Show me acc_percent by all road in a histogram, and show by the Y in asc.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Road, ACC_Percent FROM basketball_match ORDER BY ACC_Percent
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 448, 32, 9, 26, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 12988, 3728, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose age is less than 82 and lab test name is chloride?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "82" AND lab.label = "Chloride"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
For those employees who was hired before 2002-06-21, give me the comparison about the average of manager_id over the hire_date bin hire_date by time, show in descending by the y-axis please.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(MANAGER_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 71, 17217, ...
What was the listed crowd at junction oval?
CREATE TABLE table_name_28 ( crowd VARCHAR, venue VARCHAR )
SELECT crowd FROM table_name_28 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 4374, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2616, 4374, 44, 23704, 17986, 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, 4374, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Stacked bar chart of team_id for with each All_Home in each acc road, I want to order from high to low by the ACC_Road.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY ACC_Road DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 3...
what is the place when losses is less than 12 and points is less than 19?
CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 4687, 3, 21342, 17966, 6, 1513, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 286, 116, 8467, 19, 705, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 4687, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1513, 3, 2, 586, 3430, 979, 3, 2, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people in the total region when there are more than 6,406 in Fitzroy, 27,017 in Livinstonge, and less than 58,382 in Rochhampton?
CREATE TABLE table_69207 ( "Year" real, "Total Region" real, "Rockhampton" real, "Livingstone" real, "Fitzroy" real, "Mt Morgan" real )
SELECT COUNT("Total Region") FROM table_69207 WHERE "Fitzroy" > '6,406' AND "Livingstone" = '27,017' AND "Rockhampton" < '58,382'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 26426, 41, 96, 476, 2741, 121, 490, 6, 96, 3696, 1947, 6163, 121, 490, 6, 96, 23349, 1483, 11632, 121, 490, 6, 96, 434, 23, 3745, 3009, 121, 490, 6, 96, 371, 5615, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 6163, 8512, 21680, 953, 834, 3951, 26426, 549, 17444, 427, 96, 371, 5615, 8170, 121, 2490, 3, 31, 11071, 2445, 948, 31, 3430, 96, 434, 23, 3745, 3009, 121, 3274, 3, 31, 2555, 6, ...
Show different carriers of phones together with the number of phones with each carrier by a bar chart.
CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int )
SELECT Carrier, COUNT(*) FROM phone GROUP BY Carrier
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 41, 5570, 1499, 6, 8924, 834, 4309, 16, 17, 6, 19159, 834, 77, 834, 517, 16, 17, 6, 1184, 6711, 1499, 6, 5312, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1184, 6711, 6, 2847, 17161, 599, 1935, 61, 21680, 951, 350, 4630, 6880, 272, 476, 1184, 6711, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the Second when Michel Gribi is the lead?
CREATE TABLE table_name_90 (second VARCHAR, lead VARCHAR)
SELECT second FROM table_name_90 WHERE lead = "michel gribi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 12091, 584, 4280, 28027, 6, 991, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 5212, 116, 9411, 3796, 16775, 19, 8, 991, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 511, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 991, 3274, 96, 51, 23, 8738, 3542, 16775, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the original air date for season 11?
CREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR)
SELECT original_air_date FROM table_20704243_6 WHERE season__number = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 6348, 27730, 834, 948, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 26426, 6348, 27730, 834, 948, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the platform that has Rockstar Games as the developer?
CREATE TABLE table_name_33 (platform_s_ VARCHAR, developer_s_ VARCHAR)
SELECT platform_s_ FROM table_name_33 WHERE developer_s_ = "rockstar games"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 29100, 834, 7, 834, 584, 4280, 28027, 6, 7523, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1585, 24, 65, 3120, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1585, 834, 7, 834, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 7523, 834, 7, 834, 3274, 96, 6133, 3624, 1031, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the playoffs for the usl pro select league?
CREATE TABLE table_1046071_1 (playoffs VARCHAR, league VARCHAR)
SELECT playoffs FROM table_1046071_1 WHERE league = "USL Pro Select league"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15442, 3328, 4450, 834, 536, 41, 4895, 1647, 7, 584, 4280, 28027, 6, 5533, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 15289, 7, 21, 8, 178, 40, 813, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15289, 7, 21680, 953, 834, 15442, 3328, 4450, 834, 536, 549, 17444, 427, 5533, 3274, 96, 3063, 434, 749, 6185, 5533, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the opponent of the Bye result?
CREATE TABLE table_7289 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Opponent" FROM table_7289 WHERE "Result" = 'bye'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 3914, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 667, 102, 9977, 121, 21680, 953, 834, 5865, 3914, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 969, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the N117/2400 IEC3 associated with an N100IEC3 of 25?
CREATE TABLE table_name_10 ( n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR )
SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 3, 29, 20275, 834, 357, 5548, 834, 23, 15, 75, 519, 584, 4280, 28027, 6, 3, 29, 2915, 834, 23, 15, 75, 519, 584, 4280, 28027, 3, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 29, 20275, 834, 357, 5548, 834, 23, 15, 75, 519, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 3, 29, 2915, 834, 23, 15, 75, 519, 3274, 96, 1828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Group and count the city attribute of the location table to visualize a bar chart.
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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT CITY, COUNT(CITY) FROM locations GROUP BY CITY
[ 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, 205, 15296, 6, 2847, 17161, 599, 254, 15296, 61, 21680, 3248, 350, 4630, 6880, 272, 476, 205, 15296, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the maximum and minimum settlement amount on record?
CREATE TABLE settlements ( settlement_id number, claim_id number, effective_date time, settlement_amount number ) CREATE TABLE available_policies ( policy_id number, policy_type_code text, customer_phone text ) CREATE TABLE customers_policies ( customer_id number, policy_id number, date_opened time, date_closed time ) CREATE TABLE claims ( claim_id number, fnol_id number, effective_date time ) CREATE TABLE first_notification_of_loss ( fnol_id number, customer_id number, policy_id number, service_id number ) CREATE TABLE services ( service_id number, service_name text ) CREATE TABLE customers ( customer_id number, customer_name text )
SELECT MAX(settlement_amount), MIN(settlement_amount) FROM settlements
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7025, 7, 41, 7025, 834, 23, 26, 381, 6, 1988, 834, 23, 26, 381, 6, 1231, 834, 5522, 97, 6, 7025, 834, 9, 11231, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 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, 4800, 4, 599, 2244, 17, 3335, 834, 9, 11231, 201, 3, 17684, 599, 2244, 17, 3335, 834, 9, 11231, 61, 21680, 7025, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin?
CREATE TABLE table_name_15 ( first_class_team VARCHAR, bowling_style VARCHAR )
SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 166, 834, 4057, 834, 11650, 584, 4280, 28027, 6, 3047, 53, 834, 4084, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 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, 166, 834, 4057, 834, 11650, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 3047, 53, 834, 4084, 3274, 96, 17068, 2939, 3, 28383, 5404, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Date, when Constellation is 'Delphinus'?
CREATE TABLE table_name_71 ( date_sent VARCHAR, constellation VARCHAR )
SELECT date_sent FROM table_name_71 WHERE constellation = "delphinus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 833, 834, 5277, 584, 4280, 28027, 6, 30872, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 7762, 6714, 257, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 5277, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 30872, 3274, 96, 221, 40, 22230, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Loss has a Name of bullock, chris, and a Long smaller than 36?
CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR)
SELECT SUM(loss) FROM table_name_72 WHERE name = "bullock, chris" AND long < 36
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2298, 7, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 307, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3144, 7, 65, 3, 9, 5570, 13, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2298, 7, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 564, 3274, 96, 6724, 4029, 6, 3, 524, 52, 159, 121, 3430, 307, 3, 2, 4475, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Gold, when Rank is 7?
CREATE TABLE table_46939 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Gold" FROM table_46939 WHERE "Rank" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3951, 3288, 41, 96, 22557, 121, 1499, 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, 96, 23576, 121, 21680, 953, 834, 591, 3951, 3288, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, and could you rank by the total number of department id in asc?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21...
What is the status of Prenocephale?
CREATE TABLE table_42372 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Location" text )
SELECT "Status" FROM table_42372 WHERE "Name" = 'prenocephale'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 4118, 357, 41, 96, 23954, 121, 1499, 6, 96, 4168, 4911, 17, 63, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 23602, 127, 7, 121, 1499, 6, 96, 434, 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, 96, 134, 17, 144, 302, 121, 21680, 953, 834, 4165, 4118, 357, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2026, 14880, 15, 21367, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name for the locomotive n474?
CREATE TABLE table_56248 ( "Locomotive" text, "Name" text, "Serial No" text, "Entered service" text, "Owner" text )
SELECT "Name" FROM table_56248 WHERE "Locomotive" = 'n474'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 357, 3707, 41, 96, 434, 32, 287, 32, 3268, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 15, 12042, 465, 121, 1499, 6, 96, 16924, 3737, 313, 121, 1499, 6, 96, 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, 23954, 121, 21680, 953, 834, 4834, 357, 3707, 549, 17444, 427, 96, 434, 32, 287, 32, 3268, 121, 3274, 3, 31, 29, 4177, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many draws have less than 8 wins, and 31 goals for?
CREATE TABLE table_12374 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT SUM("Draws") FROM table_12374 WHERE "Wins" < '8' AND "Goals for" = '31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 4581, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 308, 10936, 7, 8512, 21680, 953, 834, 14574, 4581, 549, 17444, 427, 96, 18455, 7, 121, 3, 2, 3, 31, 927, 31, 3430, 96, 6221, 5405, 21, 121, 3274, 3, 31, 3341, 31, 1, -100, -100, -100, -100, ...
Who was the opponent at the game with a loss of Weaver (1-2)?
CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_71 WHERE loss = "weaver (1-2)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 44, 8, 467, 28, 3, 9, 1453, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1453, 3274, 96, 1123, 9, 624, 41, 9596, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what player has place t10
CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_37 WHERE place = "t10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 20846, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 1959, 65, 286, 3, 17, 1714, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 286, 3274, 96, 17, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What language is the film with a character named Annabelle?
CREATE TABLE table_name_90 (language VARCHAR, role VARCHAR)
SELECT language FROM table_name_90 WHERE role = "annabelle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 24925, 584, 4280, 28027, 6, 1075, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1612, 19, 8, 814, 28, 3, 9, 1848, 2650, 7588, 7708, 15, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1612, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 1075, 3274, 96, 10878, 7708, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which bike traveled the most often in zip code 94002?
CREATE TABLE trip ( bike_id VARCHAR, zip_code VARCHAR )
SELECT bike_id FROM trip WHERE zip_code = 94002 GROUP BY bike_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3724, 834, 23, 26, 584, 4280, 28027, 6, 10658, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3724, 15458, 8, 167, 557, 16, 10658, 1081, 668, 5548, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3724, 834, 23, 26, 21680, 1469, 549, 17444, 427, 10658, 834, 4978, 3274, 668, 5548, 357, 350, 4630, 6880, 272, 476, 3724, 834, 23, 26, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, ...
For all the claims whose claimed amount is larger than the average, bin the settlement date into the day of week interval and count them for visualizing a bar chart, display y-axis in descending order.
CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER )
SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims) ORDER BY COUNT(Date_Claim_Settled) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4779, 8345, 41, 7781, 603, 834, 4309, 3, 21342, 17966, 6, 7587, 834, 4309, 3, 21342, 17966, 6, 7678, 834, 254, 521, 603, 834, 329, 9, 221, 309, 6048, 6, 7678, 834, 254, 521, 603, 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, 7678, 834, 254, 521, 603, 834, 17175, 17, 1361, 6, 2847, 17161, 599, 308, 342, 834, 254, 521, 603, 834, 17175, 17, 1361, 61, 21680, 4779, 8345, 549, 17444, 427, 71, 11231, 834, 254, 40, 8287, 2490, 41, 23143, 14196,...
Which section is in the 6th position?
CREATE TABLE table_name_8 ( section VARCHAR, position VARCHAR )
SELECT section FROM table_name_8 WHERE position = "6th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 1375, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1375, 19, 16, 8, 431, 189, 1102, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1375, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 1102, 3274, 96, 948, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What tournament had a black of Kramnik and an opening of B66 Sicilian Defence?
CREATE TABLE table_name_28 ( tournament VARCHAR, black VARCHAR, opening VARCHAR )
SELECT tournament FROM table_name_28 WHERE black = "kramnik" AND opening = "b66 sicilian defence"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 5892, 584, 4280, 28027, 6, 1001, 584, 4280, 28027, 6, 2101, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5892, 141, 3, 9, 1001, 13, 735...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1001, 3274, 96, 157, 2375, 4953, 121, 3430, 2101, 3274, 96, 115, 3539, 108, 13067, 152, 13613, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What date did episode one air on?
CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR)
SELECT date FROM table_name_38 WHERE episode = "one"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 5522, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 5640, 80, 799, 30, 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, 833, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 5640, 3274, 96, 782, 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 were the LOA (metres) for the yacht where the skipper was Jez Fanstone?
CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR)
SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 3301, 18057, 834, 536, 41, 40, 32, 9, 834, 834, 22404, 7, 834, 584, 4280, 28027, 6, 26205, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 301,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6899, 9, 834, 834, 22404, 7, 834, 21680, 953, 834, 25502, 3301, 18057, 834, 536, 549, 17444, 427, 26205, 52, 3274, 96, 683, 457, 8362, 3009, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Free polite has a Genitive 3 of *ni-da?
CREATE TABLE table_name_70 (free VARCHAR, genitive_3 VARCHAR)
SELECT free AS polite FROM table_name_70 WHERE genitive_3 = "*ni-da"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 2113, 584, 4280, 28027, 6, 3, 729, 23, 3268, 834, 519, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1443, 1977, 6311, 65, 3, 9, 5945, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 339, 6157, 1977, 6311, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3, 729, 23, 3268, 834, 519, 3274, 96, 1935, 29, 23, 18, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Player that has a To standard of 4, and a Score of 74-70-68=212?
CREATE TABLE table_name_45 ( player VARCHAR, to_par VARCHAR, score VARCHAR )
SELECT player FROM table_name_45 WHERE to_par = "–4" AND score = 74 - 70 - 68 = 212
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 1959, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12387, 24, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 12, 834, 1893, 3274, 96, 104, 20364, 3430, 2604, 3274, 3, 4581, 3, 18, 2861, 3, 18, 3, 3651, 3274, 3, 24837, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Which home team played against the away team with a score of 13.19 (97)?
CREATE TABLE table_77691 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_77691 WHERE "Away team score" = '13.19 (97)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 3951, 536, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 4013, 3951, 536, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2368, 5, 2294, 41, 4327, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the departure time of the train going to Boston?
CREATE TABLE table_18365784_3 (departure VARCHAR, going_to VARCHAR)
SELECT departure FROM table_18365784_3 WHERE going_to = "Boston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 10402, 3940, 591, 834, 519, 41, 221, 2274, 1462, 584, 4280, 28027, 6, 352, 834, 235, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 12028, 97, 13, 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, 12028, 21680, 953, 834, 2606, 10402, 3940, 591, 834, 519, 549, 17444, 427, 352, 834, 235, 3274, 96, 279, 32, 4411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the percentage of total votes in 1997?
CREATE TABLE table_28819393_1 (_percentage_of_total_vote VARCHAR, year VARCHAR)
SELECT _percentage_of_total_vote FROM table_28819393_1 WHERE year = "1997"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4959, 4271, 4271, 834, 536, 41, 834, 883, 3728, 545, 834, 858, 834, 235, 1947, 834, 1621, 17, 15, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 834, 883, 3728, 545, 834, 858, 834, 235, 1947, 834, 1621, 17, 15, 21680, 953, 834, 2577, 4959, 4271, 4271, 834, 536, 549, 17444, 427, 215, 3274, 96, 2294, 4327, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
how long was it between the release of the furrowed field and songs ?
CREATE TABLE table_204_268 ( id number, "album/single" text, "performer" text, "year" number, "variant" text, "notes" text )
SELECT ABS((SELECT "year" FROM table_204_268 WHERE "album/single" = 'the furrowed field') - (SELECT "year" FROM table_204_268 WHERE "album/single" = 'songs'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 3651, 41, 3, 23, 26, 381, 6, 96, 23703, 87, 7, 53, 109, 121, 1499, 6, 96, 883, 2032, 49, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 9504, 288, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20798, 599, 599, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 26363, 834, 357, 3651, 549, 17444, 427, 96, 23703, 87, 7, 53, 109, 121, 3274, 3, 31, 532, 4223, 52, 9200, 1057, 31, 61, 3, 18, 41, 23143, 14196, 96, ...
Name the word with pronunciation b of *s ks
CREATE TABLE table_35735 ( "Word" text, "Pronunciation a" text, "Meaning a" text, "Pronunciation b" text, "Meaning b" text )
SELECT "Word" FROM table_35735 WHERE "Pronunciation b" = '*sɨks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3436, 2469, 41, 96, 518, 127, 26, 121, 1499, 6, 96, 3174, 29, 15254, 257, 3, 9, 121, 1499, 6, 96, 329, 15, 152, 53, 3, 9, 121, 1499, 6, 96, 3174, 29, 15254, 257,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 127, 26, 121, 21680, 953, 834, 519, 3436, 2469, 549, 17444, 427, 96, 3174, 29, 15254, 257, 3, 115, 121, 3274, 3, 31, 1935, 7, 2, 157, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the names and total passengers for all train stations not in London.
CREATE TABLE train ( train_id number, name text, time text, service text ) CREATE TABLE station ( station_id number, name text, annual_entry_exit number, annual_interchanges number, total_passengers number, location text, main_services text, number_of_platforms number ) CREATE TABLE train_station ( train_id number, station_id number )
SELECT name, total_passengers FROM station WHERE location <> 'London'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 2412, 834, 23, 26, 381, 6, 564, 1499, 6, 97, 1499, 6, 313, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 2478, 834, 23, 26, 381, 6, 564, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 792, 834, 3968, 4606, 277, 21680, 2478, 549, 17444, 427, 1128, 3, 2, 3155, 3, 31, 29712, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total outcome for the clay surface on April 21, 1996?
CREATE TABLE table_name_91 ( outcome VARCHAR, surface VARCHAR, date VARCHAR )
SELECT outcome FROM table_name_91 WHERE surface = "clay" AND date = "april 21, 1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 6138, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 6138, 21, 8, 14364,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6138, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 833, 3274, 96, 9, 2246, 40, 12026, 6911, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has a Tie no of 1?
CREATE TABLE table_name_22 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_22 WHERE tie_no = "1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 7, 9022, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 2262, 15, 150, 13, 209, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Event, when Meet is "World Championships", and when Time is "20.51"?
CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR)
SELECT event FROM table_name_41 WHERE meet = "world championships" AND time = "20.51"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 15, 2169, 584, 4280, 28027, 6, 942, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8042, 6, 116, 12325, 19, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 942, 3274, 96, 7276, 10183, 7, 121, 3430, 97, 3274, 96, 1755, 5, 5553, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the name of the album that was a demo release?
CREATE TABLE table_name_44 ( album VARCHAR, release_type VARCHAR )
SELECT album FROM table_name_44 WHERE release_type = "demo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 2306, 584, 4280, 28027, 6, 1576, 834, 6137, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 2306, 24, 47, 3, 9, 8698,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2306, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1576, 834, 6137, 3274, 96, 1778, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what number of patients speaking port had discharge location as short term hospital?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "PORT" AND demographic.discharge_location = "SHORT TERM HOSPITAL"
[ 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, 549, 17444, 427, 14798, 5, 24925, 3274, 96, 14536, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 134, 6299, 5934,...
What is the Grid of R gis Laconi's bike that is a Kawasaki zx-10r?
CREATE TABLE table_47539 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real )
SELECT "Grid" FROM table_47539 WHERE "Bike" = 'kawasaki zx-10r' AND "Rider" = 'régis laconi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3072, 3288, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 279, 5208, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 121, 1499, 6, 96, 13313, 26, 121, 490, 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, 13313, 26, 121, 21680, 953, 834, 591, 3072, 3288, 549, 17444, 427, 96, 279, 5208, 121, 3274, 3, 31, 1258, 9491, 11259, 3, 172, 226, 4536, 52, 31, 3430, 96, 448, 23, 588, 121, 3274, 3, 31, 52, 16510, 7, 50, ...
Where's the first round that southern mississippi shows up during the draft?
CREATE TABLE table_78141 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT MIN("Round") FROM table_78141 WHERE "School/Club Team" = 'southern mississippi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 26059, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 448, 32, 1106, 8512, 21680, 953, 834, 3940, 26059, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 7, 670, 760, 29, 3041, 159, 7, 23, 1572, 23, 31, 1, -100, -100, -100, -1...
Who had a run 2 of 50.67?
CREATE TABLE table_name_67 ( athlete VARCHAR, run_2 VARCHAR )
SELECT athlete FROM table_name_67 WHERE run_2 = 50.67
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 17893, 584, 4280, 28027, 6, 661, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 3, 9, 661, 204, 13, 943, 5, 3708, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17893, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 661, 834, 357, 3274, 943, 5, 3708, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3?
CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)
SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 20165, 834, 4010, 9, 6726, 3, 21342, 17966, 6, 3, 1167, 122, 834, 302, 834, 19413, 584, 4280, 28027, 6, 576, 834, 357, 834, 122, 834, 5848, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20165, 834, 4010, 9, 6726, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 4818, 3274, 96, 29471, 121, 3430, 3, 1167, 122, 834, 1598, 834, 25666, 834, 19413, 3274, 305, 18561, 3430, 576, 834, 35...
What arena does the team play at that has Michael Wales as the captain?
CREATE TABLE table_2384331_1 (arena VARCHAR, captain VARCHAR)
SELECT arena FROM table_2384331_1 WHERE captain = "Michael Wales"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3747, 4906, 3341, 834, 536, 41, 9, 1536, 9, 584, 4280, 28027, 6, 14268, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 15134, 405, 8, 372, 577, 44, 24, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15134, 21680, 953, 834, 357, 3747, 4906, 3341, 834, 536, 549, 17444, 427, 14268, 3274, 96, 329, 362, 9, 15, 40, 10256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team?
CREATE TABLE table_45777 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_45777 WHERE "Date" = '7 january 1956' AND "Away team" = 'accrington stanley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 26225, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 2128, 26225, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 940, 3, 7066, 76, 1208, 22951, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 6004, 52, 6029, 3, 5627, 1306, 3...
What show is coming back on in July 2008
CREATE TABLE table_13549921_18 (programme VARCHAR, date_s__of_return VARCHAR)
SELECT programme FROM table_13549921_18 WHERE date_s__of_return = "July 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 5062, 3264, 2658, 834, 2606, 41, 7050, 15, 584, 4280, 28027, 6, 833, 834, 7, 834, 834, 858, 834, 60, 7535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2486, 21680, 953, 834, 2368, 5062, 3264, 2658, 834, 2606, 549, 17444, 427, 833, 834, 7, 834, 834, 858, 834, 60, 7535, 3274, 96, 683, 83, 63, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many games had attendance of over 50,000 ?
CREATE TABLE table_203_598 ( id number, "date" text, "time" text, "opponent" text, "site" text, "tv" text, "result" text, "attendance" number )
SELECT COUNT(*) FROM table_203_598 WHERE "attendance" > 50000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3916, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 3585, 121, 1499, 6, 96, 17, 208, 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, 1935, 61, 21680, 953, 834, 23330, 834, 755, 3916, 549, 17444, 427, 96, 15116, 663, 121, 2490, 943, 2313, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the episode of Batman?
CREATE TABLE table_79446 ( "Year" real, "Program" text, "Role" text, "Episode" text, "First aired" text )
SELECT "Episode" FROM table_79446 WHERE "Program" = 'batman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 591, 4448, 41, 96, 476, 2741, 121, 490, 6, 96, 3174, 5096, 121, 1499, 6, 96, 448, 32, 109, 121, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 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, 427, 102, 159, 32, 221, 121, 21680, 953, 834, 4440, 591, 4448, 549, 17444, 427, 96, 3174, 5096, 121, 3274, 3, 31, 3697, 348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the last names of teachers teaching in classroom 109.
CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number )
SELECT lastname FROM teachers WHERE classroom = 109
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 336, 4350, 21680, 3081, 549, 17444, 427, 4858, 3274, 3, 17304, 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...
Name the total number of winnings for 1995
CREATE TABLE table_1671401_2 (winnings VARCHAR, year VARCHAR)
SELECT COUNT(winnings) FROM table_1671401_2 WHERE year = 1995
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4450, 20016, 834, 357, 41, 8163, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 3447, 7, 21, 7273, 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, 2847, 17161, 599, 8163, 7, 61, 21680, 953, 834, 2938, 4450, 20016, 834, 357, 549, 17444, 427, 215, 3274, 7273, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the number of home town for number being 32
CREATE TABLE table_25360865_1 (home_town VARCHAR, _number VARCHAR)
SELECT COUNT(home_town) FROM table_25360865_1 WHERE _number = 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3420, 4018, 4122, 834, 536, 41, 5515, 834, 3540, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 234, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5515, 834, 3540, 61, 21680, 953, 834, 1828, 3420, 4018, 4122, 834, 536, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 3538, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what would be patient 011-29258's yearly minimum weight until 64 months ago?
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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT MIN(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-29258') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-64 month') GROUP BY STRFTIME('%y', patient.unitadmittime)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10061, 5, 9, 26, 5451, 9378, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, ...
What is the highest Indian population?
CREATE TABLE table_10118412_6 ( indian INTEGER )
SELECT MAX(indian) FROM table_10118412_6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19621, 25987, 2122, 834, 948, 41, 16, 8603, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 2557, 2074, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 77, 8603, 61, 21680, 953, 834, 19621, 25987, 2122, 834, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What round did the fight last when Mikhail Ilyukhin's record was 15-5?
CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_21 WHERE record = "15-5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 7775, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 410, 8, 2870, 336, 116, 21475, 1024, 173, 27, 120, 1598,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1368, 3274, 96, 1808, 18, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which year had a transmission of Voith D863.4 and a Cummins ISM engine?
CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, engine VARCHAR)
SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26937, 4906, 26937, 834, 536, 41, 1201, 584, 4280, 28027, 6, 5790, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 141, 3, 9, 5790,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 26937, 4906, 26937, 834, 536, 549, 17444, 427, 5790, 3274, 96, 553, 32, 23, 189, 309, 3840, 23204, 121, 3430, 1948, 3274, 96, 254, 440, 1109, 7, 27, 4212, 121, 1, -100, -100, -100, -100, -100, ...
What are the wins for the 7th position?
CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)
SELECT wins FROM table_27631002_1 WHERE position = "7th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3891, 2915, 357, 834, 536, 41, 3757, 7, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 9204, 21, 8, 489, 189, 1102, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9204, 21680, 953, 834, 2555, 3891, 2915, 357, 834, 536, 549, 17444, 427, 1102, 3274, 96, 940, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Dennis Kucinich, when % of All is '53%'?
CREATE TABLE table_name_38 ( dennis_kucinich VARCHAR, _percentage_of_all VARCHAR )
SELECT dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = "53%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 4140, 159, 834, 2729, 20694, 524, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 858, 834, 1748, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 0...
[ 3, 23143, 14196, 4140, 159, 834, 2729, 20694, 524, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 858, 834, 1748, 3274, 96, 755, 5170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who was hired before 2002-06-21, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id, and rank by the Y-axis from low to high.
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 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 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 JOB_ID, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(MANAGER_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, ...
Whose Runner-up has a Semifinalist of guillermo pérez-roldán andrea gaudenzi?
CREATE TABLE table_name_68 (runners_up VARCHAR, semifinalists VARCHAR)
SELECT runners_up FROM table_name_68 WHERE semifinalists = "guillermo pérez-roldán andrea gaudenzi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 10806, 7, 834, 413, 584, 4280, 28027, 6, 4772, 28077, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 7, 15, 3, 23572, 18, 413, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16448, 834, 413, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 4772, 28077, 3274, 96, 1744, 7613, 51, 32, 3, 3890, 2638, 18, 52, 1490, 12916, 11, 864, 3, 20038, 537, 702, 121, 1, -100, -100, -100, -100, -100, ...
What is the expiring term for Daryl Hecht when the appointing governor is Tom Vilsack?
CREATE TABLE table_11789 ( "Name" text, "Appointed/Elected" text, "Term expires" text, "Appointing Governor" text, "Governor's Party Affiliation" text )
SELECT "Term expires" FROM table_11789 WHERE "Appointing Governor" = 'tom vilsack' AND "Name" = 'daryl hecht'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20275, 3914, 41, 96, 23954, 121, 1499, 6, 96, 9648, 32, 2429, 26, 87, 21543, 15, 26, 121, 1499, 6, 96, 11679, 8982, 15, 7, 121, 1499, 6, 96, 188, 102, 15989, 10510, 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, 11679, 8982, 15, 7, 121, 21680, 953, 834, 20275, 3914, 549, 17444, 427, 96, 188, 102, 15989, 10510, 121, 3274, 3, 31, 235, 51, 3, 6372, 15525, 31, 3430, 96, 23954, 121, 3274, 3, 31, 26, 1208, 40, 3, 88, 3997...
Name the season for runner up of judean rebels
CREATE TABLE table_66751 ( "Season" text, "Champion" text, "Runner Up" text, "Israel Bowl" text, "Venue" text, "Date" text, "Finals MVP" text )
SELECT "Season" FROM table_66751 WHERE "Runner Up" = 'judean rebels'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 3072, 536, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 23572, 3234, 121, 1499, 6, 96, 30387, 9713, 121, 1499, 6, 96, 553, 35, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 3539, 3072, 536, 549, 17444, 427, 96, 23572, 3234, 121, 3274, 3, 31, 14312, 15, 152, 16054, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the highest guard picked?
CREATE TABLE table_77536 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text )
SELECT MAX("Pick") FROM table_77536 WHERE "Position" = 'guard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3072, 3420, 41, 96, 345, 3142, 121, 490, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 121, 345, 3142, 8512, 21680, 953, 834, 940, 3072, 3420, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 11010, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the international tourist arrivals for arrivals 2011 for 8.1 million
CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24719, 25356, 3647, 834, 519, 41, 27817, 834, 17, 1211, 343, 834, 291, 25295, 7, 834, 834, 14926, 834, 584, 4280, 28027, 6, 1038, 834, 17, 1211, 343, 834, 291, 25295, 7, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1038, 834, 17, 1211, 343, 834, 291, 25295, 7, 834, 834, 14926, 834, 21680, 953, 834, 24719, 25356, 3647, 834, 519, 549, 17444, 427, 1038, 834, 17, 1211, 343, 834, 291, 25295, 7, 834, 834, 13907, 834, 3274, 96, 20677...
What's the sum of points for the 1963 season when there are more than 30 games?
CREATE TABLE table_80429 ( "Season" text, "Team Name" text, "Games" real, "Losses" real, "Points" real )
SELECT SUM("Points") FROM table_80429 WHERE "Season" = '1963' AND "Games" > '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 591, 3166, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 22512, 7, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22512, 7, 8512, 21680, 953, 834, 2079, 591, 3166, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 2294, 3891, 31, 3430, 96, 23055, 7, 121, 2490, 3, 31, 1458, 31, 1, -100, -100, -100,...
With a 20 to 24 less than 676, and a 15 to 17 greater than 16, and a 60 to 64 less than 3,142, what is the average 45 to 49?
CREATE TABLE table_77333 ( "C/W 15+" real, "Oblast\\Age" text, "15 to 17" real, "18 to 19" real, "20 to 24" real, "25 to 29" real, "30 to 34" real, "35 to 39" real, "40 to 44" real, "45 to 49" real, "50 to 54" real, "55 to 59" real, "60 to 64" real, "65 to 69" real )
SELECT AVG("45 to 49") FROM table_77333 WHERE "20 to 24" < '676' AND "15 to 17" > '16' AND "60 to 64" < '3,142'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 23360, 41, 96, 254, 87, 518, 627, 1220, 121, 490, 6, 96, 667, 21234, 2, 188, 397, 121, 1499, 6, 96, 1808, 12, 1003, 121, 490, 6, 96, 2606, 12, 957, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 2128, 12, 9526, 8512, 21680, 953, 834, 4013, 23360, 549, 17444, 427, 96, 1755, 12, 997, 121, 3, 2, 3, 31, 3708, 948, 31, 3430, 96, 1808, 12, 1003, 121, 2490, 3, 31, 2938, 31, 3430, 96, 3328,...
how many patients whose diagnoses icd9 code is 4019 and lab test fluid is joint fluid?
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "4019" AND lab.fluid = "Joint Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
CREATE TABLE table_26746 ( "Position" text, "Name" text, "Nationality" text, "Event 1 Medley" text, "Event 2 Truck Pull" text, "Event 3 Dead Lift" text, "Event 4 Fingals Fingers" text, "Event 5 Keg Toss" text, "Event 6 Atlas Stones" text )
SELECT "Position" FROM table_26746 WHERE "Event 6 Atlas Stones" = '6 (4 in 34.49s)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 4448, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 427, 2169, 209, 8067, 1306, 121, 1499, 6, 96, 427, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 357, 3708, 4448, 549, 17444, 427, 96, 427, 2169, 431, 21635, 5614, 7, 121, 3274, 3, 31, 948, 8457, 16, 6154, 5, 3647, 7, 61, 31, 1, -100, -100, -100, -100, -100, -100,...
On which circuit was the lites race two winning team #13 Inspire Motorsports?
CREATE TABLE table_28834 ( "Rnd" real, "Circuit" text, "Lites 1 Race One Winning Team" text, "Lites 2 Race One Winning Team" text, "Lites 1 Race Two Winning Team" text, "Lites 2 Race Two Winning Team" text )
SELECT "Circuit" FROM table_28834 WHERE "Lites 1 Race Two Winning Team" = '#13 Inspire Motorsports'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4060, 3710, 41, 96, 448, 727, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 16278, 7, 209, 10949, 555, 549, 10503, 2271, 121, 1499, 6, 96, 16278, 7, 204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 23, 52, 21560, 121, 21680, 953, 834, 357, 4060, 3710, 549, 17444, 427, 96, 16278, 7, 209, 10949, 2759, 549, 10503, 2271, 121, 3274, 3, 31, 4663, 2368, 86, 13101, 30045, 7, 31, 1, -100, -100, -100, -100, -...
Show me about the correlation between ACC_Percent and All_Games_Percent , and group by attribute All_Home in a scatter chart.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT ACC_Percent, All_Games_Percent FROM basketball_match GROUP BY All_Home
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 12988, 3728, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the away team playing against collingwood?
CREATE TABLE table_57633 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_57633 WHERE "Home team" = 'collingwood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 3891, 519, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 3436, 3891, 519, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 3297, 697, 2037, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What date was the record 34-41?
CREATE TABLE table_name_11 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_11 WHERE record = "34-41"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 1368, 6154, 18, 4853, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1368, 3274, 96, 3710, 18, 4853, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Round 3 with a round 4 of 50?
CREATE TABLE table_name_39 ( round_3 VARCHAR, round_4 VARCHAR )
SELECT round_3 FROM table_name_39 WHERE round_4 = "50"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 1751, 834, 519, 584, 4280, 28027, 6, 1751, 834, 591, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 9609, 220, 28, 3, 9, 1751, 314, 13, 943, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1751, 834, 519, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1751, 834, 591, 3274, 96, 1752, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the average of employee_id bin hire_date by weekday in a bar chart, and sort in ascending by the Y-axis.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, ...
return me all the organizations in Databases area .
CREATE TABLE cite ( cited int, citing int ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE author ( aid int, homepage varchar, name varchar, oid int ) CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE writes ( aid int, pid int ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int )
SELECT organization.name FROM author, domain, domain_author, organization WHERE domain_author.aid = author.aid AND domain.did = domain_author.did AND domain.name = 'Databases' AND organization.oid = author.oid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 11675, 16, 17, 6, 3, 17994, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 15693, 41, 15693, 3, 4331, 4059, 6, 4984, 16, 17, 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, 1470, 5, 4350, 21680, 2291, 6, 3303, 6, 3303, 834, 17415, 6, 1470, 549, 17444, 427, 3303, 834, 17415, 5, 6146, 3274, 2291, 5, 6146, 3430, 3303, 5, 12416, 3274, 3303, 834, 17415, 5, 12416, 3430, 3303, 5, 4350, 3274, ...
Which Score has a To par of 3, and a Player of santiago luna?
CREATE TABLE table_name_69 ( score VARCHAR, to_par VARCHAR, player VARCHAR )
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 2604, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 304...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 12, 834, 1893, 3274, 96, 104, 519, 121, 3430, 1959, 3274, 96, 7, 5965, 9, 839, 8476, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
WHAT DATE HAD 6 RANK?
CREATE TABLE table_name_51 ( date VARCHAR, rank__number VARCHAR )
SELECT date FROM table_name_51 WHERE rank__number = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 833, 584, 4280, 28027, 6, 11003, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 309, 6048, 454, 6762, 431, 3, 16375...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 11003, 834, 834, 5525, 1152, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is listed under part 1 for class 3b?
CREATE TABLE table_1745843_2 (part_1 VARCHAR, class VARCHAR)
SELECT part_1 FROM table_1745843_2 WHERE class = "3b"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 3449, 4906, 834, 357, 41, 2274, 834, 536, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2616, 365, 294, 209, 21, 853, 220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 294, 834, 536, 21680, 953, 834, 27693, 3449, 4906, 834, 357, 549, 17444, 427, 853, 3274, 96, 519, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the U.S. air date when the U.S. viewers are 7.5 million?
CREATE TABLE table_2866503_1 ( us_air_date VARCHAR, us_viewers__million_ VARCHAR )
SELECT us_air_date FROM table_2866503_1 WHERE us_viewers__million_ = "7.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3539, 1752, 519, 834, 536, 41, 178, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 178, 834, 2256, 834, 5522, 21680, 953, 834, 2577, 3539, 1752, 519, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 15731, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the winning score for 8 feb 2009
CREATE TABLE table_24382 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT COUNT("Winning score") FROM table_24382 WHERE "Date" = '8 Feb 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27730, 4613, 41, 96, 4168, 535, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 3696, 260, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 518, 10503, 2604, 8512, 21680, 953, 834, 27730, 4613, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 927, 8037, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the name of the previous ship built before the caprice in this yard ?
CREATE TABLE table_204_781 ( id number, "name(s)" text, "yard no." number, "type (as built)" text, "owner" text, "imo number" number, "laid down" text, "launched" text, "delivered/\ncommissioned" text, "fate/\ndecommissioned" text, "notes" text )
SELECT "name(s)" FROM table_204_781 WHERE id = (SELECT id FROM table_204_781 WHERE "name(s)" = 'caprice') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3940, 536, 41, 3, 23, 26, 381, 6, 96, 4350, 599, 7, 61, 121, 1499, 6, 96, 6636, 150, 535, 381, 6, 96, 6137, 41, 9, 7, 1192, 61, 121, 1499, 6, 96, 13238, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4350, 599, 7, 61, 121, 21680, 953, 834, 26363, 834, 3940, 536, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 3940, 536, 549, 17444, 427, 96, 4350, 599, 7, 61, 12...
What Nationality is Jeff Hornacek?
CREATE TABLE table_name_14 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_14 WHERE player = "jeff hornacek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 16557, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 868, 485, 19, 8507, 14715, 3302, 157, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1959, 3274, 96, 1924, 89, 89, 3, 6293, 3302, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is maximum days of hospital stay of patients whose insurance is medicare?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.insurance = "Medicare"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 15789, 355, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number?
CREATE TABLE table_2693 ( "Rnd" real, "Date" text, "Race Name" text, "Length" text, "Track" text, "Location" text, "Pole Position" text, "Winning Driver" text )
SELECT COUNT("Rnd") FROM table_2693 WHERE "Track" = 'Ontario Motor Speedway' AND "Pole Position" = 'Johnny Rutherford'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4271, 41, 96, 448, 727, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 448, 3302, 5570, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 382, 16729, 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, 2847, 17161, 599, 121, 448, 727, 8512, 21680, 953, 834, 2688, 4271, 549, 17444, 427, 96, 382, 16729, 121, 3274, 3, 31, 7638, 5310, 32, 5083, 9913, 1343, 31, 3430, 96, 8931, 15, 14258, 121, 3274, 3, 31, 18300, 29, ...
Which city's IATA is KUL?
CREATE TABLE table_name_50 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_50 WHERE iata = "kul"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 6726, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 690, 31, 7, 27, 19282, 19, 480, 4254, 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, 690, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3, 17221, 3274, 96, 10701, 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 average ERP W for callsign K207BK?
CREATE TABLE table_37754 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT AVG("ERP W") FROM table_37754 WHERE "Call sign" = 'k207bk'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 3072, 591, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 3316, 345, 549, 8512, 21680, 953, 834, 4118, 3072, 591, 549, 17444, 427, 96, 254, 1748, 1320, 121, 3274, 3, 31, 157, 26426, 115, 157, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest capacity that has serie c2/c champions for the 2007-08 season?
CREATE TABLE table_45837 ( "Club" text, "City" text, "Stadium" text, "Capacity" real, "2007\u201308 season" text )
SELECT MAX("Capacity") FROM table_45837 WHERE "2007\u201308 season" = 'serie c2/c champions'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 927, 4118, 41, 96, 254, 11158, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 20615, 2, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19566, 9, 6726, 8512, 21680, 953, 834, 2128, 927, 4118, 549, 17444, 427, 96, 20615, 2, 76, 11138, 4018, 774, 121, 3274, 3, 31, 10833, 3, 75, 15896, 75, 6336, 7, 31, 1, -100, -100, -100, -100, ...
I want to know the longest Long for santana moss and Att more than 1
CREATE TABLE table_name_5 ( long INTEGER, player VARCHAR, att VARCHAR )
SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 307, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 44, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 12, 214, 8, 14783, 3230, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 2961, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1959, 3274, 96, 7, 288, 152, 9, 3, 3972, 7, 121, 3430, 44, 17, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...