NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the description, code and the corresponding count of each service type?
CREATE TABLE Services (Service_Type_Code VARCHAR); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)
SELECT T1.Service_Type_Description, T2.Service_Type_Code, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1799, 41, 15260, 834, 25160, 834, 22737, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 15260, 834, 25160, 7, 41, 15260, 834, 25160, 834, 2962, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 15260, 834, 25160, 834, 2962, 11830, 6, 332, 4416, 15260, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 419, 89, 834, 15260, 834, 25160, 7, 6157, 332, 536, 3, 15355, 3162, 1799, 6157, 332, ...
what is death status and admission location of subject name kurt buczek?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.expire_flag, demographic.admission_location FROM demographic WHERE demographic.name = "Kurt Buczek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 994, 2388, 15, 834, 89, 5430, 6, 14798, 5, 9, 26, 5451, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 439, 450, 17, 15882, 776, 157, 121, 1, -100, -100, -100, -100, -100, -100, -10...
Who is the driver of the team with tyre d, bt11 chassis, and 8 rounds?
CREATE TABLE table_name_92 ( driver VARCHAR, rounds VARCHAR, tyre VARCHAR, chassis VARCHAR )
SELECT driver FROM table_name_92 WHERE tyre = "d" AND chassis = "bt11" AND rounds = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 2535, 584, 4280, 28027, 6, 14419, 584, 4280, 28027, 6, 3, 17, 63, 60, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 2535, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 3, 17, 63, 60, 3274, 96, 26, 121, 3430, 22836, 3274, 96, 115, 17, 2596, 121, 3430, 14419, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
count the number of patients whose primary disease is s/p fall and who were admitted before the year 2178.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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 WHERE demographic.diagnosis = "S/P FALL" AND demographic.admityear < "2178"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 134, 87, 345, 377, 12126, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2...
What was team Toshiba's round 4 score?
CREATE TABLE table_16815824_1 (round4 INTEGER, team VARCHAR)
SELECT MIN(round4) FROM table_16815824_1 WHERE team = "team Toshiba"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24274, 26556, 2266, 834, 536, 41, 7775, 591, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 372, 30148, 31, 7, 1751, 314, 2604, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 7256, 21680, 953, 834, 24274, 26556, 2266, 834, 536, 549, 17444, 427, 372, 3274, 96, 11650, 30148, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of job_id and department_id , and I want to display from low to high by the names.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT JOB_ID, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_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, 446, 10539, 834, 4309, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610,...
What is the specification where senior high school is 25mm?
CREATE TABLE table_18813 ( "Specification" text, "Gender" text, "Junior High School (12\u201315 yrs)" text, "Senior High School (15\u201318 yrs)" text, "University students and Adults (18yrs+)" text )
SELECT "Specification" FROM table_18813 WHERE "Senior High School (15\u201318 yrs)" = '25mm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25794, 2368, 41, 96, 7727, 2420, 121, 1499, 6, 96, 517, 3868, 121, 1499, 6, 96, 683, 202, 23, 127, 1592, 1121, 16465, 2, 76, 11138, 1808, 3, 63, 52, 7, 61, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7727, 2420, 121, 21680, 953, 834, 25794, 2368, 549, 17444, 427, 96, 134, 35, 23, 127, 1592, 1121, 17251, 2, 76, 11138, 2606, 3, 63, 52, 7, 61, 121, 3274, 3, 31, 1828, 635, 31, 1, -100, -100, -100, -100, -100...
Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state?
CREATE TABLE table_name_41 (years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_41 WHERE position = "center" AND school_club_team = "louisiana state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 1201, 7, 834, 77, 834, 32, 7721, 32, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 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, 203, 834, 77, 834, 32, 7721, 32, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 1102, 3274, 96, 13866, 121, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 40, 1063, 159, 13662, 538, 121, 1, -100, -100, -100, -100,...
Who was the opponent at the away game with a score of 5-4?
CREATE TABLE table_name_67 ( opponents VARCHAR, venue VARCHAR, score VARCHAR )
SELECT opponents FROM table_name_67 WHERE venue = "away" AND score = "5-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 16383, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 44, 8, 550, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16383, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 5669, 3274, 96, 8006, 121, 3430, 2604, 3274, 96, 755, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
I want to know the proportion of All_Games_Percent for each all neutral.
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 All_Neutral, All_Games_Percent FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 26288, 8792, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the most population 2002
CREATE TABLE table_22854436_1 ( population__2002_census_data_ INTEGER )
SELECT MAX(population__2002_census_data_) FROM table_22854436_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4433, 3628, 3420, 834, 536, 41, 2074, 834, 834, 24898, 834, 75, 35, 7, 302, 834, 6757, 834, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 2074,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 7830, 834, 834, 24898, 834, 75, 35, 7, 302, 834, 6757, 834, 61, 21680, 953, 834, 2884, 4433, 3628, 3420, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the power when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750
CREATE TABLE table_name_37 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)
SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 6740, 834, 52, 2028, 584, 4280, 28027, 6, 19527, 834, 834, 29, 51, 834, 834, 52, 2028, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 579, 834, 52, 2028, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 19527, 834, 834, 29, 51, 834, 834, 52, 2028, 3274, 96, 29, 2, 51, 41, 40, 115, 2, 89, 17, 61, 87, 1935, 29, 2, 51, 41, 40, 115, 2, 89, ...
What is the date that Fabrizio Giovanardi Christian Abt won?
CREATE TABLE table_62284 ( "Round" real, "Race" text, "Circuit" text, "Date" text, "Event" text, "Winning driver" text, "Winning team" text )
SELECT "Date" FROM table_62284 WHERE "Winning driver" = 'fabrizio giovanardi christian abt'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 357, 4608, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 448, 3302, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 427, 2169, 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, 308, 342, 121, 21680, 953, 834, 4056, 357, 4608, 549, 17444, 427, 96, 518, 10503, 2535, 121, 3274, 3, 31, 89, 17639, 702, 32, 3, 10253, 2132, 986, 23, 3, 15294, 23, 152, 703, 17, 31, 1, -100, -100, -100, -10...
What is the score for plays with more than 19,227 attendees with ny islanders visiting?
CREATE TABLE table_53019 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Score" FROM table_53019 WHERE "Attendance" > '19,227' AND "Visitor" = 'ny islanders'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26918, 2294, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 26918, 2294, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 2294, 6, 357, 2555, 31, 3430, 96, 553, 159, 155, 127, 121, 3274, 3, 31, 29, 63, 3368, 277, 31, 1,...
What is the callsign of the 5kW Sonshine Radio Cotabato?
CREATE TABLE table_name_23 (callsign VARCHAR, power__kw_ VARCHAR, branding VARCHAR)
SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 16482, 6732, 584, 4280, 28027, 6, 579, 834, 834, 157, 210, 834, 584, 4280, 28027, 6, 14282, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 580, 6732, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 579, 834, 834, 157, 210, 834, 3274, 96, 755, 157, 210, 121, 3430, 14282, 3274, 96, 6577, 2907, 15, 2252, 3, 4310, 8699, 235, 121, 1, -100, -100, -100, ...
What are the counties who company commander is Captain James R. Jackson and whose election of commission date is April 29, 1861?
CREATE TABLE table_4157 ( "Regiment" text, "Company" text, "Company Commander" text, "Date of Election/Commission" text, "County" text )
SELECT "County" FROM table_4157 WHERE "Date of Election/Commission" = 'April 29, 1861' AND "Company Commander" = 'Captain James R. Jackson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 3436, 41, 96, 17748, 23, 297, 121, 1499, 6, 96, 5890, 2837, 63, 121, 1499, 6, 96, 5890, 2837, 63, 24934, 121, 1499, 6, 96, 308, 342, 13, 19488, 87, 5890, 5451, 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, 10628, 63, 121, 21680, 953, 834, 4853, 3436, 549, 17444, 427, 96, 308, 342, 13, 19488, 87, 5890, 5451, 121, 3274, 3, 31, 23323, 14405, 507, 4241, 31, 3430, 96, 5890, 2837, 63, 24934, 121, 3274, 3, 31, 19566, 1...
What was the average E score when the T score was less than 4?
CREATE TABLE table_name_69 (e_score INTEGER, t_score INTEGER)
SELECT AVG(e_score) FROM table_name_69 WHERE t_score < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 15, 834, 7, 9022, 3, 21342, 17966, 6, 3, 17, 834, 7, 9022, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1348, 262, 2604, 116, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15, 834, 7, 9022, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 17, 834, 7, 9022, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What event is defending champion the total?
CREATE TABLE table_12269 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text )
SELECT "Event" FROM table_12269 WHERE "Total" = 'defending champion'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 3951, 41, 96, 10499, 32, 32, 449, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 22557, 979, 121, 1499, 6, 96, 134, 9022, 979, 121, 1499, 6, 96, 3696, 1947, 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, 0, 0...
[ 3, 23143, 14196, 96, 427, 2169, 121, 21680, 953, 834, 20889, 3951, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 20309, 6336, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many rounds have Fabio Carbone for fastest lap?
CREATE TABLE table_26137666_3 ( round VARCHAR, fastest_lap VARCHAR )
SELECT COUNT(round) FROM table_26137666_3 WHERE fastest_lap = "Fabio Carbone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2368, 3959, 3539, 834, 519, 41, 1751, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14419, 43, 1699, 6420, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 2688, 2368, 3959, 3539, 834, 519, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 17477, 23, 32, 14335, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Bar chart x axis away team y axis the number of away team, and list from low to high by the the number of away team please.
CREATE TABLE stadium ( id int, name text, Home_Games int, Average_Attendance real, Total_Attendance real, Capacity_Percentage real ) CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text ) CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text )
SELECT Away_team, COUNT(Away_team) FROM game GROUP BY Away_team ORDER BY COUNT(Away_team)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 1210, 834, 23055, 7, 16, 17, 6, 23836, 834, 188, 17, 324, 26, 663, 490, 6, 9273, 834, 188, 17, 324, 26, 663, 490, 6, 4000, 9, 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, 1343, 834, 11650, 6, 2847, 17161, 599, 188, 1343, 834, 11650, 61, 21680, 467, 350, 4630, 6880, 272, 476, 71, 1343, 834, 11650, 4674, 11300, 272, 476, 2847, 17161, 599, 188, 1343, 834, 11650, 61, 1, -100, -100, -...
What is the lowest rank for Andre Vonarburg, when the notes are FB?
CREATE TABLE table_name_54 ( rank INTEGER, notes VARCHAR, athlete VARCHAR )
SELECT MIN(rank) FROM table_name_54 WHERE notes = "fb" AND athlete = "andre vonarburg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 11003, 3, 21342, 17966, 6, 3358, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 11003, 21, 275, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 3358, 3274, 96, 89, 115, 121, 3430, 17893, 3274, 96, 232, 60, 193, 291, 4824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many teams had a point margin of 48?
CREATE TABLE table_3967 ( "Proceed to Quarter-final" text, "Match points" text, "Aggregate score" text, "Points margin" real, "Eliminated from competition" text )
SELECT COUNT("Eliminated from competition") FROM table_3967 WHERE "Points margin" = '48'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 3708, 41, 96, 3174, 75, 6958, 12, 17610, 18, 12406, 121, 1499, 6, 96, 329, 14547, 979, 121, 1499, 6, 96, 188, 122, 18301, 342, 2604, 121, 1499, 6, 96, 22512, 7, 634...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 4941, 77, 920, 45, 2259, 8512, 21680, 953, 834, 3288, 3708, 549, 17444, 427, 96, 22512, 7, 6346, 121, 3274, 3, 31, 3707, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the score for the game in which the Edmonton Oilers were visitors?
CREATE TABLE table_49442 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real )
SELECT "Score" FROM table_49442 WHERE "Visitor" = 'edmonton oilers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 3628, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3647, 3628, 357, 549, 17444, 427, 96, 553, 159, 155, 127, 121, 3274, 3, 31, 15, 26, 4662, 106, 1043, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the total number of nicknames for st. bonaventure university
CREATE TABLE table_20706 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text, "Primary conference" text )
SELECT COUNT("Nickname") FROM table_20706 WHERE "School" = 'St. Bonaventure University'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 5176, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 188, 89, 8027, 23, 257, 121, 1499, 6, 96, 8532, 4046, 297, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 567, 3142, 4350, 8512, 21680, 953, 834, 26426, 5176, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 134, 17, 5, 4523, 17143, 636, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the award for the excellence in tamil category?
CREATE TABLE table_name_96 ( award VARCHAR, category VARCHAR )
SELECT award FROM table_name_96 WHERE category = "excellence in tamil"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 2760, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2760, 21, 8, 8978, 16, 3, 17, 265, 173, 3295, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2760, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3295, 3274, 96, 994, 8725, 1433, 16, 3, 17, 265, 173, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the grape and winery of the wines whose price is bigger than 100, visualize them with a stacked bar chart, the x-axis is winery and group the grape, and y-axis is the number of wineries.
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT )
SELECT Winery, COUNT(Winery) FROM wine WHERE Price > 100 GROUP BY Grape, Winery
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9426, 651, 6, 2847, 17161, 599, 18455, 4203, 61, 21680, 2013, 549, 17444, 427, 5312, 2490, 910, 350, 4630, 6880, 272, 476, 29083, 6, 9426, 651, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who played on clay on 3 march 2012?
CREATE TABLE table_71575 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Opponent" FROM table_71575 WHERE "Surface" = 'clay' AND "Date" = '3 march 2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1808, 3072, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 940, 1808, 3072, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 4651, 63, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 519, 10556, 1673, 31, 1, -100, -100, -100, -1...
What's the predecessor of the Ekavian word vreme?
CREATE TABLE table_27730_9 (predecessor VARCHAR, ekavian VARCHAR)
SELECT predecessor FROM table_27730_9 WHERE ekavian = "vreme"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 1458, 834, 1298, 41, 2026, 221, 75, 24901, 584, 4280, 28027, 6, 3, 15, 157, 2960, 152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 21654,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 21654, 21680, 953, 834, 357, 4013, 1458, 834, 1298, 549, 17444, 427, 3, 15, 157, 2960, 152, 3274, 96, 10859, 526, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the prize pool if the entries is 1,132?
CREATE TABLE table_3263 ( "Date" text, "Time (ET)" text, "Event #" real, "Event" text, "Winner" text, "Prize" text, "Entries" text, "Prize Pool" text, "Elapsed Time" text )
SELECT "Prize Pool" FROM table_3263 WHERE "Entries" = '1,132'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 3891, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 41, 7969, 61, 121, 1499, 6, 96, 427, 2169, 1713, 121, 490, 6, 96, 427, 2169, 121, 1499, 6, 96, 18455, 687, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7855, 776, 9896, 121, 21680, 953, 834, 2668, 3891, 549, 17444, 427, 96, 16924, 2593, 121, 3274, 3, 31, 4347, 23757, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Is the Washington Corrections Center for Women (WCCW) a major facility?
CREATE TABLE table_27566 ( "Facility" text, "Location" text, "Year Opened" text, "Major Facility" text, "Population Gender" text, "Capacity" real, "Custody Level(s)" text )
SELECT "Major Facility" FROM table_27566 WHERE "Facility" = 'Washington Corrections Center for Women (WCCW)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 3539, 41, 96, 371, 9, 75, 14277, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 476, 2741, 2384, 15, 26, 121, 1499, 6, 96, 329, 9, 12775, 26575, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 9, 12775, 26575, 121, 21680, 953, 834, 25988, 3539, 549, 17444, 427, 96, 371, 9, 75, 14277, 121, 3274, 3, 31, 518, 3198, 6029, 30656, 7, 1166, 21, 4047, 41, 10038, 18105, 61, 31, 1, -100, -100, -100, -100...
What is the lowest disposable USD 2011?
CREATE TABLE table_26874 ( "Rank" real, "Country" text, "Disposable USD 2011" real, "Disposable USD growth" real, "Compulsory deduction" text, "Gross USD 2011" real )
SELECT MIN("Disposable USD 2011") FROM table_26874
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3651, 4581, 41, 96, 22557, 121, 490, 6, 96, 10628, 651, 121, 1499, 6, 96, 23664, 32, 7, 179, 9513, 2722, 121, 490, 6, 96, 23664, 32, 7, 179, 9513, 1170, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 23664, 32, 7, 179, 9513, 2722, 8512, 21680, 953, 834, 357, 3651, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of losses for entries with 15 wins and a position larger than 3?
CREATE TABLE table_name_69 ( losses INTEGER, wins VARCHAR, position VARCHAR )
SELECT SUM(losses) FROM table_name_69 WHERE wins = 15 AND position > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 8467, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 8467, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 9204, 3274, 627, 3430, 1102, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
A bar chart about the number of first name for all female students whose sex is F, and display y-axis in desc order.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) )
SELECT Fname, COUNT(Fname) FROM Student WHERE Sex = 'F' GROUP BY Fname ORDER BY COUNT(Fname) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 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, 377, 4350, 6, 2847, 17161, 599, 371, 4350, 61, 21680, 6341, 549, 17444, 427, 679, 226, 3274, 3, 31, 371, 31, 350, 4630, 6880, 272, 476, 377, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 371, 4350, 61, 309, 25067, ...
Name the year location for haruna fukuoka
CREATE TABLE table_28138035_4 ( year_location VARCHAR, womens_singles VARCHAR )
SELECT year_location FROM table_28138035_4 WHERE womens_singles = "Haruna Fukuoka"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2368, 2079, 2469, 834, 591, 41, 215, 834, 14836, 584, 4280, 28027, 6, 887, 7, 834, 7, 53, 965, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 215, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 834, 14836, 21680, 953, 834, 2577, 2368, 2079, 2469, 834, 591, 549, 17444, 427, 887, 7, 834, 7, 53, 965, 3274, 96, 15537, 202, 9, 6343, 2729, 1825, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many different colleges did the players come from ?
CREATE TABLE table_204_635 ( id number, "round" number, "selection" number, "player" text, "position" text, "college" text )
SELECT COUNT(DISTINCT "college") FROM table_204_635
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 2469, 41, 3, 23, 26, 381, 6, 96, 7775, 121, 381, 6, 96, 7, 15, 12252, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 3297, 7883, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 96, 3297, 7883, 8512, 21680, 953, 834, 26363, 834, 948, 2469, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many athletes had a Swimming Time (pts) of 2:20.93 (1232)?
CREATE TABLE table_57143 ( "Athlete" text, "Shooting Score (pts)" text, "Fencing Victories (pts)" text, "Swimming Time (pts)" text, "Riding Penalties (pts)" text, "Running Time (pts)" text, "Total" real )
SELECT COUNT("Total") FROM table_57143 WHERE "Swimming Time (pts)" = '2:20.93 (1232)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 25133, 41, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10499, 32, 32, 1222, 17763, 41, 102, 17, 7, 61, 121, 1499, 6, 96, 371, 15, 4733, 8884, 725, 41, 102, 17, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 3436, 25133, 549, 17444, 427, 96, 134, 210, 23, 635, 53, 2900, 41, 102, 17, 7, 61, 121, 3274, 3, 31, 357, 10, 1755, 5, 4271, 16465, 2668, 61, 31, 1, -100...
How many values for attendance correspond to the 1986 Peach Bowl?
CREATE TABLE table_15647838_3 ( attendance VARCHAR, bowl_game VARCHAR )
SELECT COUNT(attendance) FROM table_15647838_3 WHERE bowl_game = "1986 Peach Bowl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4389, 3940, 3747, 834, 519, 41, 11364, 584, 4280, 28027, 6, 3047, 834, 7261, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2620, 21, 11364, 10423, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 1808, 4389, 3940, 3747, 834, 519, 549, 17444, 427, 3047, 834, 7261, 3274, 96, 2294, 3840, 1276, 1836, 9713, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the highest recorded attendance rates of the stadiums with an average attendance of 4752?
CREATE TABLE table_158 ( "Team" text, "Stadium" text, "Capacity" real, "Lowest" real, "Highest" real, "Average" real )
SELECT "Highest" FROM table_158 WHERE "Average" = '4752'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26556, 41, 96, 18699, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 434, 32, 12425, 121, 490, 6, 96, 21417, 222, 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, 96, 21417, 222, 121, 21680, 953, 834, 26556, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 4177, 5373, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the number of patients younger than 77 years of age who have a primary disease of abdominal pain.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL PAIN" AND demographic.age < "77"
[ 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, 25930, 4844, 159, 3274, 96, 5359, 27415, 21116, 434, 276, 13570, 121, 3430, 14798, 5, 545, 3, 2, ...
What is the record on October 30?
CREATE TABLE table_name_74 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_74 WHERE date = "october 30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 30, 1797, 604, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what player has $187,500 and score 66-75-71-69=281
CREATE TABLE table_66293 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Player" FROM table_66293 WHERE "Money ( $ )" = '187,500' AND "Score" = '66-75-71-69=281'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 357, 4271, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3539, 357, 4271, 549, 17444, 427, 96, 9168, 15, 63, 41, 1514, 3, 61, 121, 3274, 3, 31, 25828, 6, 2560, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 3539, 6832, 23440, 27019, 12...
Which integrated has an allied-related of some shared?
CREATE TABLE table_name_40 ( integrated VARCHAR, allied_related VARCHAR )
SELECT integrated FROM table_name_40 WHERE allied_related = "some shared"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 4580, 584, 4280, 28027, 6, 3, 26655, 834, 3897, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4580, 65, 46, 3, 26655, 18, 3897, 13, 128...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4580, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3, 26655, 834, 3897, 3274, 96, 5529, 2471, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the build date when total produced is 2?
CREATE TABLE table_name_80 ( build_date VARCHAR, total_produced VARCHAR )
SELECT build_date FROM table_name_80 WHERE total_produced = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 918, 834, 5522, 584, 4280, 28027, 6, 792, 834, 29462, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 918, 833, 116, 792, 2546, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 918, 834, 5522, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 792, 834, 29462, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What city does the employee who helps the customer with postal code 70174 live in?
CREATE TABLE CUSTOMER ( SupportRepId VARCHAR, PostalCode VARCHAR ) CREATE TABLE EMPLOYEE ( City VARCHAR, EmployeeId VARCHAR )
SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = "70174"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 16847, 667, 13098, 41, 4224, 1649, 102, 196, 26, 584, 4280, 28027, 6, 1844, 138, 22737, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 5244, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 254, 485, 21680, 205, 16847, 667, 13098, 6157, 332, 536, 3, 15355, 3162, 262, 5244, 5017, 476, 5080, 6157, 332, 357, 9191, 332, 5411, 134, 413, 1493, 1649, 102, 196, 26, 3274, 332, 4416, 427, 51, 7379, 63...
Bar graph to show the number of rank from different rank, and rank by the total number in descending.
CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text )
SELECT Rank, COUNT(Rank) FROM captain GROUP BY Rank ORDER BY COUNT(Rank) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15508, 41, 15508, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6632, 1499, 6, 14862, 834, 476, 2741, 490, 6, 4501, 1499, 6, 17016, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 22557, 6, 2847, 17161, 599, 22557, 61, 21680, 14268, 350, 4630, 6880, 272, 476, 3, 22557, 4674, 11300, 272, 476, 2847, 17161, 599, 22557, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When the incumbent was William Elliott, what was the result?
CREATE TABLE table_name_75 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_name_75 WHERE incumbent = "william elliott"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 28406, 47, 4599, 28597, 6, 125, 47, 8, 741, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 28406, 3274, 96, 8894, 23, 265, 3, 7999, 32, 17, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the total amount of gold awards that france won ?
CREATE TABLE table_204_761 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "gold" FROM table_204_761 WHERE "nation" = 'france'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3959, 536, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14910, 121, 21680, 953, 834, 26363, 834, 3959, 536, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 89, 5219, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What Results has a Seed #12 and a Year that's smaller than 1996
CREATE TABLE table_35728 ( "Year" real, "Record" text, "Seed" text, "Region" text, "Results" text )
SELECT "Results" FROM table_35728 WHERE "Seed" = '#12' AND "Year" < '1996'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3436, 2577, 41, 96, 476, 2741, 121, 490, 6, 96, 1649, 7621, 121, 1499, 6, 96, 18648, 26, 121, 1499, 6, 96, 17748, 23, 106, 121, 1499, 6, 96, 20119, 7, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 7, 121, 21680, 953, 834, 519, 3436, 2577, 549, 17444, 427, 96, 18648, 26, 121, 3274, 3, 31, 4663, 2122, 31, 3430, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4314, 31, 1, -100, -100, -100, -100, -100, -100...
What is the acceleration 0-100km/h that was produced in 2002-2006?
CREATE TABLE table_73031 ( "Engine" text, "Production" text, "Transmission" text, "Power" text, "Torque" text, "Acceleration 0\u2013100km/h (0\u201362mph)" text, "Top Speed" text )
SELECT "Acceleration 0\u2013100km/h (0\u201362mph)" FROM table_73031 WHERE "Production" = '2002-2006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1458, 3341, 41, 96, 31477, 121, 1499, 6, 96, 3174, 8291, 121, 1499, 6, 96, 18474, 5451, 121, 1499, 6, 96, 23553, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19543, 400, 2661, 3, 632, 2, 76, 11138, 2915, 5848, 87, 107, 17482, 2, 76, 11138, 4056, 7656, 61, 121, 21680, 953, 834, 940, 1458, 3341, 549, 17444, 427, 96, 3174, 8291, 121, 3274, 3, 31, 24898, 18, 21196, 31,...
count the number of patients whose discharge location is rehab/distinct part hosp and diagnoses short title is injury-hanging?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND diagnoses.short_title = "Injury-hanging"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
How many regions were affected by each storm. Visualize by bar chart.
CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int ) CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real )
SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5536, 41, 16133, 834, 4309, 16, 17, 6, 5570, 1499, 6, 7678, 7, 834, 6645, 1499, 6, 5370, 834, 9993, 16, 17, 6, 26135, 834, 17030, 7, 834, 23492, 490, 6, 7720, 834, 2962, 9, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 5536, 6157, 332, 536, 3, 15355, 3162, 4161, 834, 18145, 6157, 332, 357, 9191, 332, 5411, 134, 17, 127, 51, 834, 4309, 3274, 332, 4416, 134, 17, 127, 51, 834, 4309, 350, ...
Return a histogram on what are the nationalities and the total ages of journalists?, I want to rank by the bar in descending.
CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int ) CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working int )
SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality ORDER BY Nationality DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 834, 60, 1493, 41, 9994, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 6, 3118, 834, 25160, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 8042, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 868, 485, 6, 180, 6122, 599, 188, 397, 61, 21680, 9994, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 868, 485, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose gender is f and diagnoses icd9 code is 7742?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "7742"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
List the most common type of Status across cities.
CREATE TABLE city ( Status VARCHAR )
SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 690, 41, 19318, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 167, 1017, 686, 13, 19318, 640, 3119, 5, 1, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 19318, 21680, 690, 350, 4630, 6880, 272, 476, 19318, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the average of code , and group by attribute name, and I want to list Y in desc order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 2...
what number of swat games were made for microsoft windows ?
CREATE TABLE table_203_633 ( id number, "title" text, "year" number, "platform" text, "developer" text, "publisher" text )
SELECT COUNT("title") FROM table_203_633 WHERE "platform" = 'microsoft windows'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3891, 519, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 29100, 121, 1499, 6, 96, 29916, 49, 121, 1499, 6, 96, 29337, 49, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21869, 8512, 21680, 953, 834, 23330, 834, 3891, 519, 549, 17444, 427, 96, 29100, 121, 3274, 3, 31, 30574, 3196, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the total area of edinburg ?
CREATE TABLE table_203_74 ( id number, "rank" number, "urban area" text, "population\n(2001 census)" number, "area (km2)" number, "density (people/km2)" number, "major subdivisions" text, "metropolitan area" text )
SELECT "area (km2)" FROM table_203_74 WHERE "urban area" = 'edinburgh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4581, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 19413, 616, 121, 1499, 6, 96, 9791, 7830, 2, 29, 599, 23658, 23087, 61, 121, 381, 6, 96, 498, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 498, 41, 5848, 7318, 121, 21680, 953, 834, 23330, 834, 4581, 549, 17444, 427, 96, 19413, 616, 121, 3274, 3, 31, 15, 2644, 4824, 107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the year for angga pratama ryan agung saputra
CREATE TABLE table_38969 ( "Year" text, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT "Year" FROM table_38969 WHERE "Men's doubles" = 'angga pratama ryan agung saputra'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3914, 3951, 41, 96, 476, 2741, 121, 1499, 6, 96, 329, 35, 31, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 31, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 31, 7, 1486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 519, 3914, 3951, 549, 17444, 427, 96, 329, 35, 31, 7, 1486, 7, 121, 3274, 3, 31, 1468, 122, 9, 3, 5319, 22713, 3, 651, 152, 3, 9, 15774, 16333, 76, 1313, 31, 1, -100, -100,...
what two hospitals holding consecutive rankings of 8 and 9 respectively , both provide 1200 hospital beds ?
CREATE TABLE table_203_216 ( id number, "rank" number, "hospital" text, "city" text, "county" text, "# beds" number, "type of hospital" text )
SELECT "hospital" FROM table_203_216 WHERE "rank" IN (8, 9)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 27184, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 31386, 121, 1499, 6, 96, 6726, 121, 1499, 6, 96, 13362, 63, 121, 1499, 6, 96, 4663, 8326, 121, 381,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 31386, 121, 21680, 953, 834, 23330, 834, 27184, 549, 17444, 427, 96, 6254, 121, 3388, 13642, 6, 3, 11728, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
List the first name middle name and last name of all staff.
CREATE TABLE Staff (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR)
SELECT first_name, middle_name, last_name FROM Staff
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10071, 41, 14672, 834, 4350, 584, 4280, 28027, 6, 2214, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 166, 564, 2214, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 166, 834, 4350, 6, 2214, 834, 4350, 6, 336, 834, 4350, 21680, 10071, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the lowest round for a tight end position?
CREATE TABLE table_name_94 (round INTEGER, position VARCHAR)
SELECT MIN(round) FROM table_name_94 WHERE position = "tight end"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 7775, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 1751, 21, 3, 9, 4095, 414, 1102, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 1102, 3274, 96, 17, 2632, 414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the position that has the outgoing manager l szl Dajka?
CREATE TABLE table_58670 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Position in table" text, "Replaced by" text, "Date of appointment" text )
SELECT "Position in table" FROM table_58670 WHERE "Outgoing manager" = 'lászló dajka'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3840, 2518, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 16, 953, 121, 21680, 953, 834, 755, 3840, 2518, 549, 17444, 427, 96, 15767, 9545, 2743, 121, 3274, 3, 31, 40, 2975, 7, 172, 40, 4922, 836, 354, 1258, 31, 1, -100, -100, -100, -100, -100, -1...
who had more tosses , adamson or pup stars ?
CREATE TABLE table_204_548 ( id number, "team" text, "basic elements" number, "tumbling" number, "stunts" number, "tosses" number, "pyramids" number, "deductions" number, "total score" number, "result" text )
SELECT "team" FROM table_204_548 WHERE "team" IN ('adamson pep squad', 'pup stars') ORDER BY "tosses" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 3707, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 4883, 447, 2479, 121, 381, 6, 96, 17, 22345, 121, 381, 6, 96, 7, 17, 202, 17, 7, 121, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 11650, 121, 21680, 953, 834, 26363, 834, 755, 3707, 549, 17444, 427, 96, 11650, 121, 3388, 41, 31, 9, 7812, 739, 158, 102, 12025, 31, 6, 3, 31, 102, 413, 4811, 31, 61, 4674, 11300, 272, 476, 96, 17, 13526, 7...
What was the record when the score was w 108–93 (ot)?
CREATE TABLE table_13619135_5 (record VARCHAR, score VARCHAR)
SELECT record FROM table_13619135_5 WHERE score = "W 108–93 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 2294, 536, 2469, 834, 755, 41, 60, 7621, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 116, 8, 2604, 47, 3, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 23459, 2294, 536, 2469, 834, 755, 549, 17444, 427, 2604, 3274, 96, 518, 3, 16169, 104, 4271, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which player competed in women 's singles and won a silver medal ?
CREATE TABLE table_204_103 ( id number, "medal" text, "name" text, "sport" text, "event" text )
SELECT "name" FROM table_204_103 WHERE "event" = "women's singles" AND "medal" = 'silver'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 17864, 41, 3, 23, 26, 381, 6, 96, 2726, 138, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 6661, 121, 1499, 6, 96, 15, 2169, 121, 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, 96, 4350, 121, 21680, 953, 834, 26363, 834, 17864, 549, 17444, 427, 96, 15, 2169, 121, 3274, 96, 210, 32, 904, 31, 7, 712, 7, 121, 3430, 96, 2726, 138, 121, 3274, 3, 31, 7, 173, 624, 31, 1, -100, -100, -100, -...
What is the maximum torque at rpm for the engine with code BMM?
CREATE TABLE table_53713 ( "engine name" text, "engine code(s)" text, "valvetrain" text, "displacement" text, "max. power at rpm" text, "max. torque at rpm" text )
SELECT "max. torque at rpm" FROM table_53713 WHERE "engine code(s)" = 'bmm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4118, 2368, 41, 96, 20165, 564, 121, 1499, 6, 96, 20165, 1081, 599, 7, 61, 121, 1499, 6, 96, 2165, 162, 9719, 121, 1499, 6, 96, 10475, 11706, 297, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9128, 5, 19527, 44, 3, 52, 2028, 121, 21680, 953, 834, 755, 4118, 2368, 549, 17444, 427, 96, 20165, 1081, 599, 7, 61, 121, 3274, 3, 31, 115, 635, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, find email and department_id , and visualize them by a bar chart, could you rank by the names in ascending?
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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) )
SELECT EMAIL, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL
[ 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, 3, 20211, 3502, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, 17966,...
find the number of patients under age 64 whose language is port.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "PORT" AND demographic.age < "64"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 24925, 3274, 96, 14536, 121, 3430, 14798, 5, 545, 3, 2, 96, 4389, 121, 1, -100, -100, -100, -100...
What is the latitude of vaidilute rupes?
CREATE TABLE table_16799784_3 (latitude VARCHAR, name VARCHAR)
SELECT latitude FROM table_16799784_3 WHERE name = "Vaidilute Rupes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4440, 21441, 591, 834, 519, 41, 521, 6592, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 50, 6592, 13, 409, 23, 26, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 50, 6592, 21680, 953, 834, 2938, 4440, 21441, 591, 834, 519, 549, 17444, 427, 564, 3274, 96, 553, 6146, 23, 18453, 2770, 855, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest number of National University of Ireland that has a Cultural and Educational Panel of 0, and a Labour Panel smaller than 1?
CREATE TABLE table_name_49 ( national_university_of_ireland INTEGER, cultural_and_educational_panel VARCHAR, labour_panel VARCHAR )
SELECT MIN(national_university_of_ireland) FROM table_name_49 WHERE cultural_and_educational_panel = 0 AND labour_panel < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 1157, 834, 7846, 485, 834, 858, 834, 2060, 40, 232, 3, 21342, 17966, 6, 2779, 834, 232, 834, 29117, 138, 834, 28726, 584, 4280, 28027, 6, 12568, 834, 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, 3, 17684, 599, 16557, 834, 7846, 485, 834, 858, 834, 2060, 40, 232, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2779, 834, 232, 834, 29117, 138, 834, 28726, 3274, 3, 632, 3430, 12568, 834, 28726, 3, 2, ...
What is the M-R Romaja for the province having a capital of Cheongju?
CREATE TABLE table_name_34 ( m_r_romaja VARCHAR, capital VARCHAR )
SELECT m_r_romaja FROM table_name_34 WHERE capital = "cheongju"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 3, 51, 834, 52, 834, 3522, 9, 1191, 584, 4280, 28027, 6, 1784, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 283, 18, 448, 1608...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 51, 834, 52, 834, 3522, 9, 1191, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1784, 3274, 96, 1033, 2444, 2047, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
find out the minimum age of urgent hospital admission patients who were born after 2089.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 MIN(demographic.age) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.dob_year > "2089"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 5905, 517, 6431, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 2490, 96, 1755, 3914, 121, 1, -100, ...
Name the championship for outcome being winner for 7 5, 4 6, 6 1
CREATE TABLE table_27016 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Championship" FROM table_27016 WHERE "Outcome" = 'Winner' AND "Score" = '7–5, 4–6, 6–1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17485, 2938, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1483, 12364, 2009, 121, 21680, 953, 834, 17485, 2938, 549, 17444, 427, 96, 15767, 287, 15, 121, 3274, 3, 31, 18455, 687, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 940, 104, 11116, 314, 104, 11071, 431, 1...
Where were the Womens Doubles in the 1951/1952 season and who won?
CREATE TABLE table_12266757_1 ( womens_doubles VARCHAR, season VARCHAR )
SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2688, 3708, 3436, 834, 536, 41, 887, 7, 834, 25761, 7, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 130, 8, 4047, 7, 8405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 887, 7, 834, 25761, 7, 21680, 953, 834, 2122, 2688, 3708, 3436, 834, 536, 549, 17444, 427, 774, 3274, 96, 2294, 5553, 13523, 5373, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Week of the game against Green Bay Packers?
CREATE TABLE table_64794 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT AVG("Week") FROM table_64794 WHERE "Opponent" = 'green bay packers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 4440, 591, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 518, 10266, 8512, 21680, 953, 834, 4389, 4440, 591, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 9423, 10210, 4153, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which driver is listed after pat o'connor ?
CREATE TABLE table_204_511 ( id number, "number" number, "driver" text, "entrant" text, "chassis" text, "engine" text, "tyre" text )
SELECT "driver" FROM table_204_511 WHERE id = (SELECT id FROM table_204_511 WHERE "driver" = "pat o'connor") + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 2596, 41, 3, 23, 26, 381, 6, 96, 5525, 1152, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 295, 3569, 121, 1499, 6, 96, 524, 6500, 7, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13739, 52, 121, 21680, 953, 834, 26363, 834, 755, 2596, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 755, 2596, 549, 17444, 427, 96, 13739, 52, 121, 3274, 96, 466...
What is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less than 1?
CREATE TABLE table_name_70 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_70 WHERE total > 2 AND bronze > 1 AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 14910, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 14910, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 792, 2490, 204, 3430, 13467, 2490, 209, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score that the player who placed t4 from the united states get?
CREATE TABLE table_name_80 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_80 WHERE country = "united states" AND place = "t4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 7, 9022, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 24, 8, 1959, 113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 286, 3274, 96, 17, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition?
CREATE TABLE table_65113 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_65113 WHERE "Score" = '4-0' AND "Competition" = '2002 tiger cup'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 20522, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 4122, 20522, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 26814, 31, 3430, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 24898, 3, 17, 4424, 4119, 31, 1, -100, -100, -10...
What year was number 7 built?
CREATE TABLE table_1015421_1 ( year_built VARCHAR, no_built VARCHAR )
SELECT year_built FROM table_1015421_1 WHERE no_built = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 27308, 2658, 834, 536, 41, 215, 834, 16152, 584, 4280, 28027, 6, 150, 834, 16152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 381, 489, 1192, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 834, 16152, 21680, 953, 834, 1714, 27308, 2658, 834, 536, 549, 17444, 427, 150, 834, 16152, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player from the 2004 CFL draft attended Wilfrid Laurier?
CREATE TABLE table_10975034_2 ( player VARCHAR, college VARCHAR )
SELECT player FROM table_10975034_2 WHERE college = "Wilfrid Laurier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 9979, 3710, 834, 357, 41, 1959, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 45, 8, 4406, 205, 10765, 6488, 5526, 854...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 17304, 9979, 3710, 834, 357, 549, 17444, 427, 1900, 3274, 96, 518, 173, 89, 4055, 29935, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the league finish for deccan chargers
CREATE TABLE table_2745 ( "Season" real, "Winner" text, "Captain" text, "Coach" text, "League finish" text, "Mat" real, "W" real, "L" real, "Win %" text, "Runner-up" text )
SELECT "League finish" FROM table_2745 WHERE "Winner" = 'Deccan Chargers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2128, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 19566, 17, 9, 77, 121, 1499, 6, 96, 3881, 1836, 121, 1499, 6, 96, 2796, 9, 5398, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2796, 9, 5398, 1992, 121, 21680, 953, 834, 2555, 2128, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 2962, 75, 1608, 15907, 52, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how long was the last hospital stay of patient 005-46456 in the icu?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-46456') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 26, 159, 7993, 715, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 21680, 1868, 549, 17444, 427...
state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna
CREATE TABLE table_18498743_1 (el_canal_de_las_estrellas VARCHAR, mañana_es_para_siempre VARCHAR)
SELECT el_canal_de_las_estrellas FROM table_18498743_1 WHERE mañana_es_para_siempre = "Impreuna pentru totdeauna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3647, 4225, 4906, 834, 536, 41, 15, 40, 834, 1608, 138, 834, 221, 834, 521, 7, 834, 222, 52, 5303, 7, 584, 4280, 28027, 6, 954, 2, 152, 9, 834, 15, 7, 834, 6583, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15, 40, 834, 1608, 138, 834, 221, 834, 521, 7, 834, 222, 52, 5303, 7, 21680, 953, 834, 2606, 3647, 4225, 4906, 834, 536, 549, 17444, 427, 954, 2, 152, 9, 834, 15, 7, 834, 6583, 834, 7, 23, 25569, 3274, 96, ...
what day was the score 39-14
CREATE TABLE table_name_58 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_58 WHERE record = "39-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 239, 47, 8, 2604, 6352, 11590, 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, 3449, 549, 17444, 427, 1368, 3274, 96, 3288, 11590, 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 loss when the average/gain is less than 16.7, gain is 104 and long is larger than 4?
CREATE TABLE table_name_12 ( loss INTEGER, gain VARCHAR, avg_g VARCHAR, long VARCHAR )
SELECT AVG(loss) FROM table_name_12 WHERE avg_g < 16.7 AND long > 4 AND gain = 104
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1453, 3, 21342, 17966, 6, 2485, 584, 4280, 28027, 6, 3, 9, 208, 122, 834, 122, 584, 4280, 28027, 6, 307, 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, 71, 17217, 599, 2298, 7, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 3, 9, 208, 122, 834, 122, 3, 2, 10128, 940, 3430, 307, 2490, 314, 3430, 2485, 3274, 3, 15442, 1, -100, -100, -100, -100, -100, -100, ...
Which IHSAA Class has a Location of linton?
CREATE TABLE table_name_83 (ihsaa_class VARCHAR, location VARCHAR)
SELECT ihsaa_class FROM table_name_83 WHERE location = "linton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 27, 4950, 5498, 4501, 65, 3, 9, 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, 3, 23, 107, 7, 9, 9, 834, 4057, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1128, 3274, 96, 40, 23, 6992, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the dates of the tests taken with result 'Pass', and count them by a line chart, and order by the x-axis from low to high.
CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) )
SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" ORDER BY date_test_taken
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 382, 222, 7, 834, 29468, 29, 41, 3816, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, 4377, 834, 4914, 29, 309, 6048, 382, 15382, 6, 794, 834, 60, 7, 83, 17, 584, 4280, 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, 833, 834, 4377, 834, 4914, 29, 6, 2847, 17161, 599, 5522, 834, 4377, 834, 4914, 29, 61, 21680, 6341, 834, 382, 222, 7, 834, 29468, 29, 549, 17444, 427, 794, 834, 60, 7, 83, 17, 3274, 96, 20192, 121, 4674, 11300, ...
Tell me the voting turnout for 1985 general elections
CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR)
SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 1621, 1222, 834, 7535, 670, 584, 4280, 28027, 6, 879, 834, 15, 12252, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 10601, 919, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10601, 834, 7535, 670, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 879, 834, 15, 12252, 7, 3274, 13200, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th?
CREATE TABLE table_34145 ( "Rank" text, "Common of" text, "Population" real, "Area (km 2 )" real, "Density (inhabitants/km 2 )" real, "Altitude (mslm)" real )
SELECT SUM("Altitude (mslm)") FROM table_34145 WHERE "Density (inhabitants/km 2 )" < '1233' AND "Rank" = '9th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 20987, 41, 96, 22557, 121, 1499, 6, 96, 10205, 106, 13, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 188, 864, 41, 5848, 204, 3, 61, 121, 490, 6, 96, 308, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 188, 40, 6592, 41, 51, 7, 40, 51, 61, 8512, 21680, 953, 834, 3710, 20987, 549, 17444, 427, 96, 308, 35, 7, 485, 41, 77, 29884, 7, 87, 5848, 204, 3, 61, 121, 3, 2, 3, 31, 14574, 519, 31, ...
Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281?
CREATE TABLE table_name_48 (year INTEGER, venue VARCHAR, score VARCHAR)
SELECT MAX(year) FROM table_name_48 WHERE venue = "blackwolf run, composite course" AND score = "281"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 1201, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 19, 8, 2030, 80, 24, 65, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 5669, 3274, 96, 19699, 19747, 661, 6, 13723, 503, 121, 3430, 2604, 3274, 96, 2577, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Place, when the Score is 68-70-71=209?
CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_19 WHERE score = 68 - 70 - 71 = 209
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 4687, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 6, 116, 8, 17763, 19, 3, 3651, 18, 2518, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2604, 3274, 3, 3651, 3, 18, 2861, 3, 18, 3, 4450, 3274, 460, 1298, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose days of hospital stay is greater than 30 and lab test name is albumin, body fluid?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "30" AND lab.label = "Albumin, Body Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the win for 4 matches with a success rate of 25%?
CREATE TABLE table_42340 ( "Year" text, "Matches" text, "Wins" text, "Losses" text, "No Result" text, "Success Rate" text )
SELECT "Wins" FROM table_42340 WHERE "Matches" = '4' AND "Success Rate" = '25%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 21129, 41, 96, 476, 2741, 121, 1499, 6, 96, 329, 144, 2951, 121, 1499, 6, 96, 18455, 7, 121, 1499, 6, 96, 434, 13526, 7, 121, 1499, 6, 96, 4168, 3, 20119, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 7, 121, 21680, 953, 834, 4165, 21129, 549, 17444, 427, 96, 329, 144, 2951, 121, 3274, 3, 31, 591, 31, 3430, 96, 134, 17431, 15, 7, 7, 13002, 121, 3274, 3, 31, 357, 2712, 31, 1, -100, -100, -100, -100,...
What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.15?
CREATE TABLE table_40542 ( "Air Date" text, "Timeslot" text, "Rating" real, "Share" real, "18-49" text, "Viewers" real, "Weekly Rank" text )
SELECT MIN("Share") FROM table_40542 WHERE "Air Date" = 'march 21, 2008' AND "Viewers" > '5.15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 5062, 357, 41, 96, 20162, 7678, 121, 1499, 6, 96, 13368, 7, 3171, 121, 1499, 6, 96, 448, 1014, 121, 490, 6, 96, 24501, 121, 490, 6, 96, 2606, 18, 3647, 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, 3, 17684, 599, 121, 24501, 8512, 21680, 953, 834, 2445, 5062, 357, 549, 17444, 427, 96, 20162, 7678, 121, 3274, 3, 31, 51, 7064, 12026, 2628, 31, 3430, 96, 15270, 277, 121, 2490, 3, 31, 9125, 1808, 31, 1, -100, -1...
How many Attendances have a H / A of h on 7 march 1903?
CREATE TABLE table_name_47 ( attendance INTEGER, h___a VARCHAR, date VARCHAR )
SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 11364, 3, 21342, 17966, 6, 3, 107, 834, 834, 834, 9, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 22497,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 3, 107, 834, 834, 834, 9, 3274, 96, 107, 121, 3430, 833, 3274, 96, 940, 10556, 957, 4928, 121, 1, -100, -100, -100, -100, -100, -10...
What institution won in 2010 with student Cheng Herng Yi?
CREATE TABLE table_45006 ( "Year" real, "Award" text, "Name" text, "Institution" text, "Chief Judge" text )
SELECT "Institution" FROM table_45006 WHERE "Year" > '2010' AND "Name" = 'cheng herng yi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10593, 5176, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1570, 17448, 121, 1499, 6, 96, 3541, 23, 15, 89, 12330, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1570, 17448, 121, 21680, 953, 834, 10593, 5176, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 14926, 31, 3430, 96, 23954, 121, 3274, 3, 31, 1559, 122, 160, 1725, 3, 63, 23, 31, 1, -100, -100, -100, -100, ...
Which season has more than 5 episodes each 159 minutes in length?
CREATE TABLE table_8580 ( "DVD title" text, "Season" text, "Aspect ratio" text, "Episode count" real, "Time length" text, "Release date" text )
SELECT "Season" FROM table_8580 WHERE "Episode count" > '5' AND "Time length" = '159 minutes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4433, 2079, 41, 96, 13529, 308, 2233, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 188, 5628, 5688, 121, 1499, 6, 96, 427, 102, 159, 32, 221, 3476, 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, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 4433, 2079, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 3476, 121, 2490, 3, 31, 755, 31, 3430, 96, 13368, 2475, 121, 3274, 3, 31, 27904, 676, 31, 1, -100, -100, -100, ...
What is Party, when Results is 'Re-Elected', and when District is 'Louisiana 5'?
CREATE TABLE table_62029 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text )
SELECT "Party" FROM table_62029 WHERE "Results" = 're-elected' AND "District" = 'louisiana 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26898, 3166, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13725, 63, 121, 21680, 953, 834, 26898, 3166, 549, 17444, 427, 96, 20119, 7, 121, 3274, 3, 31, 60, 18, 19971, 31, 3430, 96, 308, 23, 20066, 121, 3274, 3, 31, 40, 1063, 159, 13662, 305, 31, 1, -100, -100, -10...
For those employees who do not work in departments with managers that have ids between 100 and 200, a scatter chart shows the correlation between employee_id and salary .
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) ) 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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 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) )
SELECT EMPLOYEE_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 1...