NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
How many cup apps for the season where there are more than 10 league goals and 23 league apps?
CREATE TABLE table_name_17 ( cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR )
SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 4119, 834, 3096, 7, 584, 4280, 28027, 6, 5533, 834, 839, 5405, 584, 4280, 28027, 6, 5533, 834, 3096, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4119, 834, 3096, 7, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 5533, 834, 839, 5405, 2490, 335, 3430, 5533, 834, 3096, 7, 3274, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
mention the admission type of patient with patinet id 29961?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.admission_type FROM demographic WHERE demographic.subject_id = "29961"
[ 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, 14798, 5, 9, 26, 5451, 834, 6137, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 357, 3264, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In what barony are both the townland Dawstown and the civil parish Matehy located?
CREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR, civil_parish VARCHAR)
SELECT barony FROM table_30120566_1 WHERE townland = "Dawstown" AND civil_parish = "Matehy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 23201, 3539, 834, 536, 41, 1047, 106, 63, 584, 4280, 28027, 6, 1511, 40, 232, 584, 4280, 28027, 6, 3095, 834, 1893, 1273, 584, 4280, 28027, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1207, 106, 63, 21680, 953, 834, 25626, 23201, 3539, 834, 536, 549, 17444, 427, 1511, 40, 232, 3274, 96, 308, 9, 210, 7, 3540, 121, 3430, 3095, 834, 1893, 1273, 3274, 96, 329, 342, 107, 63, 121, 1, -100, -100, -100...
Which Championship has a Scoreboard that is 22-14?
CREATE TABLE table_name_74 (champion VARCHAR, scoreboard VARCHAR)
SELECT champion FROM table_name_74 WHERE scoreboard = "22-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 17788, 12364, 584, 4280, 28027, 6, 2604, 1976, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7666, 65, 3, 9, 17763, 1976, 24, 19, 1630, 1159...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6336, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 2604, 1976, 3274, 96, 2884, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest place with more than 26 goals scored, 18 goals conceded, and a draw entry of 6?
CREATE TABLE table_name_10 ( place INTEGER, goals_scored VARCHAR, draw VARCHAR, goals_conceded VARCHAR )
SELECT MIN(place) FROM table_name_10 WHERE draw = 6 AND goals_conceded = 18 AND goals_scored > 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 286, 3, 21342, 17966, 6, 1766, 834, 3523, 1271, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 6, 1766, 834, 11620, 221, 26, 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, 3, 17684, 599, 4687, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 3314, 3274, 431, 3430, 1766, 834, 11620, 221, 26, 3274, 507, 3430, 1766, 834, 3523, 1271, 2490, 2208, 1, -100, -100, -100, -100, -100, -100, ...
Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998?
CREATE TABLE table_name_48 ( runners_up VARCHAR, winners VARCHAR, date VARCHAR )
SELECT runners_up FROM table_name_48 WHERE winners = "cork city f.c." AND date = "10/05/1998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 16448, 834, 413, 584, 4280, 28027, 6, 8969, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 16448, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16448, 834, 413, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 8969, 3274, 96, 5715, 157, 690, 3, 89, 5, 75, 535, 3430, 833, 3274, 96, 1714, 31911, 2294, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is Result, when Year is greater than 1999, when White is 'Kramnik', and when Tournament is 'Mainz CC Champions Duel (5)'?
CREATE TABLE table_name_77 ( result VARCHAR, tournament VARCHAR, year VARCHAR, white VARCHAR )
SELECT result FROM table_name_77 WHERE year > 1999 AND white = "kramnik" AND tournament = "mainz cc champions duel (5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 741, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 872, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 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, 741, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 215, 2490, 5247, 3430, 872, 3274, 96, 157, 2375, 4953, 121, 3430, 5892, 3274, 96, 7484, 172, 3, 75, 75, 6336, 7, 788, 40, 3, 15757, 121, 1, -100, -100, -100,...
intracranial bleed or intracranial hypertension during this hospital admission
CREATE TABLE table_train_7 ( "id" int, "bleeding" int, "hypotension" bool, "burn_injury" int, "hypoperfusion" bool, "hypertension" bool, "age" float, "lactate" int, "NOUSE" float )
SELECT * FROM table_train_7 WHERE bleeding = 1 OR hypertension = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 940, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 13397, 32, 13177, 121, 3, 12840, 40, 6, 96, 7223, 834, 77, 10609, 63, 121, 16, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 940, 549, 17444, 427, 19021, 3274, 209, 4674, 6676, 13177, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Tournament has an Opponent of meike babel?
CREATE TABLE table_name_92 ( tournament VARCHAR, opponent VARCHAR )
SELECT tournament FROM table_name_92 WHERE opponent = "meike babel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 5892, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 20502, 65, 46, 4495, 9977, 13, 140, 5208, 3, 115, 10333, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 15264, 3274, 96, 526, 5208, 3, 115, 10333, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who won the episode in which Sean Lock was Rufus's guest?
CREATE TABLE table_23440 ( "Episode" text, "First broadcast" text, "Rufus guest" text, "Marcus guest" text, "Winner" text )
SELECT "Winner" FROM table_23440 WHERE "Rufus guest" = 'Sean Lock'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 22335, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 6878, 121, 1499, 6, 96, 17137, 89, 302, 3886, 121, 1499, 6, 96, 7286, 1071, 7, 3886, 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, 18455, 687, 121, 21680, 953, 834, 2773, 22335, 549, 17444, 427, 96, 17137, 89, 302, 3886, 121, 3274, 3, 31, 134, 15, 152, 10039, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the total number of segment c for pressure cookers
CREATE TABLE table_15187735_13 (segment_c VARCHAR, segment_a VARCHAR)
SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a = "Pressure Cookers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 2368, 41, 7, 15, 122, 297, 834, 75, 584, 4280, 28027, 6, 5508, 834, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 15, 122, 297, 834, 75, 61, 21680, 953, 834, 26578, 27697, 2469, 834, 2368, 549, 17444, 427, 5508, 834, 9, 3274, 96, 24313, 1462, 6176, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Which Score has High assists of rodriguez (8)?
CREATE TABLE table_9843 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_9843 WHERE "High assists" = 'rodriguez (8)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3916, 4906, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3916, 4906, 549, 17444, 427, 96, 21417, 13041, 121, 3274, 3, 31, 9488, 3380, 76, 457, 3, 28007, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Under what series was the 3.5 release?
CREATE TABLE table_16279520_1 (series VARCHAR, release VARCHAR)
SELECT series FROM table_16279520_1 WHERE release = "3.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2555, 3301, 1755, 834, 536, 41, 10833, 7, 584, 4280, 28027, 6, 1576, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3526, 125, 939, 47, 8, 3, 9285, 1576, 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, 939, 21680, 953, 834, 2938, 2555, 3301, 1755, 834, 536, 549, 17444, 427, 1576, 3274, 96, 9285, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many courses are provided in each year? Visualize with a line chart, and order x-axis in descending order.
CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) 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 student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,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 takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) )
SELECT year, COUNT(*) FROM section GROUP BY year ORDER BY year DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 554, 60, 1824, 41, 503, 834, 23, 26, 3, 4331, 4059, 28007, 6, 554, 60, 1824, 834, 23, 26, 3, 4331, 4059, 28007, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1375, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 215, 6, 2847, 17161, 599, 1935, 61, 21680, 1375, 350, 4630, 6880, 272, 476, 215, 4674, 11300, 272, 476, 215, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the home team with a result of 105-99?
CREATE TABLE table_name_32 ( home_team VARCHAR, result VARCHAR )
SELECT home_team FROM table_name_32 WHERE result = "105-99"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 234, 834, 11650, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 28, 3, 9, 741, 13, 3, 12869...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 741, 3274, 96, 12869, 18, 3264, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the low score for TO par +2 in japan?
CREATE TABLE table_name_5 ( score INTEGER, to_par VARCHAR, country VARCHAR )
SELECT MIN(score) FROM table_name_5 WHERE to_par = "+2" AND country = "japan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 2604, 3, 21342, 17966, 6, 12, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 731, 2604, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 12, 834, 1893, 3274, 96, 1220, 357, 121, 3430, 684, 3274, 96, 1191, 2837, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose ethnicity is black/haitian and primary disease is aortic insufficiency\re-do sternotomy; aortic valve replacement ?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 = "BLACK/HAITIAN" AND demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT "
[ 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, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 5478, 3177, 21758, 121, 3430, 14798, 5, 25930, 4844...
How many times was Robert Gesink a winner?
CREATE TABLE table_3803 ( "Stage" real, "Winner" text, "General classification" text, "Mountains Classification" text, "Points classification" text, "Sprints Classification" text, "Team Classification" text )
SELECT COUNT("Mountains Classification") FROM table_3803 WHERE "Winner" = 'Robert Gesink'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22671, 519, 41, 96, 134, 6505, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77, 7, 4501, 2420, 121, 1499, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 329, 32, 14016, 77, 7, 4501, 2420, 8512, 21680, 953, 834, 22671, 519, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 24372, 49, 17, 961, 7, 6090, 31, 1, -100, -100, -100, -100, -100, -10...
What was the Against when the Opposing Team was sheffield wednesday?
CREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR)
SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 9, 16720, 7, 17, 584, 4280, 28027, 6, 10720, 53, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 20749, 116, 8, 4495, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 581, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 10720, 53, 834, 11650, 3274, 96, 7, 88, 89, 1846, 62, 26, 1496, 1135, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?
CREATE TABLE table_25042332_22 ( preschool__0_5_years_ VARCHAR, tertiary__18_24_years_ VARCHAR )
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 591, 2773, 2668, 834, 2884, 41, 21232, 834, 834, 632, 834, 755, 834, 1201, 7, 834, 584, 4280, 28027, 6, 3, 449, 17, 23, 1208, 834, 834, 2606, 834, 2266, 834, 1201, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 21232, 834, 834, 632, 834, 755, 834, 1201, 7, 834, 21680, 953, 834, 11434, 591, 2773, 2668, 834, 2884, 549, 17444, 427, 3, 449, 17, 23, 1208, 834, 834, 2606, 834, 2266, 834, 1201, 7, 834, 3274, 96, 3166, 5, 3769, ...
What is the score for set 2 when the score of set 1 is 19 25?
CREATE TABLE table_name_70 ( set_2 VARCHAR, set_1 VARCHAR )
SELECT set_2 FROM table_name_70 WHERE set_1 = "19–25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 356, 834, 357, 584, 4280, 28027, 6, 356, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 356, 204, 116, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 356, 834, 357, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 356, 834, 536, 3274, 96, 2294, 104, 1828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
find the number of patients diagnosed with the need for prophylactic vaccination and inoculation against viral hepatitis who had to stay for more than 6 days in hospital.
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "6" AND diagnoses.long_title = "Need for prophylactic vaccination and inoculation against viral hepatitis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
what is admission location and discharge location of subject id 17787?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "17787"
[ 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, 14798, 5, 9, 26, 5451, 834, 14836, 6, 14798, 5, 26, 159, 7993, 834, 14836, 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, ...
Which state has a royal house of Ying?
CREATE TABLE table_name_66 (state VARCHAR, royal_house VARCHAR)
SELECT state FROM table_name_66 WHERE royal_house = "ying"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 5540, 584, 4280, 28027, 6, 11268, 834, 1840, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 538, 65, 3, 9, 11268, 629, 13, 3, 476, 53, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 538, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 11268, 834, 1840, 3274, 96, 8149, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?
CREATE TABLE table_27755603_2 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_27755603_2 WHERE high_points = "Rodney Stuckey (16)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3072, 4834, 4928, 834, 357, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 410, 8, 306, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 2555, 3072, 4834, 4928, 834, 357, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 448, 32, 26, 3186, 472, 4636, 15, 63, 19198, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Name the date for l 89 92 (ot)
CREATE TABLE table_23284271_11 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_23284271_11 WHERE score = "L 89–92 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 4165, 4450, 834, 2596, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 3, 40, 3, 3914, 3, 4508, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2773, 2577, 4165, 4450, 834, 2596, 549, 17444, 427, 2604, 3274, 96, 434, 3, 3914, 104, 4508, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?
CREATE TABLE table_39177 ( "Team" text, "Copa Libertadores 1999" text, "Copa Mercosur 1999" text, "Copa CONMEBOL 1999" text, "Intercontinental Cup 1999" text )
SELECT "Copa CONMEBOL 1999" FROM table_39177 WHERE "Copa Libertadores 1999" = 'did not qualify' AND "Team" = 'cruzeiro'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 26793, 41, 96, 18699, 121, 1499, 6, 96, 3881, 102, 9, 12774, 17, 10097, 7, 5247, 121, 1499, 6, 96, 3881, 102, 9, 4039, 509, 3042, 5247, 121, 1499, 6, 96, 3881, 102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3881, 102, 9, 8472, 4369, 279, 5194, 5247, 121, 21680, 953, 834, 3288, 26793, 549, 17444, 427, 96, 3881, 102, 9, 12774, 17, 10097, 7, 5247, 121, 3274, 3, 31, 12416, 59, 9448, 31, 3430, 96, 18699, 121, 3274, 3,...
What in the series number of the episode written by Lauren Gussis?
CREATE TABLE table_24132083_1 ( no_in_series INTEGER, written_by VARCHAR )
SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Lauren Gussis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2368, 1755, 4591, 834, 536, 41, 150, 834, 77, 834, 10833, 7, 3, 21342, 17966, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 16, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 29, 32, 834, 77, 834, 10833, 7, 61, 21680, 953, 834, 2266, 2368, 1755, 4591, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 19281, 29, 350, 21516, 7, 121, 1, -100, -100, -100, -100, -100, -100...
how many times was liechtenstein the opponent ?
CREATE TABLE table_203_138 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT COUNT(DISTINCT "date") FROM table_203_138 WHERE "opponent" = 'liechtenstein'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 22744, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 96, 5522, 8512, 21680, 953, 834, 23330, 834, 22744, 549, 17444, 427, 96, 32, 102, 9977, 121, 3274, 3, 31, 1896, 7049, 4008, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the to par of the player from the United States with a t1 place?
CREATE TABLE table_name_76 (to_par VARCHAR, country VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_76 WHERE country = "united states" AND place = "t1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 235, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 286, 3274, 96, 17, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the to par for the player with fewer than 148 total points?
CREATE TABLE table_name_53 ( to_par INTEGER, total INTEGER )
SELECT SUM(to_par) FROM table_name_53 WHERE total < 148
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 12, 834, 1893, 3, 21342, 17966, 6, 792, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 21, 8, 1959, 28, 3, 10643, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 792, 3, 2, 3, 24748, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Country has a 67 score by Phil Mickelson?
CREATE TABLE table_name_89 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT country FROM table_name_89 WHERE score = 67 AND player = "phil mickelson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 17529, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 6993, 65, 3, 9, 3, 3708, 2604, 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, 684, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 2604, 3274, 3, 3708, 3430, 1959, 3274, 96, 18118, 1337, 15259, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Points has a Performer of rob burke band?
CREATE TABLE table_name_7 ( points VARCHAR, performer VARCHAR )
SELECT COUNT(points) FROM table_name_7 WHERE performer = "rob burke band"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 979, 584, 4280, 28027, 6, 1912, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, 7, 65, 3, 9, 22871, 49, 13, 3, 5840, 7018, 105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1912, 49, 3274, 96, 5840, 7018, 1050, 1928, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the developer when the 1.2 is 341s0297 thru 300?
CREATE TABLE table_name_70 ( kinka_developer VARCHAR, kinka_12 VARCHAR )
SELECT kinka_developer FROM table_name_70 WHERE kinka_12 = "341s0297 thru 300"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 3, 2917, 1258, 834, 29916, 49, 584, 4280, 28027, 6, 3, 2917, 1258, 834, 2122, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7523,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 2917, 1258, 834, 29916, 49, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3, 2917, 1258, 834, 2122, 3274, 96, 3710, 536, 7, 4305, 4327, 20380, 3147, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many of the patients admitted to emergency had icd9 code 6549?
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "6549"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
oh what is the maximum value of rdw on patient 027-69729 in 07/2104?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-69729')) AND lab.labname = 'rdw' AND STRFTIME('%y-%m', lab.labresulttime) = '2104-07'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 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, 4800, 4, 599, 9339, 5, 9339, 60, 7, 83, 17, 61, 21680, 7690, 549, 17444, 427, 7690, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, ...
What's the area of the voivodenship with 51 communes?
CREATE TABLE table_17005 ( "Abbreviation" text, "Voivodeship" text, "Capital" text, "Area km\u00b2 (1998)" text, "Population (1980)" text, "No. of cities" real, "No. of communes" real )
SELECT "Area km\u00b2 (1998)" FROM table_17005 WHERE "No. of communes" = '51'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26774, 755, 41, 96, 8952, 1999, 2099, 257, 121, 1499, 6, 96, 553, 32, 23, 1621, 221, 2009, 121, 1499, 6, 96, 19566, 9538, 121, 1499, 6, 96, 188, 864, 2280, 2, 76, 1206, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 864, 2280, 2, 76, 1206, 115, 357, 41, 29430, 121, 21680, 953, 834, 26774, 755, 549, 17444, 427, 96, 4168, 5, 13, 9026, 7, 121, 3274, 3, 31, 5553, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Record, when November is less than 10, and when Game is less than 13?
CREATE TABLE table_name_19 (record VARCHAR, november VARCHAR, game VARCHAR)
SELECT record FROM table_name_19 WHERE november < 10 AND game < 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 60, 7621, 584, 4280, 28027, 6, 3, 5326, 18247, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11392, 6, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 3, 5326, 18247, 3, 2, 335, 3430, 467, 3, 2, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which WNBA team that won at least 2 championships was established most recently?
CREATE TABLE table_name_54 ( established INTEGER, league VARCHAR, championships VARCHAR )
SELECT MAX(established) FROM table_name_54 WHERE league = "wnba" AND championships > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 2127, 3, 21342, 17966, 6, 5533, 584, 4280, 28027, 6, 10183, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 21170, 4882, 372, 24, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 24109, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 5533, 3274, 96, 210, 29, 115, 9, 121, 3430, 10183, 7, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the fewest number of draws for teams with more than 0 byes?
CREATE TABLE table_68703 ( "Bellarine FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT MIN("Draws") FROM table_68703 WHERE "Byes" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 2518, 519, 41, 96, 279, 5303, 9249, 7212, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 308, 10936, 7, 8512, 21680, 953, 834, 3651, 2518, 519, 549, 17444, 427, 96, 279, 10070, 121, 2490, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?
CREATE TABLE table_55346 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Bronze") FROM table_55346 WHERE "Total" < '3' AND "Nation" = 'poland' AND "Rank" > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 519, 4448, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 3769, 519, 4448, 549, 17444, 427, 96, 3696, 1947, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 567, 257, 121, 3274, 3, 31, 3233, 232, 31, 3430, 96, 22557, 12...
Which FA Cup is the highest one that has a Malaysia Cup of 0, and a Player of ahmad fouzee masuri, and a Total larger than 0?
CREATE TABLE table_37018 ( "Player" text, "League" real, "Malaysia Cup" real, "FA Cup" real, "Total" real )
SELECT MAX("FA Cup") FROM table_37018 WHERE "Malaysia Cup" = '0' AND "Player" = 'ahmad fouzee masuri' AND "Total" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 2606, 41, 96, 15800, 49, 121, 1499, 6, 96, 2796, 9, 5398, 121, 490, 6, 96, 329, 9, 20244, 23, 9, 3802, 121, 490, 6, 96, 4795, 3802, 121, 490, 6, 96, 3696, 1947, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4795, 3802, 8512, 21680, 953, 834, 22520, 2606, 549, 17444, 427, 96, 329, 9, 20244, 23, 9, 3802, 121, 3274, 3, 31, 632, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 9, 107, 11374, 21114, 776, 15...
What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?
CREATE TABLE table_name_24 ( wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR )
SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 29719, 7, 3, 21342, 17966, 6, 1348, 584, 4280, 28027, 6, 147, 7, 584, 4280, 28027, 6, 1959, 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, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 5981, 15, 17, 7, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 147, 7, 2490, 8537, 3430, 1959, 3274, 96, 3768, 1273, 3, 3304, 4476, 121, 3430, 1348, 2490, 209, 26195, 1, -100, -100, -100, ...
Who was the director of the episode with a season after 8 and an episode of XVI?
CREATE TABLE table_36321 ( "Episode" text, "Season" real, "Production code" text, "Original air date" text, "Directed by" text )
SELECT "Directed by" FROM table_36321 WHERE "Season" > '8' AND "Episode" = 'xvi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 519, 2658, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 490, 6, 96, 3174, 8291, 1081, 121, 1499, 6, 96, 667, 3380, 10270, 799, 833, 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, 23620, 15, 26, 57, 121, 21680, 953, 834, 3420, 519, 2658, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 2490, 3, 31, 927, 31, 3430, 96, 427, 102, 159, 32, 221, 121, 3274, 3, 31, 226, 2099, 31, 1, -100, -100, ...
how many times did s bastien bourdais win the champ car world series between 2005 and 2007 ?
CREATE TABLE table_203_99 ( id number, "season" number, "date" text, "driver" text, "team" text, "chassis" text, "engine" text, "race distance\nlaps" number, "race distance\nmiles (km)" text, "race time" text, "average speed\n(mph)" number, "report" text )
SELECT COUNT(*) FROM table_203_99 WHERE "season" >= 2005 AND "season" <= 2007 AND "driver" = 'sebastien bourdais'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3264, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 13739, 52, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 524, 6500, 7, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 3264, 549, 17444, 427, 96, 9476, 121, 2490, 2423, 3105, 3430, 96, 9476, 121, 3, 2, 2423, 4101, 3430, 96, 13739, 52, 121, 3274, 3, 31, 7, 15, 4883, 15945, 3,...
What date did the 90-94 year old have a tie of 1:25.91 at the LC pool?
CREATE TABLE table_name_25 ( date VARCHAR, time VARCHAR, age_group VARCHAR, pool VARCHAR )
SELECT date FROM table_name_25 WHERE age_group = "90-94" AND pool = "lc" AND time = "1:25.91"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 833, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 1246, 834, 10739, 584, 4280, 28027, 6, 2201, 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, 833, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 1246, 834, 10739, 3274, 96, 2394, 18, 4240, 121, 3430, 2201, 3274, 96, 40, 75, 121, 3430, 97, 3274, 96, 536, 10, 1828, 5, 4729, 121, 1, -100, -100, -100, -10...
What's the school that has an enrollment more than 441 with chargers as their mascot?
CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 6646, 584, 4280, 28027, 6, 17938, 584, 4280, 28027, 6, 3, 2754, 4310, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 496, 24, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 17938, 2490, 314, 4853, 3430, 3, 2754, 4310, 3274, 96, 7993, 52, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of losses when there were less than 4 draws, and points were 9?
CREATE TABLE table_63816 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real )
SELECT "Losses" FROM table_63816 WHERE "Draws" < '4' AND "Points" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3747, 2938, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13526, 7, 121, 21680, 953, 834, 948, 3747, 2938, 549, 17444, 427, 96, 308, 10936, 7, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 22512, 7, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -...
WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?
CREATE TABLE table_77264 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "College" text )
SELECT "College" FROM table_77264 WHERE "Round" > '9' AND "Player" = 'butch webster'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 26755, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 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, 9939, 7883, 121, 21680, 953, 834, 4013, 26755, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 1298, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 2780, 524, 765, 1370, 31, 1, -100, -100, -100, -100, -100, ...
Return a bar chart showing the number of documents for each document type description, could you order Y-axis in ascending order?
CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_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 Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) )
SELECT Document_Type_Description, COUNT(Document_Type_Description) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY COUNT(Document_Type_Description)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6288, 7, 41, 6288, 834, 4309, 3, 21342, 17966, 6, 16836, 834, 4309, 3, 21342, 17966, 6, 6288, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11167, 834, 25160, 834, 2962, 11830, 6, 2847, 17161, 599, 4135, 1071, 297, 834, 25160, 834, 2962, 11830, 61, 21680, 419, 89, 834, 4135, 1071, 297, 834, 25160, 7, 6157, 332, 536, 3, 15355, 3162, 11167, 7, 6157, 332, ...
When did the Club of western new york flash begin to play?
CREATE TABLE table_name_50 (began_play VARCHAR, club VARCHAR)
SELECT began_play FROM table_name_50 WHERE club = "western new york flash"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 346, 2565, 834, 4895, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 1949, 13, 8282, 126, 25453, 4923, 1731...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1553, 834, 4895, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 1886, 3274, 96, 24411, 126, 25453, 4923, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the rank when the mountain peak is isthmus peak?
CREATE TABLE table_47379 ( "Rank" real, "Mountain Peak" text, "Region" text, "Mountain Range" text, "Location" text )
SELECT "Rank" FROM table_47379 WHERE "Mountain Peak" = 'isthmus peak'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 519, 4440, 41, 96, 22557, 121, 490, 6, 96, 329, 32, 14016, 77, 18996, 121, 1499, 6, 96, 17748, 23, 106, 121, 1499, 6, 96, 329, 32, 14016, 77, 10971, 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, 22557, 121, 21680, 953, 834, 4177, 519, 4440, 549, 17444, 427, 96, 329, 32, 14016, 77, 18996, 121, 3274, 3, 31, 159, 189, 3252, 6734, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the director when the title is listed as 'all guts, no glory'?
CREATE TABLE table_3986 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Directed by" FROM table_3986 WHERE "Title" = 'All Guts, No Glory'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 3840, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 15, 26, 57, 121, 21680, 953, 834, 3288, 3840, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 6838, 7756, 7, 6, 465, 9840, 651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Date has a Record of 29–47?
CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_4 WHERE record = "29–47"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 11392, 13, 2838, 104, 4177, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1368, 3274, 96, 3166, 104, 4177, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average Total when silver is less than 1, and the rank is 15?
CREATE TABLE table_41205 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Total") FROM table_41205 WHERE "Silver" < '1' AND "Rank" = '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 23201, 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, 71, 17217, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 4853, 23201, 549, 17444, 427, 96, 134, 173, 624, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 22557, 121, 3274, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -...
What is the maximum enrollment of the Sooners?
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 8584, 4018, 3710, 834, 536, 41, 35, 4046, 297, 3, 21342, 17966, 6, 372, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 17938, 13, 8, 1490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 35, 4046, 297, 61, 21680, 953, 834, 8584, 4018, 3710, 834, 536, 549, 17444, 427, 372, 834, 4350, 3274, 96, 5231, 106, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which region had a catalog number of 570 734-2?
CREATE TABLE table_name_19 ( region VARCHAR, catalog VARCHAR )
SELECT region FROM table_name_19 WHERE catalog = "570 734-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 1719, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1719, 141, 3, 9, 10173, 381, 13, 3, 28363, 489, 3710, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1719, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 10173, 3274, 96, 28363, 489, 3710, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the names of the states where at least 3 heads were born?
CREATE TABLE head ( born_state VARCHAR )
SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 819, 41, 2170, 834, 5540, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3056, 13, 8, 2315, 213, 44, 709, 220, 7701, 130, 2170, 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, 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, 2170, 834, 5540, 21680, 819, 350, 4630, 6880, 272, 476, 2170, 834, 5540, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show all card type codes.
CREATE TABLE Customers_Cards (card_type_code VARCHAR)
SELECT DISTINCT card_type_code FROM Customers_Cards
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 834, 6936, 26, 7, 41, 6043, 834, 6137, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 895, 686, 5633, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 895, 834, 6137, 834, 4978, 21680, 16423, 834, 6936, 26, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many episodes had 4.44m viewers?
CREATE TABLE table_3694 ( "Episode" real, "Airdate" text, "Game 1" text, "Game 2" text, "Game 3" text, "Viewers" text )
SELECT COUNT("Episode") FROM table_3694 WHERE "Viewers" = '4.44m'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 4240, 41, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 20162, 5522, 121, 1499, 6, 96, 23055, 209, 121, 1499, 6, 96, 23055, 204, 121, 1499, 6, 96, 23055, 220, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 427, 102, 159, 32, 221, 8512, 21680, 953, 834, 3420, 4240, 549, 17444, 427, 96, 15270, 277, 121, 3274, 3, 31, 23444, 591, 51, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Get the number of catholic religious background patients who had a total protein lab test.
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CATHOLIC" AND lab.label = "Protein, Total"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0
CREATE TABLE table_70577 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT MAX("Cuts made") FROM table_70577 WHERE "Top-25" > '4' AND "Top-5" = '1' AND "Wins" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 755, 4013, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 15784, 17, 7, 263, 8512, 21680, 953, 834, 2518, 755, 4013, 549, 17444, 427, 96, 22481, 14855, 121, 2490, 3, 31, 591, 31, 3430, 96, 22481, 18, 17395, 3274, 3, 31, 536, 31, 3430, 96, 18455, 7, 1...
Who was the scoring leader and how many points did he get in games on December 23?
CREATE TABLE table_10812293_4 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_10812293_4 WHERE date = "December 23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 20889, 4271, 834, 591, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 10389, 2488, 11, 149, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 16169, 20889, 4271, 834, 591, 549, 17444, 427, 833, 3274, 96, 29835, 1902, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the Rockies record at their game that had a loss of Hernandez (3 5)?
CREATE TABLE table_57347 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Record" FROM table_57347 WHERE "Loss" = 'hernandez (3–5)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 519, 4177, 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, 1649, 7621, 121, 21680, 953, 834, 3436, 519, 4177, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 760, 29, 232, 457, 6918, 104, 9120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the partner of the winner after 2012?
CREATE TABLE table_name_12 ( partner VARCHAR, year VARCHAR, outcome VARCHAR )
SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 2397, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2397, 13, 8, 4668, 227,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2397, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 215, 2490, 1673, 3430, 6138, 3274, 96, 3757, 687, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the L when the W is 4?
CREATE TABLE table_29565120_2 (l INTEGER, w VARCHAR)
SELECT MIN(l) FROM table_29565120_2 WHERE w = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3301, 4122, 15518, 834, 357, 41, 40, 3, 21342, 17966, 6, 3, 210, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 301, 116, 8, 549, 19, 314, 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, 3, 17684, 599, 40, 61, 21680, 953, 834, 357, 3301, 4122, 15518, 834, 357, 549, 17444, 427, 3, 210, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Laps have a Time/Retired of +1:42.517, and a Grid larger than 33?
CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_67 WHERE time_retired = "+1:42.517" AND grid > 33
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 8478, 7, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 325, 102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 18446, 10, 591, 15967, 2517, 121, 3430, 8634, 2490, 5400, 1, -100, -100, -100, -100, -100, -100, -100, ...
What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?
CREATE TABLE table_31385 ( "Value" text, "Dimensions" text, "Main Color" text, "Obverse" text, "Reverse" text, "Watermark" text, "Date of issue" text )
SELECT "Dimensions" FROM table_31385 WHERE "Reverse" = 'Western sea barrage and locks at Taedong Gang'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 4433, 41, 96, 18392, 76, 15, 121, 1499, 6, 96, 308, 23, 904, 1938, 7, 121, 1499, 6, 96, 21978, 29, 6088, 121, 1499, 6, 96, 667, 115, 7583, 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, 308, 23, 904, 1938, 7, 121, 21680, 953, 834, 519, 2368, 4433, 549, 17444, 427, 96, 1649, 7583, 121, 3274, 3, 31, 1326, 13072, 2805, 1207, 4843, 11, 15566, 44, 2067, 15, 26, 2444, 17423, 31, 1, -100, -100, -100...
What was the score on April 8?
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_39 WHERE date = "april 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 1186, 505, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 505, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the name of colleges that have at least two players.
CREATE TABLE match_season (College VARCHAR)
SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1588, 834, 9476, 41, 9939, 7883, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 564, 13, 12936, 24, 43, 44, 709, 192, 1508, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1888, 21680, 1588, 834, 9476, 350, 4630, 6880, 272, 476, 1888, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which season has Zach Jacobson in third?
CREATE TABLE table_name_30 (season VARCHAR, third VARCHAR)
SELECT season FROM table_name_30 WHERE third = "zach jacobson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 9476, 584, 4280, 28027, 6, 1025, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, 65, 22045, 9846, 739, 16, 1025, 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, 774, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 1025, 3274, 96, 172, 1836, 2662, 509, 115, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What time was the 50m freestyle event?
CREATE TABLE table_13131 ( "Event" text, "Time" text, "Nationality" text, "Date" text, "Meet" text, "Location" text )
SELECT "Time" FROM table_13131 WHERE "Event" = '50m freestyle'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 22048, 41, 96, 427, 2169, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 329, 15, 15, 17, 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, 13368, 121, 21680, 953, 834, 2368, 22048, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 1752, 51, 339, 4084, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What conditions had both prolonged bleeding times and prolonged partial thromboplastin times
CREATE TABLE table_1099080_1 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
SELECT condition FROM table_1099080_1 WHERE partial_thromboplastin_time = "Prolonged" AND bleeding_time = "Prolonged"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 2394, 2079, 834, 536, 41, 17558, 584, 4280, 28027, 6, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 584, 4280, 28027, 6, 19021, 834, 715, 584, 4280, 28027, 61, 3, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1706, 21680, 953, 834, 17304, 2394, 2079, 834, 536, 549, 17444, 427, 11807, 834, 8514, 6310, 23918, 77, 834, 715, 3274, 96, 3174, 23629, 121, 3430, 19021, 834, 715, 3274, 96, 3174, 23629, 121, 1, -100, -100, -100, -10...
What is the High assists with a Date that is march 31?
CREATE TABLE table_name_39 ( high_assists VARCHAR, date VARCHAR )
SELECT high_assists FROM table_name_39 WHERE date = "march 31"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1592, 13041, 28, 3, 9, 7678, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 51, 7064, 2664, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many games does leandro love have?
CREATE TABLE table_63269 ( "Name" text, "Games" text, "A-League" text, "Finals" text, "Goals" real, "Assists" real, "Years" text )
SELECT "Games" FROM table_63269 WHERE "Name" = 'leandro love'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 357, 3951, 41, 96, 23954, 121, 1499, 6, 96, 23055, 7, 121, 1499, 6, 96, 188, 18, 2796, 9, 5398, 121, 1499, 6, 96, 371, 10270, 7, 121, 1499, 6, 96, 6221, 5405, 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, 23055, 7, 121, 21680, 953, 834, 3891, 357, 3951, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 109, 9, 22357, 333, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many patients categorized under a hematology lab test stayed in hospital for more than 4 days?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "4" AND lab."CATEGORY" = "Hematology"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the number of butters for 3 protein
CREATE TABLE table_3170 ( "Butter" text, "Calories (1 tbsp .)" real, "Protein (g)" text, "Fat (g)" text, "Calcium (mg)" text, "Zinc (mg)" text )
SELECT COUNT("Butter") FROM table_3170 WHERE "Protein (g)" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 2518, 41, 96, 279, 5108, 121, 1499, 6, 96, 14318, 32, 2593, 4077, 3, 17, 115, 7, 102, 3, 5, 61, 121, 490, 6, 96, 3174, 17, 2455, 41, 122, 61, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 279, 5108, 8512, 21680, 953, 834, 3341, 2518, 549, 17444, 427, 96, 3174, 17, 2455, 41, 122, 61, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the main indstries and total market value for each industry Visualize by bar chart, I want to sort Y-axis in descending order.
CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real )
SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry ORDER BY SUM(Market_Value) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 834, 29179, 41, 5939, 834, 4309, 16, 17, 6, 1958, 834, 4309, 16, 17, 6, 3, 22557, 834, 858, 834, 532, 834, 476, 2741, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5140, 834, 1570, 8655, 8224, 6, 180, 6122, 599, 22572, 834, 18392, 76, 15, 61, 21680, 349, 350, 4630, 6880, 272, 476, 5140, 834, 1570, 8655, 8224, 4674, 11300, 272, 476, 180, 6122, 599, 22572, 834, 18392, 76, 15, 61...
What is the average 5432 value with a 11502 larger than 1163, a 15122 less than 15122, and a 3620 less than 624?
CREATE TABLE table_80241 ( "Total" text, "11502" real, "3620" real, "15122" real, "5432" real, "2233" real, "7665" real )
SELECT AVG("5432") FROM table_80241 WHERE "11502" > '1163' AND "15122" < '15122' AND "3620" < '624'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 2266, 536, 41, 96, 3696, 1947, 121, 1499, 6, 96, 15660, 4305, 121, 490, 6, 96, 3420, 1755, 121, 490, 6, 96, 1808, 20889, 121, 490, 6, 96, 5062, 2668, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 5062, 2668, 8512, 21680, 953, 834, 2079, 2266, 536, 549, 17444, 427, 96, 15660, 4305, 121, 2490, 3, 31, 2596, 3891, 31, 3430, 96, 1808, 20889, 121, 3, 2, 3, 31, 1808, 20889, 31, 3430, 96, 3420...
find the number of patients with private insurance who stayed in the hospital for more than 8 days.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.days_stay > "8"
[ 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, 29441, 3274, 96, 7855, 208, 342, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 927, 121, 1...
what is the number of patients whose ethnicity is asian and age is less than 67?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.age < "67"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 3430, 14798, 5, 545, 3, 2, 96, 3708, 121, 1, -...
What was the score for the game that kicked off at 6:00 p.m.?
CREATE TABLE table_24918268_2 ( final_score VARCHAR, kickoff VARCHAR )
SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4729, 4613, 3651, 834, 357, 41, 804, 834, 7, 9022, 584, 4280, 28027, 6, 4583, 1647, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 804, 834, 7, 9022, 21680, 953, 834, 2266, 4729, 4613, 3651, 834, 357, 549, 17444, 427, 4583, 1647, 3274, 96, 18828, 3, 102, 5, 51, 535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is number of the train that originated in Secunderabad Junction?
CREATE TABLE table_name_87 ( train_no VARCHAR, origin VARCHAR )
SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 2412, 834, 29, 32, 584, 4280, 28027, 6, 5233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 381, 13, 8, 2412, 24, 23809, 16, 14969, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2412, 834, 29, 32, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 5233, 3274, 96, 7549, 7248, 9, 5514, 23704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the document name and the document date for all documents on project with details 'Graph Database project'.
CREATE TABLE Documents (project_id VARCHAR); CREATE TABLE projects (project_id VARCHAR, project_details VARCHAR)
SELECT document_name, document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'Graph Database project'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 41, 23574, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 23574, 834, 23, 26, 584, 4280, 28027, 6, 516, 834, 221, 5756, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1708, 834, 4350, 6, 1708, 834, 5522, 21680, 11167, 7, 6157, 332, 536, 3, 15355, 3162, 1195, 6157, 332, 357, 9191, 332, 5411, 23574, 834, 23, 26, 3274, 332, 4416, 23574, 834, 23, 26, 549, 17444, 427, 332, 4416, 23574...
What is the area of Waterford?
CREATE TABLE table_name_25 (area__km²_ VARCHAR, principal_town_city VARCHAR)
SELECT area__km²_ FROM table_name_25 WHERE principal_town_city = "waterford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 498, 834, 834, 5848, 357, 834, 584, 4280, 28027, 6, 3218, 834, 3540, 834, 6726, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 616, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 616, 834, 834, 5848, 357, 834, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3218, 834, 3540, 834, 6726, 3274, 96, 3552, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the team's record on november 10?
CREATE TABLE table_27700530_9 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_27700530_9 WHERE date = "November 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 9295, 26918, 834, 1298, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 372, 31, 7, 1368, 30, 3, 5326, 18247, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 2555, 9295, 26918, 834, 1298, 549, 17444, 427, 833, 3274, 96, 28635, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Week number on November 20, 1977?
CREATE TABLE table_name_54 ( week INTEGER, date VARCHAR )
SELECT SUM(week) FROM table_name_54 WHERE date = "november 20, 1977"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 471, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6551, 381, 30, 1671, 16047, 16433, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 8041, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 16047, 16433, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers?
CREATE TABLE table_name_28 ( current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR )
SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 750, 834, 13442, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 166, 834, 11650, 834, 3096, 2741, 663, 7, 584, 4280, 28027, 6, 1102, 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, 750, 834, 13442, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 166, 834, 11650, 834, 3096, 2741, 663, 7, 3274, 96, 106, 9545, 121, 3430, 1102, 3274, 96, 6983, 1846, 49, 121, 3430, 1959, 3274, 96, 7, 9, 5884, ...
What date had a game with a score of 5-4?
CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_63 WHERE score = "5-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 141, 3, 9, 467, 28, 3, 9, 2604, 13, 305, 4278, 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, 833, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 2604, 3274, 96, 755, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the RYds when the RAtt was 2, and the comp is 41?
CREATE TABLE table_name_35 ( ryds VARCHAR, ratt VARCHAR, comp VARCHAR )
SELECT ryds FROM table_name_35 WHERE ratt = "2" AND comp = "41"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 3, 651, 26, 7, 584, 4280, 28027, 6, 3, 1795, 17, 584, 4280, 28027, 6, 2890, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 651, 26, 7, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 3, 1795, 17, 3274, 96, 357, 121, 3430, 2890, 3274, 96, 4853, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the number of application for modeling, computer aided design, animation
CREATE TABLE table_23037 ( "Application" text, "Latest release date and version" text, "Developed by" text, "Platforms" text, "Mainly Used For" text, "License" text )
SELECT COUNT("Application") FROM table_23037 WHERE "Mainly Used For" = 'Modeling, Computer Aided Design, Animation'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 4118, 41, 96, 188, 102, 13555, 121, 1499, 6, 96, 3612, 4377, 1576, 833, 11, 988, 121, 1499, 6, 96, 31192, 57, 121, 1499, 6, 96, 10146, 2032, 7, 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, 2847, 17161, 599, 121, 188, 102, 13555, 8512, 21680, 953, 834, 13427, 4118, 549, 17444, 427, 96, 21978, 29, 120, 12504, 242, 121, 3274, 3, 31, 24663, 53, 6, 5491, 12090, 15, 26, 1642, 6, 25835, 31, 1, -100, -100, ...
what is the total number of films athena chu has acted in ?
CREATE TABLE table_203_239 ( id number, "year" number, "title" text, "chinese title" text, "role" text, "notes" text )
SELECT COUNT("title") FROM table_203_239
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3288, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 1436, 1496, 15, 2233, 121, 1499, 6, 96, 3491, 15, 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, 2847, 17161, 599, 121, 21869, 8512, 21680, 953, 834, 23330, 834, 357, 3288, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What signatory has a purpose of police security and Infotalent payee?
CREATE TABLE table_name_71 (signatories VARCHAR, purpose VARCHAR, payee VARCHAR)
SELECT signatories FROM table_name_71 WHERE purpose = "police security" AND payee = "infotalent"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 6732, 1016, 725, 584, 4280, 28027, 6, 1730, 584, 4280, 28027, 6, 726, 15, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1320, 6546, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1320, 1016, 725, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1730, 3274, 96, 3003, 565, 1034, 121, 3430, 726, 15, 15, 3274, 96, 9583, 1947, 295, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How few km 2 does the area with Nay Pyi Taw as capital cover?
CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR)
SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4581, 536, 834, 536, 41, 498, 834, 834, 5848, 834, 357, 834, 834, 3, 21342, 17966, 6, 1784, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 360, 2280, 204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 498, 834, 834, 5848, 834, 357, 834, 834, 61, 21680, 953, 834, 2577, 4581, 536, 834, 536, 549, 17444, 427, 1784, 3274, 96, 567, 9, 63, 12901, 23, 2067, 210, 121, 1, -100, -100, -100, -100, -100, -100...
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of hire_date and the average of employee_id bin hire_date by weekday, and order total number in ascending order.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE 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) )
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8...
What is the score of the match with opponents Gretchen Magers Kelly Jones?
CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14388, 4591, 4834, 834, 519, 41, 7, 9022, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 1588, 28, 16383, 7186, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 14388, 4591, 4834, 834, 519, 549, 17444, 427, 16383, 3274, 96, 517, 60, 17, 1559, 6611, 277, 10605, 6193, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries?
CREATE TABLE table_name_97 (points INTEGER, tries VARCHAR, player VARCHAR)
SELECT MIN(points) FROM table_name_97 WHERE tries > 23 AND player = "tevita vaikona"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 2700, 7, 3, 21342, 17966, 6, 3, 9000, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 979, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 3, 9000, 2490, 1902, 3430, 1959, 3274, 96, 17, 15, 12411, 409, 23, 4470, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the score when the away team is tottenham hotspur?
CREATE TABLE table_name_29 ( score VARCHAR, away_team VARCHAR )
SELECT score FROM table_name_29 WHERE away_team = "tottenham hotspur"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 2604, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2604, 116, 8, 550, 372, 19, 12, 17, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 550, 834, 11650, 3274, 96, 235, 17, 324, 1483, 1312, 7, 3791, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a histogram on what are the names and budgets of departments with budgets greater than the average?, display by the bars from low to high.
CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) 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 classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) 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 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 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 department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) )
SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department) ORDER BY dept_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8815, 41, 3, 7, 834, 4309, 3, 4331, 4059, 15757, 6, 3, 23, 834, 4309, 3, 4331, 4059, 15757, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 4699, 3, 4331, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 1487, 21680, 3066, 549, 17444, 427, 1487, 2490, 41, 23143, 14196, 71, 17217, 599, 11073, 2782, 61, 21680, 3066, 61, 4674, 11300, 272, 476, 20, 102, 17, 834, 4350, 1, -100, -100, -100, -100...
Show the distinct fate of missions that involve ships with nationality "United States"
CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR)
SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T2.Nationality = "United States"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 371, 342, 584, 4280, 28027, 6, 15508, 834, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4383, 41, 134, 10462, 834, 4309, 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, 3, 15438, 25424, 6227, 332, 5411, 371, 342, 21680, 2253, 6157, 332, 536, 3, 15355, 3162, 4383, 6157, 332, 357, 9191, 332, 5411, 134, 10462, 834, 4309, 3274, 332, 4416, 134, 10462, 834, 4309, 549, 17444, 427, 332, 4416...