NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Season has 0 Podiums, 1 Race, and 0 Points?
CREATE TABLE table_name_77 ( season VARCHAR, points VARCHAR, podiums VARCHAR, races VARCHAR )
SELECT season FROM table_name_77 WHERE podiums = "0" AND races = "1" AND points = "0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 774, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 22828, 7, 584, 4280, 28027, 6, 10879, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 774, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 22828, 7, 3274, 96, 632, 121, 3430, 10879, 3274, 96, 536, 121, 3430, 979, 3274, 96, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who had 0.00% in 2004?
CREATE TABLE table_name_71 ( party VARCHAR, results_2004 VARCHAR )
SELECT party FROM table_name_71 WHERE results_2004 = "0.00%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 1088, 584, 4280, 28027, 6, 772, 834, 21653, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 3, 10667, 1454, 16, 4406, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 772, 834, 21653, 3274, 96, 10667, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the home team score at junction oval?
CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_86 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 234, 372, 2604, 44, 23704, 17986, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose marital status is single and item id is 50891?
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 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 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "SINGLE" AND lab.itemid = "50891"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the score for the 2014 FIFA World Cup Qualification (UEFA)?
CREATE TABLE table_name_64 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_64 WHERE competition = "2014 fifa world cup qualification (uefa)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 7, 9022, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 8, 1412, 23129, 1150, 3802, 31270, 41, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 2259, 3274, 96, 10218, 361, 89, 9, 296, 4119, 15513, 41, 76, 15, 89, 9, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the lowest goals for second row and points more than 12
CREATE TABLE table_11878 ( "Player" text, "Position" text, "Tries" real, "Goals" real, "Points" real )
SELECT MIN("Goals") FROM table_11878 WHERE "Position" = 'second row' AND "Points" > '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20056, 3940, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 382, 2593, 121, 490, 6, 96, 6221, 5405, 121, 490, 6, 96, 22512, 7, 121, 490, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 6221, 5405, 8512, 21680, 953, 834, 20056, 3940, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 12091, 7358, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 2122, 31, 1, -100, -100, -100, ...
what was the only season where kevin martin was the skip ?
CREATE TABLE table_204_747 ( id number, "season" text, "skip" text, "third" text, "second" text, "lead" text, "events" text )
SELECT "season" FROM table_204_747 WHERE "skip" = 'kevin martin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 4177, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 4009, 102, 121, 1499, 6, 96, 14965, 121, 1499, 6, 96, 12091, 121, 1499, 6, 96, 109, 9, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9476, 121, 21680, 953, 834, 26363, 834, 940, 4177, 549, 17444, 427, 96, 4009, 102, 121, 3274, 3, 31, 1050, 2494, 3157, 17, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the score of the New Jersey home game?
CREATE TABLE table_name_42 ( score VARCHAR, home VARCHAR )
SELECT score FROM table_name_42 WHERE home = "new jersey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 2604, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 368, 5092, 234, 467, 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, 2604, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 234, 3274, 96, 5534, 13426, 121, 1, -100, -100, -100, -100, -100, -100, -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, draw a bar chart about the distribution of hire_date and the average of salary bin hire_date by time.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, AVG(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, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 42...
Name the college for andrej podkonicky
CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2840500_8 WHERE player = "Andrej Podkonicky"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2445, 2560, 834, 927, 41, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 21680, 953, 834, 2577, 2445, 2560, 834, 927, 549, 17444, 427, 1959, 3274, 96, 7175, 60, 354, 3, 16665, 4470, 3142, 63, 121, 1, -100, -100, -100, -100, -100, -100, -1...
Which part three is class 4?
CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR)
SELECT part_3 FROM table_name_4 WHERE class = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 2274, 834, 519, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 294, 386, 19, 853, 314, 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, 294, 834, 519, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 853, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Round has a Time of n/a, in rio de janeiro , brazil?
CREATE TABLE table_40429 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Time" text, "Location" text )
SELECT "Round" FROM table_40429 WHERE "Time" = 'n/a' AND "Location" = 'rio de janeiro , brazil'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25285, 3166, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 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, 448, 32, 1106, 121, 21680, 953, 834, 25285, 3166, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 29, 87, 9, 31, 3430, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 52, 23, 32, 20, 3, 7066, 21810, 3, 6, 3858, 70...
what is the number of patients whose insurance is medicaid and primary disease is st elevated myocardial infarction\cardiac cath?
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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH"
[ 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, 29441, 3274, 96, 15789, 6146, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 4209, 3, 16479, 823...
Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921?
CREATE TABLE table_35583 ( "Year" text, "Seats in House" real, "Liberal candidates" real, "Seats won" real, "Seat Change" text, "Popular vote" real, "% of popular vote" text, "Result" text, "Liberal leader" text )
SELECT AVG("Popular vote") FROM table_35583 WHERE "Liberal leader" = 'king' AND "Seats won" > '116' AND "Year" = '1921'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3449, 519, 41, 96, 476, 2741, 121, 1499, 6, 96, 134, 1544, 7, 16, 1384, 121, 490, 6, 96, 14615, 49, 138, 4341, 121, 490, 6, 96, 134, 1544, 7, 751, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 27773, 4885, 2902, 8512, 21680, 953, 834, 2469, 3449, 519, 549, 17444, 427, 96, 14615, 49, 138, 2488, 121, 3274, 3, 31, 1765, 31, 3430, 96, 134, 1544, 7, 751, 121, 2490, 3, 31, 20159, 31, 3430...
What team did Alireza mansourian leave?
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 4327, 24151, 834, 519, 41, 11650, 584, 4280, 28027, 6, 91, 9545, 834, 24185, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 410, 5429, 2638, 9, 388, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 26144, 4327, 24151, 834, 519, 549, 17444, 427, 91, 9545, 834, 24185, 3274, 96, 188, 40, 23, 2638, 9, 1140, 7, 1063, 5288, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the record for score of l 93 104 (ot)
CREATE TABLE table_17288825_8 ( record VARCHAR, score VARCHAR )
SELECT record FROM table_17288825_8 WHERE score = "L 93–104 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 10927, 1828, 834, 927, 41, 1368, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1368, 21, 2604, 13, 3, 40, 3, 4271, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 27156, 10927, 1828, 834, 927, 549, 17444, 427, 2604, 3274, 96, 434, 3, 4271, 104, 15442, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When 3 is the rr1 points what is won score?
CREATE TABLE table_21489362_2 (won VARCHAR, rr1_pts VARCHAR)
SELECT won FROM table_21489362_2 WHERE rr1_pts = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 3707, 4271, 4056, 834, 357, 41, 210, 106, 584, 4280, 28027, 6, 3, 52, 52, 536, 834, 102, 17, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 220, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 751, 21680, 953, 834, 2658, 3707, 4271, 4056, 834, 357, 549, 17444, 427, 3, 52, 52, 536, 834, 102, 17, 7, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What school did Pat Osborn attend?
CREATE TABLE table_17046 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text )
SELECT "School" FROM table_17046 WHERE "Player" = 'Pat Osborn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2518, 4448, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 6858, 279, 21409, 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, 29364, 121, 21680, 953, 834, 536, 2518, 4448, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 345, 144, 411, 7, 7473, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who was hired before 2002-06-21, return a line chart about the change of department_id over hire_date , rank by the X-axis in descending.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 454, 14132, 834, 308, 6048, 309...
How many Points a February smaller than 1 have?
CREATE TABLE table_name_5 (points INTEGER, february INTEGER)
SELECT MIN(points) FROM table_name_5 WHERE february < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 2700, 7, 3, 21342, 17966, 6, 29976, 76, 1208, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564, 7, 3, 9, 2083, 2755, 145, 209, 43, 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, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 29976, 76, 1208, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the first episode with a netflix episode code of s02e20?
CREATE TABLE table_15187735_4 (episode INTEGER, netflix VARCHAR)
SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 591, 41, 15, 102, 159, 32, 221, 3, 21342, 17966, 6, 3134, 89, 17591, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 166, 5640, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15, 102, 159, 32, 221, 61, 21680, 953, 834, 26578, 27697, 2469, 834, 591, 549, 17444, 427, 3134, 89, 17591, 3274, 96, 134, 4305, 427, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many C-95 aircrafts originating in Brazil are currently in service?
CREATE TABLE table_name_12 (in_service VARCHAR, origin VARCHAR, versions VARCHAR)
SELECT in_service FROM table_name_12 WHERE origin = "brazil" AND versions = "c-95"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 77, 834, 5114, 584, 4280, 28027, 6, 5233, 584, 4280, 28027, 6, 5204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 205, 18, 3301, 6442, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16, 834, 5114, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 5233, 3274, 96, 1939, 702, 40, 121, 3430, 5204, 3274, 96, 75, 18, 3301, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of Year, when Winner is 'Johnathan Gray'?
CREATE TABLE table_name_81 ( year VARCHAR, winner VARCHAR )
SELECT COUNT(year) FROM table_name_81 WHERE winner = "johnathan gray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 215, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 2929, 6, 116, 18125, 19, 3, 31, 183...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 4668, 3274, 96, 27341, 9, 6736, 9954, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many inputs joined this institution located in Franklin, Indiana?
CREATE TABLE table_255205_1 (joined VARCHAR, location VARCHAR)
SELECT COUNT(joined) FROM table_255205_1 WHERE location = "Franklin, Indiana"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 23201, 834, 536, 41, 1927, 630, 26, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3785, 7, 3311, 48, 6568, 1069, 16, 16079,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1927, 630, 26, 61, 21680, 953, 834, 25502, 23201, 834, 536, 549, 17444, 427, 1128, 3274, 96, 371, 6254, 40, 77, 6, 11494, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the result when the method was submission (kimura)?
CREATE TABLE table_name_72 (res VARCHAR, method VARCHAR)
SELECT res FROM table_name_72 WHERE method = "submission (kimura)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 60, 7, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 116, 8, 1573, 47, 8121, 41, 19754, 2414, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 60, 7, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 1573, 3274, 96, 7304, 5451, 41, 19754, 2414, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What type are State Assemblyman
CREATE TABLE table_1602620_1 ( type VARCHAR, office VARCHAR )
SELECT type FROM table_1602620_1 WHERE office = "State Assemblyman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 2688, 1755, 834, 536, 41, 686, 584, 4280, 28027, 6, 828, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 33, 1015, 11993, 348, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 686, 21680, 953, 834, 19129, 2688, 1755, 834, 536, 549, 17444, 427, 828, 3274, 96, 134, 4748, 11993, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the names and average prices of products for manufacturers whose products cost on average 150 or more. Plot them as bar chart.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Name, AVG(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 382, 5411, 345, 4920, 61, 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...
How many wins were there in 1994?
CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR)
SELECT SUM(wins) FROM table_name_20 WHERE year = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 3757, 7, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 9204, 130, 132, 16, 7520, 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, 180, 6122, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 215, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie?
CREATE TABLE table_61281 ( "Player" text, "Team" text, "Matches" real, "Inns" real, "Runs" real, "Balls" real, "S/Rate" real, "100s" real, "Average" real )
SELECT COUNT("Matches") FROM table_61281 WHERE "S/Rate" < '133.72' AND "Team" = 'yorkshire carnegie'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 2577, 536, 41, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 1570, 29, 7, 121, 490, 6, 96, 448, 202, 7, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 329, 144, 2951, 8512, 21680, 953, 834, 4241, 2577, 536, 549, 17444, 427, 96, 134, 87, 448, 342, 121, 3, 2, 3, 31, 22974, 5, 5865, 31, 3430, 96, 18699, 121, 3274, 3, 31, 63, 127, 157, 5718,...
What is the total associated with a Clean & jerk of 135, and a Snatch of 115?
CREATE TABLE table_name_49 ( total__kg_ VARCHAR, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR )
SELECT total__kg_ FROM table_name_49 WHERE clean_ & _jerk = 135 AND snatch = 115
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 792, 834, 834, 8711, 834, 584, 4280, 28027, 6, 3, 7, 29, 14547, 584, 4280, 28027, 6, 1349, 834, 584, 4280, 28027, 6, 3, 834, 12488, 157, 584, 4280, 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, 792, 834, 834, 8711, 834, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1349, 834, 3, 184, 3, 834, 12488, 157, 3274, 209, 2469, 3430, 3, 7, 29, 14547, 3274, 3, 15660, 1, -100, -100, -100, -100, -100, -100, -1...
Who is the candidate wehre district is louisiana 1?
CREATE TABLE table_1342198_18 ( candidates VARCHAR, district VARCHAR )
SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 24151, 834, 2606, 41, 4341, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4775, 3, 15966, 15, 3939, 19, 16585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4341, 21680, 953, 834, 2368, 4165, 24151, 834, 2606, 549, 17444, 427, 3939, 3274, 96, 28365, 13662, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number of podiums for the races of 13/15?
CREATE TABLE table_33642 ( "Season" real, "Series Name" text, "Champion" text, "Races \u2020" text, "Pole Positions" text, "Wins" text, "Podiums" text, "Fastest Laps" text, "Points" text, "Margin (pts)" text )
SELECT "Podiums" FROM table_33642 WHERE "Races \u2020" = '13/15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 4389, 357, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 12106, 7, 5570, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 448, 9, 2319, 3, 2, 76, 22224, 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, 16665, 2552, 7, 121, 21680, 953, 834, 4201, 4389, 357, 549, 17444, 427, 96, 448, 9, 2319, 3, 2, 76, 22224, 121, 3274, 3, 31, 2368, 20376, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the rank for 1.26 Ø-Pts in game 1458?
CREATE TABLE table_name_86 (rank VARCHAR, ø_pts VARCHAR, games VARCHAR)
SELECT COUNT(rank) FROM table_name_86 WHERE ø_pts > 1.26 AND games = 1458
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 6254, 584, 4280, 28027, 6, 3, 2, 834, 102, 17, 7, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 3, 2, 834, 102, 17, 7, 2490, 1300, 2688, 3430, 1031, 3274, 968, 3449, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the attendance for the game against the Houston Oilers?
CREATE TABLE table_name_9 ( attendance VARCHAR, opponent VARCHAR )
SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 11364, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 21, 8, 467, 581, 8, 8018, 6067, 277, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 15264, 3274, 96, 9492, 4411, 1043, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the score of the game on February 27 with New Jersey as the visitor team?
CREATE TABLE table_name_25 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_25 WHERE visitor = "new jersey" AND date = "february 27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 7, 9022, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 467, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1828, 549, 17444, 427, 7019, 3274, 96, 5534, 13426, 121, 3430, 833, 3274, 96, 89, 15, 9052, 1208, 2307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?
CREATE TABLE table_name_33 (call_sign VARCHAR, owner VARCHAR)
SELECT call_sign FROM table_name_33 WHERE owner = "ckua radio foundation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 16482, 834, 6732, 584, 4280, 28027, 6, 2527, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2571, 6365, 13, 8, 5532, 835, 11298, 57, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 580, 834, 6732, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 2527, 3274, 96, 2406, 76, 9, 2252, 3361, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When was the opponent Bye?
CREATE TABLE table_name_52 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_52 WHERE opponent = "bye"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 5522, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 15264, 938, 15, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 15264, 3274, 96, 969, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who wrote the episode 'The Dream Lover', which was viewed by 3.96 million viewers?
CREATE TABLE table_17467578_1 ( written_by VARCHAR, us_viewers__million_ VARCHAR )
SELECT written_by FROM table_17467578_1 WHERE us_viewers__million_ = "3.96"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4448, 3072, 3940, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 2517, 4448, 3072, 3940, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 5787, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team was the opponent when the score was 25-0?
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "25-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 32, 102, 9977, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 8, 15264, 116, 8, 2604, 47, 204, 29325, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 2604, 3274, 96, 357, 29325, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On October 14, 1996 who was the opponent in the final?
CREATE TABLE table_name_47 ( opponent_in_the_final VARCHAR, date VARCHAR )
SELECT opponent_in_the_final FROM table_name_47 WHERE date = "october 14, 1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 1797, 11363, 6911, 113, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 11363, 6911, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which conflicts took place in Yemen?
CREATE TABLE table_22891 ( "Start of conflict" real, "End of conflict" text, "Conflict" text, "Continent" text, "Location" text, "Branches involved" text )
SELECT "Conflict" FROM table_22891 WHERE "Location" = 'Yemen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 4729, 41, 96, 7681, 17, 13, 4129, 121, 490, 6, 96, 8532, 26, 13, 4129, 121, 1499, 6, 96, 4302, 89, 2176, 17, 121, 1499, 6, 96, 16798, 295, 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, 4302, 89, 2176, 17, 121, 21680, 953, 834, 357, 2577, 4729, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 476, 15, 904, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Visualize a bar chart for what are the ids and names of all start stations that were the beginning of at least 200 trips?, rank from high to low by the X.
CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT )
SELECT start_station_name, start_station_id FROM trip ORDER BY start_station_name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1969, 41, 833, 3, 3463, 4, 382, 6, 9858, 834, 21010, 15, 834, 89, 3, 21342, 17966, 6, 1243, 834, 21010, 15, 834, 89, 3, 21342, 17966, 6, 3519, 834, 21010, 15, 834, 89, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 456, 834, 6682, 834, 4350, 6, 456, 834, 6682, 834, 23, 26, 21680, 1469, 4674, 11300, 272, 476, 456, 834, 6682, 834, 4350, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the countries that have managers of age above 50 or below 46, and count them by a pie chart
CREATE TABLE manager ( Manager_ID int, Name text, Country text, Working_year_starts text, Age int, Level int ) CREATE TABLE train ( Train_ID int, Train_Num text, Name text, From text, Arrival text, Railway_ID int ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, Wheels text, Location text, ObjectNumber text ) CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text )
SELECT Country, COUNT(Country) FROM manager WHERE Age > 50 OR Age < 46 GROUP BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2743, 41, 3440, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6993, 1499, 6, 7301, 834, 1201, 834, 10208, 7, 1499, 6, 7526, 16, 17, 6, 7166, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 10628, 651, 61, 21680, 2743, 549, 17444, 427, 7526, 2490, 943, 4674, 7526, 3, 2, 9668, 350, 4630, 6880, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name, type, and flag of the ship that is built in the most recent year.
CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text )
SELECT name, type, flag FROM ship ORDER BY built_year DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4383, 41, 4383, 834, 23, 26, 381, 6, 564, 1499, 6, 686, 1499, 6, 1192, 834, 1201, 381, 6, 853, 1499, 6, 5692, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1426...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 686, 6, 5692, 21680, 4383, 4674, 11300, 272, 476, 1192, 834, 1201, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Cuba's ICAO?
CREATE TABLE table_name_63 (icao VARCHAR, country VARCHAR)
SELECT icao FROM table_name_63 WHERE country = "cuba"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 2617, 32, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 13052, 31, 7, 3, 15038, 667, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2617, 32, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 684, 3274, 96, 16377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the winner in the Tournament of Graz-Seiersberg?
CREATE TABLE table_name_56 ( winner VARCHAR, tournament VARCHAR )
SELECT winner FROM table_name_56 WHERE tournament = "graz-seiersberg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 4668, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 16, 8, 20502, 13, 350, 7275, 18, 134, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 5892, 3274, 96, 3484, 172, 18, 7, 15, 4518, 2235, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the smallest crowd at a home game for essendon?
CREATE TABLE table_name_97 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_97 WHERE home_team = "essendon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 75, 3623, 26, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 17924, 4374, 44, 3, 9, 234, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 234, 834, 11650, 3274, 96, 8185, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the biggest number of females where the males are at 28.2 with a rank greater than 5?
CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR)
SELECT MAX(females) FROM table_name_46 WHERE males = 28.2 AND rank > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 89, 15, 13513, 7, 3, 21342, 17966, 6, 5069, 7, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2630, 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, 4800, 4, 599, 89, 15, 13513, 7, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 5069, 7, 3274, 2059, 5, 357, 3430, 11003, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the number of customers for each gender.
CREATE TABLE Customers (gender VARCHAR)
SELECT gender, COUNT(*) FROM Customers GROUP BY gender
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 122, 3868, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 381, 13, 722, 21, 284, 7285, 5, 1, 0, 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, 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, 0...
[ 3, 23143, 14196, 7285, 6, 2847, 17161, 599, 1935, 61, 21680, 16423, 350, 4630, 6880, 272, 476, 7285, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the November 3 result when the June 10-11 is 147?
CREATE TABLE table_27521 ( "June 10-11" text, "March 27-29" text, "January 15-16" text, "November 3" text, "August 21-22" text )
SELECT "November 3" FROM table_27521 WHERE "June 10-11" = '147'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 2658, 41, 96, 683, 444, 335, 9169, 121, 1499, 6, 96, 25019, 2307, 18, 3166, 121, 1499, 6, 96, 30404, 627, 10892, 121, 1499, 6, 96, 28635, 220, 121, 1499, 6, 96, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 28635, 220, 121, 21680, 953, 834, 25988, 2658, 549, 17444, 427, 96, 683, 444, 335, 9169, 121, 3274, 3, 31, 24719, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Visa 3 has gui finkler as Visa 1?
CREATE TABLE table_name_83 (visa_3 VARCHAR, visa_1 VARCHAR)
SELECT visa_3 FROM table_name_83 WHERE visa_1 = "gui finkler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 3466, 9, 834, 519, 584, 4280, 28027, 6, 8359, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14203, 220, 65, 3, 7938, 2202, 157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8359, 834, 519, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 8359, 834, 536, 3274, 96, 7938, 2202, 157, 1171, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the date with a hilly stage?
CREATE TABLE table_57196 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Date" FROM table_57196 WHERE "Type" = 'hilly stage'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 26937, 41, 96, 308, 342, 121, 1499, 6, 96, 3881, 3589, 15, 121, 1499, 6, 96, 308, 23, 8389, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18455, 687, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3436, 26937, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 6321, 63, 1726, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many unmarried patients were admitted to hospital before 2177?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear < "2177"
[ 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, 1635, 9538, 834, 8547, 302, 3274, 96, 134, 2365, 3765, 121, 3430, 14798, 5, 20466, 17, 1201, 3, ...
What club does Manuel Fernandes coach?
CREATE TABLE table_60066 ( "Club" text, "Head Coach" text, "City" text, "Stadium" text, "2003\u20132004 season" text )
SELECT "Club" FROM table_60066 WHERE "Head Coach" = 'manuel fernandes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 3539, 41, 96, 254, 11158, 121, 1499, 6, 96, 3845, 9, 26, 9493, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 23948, 2, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 11158, 121, 21680, 953, 834, 6007, 3539, 549, 17444, 427, 96, 3845, 9, 26, 9493, 121, 3274, 3, 31, 348, 76, 15, 40, 3, 8377, 232, 15, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the winner with the loser being russia-2?
CREATE TABLE table_name_66 ( winner VARCHAR, loser VARCHAR )
SELECT winner FROM table_name_66 WHERE loser = "russia-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 4668, 584, 4280, 28027, 6, 2615, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 28, 8, 2615, 52, 271, 3, 26165, 4949, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4668, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 2615, 52, 3274, 96, 26165, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Elimination number is listed againt Eliminated by Sonjay Dutt?
CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR)
SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 15, 40, 23, 14484, 584, 4280, 28027, 6, 17809, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7495, 14484, 381, 19, 2616, 541, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23458, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 17809, 834, 969, 3274, 96, 739, 1191, 63, 146, 17, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was Footscray's opponent on June 15th of 1968?
CREATE TABLE table_name_54 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_54 WHERE away_team = "footscray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 15213, 7, 2935, 63, 31, 7, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 550, 834, 11650, 3274, 96, 6259, 7, 2935, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the bleeding time when the platelet count is decreased or unaffected?
CREATE TABLE table_221653_1 ( bleeding_time VARCHAR, platelet_count VARCHAR )
SELECT bleeding_time FROM table_221653_1 WHERE platelet_count = "Decreased or unaffected"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 2938, 4867, 834, 536, 41, 19021, 834, 715, 584, 4280, 28027, 6, 3829, 1655, 834, 13362, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 19021, 97, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19021, 834, 715, 21680, 953, 834, 2884, 2938, 4867, 834, 536, 549, 17444, 427, 3829, 1655, 834, 13362, 3274, 96, 2962, 24706, 26, 42, 73, 9, 27488, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What place has a score greater than 68, and camilo villegas as the player?
CREATE TABLE table_15545 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Place" FROM table_15545 WHERE "Score" > '68' AND "Player" = 'camilo villegas'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 2128, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 11706, 121, 21680, 953, 834, 20896, 2128, 549, 17444, 427, 96, 134, 9022, 121, 2490, 3, 31, 3651, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 6527, 173, 32, 3, 1420, 5556, 31, 1, -100, -100, -100, -100, ...
Tell me the model for total production of 1347
CREATE TABLE table_name_30 ( model VARCHAR, total_production VARCHAR )
SELECT model FROM table_name_30 WHERE total_production = 1347
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 825, 584, 4280, 28027, 6, 792, 834, 20762, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 825, 21, 792, 999, 13, 1179, 4177, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 825, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 792, 834, 20762, 3274, 1179, 4177, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the least interval between doses for minimum age being 1st dose at 6 weeks old for the diphtheria-pertussis-tetanus vaccine?
CREATE TABLE table_57458 ( "Vaccine" text, "Minimum Age at 1st Dose" text, "Number of Doses" text, "Dose" text, "Minimum Interval Between Doses" text, "Route" text )
SELECT "Minimum Interval Between Doses" FROM table_57458 WHERE "Minimum Age at 1st Dose" = '6 weeks old' AND "Vaccine" = 'diphtheria-pertussis-tetanus vaccine'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 2128, 927, 41, 96, 31334, 15, 121, 1499, 6, 96, 12858, 603, 440, 7526, 44, 209, 7, 17, 531, 7, 15, 121, 1499, 6, 96, 567, 5937, 49, 13, 531, 2260, 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, 12858, 603, 440, 3037, 2165, 13095, 531, 2260, 121, 21680, 953, 834, 3436, 2128, 927, 549, 17444, 427, 96, 12858, 603, 440, 7526, 44, 209, 7, 17, 531, 7, 15, 121, 3274, 3, 31, 948, 1274, 625, 31, 3430, 96, 3...
find the number of patients taking base type drug prescription who had whole blood calculated bicarbonate lab test.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "BASE" AND lab.label = "Calculated Bicarbonate, Whole Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
How many laps does the one ranked 16 have?
CREATE TABLE table_80178 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" text )
SELECT "Laps" FROM table_80178 WHERE "Rank" = '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 27640, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3612, 102, 7, 121, 21680, 953, 834, 2079, 27640, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many schools are there?
CREATE TABLE school (Id VARCHAR)
SELECT COUNT(*) FROM school
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2061, 33, 132, 58, 1, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 496, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the score for december 19
CREATE TABLE table_23453931_5 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_23453931_5 WHERE date = "December 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2128, 3288, 3341, 834, 755, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 20, 75, 18247, 957, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 2773, 2128, 3288, 3341, 834, 755, 549, 17444, 427, 833, 3274, 96, 29835, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of kenesia for african record
CREATE TABLE table_26485 ( "World record" text, "Kenenisa Bekele ( ETH )" text, "26:17.53" text, "Bruxelles , Belgium" text, "26 August 2005" text )
SELECT COUNT("Kenenisa Bekele ( ETH )") FROM table_26485 WHERE "World record" = 'African record'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26755, 4433, 41, 96, 17954, 1368, 121, 1499, 6, 96, 439, 35, 35, 159, 9, 493, 5768, 15, 41, 3, 27333, 3, 61, 121, 1499, 6, 96, 2688, 10, 2517, 5, 4867, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 439, 35, 35, 159, 9, 493, 5768, 15, 41, 3, 27333, 3, 61, 8512, 21680, 953, 834, 26755, 4433, 549, 17444, 427, 96, 17954, 1368, 121, 3274, 3, 31, 29596, 29, 1368, 31, 1, -100, -100, -100, -...
Which company or product was invested in by peter jones with more than 35,000 requested ?
CREATE TABLE table_68428 ( "Episode" text, "First aired" text, "Entrepreneur(s)" text, "Company or product name" text, "Money requested (\u00a3)" real, "Investing Dragon(s)" text )
SELECT "Company or product name" FROM table_68428 WHERE "Money requested (\u00a3)" > '35,000' AND "Investing Dragon(s)" = 'peter jones'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 591, 2577, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 3, 2378, 26, 121, 1499, 6, 96, 16924, 60, 2026, 29, 1238, 599, 7, 61, 121, 1499, 6, 96, 5890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5890, 2837, 63, 42, 556, 564, 121, 21680, 953, 834, 3651, 591, 2577, 549, 17444, 427, 96, 9168, 15, 63, 6709, 41, 2, 76, 1206, 9, 5268, 121, 2490, 3, 31, 519, 5898, 31, 3430, 96, 13898, 53, 10282, 599, 7, ...
Create a bar chart showing the total number across city
CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER )
SELECT city, COUNT(*) FROM station GROUP BY city
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2637, 41, 2478, 834, 23, 26, 3, 21342, 17966, 6, 13490, 834, 28843, 3, 21342, 17966, 6, 12908, 7, 834, 28843, 3, 21342, 17966, 6, 97, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 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, 690, 6, 2847, 17161, 599, 1935, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 690, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
A bar chart shows the number of year of the maximum price and score of wines, and bin the year into the weekday interval, could you rank by the y axis in desc?
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 ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT )
SELECT Year, COUNT(Year) FROM wine ORDER BY COUNT(Year) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11457, 7, 41, 4699, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 6088, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2013, 41, 465, 3, 21342, 17966...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2929, 6, 2847, 17161, 599, 476, 2741, 61, 21680, 2013, 4674, 11300, 272, 476, 2847, 17161, 599, 476, 2741, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the estimated end date for the 2001-037a international designated satellite?
CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)
SELECT estimated_end_date[_clarification_needed_] FROM table_18161217_2 WHERE cospar_id = "2001-037A"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 2938, 2122, 2517, 834, 357, 41, 3340, 51, 920, 834, 989, 834, 5522, 584, 4280, 28027, 6, 3, 834, 23982, 2420, 834, 25797, 834, 584, 4280, 28027, 6, 576, 7, 1893, 834,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5861, 834, 989, 834, 5522, 6306, 834, 23982, 2420, 834, 25797, 834, 908, 21680, 953, 834, 2606, 2938, 2122, 2517, 834, 357, 549, 17444, 427, 576, 7, 1893, 834, 23, 26, 3274, 96, 3632, 18930, 4118, 188, 121, 1, -100,...
What is the card type code with most number of cards?
CREATE TABLE Customers_cards ( card_type_code VARCHAR )
SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 834, 6043, 7, 41, 895, 834, 6137, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 895, 686, 1081, 28, 167, 381, 13, 2190, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 895, 834, 6137, 834, 4978, 21680, 16423, 834, 6043, 7, 350, 4630, 6880, 272, 476, 895, 834, 6137, 834, 4978, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, ...
Which episode has been viewed 6.34 million times?
CREATE TABLE table_15026994_3 (episode VARCHAR, viewing_figure VARCHAR)
SELECT episode FROM table_15026994_3 WHERE viewing_figure = "6.34 million"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12278, 2688, 3264, 591, 834, 519, 41, 15, 102, 159, 32, 221, 584, 4280, 28027, 6, 7426, 834, 9178, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5640, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 21680, 953, 834, 12278, 2688, 3264, 591, 834, 519, 549, 17444, 427, 7426, 834, 9178, 15, 3274, 96, 27865, 591, 770, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the 2011 when the 2010 shows grand slam tournaments?
CREATE TABLE table_name_36 (Id VARCHAR)
SELECT 2011 FROM table_name_36 WHERE 2010 = "grand slam tournaments"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2722, 116, 8, 2735, 1267, 1907, 3, 7, 40, 265, 5892, 7, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2722, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 2735, 3274, 96, 15448, 3, 7, 40, 265, 5892, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When рука / ruka is the serbo-croatian what is the macedonian?
CREATE TABLE table_26757_4 (macedonian VARCHAR, serbo_croatian VARCHAR)
SELECT macedonian FROM table_26757_4 WHERE serbo_croatian = "рука / ruka"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 3436, 834, 591, 41, 11101, 15, 26, 8008, 29, 584, 4280, 28027, 6, 7637, 115, 32, 834, 2771, 9, 12572, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 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, 11486, 15, 26, 8008, 29, 21680, 953, 834, 357, 3708, 3436, 834, 591, 549, 17444, 427, 7637, 115, 32, 834, 2771, 9, 12572, 3274, 96, 23912, 12095, 3, 87, 3, 52, 1598, 9, 121, 1, -100, -100, -100, -100, -100, -100, ...
How many years has 1 run?
CREATE TABLE table_name_53 ( year VARCHAR, score VARCHAR )
SELECT COUNT(year) FROM table_name_53 WHERE score = "1 run"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 215, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 65, 209, 661, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 2604, 3274, 96, 536, 661, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Can you tell me the sum of Starts that the Winnings of $139,774, and the Wins smaller than 0?
CREATE TABLE table_name_37 ( starts INTEGER, winnings VARCHAR, wins VARCHAR )
SELECT SUM(starts) FROM table_name_37 WHERE winnings = "$139,774" AND wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 3511, 3, 21342, 17966, 6, 3447, 7, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 4505, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 10208, 7, 61, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 3447, 7, 3274, 96, 3229, 24090, 6, 4013, 20364, 3430, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose primary disease is chest pain and procedure short title is opn mitral valvuloplasty?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "CHEST PAIN" AND procedures.short_title = "Opn mitral valvuloplasty"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the venue when David Jacobs was the host?
CREATE TABLE table_13912 ( "Year(s)" text, "Selection show" text, "Venue" text, "National final main host" text, "National final co host" text, "Semi final/heat host" text )
SELECT "Venue" FROM table_13912 WHERE "Semi final/heat host" = 'david jacobs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24090, 2122, 41, 96, 476, 2741, 599, 7, 61, 121, 1499, 6, 96, 134, 15, 12252, 504, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 24732, 804, 711, 2290, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 24090, 2122, 549, 17444, 427, 96, 134, 15, 51, 23, 804, 87, 88, 144, 2290, 121, 3274, 3, 31, 26, 9, 6961, 2662, 509, 115, 7, 31, 1, -100, -100, -100, -100, -100, -100...
What event has unknown as the days held.?
CREATE TABLE table_name_98 (event VARCHAR, days_held VARCHAR)
SELECT event FROM table_name_98 WHERE days_held = "unknown"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 15, 2169, 584, 4280, 28027, 6, 477, 834, 14796, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 65, 7752, 38, 8, 477, 1213, 5, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 477, 834, 14796, 3274, 96, 202, 5661, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many Lost have Points larger than 40, and a Position of 11, and a Played smaller than 38?
CREATE TABLE table_name_18 ( lost INTEGER, played VARCHAR, points VARCHAR, position VARCHAR )
SELECT SUM(lost) FROM table_name_18 WHERE points > 40 AND position = 11 AND played < 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 1513, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 17, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 979, 2490, 1283, 3430, 1102, 3274, 850, 3430, 1944, 3, 2, 6654, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which city has a First season of current spell in Segunda Divisi n smaller than 2013?
CREATE TABLE table_68787 ( "Team" text, "City" text, "Founded" real, "First season in Segunda Divisi\u00f3n" real, "First season of current spell in Segunda Divisi\u00f3n" real, "Stadium" text, "Capacity" real, "Field" text, "Top division titles" real, "Last top division title" text )
SELECT "City" FROM table_68787 WHERE "First season of current spell in Segunda Divisi\u00f3n" < '2013'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3940, 940, 41, 96, 18699, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25171, 774, 16, 15696, 1106, 9, 27284, 7, 23, 2, 76, 1206, 89, 519...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 485, 121, 21680, 953, 834, 3651, 3940, 940, 549, 17444, 427, 96, 25171, 774, 13, 750, 10783, 16, 15696, 1106, 9, 27284, 7, 23, 2, 76, 1206, 89, 519, 29, 121, 3, 2, 3, 31, 11138, 31, 1, -100, -100, -10...
What model has a launch of September 3, 2010?
CREATE TABLE table_28269 ( "Model" text, "Launch" text, "Code name" text, "Transistors (million)" real, "Die size (mm 2 )" real, "Bus interface" text, "Memory ( MB )" text, "SM count" real, "Core config 1,3" text, "Core ( MHz )" real, "Shader ( MHz )" real, "Memory ( MHz )" text, "Pixel ( GP /s)" text, "Texture ( GT /s)" text, "Bandwidth ( GB /s)" text, "DRAM type" text, "Bus width ( bit )" real, "GFLOPS (FMA) 2" text, "TDP (watts)" real, "Release price (USD)" text )
SELECT "Model" FROM table_28269 WHERE "Launch" = 'September 3, 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 357, 3951, 41, 96, 24663, 121, 1499, 6, 96, 3612, 202, 524, 121, 1499, 6, 96, 22737, 564, 121, 1499, 6, 96, 18474, 159, 5535, 41, 17030, 61, 121, 490, 6, 96, 8639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24663, 121, 21680, 953, 834, 2577, 357, 3951, 549, 17444, 427, 96, 3612, 202, 524, 121, 3274, 3, 31, 27652, 6180, 2735, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the average attendance when Chicago Bears were the home team?
CREATE TABLE table_71500 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Attendance" real )
SELECT AVG("Attendance") FROM table_71500 WHERE "Home" = 'chicago bears'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 2560, 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, 1649, 7621, 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, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4450, 2560, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 1436, 658, 839, 4595, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the To par of the T3 Player?
CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_63 WHERE place = "t3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 304, 260, 13, 8, 332, 519, 12387, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 286, 3274, 96, 17, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How much money did the company Neurotica request?
CREATE TABLE table_name_39 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
SELECT money_requested__£_ FROM table_name_39 WHERE company_or_product_name = "neurotica"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 28442, 834, 60, 835, 6265, 834, 834, 19853, 834, 584, 4280, 28027, 6, 349, 834, 127, 834, 15892, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 349, 834, 127, 834, 15892, 834, 4350, 3274, 96, 29, 1238, 9798, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Who is the player with a t8 place?
CREATE TABLE table_name_67 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_67 WHERE place = "t8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 20846, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1959, 28, 3, 9, 3, 17, 927, 286, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 286, 3274, 96, 17, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the loan start source when the loan club is fulham?
CREATE TABLE table_name_42 (start_source VARCHAR, loan_club VARCHAR)
SELECT start_source FROM table_name_42 WHERE loan_club = "fulham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 10208, 834, 7928, 584, 4280, 28027, 6, 2289, 834, 13442, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2289, 456, 1391, 116, 8, 2289, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 456, 834, 7928, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 2289, 834, 13442, 3274, 96, 1329, 1483, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which teams has the least wins ?
CREATE TABLE table_204_448 ( id number, "team" text, "winners" number, "runners-up" number, "years won" text, "years runner-up" text )
SELECT "team" FROM table_204_448 WHERE "winners" = (SELECT MIN("winners") FROM table_204_448)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 3707, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 3757, 687, 7, 121, 381, 6, 96, 10806, 7, 18, 413, 121, 381, 6, 96, 1201, 7, 751, 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, 11650, 121, 21680, 953, 834, 26363, 834, 591, 3707, 549, 17444, 427, 96, 3757, 687, 7, 121, 3274, 41, 23143, 14196, 3, 17684, 599, 121, 3757, 687, 7, 8512, 21680, 953, 834, 26363, 834, 3628, 13520, 1, -100, -100...
For each country and airline name, how many routes are there?
CREATE TABLE airlines ( country VARCHAR, name VARCHAR, alid VARCHAR ) CREATE TABLE routes ( alid VARCHAR )
SELECT T1.country, T1.name, COUNT(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.country, T1.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19184, 41, 684, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 3, 9, 8130, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 9729, 41, 3, 9, 8130, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 17529, 6, 332, 5411, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 19184, 6157, 332, 536, 3, 15355, 3162, 9729, 6157, 332, 357, 9191, 332, 5411, 9, 8130, 3274, 332, 4416, 9, 8130, 350, 4630, 6880, 272, 476,...
What's the production code of the episode seen by 7.49 million people in the US?
CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = "7.49"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23188, 4165, 25188, 834, 536, 41, 20762, 834, 4978, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 23188, 4165, 25188, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 940, 5, 3647, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?
CREATE TABLE table_name_34 ( laps INTEGER, time_retired VARCHAR, grid VARCHAR )
SELECT MAX(laps) FROM table_name_34 WHERE time_retired = "+ 2 laps" AND grid = 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 14941, 7, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 1220, 204, 14941, 7, 121, 3430, 8634, 3274, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
In what stadium was the game on August 22, 2008 played?
CREATE TABLE table_name_36 ( stadium VARCHAR, date VARCHAR )
SELECT stadium FROM table_name_36 WHERE date = "august 22, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 14939, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 14939, 47, 8, 467, 30, 1660, 12889, 2628, 1944, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14939, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 833, 3274, 96, 402, 17198, 12889, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many writers write the episode whose director is Jonathan Herron?
CREATE TABLE table_22580855_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT COUNT(written_by) FROM table_22580855_1 WHERE directed_by = "Jonathan Herron"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3449, 4018, 3769, 834, 536, 41, 14973, 834, 969, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5943, 1431, 8, 5640...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 14973, 834, 969, 61, 21680, 953, 834, 2884, 3449, 4018, 3769, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 683, 106, 9, 6736, 8816, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Which team played in game 20?
CREATE TABLE table_18741 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_18741 WHERE "Game" = '20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 4853, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 25828, 4853, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 1755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many of the catholic patients were aged below 45?
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 ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "CATHOLIC" AND demographic.age < "45"
[ 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, 60, 2825, 23, 106, 3274, 96, 18911, 6299, 19624, 121, 3430, 14798, 5, 545, 3, 2, 96, 2128, 121, ...
Please list the countries and years of film market estimations.
CREATE TABLE film_market_estimation ( Year VARCHAR, Market_ID VARCHAR ) CREATE TABLE market ( Country VARCHAR, Market_ID VARCHAR )
SELECT T2.Country, T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 834, 8809, 834, 3340, 51, 257, 41, 2929, 584, 4280, 28027, 6, 3611, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 512, 41, 6993, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10628, 651, 6, 332, 5411, 476, 2741, 21680, 814, 834, 8809, 834, 3340, 51, 257, 6157, 332, 536, 3, 15355, 3162, 512, 6157, 332, 357, 9191, 332, 5411, 22572, 834, 4309, 3274, 332, 4416, 22572, 834, 4309, 1...
What are the terps points for the nov. 25/05 game?
CREATE TABLE table_25452 ( "Date" text, "Location" text, "Opponent" text, "Terps Points" real, "Opp. Points" real, "Record" text )
SELECT "Terps Points" FROM table_25452 WHERE "Date" = 'Nov. 25/05'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2128, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 382, 49, 102, 7, 4564, 7, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 49, 102, 7, 4564, 7, 121, 21680, 953, 834, 1828, 2128, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 4168, 208, 5, 944, 87, 3076, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which is the LMS SPR when the car number was 15?
CREATE TABLE table_name_60 ( lms_spr VARCHAR, car_no VARCHAR )
SELECT lms_spr FROM table_name_60 WHERE car_no = "15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 3, 40, 51, 7, 834, 7, 102, 52, 584, 4280, 28027, 6, 443, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19, 8, 301, 421...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40, 51, 7, 834, 7, 102, 52, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 443, 834, 29, 32, 3274, 96, 1808, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the outcome of the game played on 19-Sep-2006?
CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_68 WHERE date = "19-sep-2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 670, 287, 15, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6138, 13, 8, 467, 1944, 30, 957, 18, 134, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 833, 3274, 96, 2294, 18, 7, 15, 102, 18, 21196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are the champions that have won at Aguas Buenas, Puerto Rico?
CREATE TABLE table_1272033_1 ( champion_s_ VARCHAR, location VARCHAR )
SELECT champion_s_ FROM table_1272033_1 WHERE location = "Aguas Buenas, Puerto Rico"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 18517, 4201, 834, 536, 41, 6336, 834, 7, 834, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 8, 6336, 7, 24, 43, 751, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6336, 834, 7, 834, 21680, 953, 834, 2122, 18517, 4201, 834, 536, 549, 17444, 427, 1128, 3274, 96, 188, 1744, 9, 7, 4708, 35, 9, 7, 6, 17233, 19280, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...