NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which First elected has a Incumbent of none (new seat)?
CREATE TABLE table_name_15 ( first_elected VARCHAR, incumbent VARCHAR )
SELECT first_elected FROM table_name_15 WHERE incumbent = "none (new seat)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 166, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1485, 8160, 65, 3, 9, 1542, 5937, 295, 13, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 19971, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 28406, 3274, 96, 29, 782, 41, 5534, 3143, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many scores have paul casey as a player?
CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR)
SELECT COUNT(score) FROM table_name_87 WHERE player = "paul casey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 7, 9022, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 7586, 43, 2576, 83, 495, 63, 38, 3, 9, 1959, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 1959, 3274, 96, 102, 9, 83, 495, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many teams had a point margin of 48?
CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, points_margin VARCHAR)
SELECT COUNT(eliminated_from_competition) FROM table_28068063_3 WHERE points_margin = 48
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 5176, 2079, 3891, 834, 519, 41, 15, 4941, 77, 920, 834, 7152, 834, 287, 4995, 4749, 584, 4280, 28027, 6, 979, 834, 1635, 122, 77, 584, 4280, 28027, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15, 4941, 77, 920, 834, 7152, 834, 287, 4995, 4749, 61, 21680, 953, 834, 2577, 5176, 2079, 3891, 834, 519, 549, 17444, 427, 979, 834, 1635, 122, 77, 3274, 4678, 1, -100, -100, -100, -100, -100, -10...
Find the number of web accelerators used for each Operating system, show from high to low by the total number.
CREATE TABLE browser ( id int, name text, market_share real ) CREATE TABLE accelerator_compatible_browser ( accelerator_id int, browser_id int, compatible_since_year int ) CREATE TABLE Web_client_accelerator ( id int, name text, Operating_system text, Client text, Connection text )
SELECT Operating_system, COUNT(*) FROM Web_client_accelerator GROUP BY Operating_system ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3509, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 512, 834, 12484, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 30202, 834, 25383, 834, 14853, 7, 49, 41, 30202, 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, 21606, 834, 3734, 6, 2847, 17161, 599, 1935, 61, 21680, 1620, 834, 26693, 834, 6004, 15, 1171, 1016, 350, 4630, 6880, 272, 476, 21606, 834, 3734, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100,...
Which is the smallest pick number that had a Reg GP of less than 0?
CREATE TABLE table_name_44 ( pick__number INTEGER, reg_gp INTEGER )
SELECT MIN(pick__number) FROM table_name_44 WHERE reg_gp < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 5925, 834, 122, 102, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19, 8, 3, 17924, 1432...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 5925, 834, 122, 102, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the most races he had in a season?
CREATE TABLE table_23128286_1 ( races INTEGER )
SELECT MAX(races) FROM table_23128286_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2122, 4613, 3840, 834, 536, 41, 10879, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 167, 10879, 3, 88, 141, 16, 3, 9, 774, 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, 4800, 4, 599, 12614, 7, 61, 21680, 953, 834, 2773, 2122, 4613, 3840, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose ethnicity is american indian/alaska native and primary disease is stemi?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.diagnosis = "STEMI"
[ 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, 15, 189, 2532, 485, 3274, 96, 17683, 5593, 11425, 3, 13885, 21758, 87, 23634, 134, 12048, 3, 25271...
What party did incumbent Howard Coble belong to?
CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341568_34 WHERE incumbent = "Howard Coble"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 3651, 834, 3710, 41, 8071, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 410, 28406, 13816, 638, 2296, 13000, 12, 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, 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, 23747, 1808, 3651, 834, 3710, 549, 17444, 427, 28406, 3274, 96, 7825, 986, 638, 2296, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the home side's score when geelong is the away team?
CREATE TABLE table_name_77 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 596, 31, 7, 2604, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 550, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the number of courses that have two prerequisites for each title in a bar chart, and show by the Y-axis from high to low.
CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) )
SELECT title, COUNT(title) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY COUNT(title) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 740, 3, 4331, 4059, 599, 1808, 201, 1487, 206, 17552, 599, 2122, 6, 7318, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 6, 2847, 17161, 599, 21869, 61, 21680, 503, 6157, 332, 536, 3, 15355, 3162, 554, 60, 1824, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, 19221, 834, 23, 26, 350, 4630, 6880, 272, 476, ...
List the first and last name of students who are not living in the city with code HKG, and sorted the results by their ages.
CREATE TABLE student (fname VARCHAR, lname VARCHAR, city_code VARCHAR, age VARCHAR)
SELECT fname, lname FROM student WHERE city_code <> 'HKG' ORDER BY age
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 89, 4350, 584, 4280, 28027, 6, 3, 40, 4350, 584, 4280, 28027, 6, 690, 834, 4978, 584, 4280, 28027, 6, 1246, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 89, 4350, 6, 3, 40, 4350, 21680, 1236, 549, 17444, 427, 690, 834, 4978, 3, 2, 3155, 3, 31, 566, 18256, 31, 4674, 11300, 272, 476, 1246, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the length of the track located in Taylorville, Illinois?
CREATE TABLE table_8592 ( "Track Name" text, "Location" text, "Length" text, "Sanction" text, "Program" text )
SELECT "Length" FROM table_8592 WHERE "Location" = 'taylorville, illinois'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4433, 4508, 41, 96, 382, 16729, 5570, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 134, 152, 4985, 121, 1499, 6, 96, 3174, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 4606, 189, 121, 21680, 953, 834, 4433, 4508, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 17, 9, 63, 322, 1420, 6, 3, 1092, 77, 32, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940?
CREATE TABLE table_name_11 ( tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR )
SELECT tonnage___grt__ FROM table_name_11 WHERE fate = "sunk" AND deaths < 17 AND date = "16 november 1940"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 12, 29, 9761, 834, 834, 834, 122, 52, 17, 834, 834, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 15126, 584, 4280, 28027, 6, 14319, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 12, 29, 9761, 834, 834, 834, 122, 52, 17, 834, 834, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 15126, 3274, 96, 7, 6513, 121, 3430, 14319, 3, 2, 1003, 3430, 833, 3274, 96, 2938, 3, 5326, 18247, 15830, 121,...
List the all the assets make, model, details by the disposed date ascendingly.
CREATE TABLE Assets ( asset_make VARCHAR, asset_model VARCHAR, asset_details VARCHAR, asset_disposed_date VARCHAR )
SELECT asset_make, asset_model, asset_details FROM Assets ORDER BY asset_disposed_date
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18202, 7, 41, 7000, 834, 19509, 584, 4280, 28027, 6, 7000, 834, 21770, 584, 4280, 28027, 6, 7000, 834, 221, 5756, 7, 584, 4280, 28027, 6, 7000, 834, 24830, 834, 5522, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7000, 834, 19509, 6, 7000, 834, 21770, 6, 7000, 834, 221, 5756, 7, 21680, 18202, 7, 4674, 11300, 272, 476, 7000, 834, 24830, 834, 5522, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people lived in the census division spread out on 9909.31 km2 in 1996?
CREATE TABLE table_2134521_1 (pop__1996_ VARCHAR, area__km²_ VARCHAR)
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "9909.31"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2368, 2128, 2658, 834, 536, 41, 9791, 834, 834, 2294, 4314, 834, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, 584, 4280, 28027, 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, 0, 0...
[ 3, 23143, 14196, 2783, 834, 834, 2294, 4314, 834, 21680, 953, 834, 357, 2368, 2128, 2658, 834, 536, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 96, 3264, 12900, 3341, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the high grid for osella - alfa romeo, and a Laps larger than 61?
CREATE TABLE table_52091 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MAX("Grid") FROM table_52091 WHERE "Constructor" = 'osella - alfa romeo' AND "Laps" > '61'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25356, 4729, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 13313, 26, 8512, 21680, 953, 834, 25356, 4729, 549, 17444, 427, 96, 4302, 7593, 127, 121, 3274, 3, 31, 32, 7, 5303, 3, 18, 491, 89, 9, 3, 11956, 32, 31, 3430, 96, 3612, 102, 7, 121, 2490, 3,...
Name the team classification for stage of 6
CREATE TABLE table_67468 ( "Stage" text, "Winner" text, "General classification" text, "Points Classification" text, "Team Classification" text )
SELECT "Team Classification" FROM table_67468 WHERE "Stage" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 591, 3651, 41, 96, 134, 6505, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 4501, 2420, 121, 1499, 6, 96, 18699, 4501, 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, 0, 0...
[ 3, 23143, 14196, 96, 18699, 4501, 2420, 121, 21680, 953, 834, 3708, 591, 3651, 549, 17444, 427, 96, 134, 6505, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the total against in uefa champions league/european cup with more than 1 draw?
CREATE TABLE table_69960 ( "Competition" text, "Played" real, "Draw" real, "Lost" real, "Against" real )
SELECT SUM("Against") FROM table_69960 WHERE "Competition" = 'uefa champions league/european cup' AND "Draw" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 27699, 41, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 20749, 121, 490, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 20749, 8512, 21680, 953, 834, 3951, 27699, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 76, 15, 89, 9, 6336, 7, 5533, 87, 28188, 152, 4119, 31, 3430, 96, 308, 10936, 121, 2490, 3, ...
What is Year Named, when Longitude is 227.5E?
CREATE TABLE table_name_42 (year_named VARCHAR, longitude VARCHAR)
SELECT year_named FROM table_name_42 WHERE longitude = "227.5e"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 1201, 834, 4350, 26, 584, 4280, 28027, 6, 307, 20341, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2929, 5570, 26, 6, 116, 3230, 20341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 834, 4350, 26, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 307, 20341, 3274, 96, 2884, 15731, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which role had thulasidas direction?
CREATE TABLE table_name_55 (role VARCHAR, direction VARCHAR)
SELECT role FROM table_name_55 WHERE direction = "thulasidas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 3491, 15, 584, 4280, 28027, 6, 2212, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1075, 141, 3, 189, 76, 27702, 7664, 2212, 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, 1075, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 2212, 3274, 96, 189, 76, 27702, 7664, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which IHSAA Class has a Location of linton?
CREATE TABLE table_name_83 ( ihsaa_class VARCHAR, location VARCHAR )
SELECT ihsaa_class FROM table_name_83 WHERE location = "linton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 3, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 27, 4950, 5498, 4501, 65, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 23, 107, 7, 9, 9, 834, 4057, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1128, 3274, 96, 40, 23, 6992, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Give the title and credits for the course that is taught in the classroom with the greatest capacity.
CREATE TABLE takes ( id text, course_id text, sec_id text, semester text, year number, grade text ) CREATE TABLE classroom ( building text, room_number text, capacity number ) CREATE TABLE advisor ( s_id text, i_id text ) CREATE TABLE teaches ( id text, course_id text, sec_id text, semester text, year number ) CREATE TABLE course ( course_id text, title text, dept_name text, credits number ) CREATE TABLE prereq ( course_id text, prereq_id text ) CREATE TABLE department ( dept_name text, building text, budget number ) CREATE TABLE instructor ( id text, name text, dept_name text, salary number ) CREATE TABLE student ( id text, name text, dept_name text, tot_cred number ) CREATE TABLE time_slot ( time_slot_id text, day text, start_hr number, start_min number, end_hr number, end_min number ) CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text )
SELECT T3.title, T3.credits FROM classroom AS T1 JOIN section AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT MAX(capacity) FROM classroom)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1217, 41, 3, 23, 26, 1499, 6, 503, 834, 23, 26, 1499, 6, 4220, 834, 23, 26, 1499, 6, 10542, 1499, 6, 215, 381, 6, 2769, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 21869, 6, 332, 5787, 15547, 7, 21680, 4858, 6157, 332, 536, 3, 15355, 3162, 1375, 6157, 332, 357, 9191, 332, 5411, 10905, 3274, 332, 4416, 10905, 3430, 332, 5411, 3082, 834, 5525, 1152, 3274, 332, 4416, 308...
Which venue has a Score of 1 0, and a Competition of 2002 world cup qualifier?
CREATE TABLE table_name_91 ( venue VARCHAR, score VARCHAR, competition VARCHAR )
SELECT venue FROM table_name_91 WHERE score = "1–0" AND competition = "2002 world cup qualifier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 5669, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 65, 3, 9, 17763, 13, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 2604, 3274, 96, 536, 104, 632, 121, 3430, 2259, 3274, 96, 24898, 296, 4119, 10597, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find id of candidates whose assessment code is 'Pass'?
CREATE TABLE courses ( course_id text, course_name text, course_description text, other_details text ) CREATE TABLE candidate_assessments ( candidate_id number, qualification text, assessment_date time, asessment_outcome_code text ) CREATE TABLE addresses ( address_id number, line_1 text, line_2 text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE student_course_registrations ( student_id number, course_id number, registration_date time ) CREATE TABLE students ( student_id number, student_details text ) CREATE TABLE student_course_attendance ( student_id number, course_id number, date_of_attendance time ) CREATE TABLE people_addresses ( person_address_id number, person_id number, address_id number, date_from time, date_to time ) CREATE TABLE people ( person_id number, first_name text, middle_name text, last_name text, cell_mobile_number text, email_address text, login_name text, password text ) CREATE TABLE candidates ( candidate_id number, candidate_details text )
SELECT candidate_id FROM candidate_assessments WHERE asessment_outcome_code = "Pass"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2996, 41, 503, 834, 23, 26, 1499, 6, 503, 834, 4350, 1499, 6, 503, 834, 221, 11830, 1499, 6, 119, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 1709...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4775, 834, 23, 26, 21680, 4775, 834, 3974, 7, 7, 4128, 549, 17444, 427, 38, 15, 7, 7, 297, 834, 670, 287, 15, 834, 4978, 3274, 96, 20192, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients have been prescribed the drug gemfibrozil?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Gemfibrozil"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who is the captain of the Gloucestershire Gladiators?
CREATE TABLE table_18461635_1 (captain VARCHAR, team VARCHAR)
SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4448, 2938, 2469, 834, 536, 41, 4010, 17, 9, 77, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 14268, 13, 8, 30000, 5718...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14268, 21680, 953, 834, 2606, 4448, 2938, 2469, 834, 536, 549, 17444, 427, 372, 3274, 96, 517, 40, 1063, 565, 1370, 5718, 14240, 23, 6230, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What number game happened on November 19?
CREATE TABLE table_name_44 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_name_44 WHERE date = "november 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 7261, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 467, 2817, 30, 1671, 957, 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, 4800, 4, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the home team when grimsby town was the away team?
CREATE TABLE table_12654 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_12654 WHERE "Away team" = 'grimsby town'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21976, 5062, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 21976, 5062, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 3496, 51, 7, 969, 1511, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the rank of the gatchaman Jinpei?
CREATE TABLE table_name_38 ( rank VARCHAR, gatchaman VARCHAR )
SELECT rank FROM table_name_38 WHERE gatchaman = "jinpei"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 11003, 584, 4280, 28027, 6, 3, 5497, 3441, 348, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 8, 3, 5497, 3441, 348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 3, 5497, 3441, 348, 3274, 96, 354, 77, 855, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how much larger was the attendance on 11/25/2013 than 12/21/2013 ?
CREATE TABLE table_204_168 ( id number, "date" text, "time" text, "opponent" text, "site" text, "tv" text, "result" text, "attendance" number, "record" text )
SELECT (SELECT "attendance" FROM table_204_168 WHERE "date" = '11/25/2013') - (SELECT "attendance" FROM table_204_168 WHERE "date" = '12/21/2013')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 24274, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 3585, 121, 1499, 6, 96, 17, 208, 121, 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, 41, 23143, 14196, 96, 15116, 663, 121, 21680, 953, 834, 26363, 834, 24274, 549, 17444, 427, 96, 5522, 121, 3274, 3, 31, 2596, 87, 1828, 87, 11138, 31, 61, 3, 18, 41, 23143, 14196, 96, 15116, 663, 121, 21680, 953, ...
the least number of points belongs to whom ?
CREATE TABLE table_203_439 ( id number, "pos." number, "rider" text, "semi-final points" number, "final points" number, "final heats" text, "total points" number )
SELECT "rider" FROM table_203_439 ORDER BY "total points" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3288, 41, 3, 23, 26, 381, 6, 96, 2748, 535, 381, 6, 96, 4055, 49, 121, 1499, 6, 96, 7, 15, 51, 23, 18, 12406, 979, 121, 381, 6, 96, 12406, 979, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4055, 49, 121, 21680, 953, 834, 23330, 834, 591, 3288, 4674, 11300, 272, 476, 96, 235, 1947, 979, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the number of international and domestic passengers of the airport named London 'Heathrow'?
CREATE TABLE airport ( International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR )
SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 41, 1331, 834, 20192, 4606, 277, 584, 4280, 28027, 6, 23610, 834, 20192, 4606, 277, 584, 4280, 28027, 6, 5735, 834, 23954, 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, 1331, 834, 20192, 4606, 277, 6, 23610, 834, 20192, 4606, 277, 21680, 3761, 549, 17444, 427, 5735, 834, 23954, 3274, 96, 29712, 7862, 107, 3623, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the segment c for couscous
CREATE TABLE table_19937 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT "Segment C" FROM table_19937 WHERE "Segment B" = 'Couscous'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19479, 4118, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 9688, 89, 17591, 121, 1499, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 122, 297, 205, 121, 21680, 953, 834, 19479, 4118, 549, 17444, 427, 96, 134, 15, 122, 297, 272, 121, 3274, 3, 31, 254, 1162, 3422, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What driver has Scott Zipadelli as a crew chief?
CREATE TABLE table_15656 ( "Team" text, "Car(s)" text, "Driver(s)" text, "Primary Sponsor(s)" text, "Owner(s)" text, "Crew Chief" text )
SELECT "Driver(s)" FROM table_15656 WHERE "Crew Chief" = 'scott zipadelli'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25463, 4834, 41, 96, 18699, 121, 1499, 6, 96, 6936, 599, 7, 61, 121, 1499, 6, 96, 20982, 52, 599, 7, 61, 121, 1499, 6, 96, 7855, 51, 1208, 19254, 599, 7, 61, 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, 20982, 52, 599, 7, 61, 121, 21680, 953, 834, 25463, 4834, 549, 17444, 427, 96, 254, 60, 210, 5116, 121, 3274, 3, 31, 7, 10405, 10658, 9, 26, 7999, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of the total of the player who won in 1979?
CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 235, 1947, 3, 21342, 17966, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 8, 792, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 2294, 4440, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Total of the Player who won in 1979 with a To par of less than 11?
CREATE TABLE table_name_28 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
SELECT MAX(total) FROM table_name_28 WHERE year_s__won = "1979" AND to_par < 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 235, 1947, 3, 21342, 17966, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 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, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 2294, 4440, 121, 3430, 12, 834, 1893, 3, 2, 850, 1, -100, -100, -100, -100, -100, -100, ...
what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)?
CREATE TABLE table_name_75 ( fa_cup_goals INTEGER, total_goals VARCHAR, total_apps VARCHAR )
SELECT MAX(fa_cup_goals) FROM table_name_75 WHERE total_goals > 3 AND total_apps = "31 (1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 3, 89, 9, 834, 4658, 834, 839, 5405, 3, 21342, 17966, 6, 792, 834, 839, 5405, 584, 4280, 28027, 6, 792, 834, 3096, 7, 584, 4280, 28027, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 89, 9, 834, 4658, 834, 839, 5405, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 792, 834, 839, 5405, 2490, 220, 3430, 792, 834, 3096, 7, 3274, 96, 3341, 5637, 121, 1, -100, -100, -100, -100,...
Show all branch names with the number of members in each branch registered after 2015 with a bar chart.
CREATE TABLE membership_register_branch ( Member_ID int, Branch_ID text, Register_Year text ) CREATE TABLE member ( Member_ID int, Card_Number text, Name text, Hometown text, Level int ) CREATE TABLE branch ( Branch_ID int, Name text, Open_year text, Address_road text, City text, membership_amount text ) CREATE TABLE purchase ( Member_ID int, Branch_ID text, Year text, Total_pounds real )
SELECT Name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.Branch_ID = T2.Branch_ID WHERE T1.Register_Year > 2015 GROUP BY T2.Branch_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 22149, 834, 1939, 5457, 41, 8541, 834, 4309, 16, 17, 6, 14009, 834, 4309, 1499, 6, 12306, 834, 476, 2741, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 4757, 834, 22149, 834, 1939, 5457, 6157, 332, 536, 3, 15355, 3162, 6421, 6157, 332, 357, 9191, 332, 5411, 18304, 5457, 834, 4309, 3274, 332, 4416, 18304, 5457, 834, 4309, 54...
On June 8, what's the loss when the Blue Jays played the Tigers?
CREATE TABLE table_71514 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Loss" FROM table_71514 WHERE "Opponent" = 'tigers' AND "Date" = 'june 8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1808, 2534, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 1649, 7621, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 7, 7, 121, 21680, 953, 834, 940, 1808, 2534, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 2880, 277, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 6959, 15, 505, 31, 1, -100, -100, -100, -10...
Name the episode for vic reeves and claudia winkleman
CREATE TABLE table_23292220_7 ( episode VARCHAR, seans_team VARCHAR )
SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3166, 2884, 1755, 834, 940, 41, 5640, 584, 4280, 28027, 6, 142, 3247, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5640, 21, 3, 7287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 21680, 953, 834, 2773, 3166, 2884, 1755, 834, 940, 549, 17444, 427, 142, 3247, 834, 11650, 3274, 96, 553, 447, 419, 15, 162, 7, 11, 27292, 4871, 9434, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Which department has Guy-Dominique Kennel as president since 2008?
CREATE TABLE table_name_54 (départment__or_collectivity_ VARCHAR, since VARCHAR, président VARCHAR)
SELECT départment__or_collectivity_ FROM table_name_54 WHERE since = 2008 AND président = "guy-dominique kennel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 3764, 2274, 297, 834, 834, 127, 834, 22153, 10696, 834, 584, 4280, 28027, 6, 437, 584, 4280, 28027, 6, 10613, 584, 4280, 28027, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12173, 297, 834, 834, 127, 834, 22153, 10696, 834, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 437, 3274, 2628, 3430, 10613, 3274, 96, 1744, 63, 18, 5012, 77, 1495, 3, 9376, 15, 40, 121, 1, -100, -100, -100, ...
What is the code of each location and the number of documents in that location Show bar chart, and list total number in asc order.
CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) )
SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 834, 4135, 1071, 4128, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 7678, 834, 28719, 26, 309, 6048, 382, 15382, 6, 11167, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 11167, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10450, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 11167, 834, 434, 32, 75, 1628, 350, 4630, 6880, 272, 476, 10450, 834, 22737, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100,...
what patient 011-55642's age is when they visited the hospital last time?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT patient.age FROM patient WHERE patient.uniquepid = '011-55642' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 545, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2596, 4525, 4834, 4165, 31, 3430, 4486, 1868, 5, 31386, 26, 159, 7993, 715, 6827, 13046, 10376, 4674, 11300, 272, 476, 1868, 5...
What is the series number for the Golden Frog?
CREATE TABLE table_2161859_1 (series__number VARCHAR, title VARCHAR)
SELECT series__number FROM table_2161859_1 WHERE title = "The Golden Frog"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 2606, 3390, 834, 536, 41, 10833, 7, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 939, 381, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 939, 834, 834, 5525, 1152, 21680, 953, 834, 27184, 2606, 3390, 834, 536, 549, 17444, 427, 2233, 3274, 96, 634, 7100, 377, 3822, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the aggregate for the first round for K.S.V. Waregem?
CREATE TABLE table_name_54 ( aggregate VARCHAR, round VARCHAR, club VARCHAR )
SELECT aggregate FROM table_name_54 WHERE round = "first round" AND club = "k.s.v. waregem"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 12955, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12955, 21, 8, 166, 175...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12955, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1751, 3274, 96, 14672, 1751, 121, 3430, 1886, 3274, 96, 157, 5, 7, 5, 208, 5, 3, 3404, 397, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
in the 2003 summer universiade , which countries had more gold medals than japan ?
CREATE TABLE table_203_739 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_739 WHERE "gold" > (SELECT "gold" FROM table_203_739 WHERE "nation" = 'japan')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 3288, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 940, 3288, 549, 17444, 427, 96, 14910, 121, 2490, 41, 23143, 14196, 96, 14910, 121, 21680, 953, 834, 23330, 834, 940, 3288, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, ...
count the number of patients whose days of hospital stay is greater than 0 and procedure long title is intravenous infusion of clofarabine?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "0" AND procedures.long_title = "Intravenous infusion of clofarabine"
[ 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,...
count the number of patients whose primary disease is brain mass;intracranial hemorrhage and age is less than 61?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND demographic.age < "61"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 22899, 3162, 4800, 4256, 117, 13777, 22034, 16375, 15397, 3, 6021, 5365,...
What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface?
CREATE TABLE table_47284 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text )
SELECT "Outcome" FROM table_47284 WHERE "Surface" = 'hard' AND "Partner" = 'akiko yonemura'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 357, 4608, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15767, 287, 15, 121, 21680, 953, 834, 4177, 357, 4608, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 5651, 31, 3430, 96, 13725, 687, 121, 3274, 3, 31, 1639, 12027, 3, 63, 782, 11054, 9, 31, 1, -100,...
How many years did caroline lubrez win?
CREATE TABLE table_name_19 ( year INTEGER, winner VARCHAR )
SELECT SUM(year) FROM table_name_19 WHERE winner = "caroline lubrez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 215, 3, 21342, 17966, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 410, 443, 32, 747, 3, 11158, 2638, 1369, 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, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 4668, 3274, 96, 1720, 32, 747, 3, 11158, 2638, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What 1951 has dne for 1948?
CREATE TABLE table_40820 ( "1935" text, "1936" text, "1937" text, "1938" text, "1939" text, "1940" text, "1941" text, "1943" text, "1945" text, "1946" text, "1947" text, "1948" text, "1949" text, "1950" text, "1951" text, "1952" text, "1953" text )
SELECT "1951" FROM table_40820 WHERE "1948" = 'dne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 927, 1755, 41, 96, 2294, 2469, 121, 1499, 6, 96, 2294, 3420, 121, 1499, 6, 96, 2294, 4118, 121, 1499, 6, 96, 2294, 3747, 121, 1499, 6, 96, 2294, 3288, 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, 2294, 5553, 121, 21680, 953, 834, 2445, 927, 1755, 549, 17444, 427, 96, 2294, 3707, 121, 3274, 3, 31, 26, 29, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the game was played at Mile High Stadium before week 9, what was the result?
CREATE TABLE table_name_87 ( result VARCHAR, week VARCHAR, game_site VARCHAR )
SELECT result FROM table_name_87 WHERE week < 9 AND game_site = "mile high stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 467, 834, 3585, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 467, 47, 1944, 44, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 471, 3, 2, 668, 3430, 467, 834, 3585, 3274, 96, 8770, 306, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Where is the city of Maharashtra's Pune team?
CREATE TABLE table_66770 ( "Team" text, "City" text, "State" text, "Home venue" text, "Capacity" real )
SELECT "City" FROM table_66770 WHERE "State" = 'maharashtra' AND "Team" = 'pune'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 26920, 41, 96, 18699, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 19040, 5669, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 254, 485, 121, 21680, 953, 834, 3539, 26920, 549, 17444, 427, 96, 134, 4748, 121, 3274, 3, 31, 51, 9, 3272, 3198, 1313, 31, 3430, 96, 18699, 121, 3274, 3, 31, 6225, 15, 31, 1, -100, -100, -100, -100, -100, -...
Which Yards has an Avg larger than 7, and a Long smaller than 60, and a Rec larger than 19, and a Player of correll buckhalter?
CREATE TABLE table_name_90 ( yards INTEGER, player VARCHAR, rec VARCHAR, avg VARCHAR, long VARCHAR )
SELECT AVG(yards) FROM table_name_90 WHERE avg > 7 AND long < 60 AND rec > 19 AND player = "correll buckhalter"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 6460, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 5026, 584, 4280, 28027, 6, 3, 9, 208, 122, 584, 4280, 28027, 6, 307, 584, 4280, 28027, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 6636, 7, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 3, 9, 208, 122, 2490, 489, 3430, 307, 3, 2, 1640, 3430, 5026, 2490, 957, 3430, 1959, 3274, 96, 509, 21290, 3, 13863, 24611, 121, 1, ...
What is the Location for the woodburn dragstrip?
CREATE TABLE table_35741 ( "Name" text, "Location" text, "State" text, "Opened (closing date if defunct)" text, "Surface" text, "Length" text )
SELECT "Location" FROM table_35741 WHERE "Name" = 'woodburn dragstrip'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 4581, 536, 41, 96, 23954, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 22696, 15, 26, 41, 3903, 7, 53, 833, 3, 99, 20, 253...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 2469, 4581, 536, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2037, 7223, 5439, 7, 14192, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the bus width (in bit) of the model whose core is 650 MHz?
CREATE TABLE table_22857 ( "Model" text, "Year" text, "Code name" text, "Fab ( nm )" real, "Bus interface" text, "Transistor count (Millions)" real, "Memory max ( MiB )" text, "Core ( MHz )" real, "Memory ( MHz )" text, "Type" text, "Bus Width ( Bit )" real, "DirectX" text, "Shader Model" text, "OpenGL" text, "Maximum Resolution" text, "IceQ4 Cooling System" text, "Notes" text )
SELECT COUNT("Bus Width ( Bit )") FROM table_22857 WHERE "Core ( MHz )" = '650'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 3436, 41, 96, 24663, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 22737, 564, 121, 1499, 6, 96, 17477, 41, 3, 29, 51, 3, 61, 121, 490, 6, 96, 7793, 7, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7793, 7, 2142, 26, 189, 41, 12830, 3, 61, 8512, 21680, 953, 834, 357, 2577, 3436, 549, 17444, 427, 96, 13026, 15, 41, 3, 20210, 3, 61, 121, 3274, 3, 31, 15348, 31, 1, -100, -100, -100, -10...
What team was he on when he had 10 f/laps?
CREATE TABLE table_24491017_1 (team VARCHAR, f_laps VARCHAR)
SELECT team FROM table_24491017_1 WHERE f_laps = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3647, 1714, 2517, 834, 536, 41, 11650, 584, 4280, 28027, 6, 3, 89, 834, 8478, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 3, 88, 30, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 2266, 3647, 1714, 2517, 834, 536, 549, 17444, 427, 3, 89, 834, 8478, 7, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which championship has a winning score of (77-76-74-73=300)?
CREATE TABLE table_name_88 (championship VARCHAR, winning_score VARCHAR)
SELECT championship FROM table_name_88 WHERE winning_score = (77 - 76 - 74 - 73 = 300)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 17788, 12364, 2009, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 10183, 65, 3, 9, 3447, 2604, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10183, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 3447, 834, 7, 9022, 3274, 41, 4013, 3, 18, 3, 3959, 3, 18, 3, 4581, 3, 18, 3, 4552, 3274, 3147, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is admission location and discharge time of subject id 17787?
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 ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.admission_location, demographic.dischtime FROM demographic WHERE demographic.subject_id = "17787"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 14836, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 26793, 4225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the away team was Geelong, what was the home team score?
CREATE TABLE table_name_97 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team AS score FROM table_name_97 WHERE away_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 550, 372, 47, 961, 15, 2961, 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, 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, 4327, 549, 17444, 427, 550, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
calculate the maximum age of female patients who were 85 years or more.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.age >= "85"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 545, 2490, 2423, 96, 4433, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Calculate the maximum age of patients with brain mass; intracranial hemorrhage as primary disease who died before 2180.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MAX(demographic.age) FROM demographic WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND demographic.dod_year < "2180.0"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 22899, 3162, 4800, 4256, 117, 13777, 22034, 16375, 15397, 3, 6021, 5365, 12224, 566, 11187, 121, 3430, 14798, ...
Show the code of the product that is cheapest in each product category and the minimum price with a scatterplot.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Code, MIN(Price) FROM Products GROUP BY Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3636, 6, 3, 17684, 599, 345, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 3636, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What stage number had the general classification Rory Sutherland?
CREATE TABLE table_23157997_13 ( stage VARCHAR, general_classification VARCHAR )
SELECT COUNT(stage) FROM table_23157997_13 WHERE general_classification = "Rory Sutherland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 1808, 4440, 4327, 834, 2368, 41, 1726, 584, 4280, 28027, 6, 879, 834, 4057, 2420, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1726, 381, 141, 8, 879, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10705, 61, 21680, 953, 834, 2773, 1808, 4440, 4327, 834, 2368, 549, 17444, 427, 879, 834, 4057, 2420, 3274, 96, 448, 127, 63, 1923, 532, 7721, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the television service that has package with sky tv, and it in Italian English?
CREATE TABLE table_42862 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text )
SELECT "Television service" FROM table_42862 WHERE "Package/Option" = 'sky tv' AND "Language" = 'italian english'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 3840, 357, 41, 96, 382, 400, 6610, 313, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 4302, 4669, 121, 1499, 6, 96, 11083, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 400, 6610, 313, 121, 21680, 953, 834, 4165, 3840, 357, 549, 17444, 427, 96, 24376, 545, 87, 9546, 106, 121, 3274, 3, 31, 5352, 3, 17, 208, 31, 3430, 96, 434, 1468, 76, 545, 121, 3274, 3, 31, 155, 9, 9...
What is the sum of Bronze when the total is more than 27?
CREATE TABLE table_76077 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Bronze") FROM table_76077 WHERE "Total" > '27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28212, 4013, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 28212, 4013, 549, 17444, 427, 96, 3696, 1947, 121, 2490, 3, 31, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the actors name that vadim ilyenko directed?
CREATE TABLE table_10236830_1 ( actors_name VARCHAR, director VARCHAR )
SELECT actors_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2773, 3651, 1458, 834, 536, 41, 10485, 834, 4350, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 10485, 564, 24, 409, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10485, 834, 4350, 21680, 953, 834, 1714, 2773, 3651, 1458, 834, 536, 549, 17444, 427, 2090, 3274, 96, 553, 9, 26, 603, 27, 120, 18994, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Country, when Player is 'Jack Nicklaus'?
CREATE TABLE table_name_56 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_56 WHERE player = "jack nicklaus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6993, 6, 116, 12387, 19, 3, 31, 683, 4365, 7486, 40, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 1959, 3274, 96, 9325, 3, 11191, 40, 2064, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many games were played by the player with 927 points?
CREATE TABLE table_2208838_4 (played VARCHAR, points VARCHAR)
SELECT played FROM table_2208838_4 WHERE points = 927
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1755, 4060, 3747, 834, 591, 41, 4895, 15, 26, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 130, 1944, 57, 8, 1959, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1944, 21680, 953, 834, 357, 1755, 4060, 3747, 834, 591, 549, 17444, 427, 979, 3274, 668, 2555, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the airdate of the episode of production code 214?
CREATE TABLE table_30757 ( "No in. series" real, "No in. season" real, "Title" text, "Original air date" text, "Production Code" real, "U.S. viewers (millions)" text )
SELECT "Original air date" FROM table_30757 WHERE "Production Code" = '214'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 3072, 940, 41, 96, 4168, 16, 5, 939, 121, 490, 6, 96, 4168, 16, 5, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 667, 3380, 10270, 799, 833, 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, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 1458, 3072, 940, 549, 17444, 427, 96, 3174, 8291, 3636, 121, 3274, 3, 31, 27357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
On what NHL team does Roman Vopat play for?
CREATE TABLE table_name_57 ( nhl_team VARCHAR, player VARCHAR )
SELECT nhl_team FROM table_name_57 WHERE player = "roman vopat"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 22313, 372, 405, 3385, 3152, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 107, 40, 834, 11650, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 1959, 3274, 96, 3522, 152, 3, 1621, 4665, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When was the player with 51 caps from a Club/province of clermont born?
CREATE TABLE table_name_4 ( date_of_birth__age_ VARCHAR, caps VARCHAR, club_province VARCHAR )
SELECT date_of_birth__age_ FROM table_name_4 WHERE caps = 51 AND club_province = "clermont"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 833, 834, 858, 834, 20663, 834, 834, 545, 834, 584, 4280, 28027, 6, 16753, 584, 4280, 28027, 6, 1886, 834, 1409, 2494, 565, 584, 4280, 28027, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 20663, 834, 834, 545, 834, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 16753, 3274, 11696, 3430, 1886, 834, 1409, 2494, 565, 3274, 96, 75, 1171, 4662, 121, 1, -100, -100, -100, -100, -100, ...
give me the number of patients whose drug type is base and lab test name is calculated bicarbonate, whole blood?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id 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...
What is Inaba's maximum score?
CREATE TABLE table_22450 ( "Week #" real, "Dance/Song" text, "Inaba" real, "Goodman" real, "Tonioli" real, "Result" text )
SELECT MAX("Inaba") FROM table_22450
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 10593, 41, 96, 518, 10266, 1713, 121, 490, 6, 96, 308, 663, 87, 134, 2444, 121, 1499, 6, 96, 1570, 8699, 121, 490, 6, 96, 20639, 348, 121, 490, 6, 96, 382, 106, 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, 4800, 4, 599, 121, 1570, 8699, 8512, 21680, 953, 834, 2884, 10593, 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,...
Show me about the distribution of Sex and the amount of Sex , and group by attribute Sex in a bar chart, list by the bars in ascending.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 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, 679, 226, 6, 2847, 17161, 599, 134, 994, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the avg/g of Rhines, Chris, who has an effic greater than 73.95?
CREATE TABLE table_77351 ( "Name" text, "GP-GS" text, "Effic" real, "Cmp-Att-Int" text, "Avg/G" real )
SELECT "Avg/G" FROM table_77351 WHERE "Effic" > '73.95' AND "Name" = 'rhines, chris'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 2469, 536, 41, 96, 23954, 121, 1499, 6, 96, 8049, 18, 8256, 121, 1499, 6, 96, 29421, 447, 121, 490, 6, 96, 254, 1167, 18, 188, 17, 17, 18, 1570, 17, 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, 188, 208, 122, 87, 517, 121, 21680, 953, 834, 4013, 2469, 536, 549, 17444, 427, 96, 29421, 447, 121, 2490, 3, 31, 4552, 5, 3301, 31, 3430, 96, 23954, 121, 3274, 3, 31, 52, 107, 4477, 6, 3, 524, 52, 159, 31...
how many times did internacional de madrid cf end the season at the top of their division ?
CREATE TABLE table_203_783 ( id number, "season" text, "tier" number, "division" text, "place" text )
SELECT COUNT(*) FROM table_203_783 WHERE "place" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3940, 519, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 3276, 121, 381, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 4687, 121, 1499, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 3940, 519, 549, 17444, 427, 96, 4687, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the error that has a size (steps) more than 5 and a just (cents) value 536.95
CREATE TABLE table_name_65 ( error VARCHAR, size__steps_ VARCHAR, just__cents_ VARCHAR )
SELECT error FROM table_name_65 WHERE size__steps_ > 5 AND just__cents_ = 536.95
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 3505, 584, 4280, 28027, 6, 812, 834, 834, 7910, 7, 834, 584, 4280, 28027, 6, 131, 834, 834, 3728, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3505, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 812, 834, 834, 7910, 7, 834, 2490, 305, 3430, 131, 834, 834, 3728, 7, 834, 3274, 305, 3420, 5, 3301, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose gender is m and year of birth is less than 2156?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.dob_year < "2156"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, 96, 2658, 4834, 1...
What was the place with 90 point total but a position less than 5?
CREATE TABLE table_name_12 (place VARCHAR, position VARCHAR, points VARCHAR)
SELECT place FROM table_name_12 WHERE position < 5 AND points = 90
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 4687, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 286, 28, 2777, 500, 792, 68...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1102, 3, 2, 305, 3430, 979, 3274, 2777, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is senghenydd rfc's points for?
CREATE TABLE table_name_37 ( points_for VARCHAR, club VARCHAR )
SELECT points_for FROM table_name_37 WHERE club = "senghenydd rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 979, 834, 1161, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 7, 4606, 3225, 63, 26, 26, 3, 52, 89, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 834, 1161, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 1886, 3274, 96, 7, 4606, 3225, 63, 26, 26, 3, 52, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the height of the player who currently plays for Alta Gesti n Fuenlabrada?
CREATE TABLE table_80282 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text )
SELECT "Height" FROM table_80282 WHERE "Current Club" = 'alta gestión fuenlabrada'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 2577, 357, 41, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 121, 490, 6, 96, 254, 450, 5320,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 2632, 121, 21680, 953, 834, 2079, 2577, 357, 549, 17444, 427, 96, 254, 450, 5320, 1949, 121, 3274, 3, 31, 2920, 9, 7671, 23, 15742, 7683, 35, 9339, 14842, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many people attended Junction Oval?
CREATE TABLE table_name_17 ( crowd INTEGER, venue VARCHAR )
SELECT SUM(crowd) FROM table_name_17 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 4374, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 5526, 29092, 411, 2165, 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, 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, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 2517, 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,...
What is the time of the game after week 4 against the Baltimore Ravens?
CREATE TABLE table_name_67 ( time___et__ VARCHAR, week VARCHAR, opponent VARCHAR )
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 97, 834, 834, 834, 15, 17, 834, 834, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 834, 834, 15, 17, 834, 834, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 471, 2490, 314, 3430, 15264, 3274, 96, 3849, 17, 23, 3706, 25226, 29, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?
CREATE TABLE table_70230 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text )
SELECT "Location" FROM table_70230 WHERE "Winner" = 'baltimore colts' AND "Year" < '1972' AND "Result" = '14-6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 13427, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 7, 49, 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, 434, 32, 75, 257, 121, 21680, 953, 834, 2518, 13427, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 3849, 17, 23, 3706, 7632, 17, 7, 31, 3430, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 5865, 31, 3430, 96,...
For all employees who have the letters D or S in their first name, draw a line chart about the change of employee_id over hire_date , and list in desc by the x axis please.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY HIRE_DATE DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 14...
how many years did he play where he did not recover a fumble ?
CREATE TABLE table_204_756 ( id number, "year" number, "team" text, "games" number, "combined tackles" number, "tackles" number, "assisted tackles" number, "sacks" number, "forced fumbles" number, "fumble recoveries" number, "fumble return yards" number, "interceptions" number, "interception return yards" number, "yards per interception return" number, "longest interception return" number, "interceptions returned for touchdown" number, "passes defended" number )
SELECT COUNT("year") FROM table_204_756 WHERE "fumble recoveries" = 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3072, 948, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 11650, 121, 1499, 6, 96, 7261, 7, 121, 381, 6, 96, 287, 12712, 26, 8000, 7, 121, 381, 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, 2847, 17161, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 3072, 948, 549, 17444, 427, 96, 89, 13514, 8303, 725, 121, 3274, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Catalog of the RCA release?
CREATE TABLE table_name_58 (catalog VARCHAR, label VARCHAR)
SELECT catalog FROM table_name_58 WHERE label = "rca"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 2138, 9, 2152, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 22424, 13, 8, 3, 25404, 1576, 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, 10173, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 3783, 3274, 96, 52, 658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the race name that the driver Innes Ireland won?
CREATE TABLE table_name_3 (race_name VARCHAR, winning_driver VARCHAR)
SELECT race_name FROM table_name_3 WHERE winning_driver = "innes ireland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 12614, 834, 4350, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1964, 564, 24, 8, 2535,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1964, 834, 4350, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 14029, 7, 3, 2060, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the position for nhl team being los angeles kings
CREATE TABLE table_1965650_3 ( position VARCHAR, nhl_team VARCHAR )
SELECT position FROM table_1965650_3 WHERE nhl_team = "Los Angeles Kings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4122, 15348, 834, 519, 41, 1102, 584, 4280, 28027, 6, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1102, 21, 3, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 2294, 4122, 15348, 834, 519, 549, 17444, 427, 3, 29, 107, 40, 834, 11650, 3274, 96, 434, 32, 7, 4975, 13913, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide me the location of admission and short title of diagnoses for patient with patient id 29541.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.admission_location, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "29541"
[ 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, 14798, 5, 9, 26, 5451, 834, 14836, 6, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549,...
What is the Absorbtion (in nanometers) of the color Orange?
CREATE TABLE table_name_40 ( absorb__nm_ VARCHAR, color VARCHAR )
SELECT absorb__nm_ FROM table_name_40 WHERE color = "orange"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 8074, 834, 834, 29, 51, 834, 584, 4280, 28027, 6, 945, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 891, 23651, 1575, 41, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8074, 834, 834, 29, 51, 834, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 945, 3274, 96, 32, 5517, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total share for an episode with an air date of November 19, 2007?
CREATE TABLE table_name_2 ( share INTEGER, air_date VARCHAR )
SELECT SUM(share) FROM table_name_2 WHERE air_date = "november 19, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 698, 3, 21342, 17966, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 698, 21, 46, 5640, 28, 46, 799, 833,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 12484, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 799, 834, 5522, 3274, 96, 5326, 18247, 12370, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of email and commission_pct .
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT EMAIL, COMMISSION_PCT 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, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 20211, 3502, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283,...
who was the only player from australia ?
CREATE TABLE table_203_555 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number )
SELECT "player" FROM table_203_555 WHERE "country" = 'australia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 28803, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 121, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20846, 121, 21680, 953, 834, 23330, 834, 28803, 549, 17444, 427, 96, 17529, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For the flyers, what's the minimum capacity?
CREATE TABLE table_16384648_2 (capacity INTEGER, team_nickname VARCHAR)
SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = "Flyers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3747, 4448, 3707, 834, 357, 41, 4010, 9, 6726, 3, 21342, 17966, 6, 372, 834, 11191, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 3971, 277, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4010, 9, 6726, 61, 21680, 953, 834, 2938, 3747, 4448, 3707, 834, 357, 549, 17444, 427, 372, 834, 11191, 4350, 3274, 96, 371, 120, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Adelaide has a Melbourne of yes, an Auckland of yes, and a Perth of yes?
CREATE TABLE table_name_2 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR)
SELECT adelaide FROM table_name_2 WHERE melbourne = "yes" AND auckland = "yes" AND perth = "yes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 15311, 5385, 584, 4280, 28027, 6, 399, 189, 584, 4280, 28027, 6, 3, 2341, 26255, 584, 4280, 28027, 6, 3, 9, 4636, 40, 232, 584, 4280, 28027, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15311, 5385, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 3, 2341, 26255, 3274, 96, 10070, 121, 3430, 3, 9, 4636, 40, 232, 3274, 96, 10070, 121, 3430, 399, 189, 3274, 96, 10070, 121, 1, -100, -100, -100, -...
What is the highest year that a candidate was first elected?
CREATE TABLE table_1341738_11 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1341738_11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2517, 3747, 834, 2596, 41, 14672, 834, 19971, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 215, 24, 3, 9, 4775, 47, 166, 8160, 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, 4800, 4, 599, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2517, 3747, 834, 2596, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position that has m tyres and 352 or more laps?
CREATE TABLE table_name_56 ( pos VARCHAR, tyres VARCHAR, laps VARCHAR )
SELECT pos FROM table_name_56 WHERE tyres = "m" AND laps > 352
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 3, 2748, 584, 4280, 28027, 6, 3, 17, 63, 60, 7, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 24,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 2748, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 3, 17, 63, 60, 7, 3274, 96, 51, 121, 3430, 14941, 7, 2490, 3097, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What couple had vote percentage of 21.843%?
CREATE TABLE table_19744915_22 ( couple VARCHAR, vote_percentage VARCHAR )
SELECT couple FROM table_19744915_22 WHERE vote_percentage = "21.843%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4581, 3647, 1808, 834, 2884, 41, 1158, 584, 4280, 28027, 6, 2902, 834, 883, 3728, 545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1158, 141, 2902, 529...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1158, 21680, 953, 834, 2294, 4581, 3647, 1808, 834, 2884, 549, 17444, 427, 2902, 834, 883, 3728, 545, 3274, 96, 2658, 5, 4608, 5170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...