NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
tell me the date of the last event held in greensboro , north carolina .
CREATE TABLE table_204_37 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "event" text, "notes" text )
SELECT "date" FROM table_204_37 WHERE "location" = 'greensboro, north carolina' ORDER BY "date" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4118, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 210, 6216, 1171, 7, 121, 1499, 6, 96, 60, 3191, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 1135, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 26363, 834, 4118, 549, 17444, 427, 96, 14836, 121, 3274, 3, 31, 9423, 7, 14901, 6, 3457, 443, 12057, 9, 31, 4674, 11300, 272, 476, 96, 5522, 121, 309, 25067, 8729, 12604, 209, 1, -1...
how many swimmers had a time of at least 1:00
CREATE TABLE table_204_886 ( id number, "rank" number, "swimmer" text, "country" text, "time" text, "note" text )
SELECT COUNT("swimmer") FROM table_204_886 WHERE "time" <= 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3840, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 7, 210, 12174, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 7977, 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, 121, 7, 210, 12174, 8512, 21680, 953, 834, 26363, 834, 927, 3840, 549, 17444, 427, 96, 715, 121, 3, 2, 2423, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
List the possible children per donor levels for countries where the allowed recipients is no data.
CREATE TABLE table_20603 ( "Country" text, "Donor payment" text, "Children per donor" text, "Donor anonymity" text, "Allowed recipients" text )
SELECT "Children per donor" FROM table_20603 WHERE "Allowed recipients" = 'no data'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24643, 4928, 41, 96, 10628, 651, 121, 1499, 6, 96, 13843, 127, 1942, 121, 1499, 6, 96, 3541, 173, 26, 1536, 399, 18936, 121, 1499, 6, 96, 13843, 127, 19581, 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, 3541, 173, 26, 1536, 399, 18936, 121, 21680, 953, 834, 24643, 4928, 549, 17444, 427, 96, 6838, 9200, 19297, 121, 3274, 3, 31, 29, 32, 331, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the latest game that Sacramento played?
CREATE TABLE table_50960 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT MAX("Game") FROM table_50960 WHERE "Team" = 'sacramento'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 27699, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 23055, 8512, 21680, 953, 834, 1752, 27699, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 7, 9, 2935, 297, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who did not have any job in the past, draw a bar chart about the distribution of job_id and the average of manager_id , and group by attribute job_id, rank by the bar in ascending.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE T...
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 2168...
What was the score on october 17, 2007?
CREATE TABLE table_53372 ( "Date" text, "Venue" text, "Score" text, "Competition" text, "Turkey scorers" text, "Match report" text )
SELECT "Score" FROM table_53372 WHERE "Date" = 'october 17, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 4118, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 382, 450, 4397,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4867, 4118, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 12864, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the teleplay by when the director is Rob Bailey?
CREATE TABLE table_72543 ( "Series #" real, "Season #" real, "Title" text, "Story by" text, "Teleplay by" text, "Directed by" text, "Original air date" text )
SELECT "Teleplay by" FROM table_72543 WHERE "Directed by" = 'Rob Bailey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1828, 4906, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 134, 10972, 57, 121, 1499, 6, 96, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 400, 4895, 57, 121, 21680, 953, 834, 940, 1828, 4906, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 24372, 24042, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points?
CREATE TABLE table_name_77 ( player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR )
SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 1959, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 19396, 7, 584, 4280, 28027, 6, 996, 834, 2700, 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, 1959, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 19396, 7, 3, 2, 335, 3430, 996, 834, 2700, 7, 3274, 3, 632, 3430, 979, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what model was dated before model s-18 / vdr-3 ?
CREATE TABLE table_203_823 ( id number, "model name" text, "date" text, "type" text, "thrust (kg) / power (eshp)" text, "fitted to" text )
SELECT "model name" FROM table_203_823 WHERE "date" < (SELECT "date" FROM table_203_823 WHERE "model name" = 's-18/vdr-3')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4613, 519, 41, 3, 23, 26, 381, 6, 96, 21770, 564, 121, 1499, 6, 96, 5522, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 189, 9277, 41, 8711, 61, 3, 87, 579, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21770, 564, 121, 21680, 953, 834, 23330, 834, 4613, 519, 549, 17444, 427, 96, 5522, 121, 3, 2, 41, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 23330, 834, 4613, 519, 549, 17444, 427, 96, 21770, 564, 121, 3274,...
patients with a history of severe drug allergy or hypersensitivity
CREATE TABLE table_train_135 ( "id" int, "loss_of_consciousness" bool, "systolic_blood_pressure_sbp" int, "head_injury" bool, "heart_disease" bool, "stroke" bool, "renal_disease" bool, "hepatic_disease" bool, "hydrocephalus" bool, "peptic_ulcer_disease" bool, "blood_glucose" ...
SELECT * FROM table_train_135 WHERE allergy_to_drug = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 536, 2469, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2298, 7, 834, 858, 834, 25098, 655, 121, 3, 12840, 40, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 536, 2469, 549, 17444, 427, 23886, 834, 235, 834, 26, 13534, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Attendance when the Result was L 31 23?
CREATE TABLE table_8316 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Attendance" FROM table_8316 WHERE "Result" = 'l 31–23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4591, 2938, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 4591, 2938, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 40, 2664, 104, 2773, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the most amount of ministries?
CREATE TABLE table_2453 ( "N\u00ba" real, "Cabinet (Nickname)" text, "Took office" text, "Left office" text, "Duration" text, "Coalition parties" text, "ministers" text, "ministries" real, "King" text )
SELECT MAX("ministries") FROM table_2453
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4867, 41, 96, 567, 2, 76, 1206, 115, 9, 121, 490, 6, 96, 254, 9, 12712, 17, 41, 567, 3142, 4350, 61, 121, 1499, 6, 96, 3696, 1825, 828, 121, 1499, 6, 96, 2796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7619, 7, 9000, 8512, 21680, 953, 834, 2266, 4867, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Scott Verplank's score?
CREATE TABLE table_name_65 ( score VARCHAR, player VARCHAR )
SELECT score FROM table_name_65 WHERE player = "scott verplank"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 2604, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4972, 781, 3767, 157, 31, 7, 2604, 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, 2604, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1959, 3274, 96, 7, 10405, 548, 3767, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the rank when assumed office on 12 may 1857?
CREATE TABLE table_66168 ( "Rank:" real, "Premier:" text, "Party:" text, "Assumed Office:" text, "Left Office:" text, "TOTAL Time in Office:" text )
SELECT SUM("Rank:") FROM table_66168 WHERE "Assumed Office:" = '12 may 1857'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 24274, 41, 96, 22557, 10, 121, 490, 6, 96, 10572, 51, 972, 10, 121, 1499, 6, 96, 13725, 63, 10, 121, 1499, 6, 96, 188, 7, 4078, 15, 26, 2126, 10, 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, 180, 6122, 599, 121, 22557, 10, 8512, 21680, 953, 834, 3539, 24274, 549, 17444, 427, 96, 188, 7, 4078, 15, 26, 2126, 10, 121, 3274, 3, 31, 2122, 164, 507, 3436, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Name the sum of played for c.d. luis ángel firpo and place more than 3
CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR)
SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 4895, 15, 26, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4505, 13, 1944, 21, 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, 180, 6122, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 372, 3274, 96, 75, 5, 26, 5, 759, 7, 3, 12916, 1803, 3, 14581, 102, 32, 121, 3430, 286, 2490, 220, 1, -100, -100, -100, -100, ...
What is the average Grid for the Rider Toni Elias with Laps more than 30?
CREATE TABLE table_name_62 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_62 WHERE rider = "toni elias" AND laps > 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 3496, 26, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 23644, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 2564, 52, 3274, 96, 17, 106, 23, 3, 13240, 7, 121, 3430, 14941, 7, 2490, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Timsah arena is in what country?
CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)
SELECT country FROM table_name_32 WHERE stadium = "timsah arena"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 17529, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4485, 7, 9, 107, 15134, 19, 16, 125, 684, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 14939, 3274, 96, 2998, 7, 9, 107, 15134, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what was the total time by france ?
CREATE TABLE table_203_160 ( id number, "rank" number, "heat" number, "nation" text, "competitors" text, "time" text, "notes" text )
SELECT "time" FROM table_203_160 WHERE "nation" = 'france'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 19129, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 88, 144, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 287, 19427, 127, 7, 121, 1499, 6, 96, 715, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 715, 121, 21680, 953, 834, 23330, 834, 19129, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 89, 5219, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Jake Johnson's position?
CREATE TABLE table_60072 ( "Players" text, "Position" text, "Year" text, "Ht/Wt" text, "Bats/Throws" text, "Hometown (Last School)" text )
SELECT "Position" FROM table_60072 WHERE "Players" = 'jake johnson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 5865, 41, 96, 15800, 277, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 566, 17, 87, 518, 17, 121, 1499, 6, 96, 279, 144, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 6007, 5865, 549, 17444, 427, 96, 15800, 277, 121, 3274, 3, 31, 1191, 1050, 3, 27341, 739, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a scatter to show the department id and the corresponding salary.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY...
SELECT T1.SALARY, T1.DEPARTMENT_ID FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID WHERE T1.EMPLOYEE_ID = T2.MANAGER_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 134, 4090, 24721, 6, 332, 5411, 5596, 19846, 11810, 834, 4309, 21680, 1652, 6157, 332, 536, 3, 15355, 3162, 10521, 6157, 332, 357, 9191, 332, 5411, 5596, 19846, 11810, 834, 4309, 3274, 332, 4416, 5596, 19846,...
How many flights in each destination city? Return a bar chart, and list in descending by the y axis please.
CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) ) CREATE...
SELECT destination, COUNT(destination) FROM flight GROUP BY destination ORDER BY COUNT(destination) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 599, 8525, 632, 201, 5233, 3, 4331, 4059, 357, 599, 1755, 201, 3954, 3, 4331, 4059, 357, 599, 1755, 201, 2357, 381, 599, 11071, 632, 201, 12028, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3954, 6, 2847, 17161, 599, 13557, 257, 61, 21680, 3777, 350, 4630, 6880, 272, 476, 3954, 4674, 11300, 272, 476, 2847, 17161, 599, 13557, 257, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the original air date of 1/2 in season
CREATE TABLE table_16951593_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "1/2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3301, 1808, 4271, 834, 536, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 150, 834, 77, 834, 9476, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 2938, 3301, 1808, 4271, 834, 536, 549, 17444, 427, 150, 834, 77, 834, 9476, 3274, 96, 17637, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many were first elected in the Arkansas 4 district?
CREATE TABLE table_72409 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT COUNT("First elected") FROM table_72409 WHERE "District" = 'Arkansas 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2266, 4198, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 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, 25171, 8160, 8512, 21680, 953, 834, 940, 2266, 4198, 549, 17444, 427, 96, 308, 23, 20066, 121, 3274, 3, 31, 188, 52, 3304, 7, 9, 7, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Name of the Junior from Fayetteville, NC?
CREATE TABLE table_name_69 (name VARCHAR, year VARCHAR, home_town VARCHAR)
SELECT name FROM table_name_69 WHERE year = "junior" AND home_town = "fayetteville, nc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 4350, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 234, 834, 3540, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5570, 13, 8, 1024...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 215, 3274, 96, 6959, 23, 127, 121, 3430, 234, 834, 3540, 3274, 96, 89, 9, 63, 1954, 1420, 6, 3, 29, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
what is the rank when the player is henry shefflin and the matches is higher than 4?
CREATE TABLE table_name_9 (rank INTEGER, player VARCHAR, matches VARCHAR)
SELECT SUM(rank) FROM table_name_9 WHERE player = "henry shefflin" AND matches > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 6254, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 11003, 116, 8, 1959, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1959, 3274, 96, 3225, 651, 255, 89, 89, 40, 77, 121, 3430, 6407, 2490, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Play-Off has Events of –, and a Season of a-6?
CREATE TABLE table_name_84 (play_off VARCHAR, events VARCHAR, season VARCHAR)
SELECT play_off FROM table_name_84 WHERE events = "–" AND season = "a-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 4895, 834, 1647, 584, 4280, 28027, 6, 984, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2911, 18, 21265, 65, 1113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 577, 834, 1647, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 984, 3274, 96, 104, 121, 3430, 774, 3274, 96, 9, 5783, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the opponents score when Geelong played as home team?
CREATE TABLE table_name_99 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team AS score FROM table_name_99 WHERE home_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 16383, 2604, 116, 961, 15, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 234, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many points were there for 15 losses?
CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR)
SELECT points_for FROM table_name_28 WHERE lost = "15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 2700, 7, 834, 1161, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 130, 132, 21, 627, 8467, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 1161, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1513, 3274, 96, 1808, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What type of yacht has a LOA of 15.15 metres?
CREATE TABLE table_64019 ( "Position" real, "Sail Number" text, "Yacht" text, "State/Country" text, "Yacht Type" text, "LOA (Metres)" real, "Skipper" text, "Corrected Time d:hh:mm:ss" text )
SELECT "Yacht Type" FROM table_64019 WHERE "LOA (Metres)" = '15.15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23714, 2294, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 134, 9, 173, 7720, 121, 1499, 6, 96, 476, 9, 3997, 121, 1499, 6, 96, 134, 4748, 87, 10628, 651, 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, 476, 9, 3997, 6632, 121, 21680, 953, 834, 23714, 2294, 549, 17444, 427, 96, 5017, 188, 41, 23351, 60, 7, 61, 121, 3274, 3, 31, 1808, 5, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Competition, when Score is "2-1", and when Date is "October 22, 2008"?
CREATE TABLE table_name_84 (competition VARCHAR, score VARCHAR, date VARCHAR)
SELECT competition FROM table_name_84 WHERE score = "2-1" AND date = "october 22, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 287, 4995, 4749, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 15571, 6, 116, 17763,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 2604, 3274, 96, 17234, 121, 3430, 833, 3274, 96, 32, 75, 235, 1152, 12889, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the cargo value in 2005 with a ship size of all product carriers?
CREATE TABLE table_name_31 (ship_size VARCHAR)
SELECT 2005 FROM table_name_31 WHERE ship_size = "all product carriers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 2009, 834, 7991, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 15470, 701, 16, 3105, 28, 3, 9, 4383, 812, 13, 66, 556, 16642, 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, 3105, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 4383, 834, 7991, 3274, 96, 1748, 556, 16642, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the average profits of companies?
CREATE TABLE Companies ( Profits_billion INTEGER )
SELECT AVG(Profits_billion) FROM Companies
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11239, 41, 14717, 7, 834, 115, 14916, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1348, 9613, 13, 688, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 23057, 7085, 834, 115, 14916, 61, 21680, 11239, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Class has the Identifier of CBFX-FM-6?
CREATE TABLE table_name_21 (class VARCHAR, identifier VARCHAR)
SELECT class FROM table_name_21 WHERE identifier = "cbfx-fm-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 4057, 584, 4280, 28027, 6, 3, 8826, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4501, 65, 8, 3, 21153, 7903, 13, 205, 19780, 4, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 3, 8826, 52, 3274, 96, 75, 115, 89, 226, 18, 89, 51, 5783, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of patients born before 2168 who have morbid obesity/sda as their primary disease?
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 t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND demographic.dob_year < "2168"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5365, 12108, 4309, 3, 10539, 3205, 15296, 87, 134, 4296, 121, 3430, 14...
Who was the runner-up in the Memorial Tournament?
CREATE TABLE table_1602858_1 ( runner_s__up VARCHAR, tournament VARCHAR )
SELECT runner_s__up FROM table_1602858_1 WHERE tournament = "Memorial tournament"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 2577, 3449, 834, 536, 41, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 3, 10806, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 19129, 2577, 3449, 834, 536, 549, 17444, 427, 5892, 3274, 96, 329, 15, 51, 11929, 5892, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many aircraft does the united states have listed ?
CREATE TABLE table_204_710 ( id number, "model" text, "origin" text, "type" text, "versions" text, "in service" text, "notes" text )
SELECT COUNT(*) FROM table_204_710 WHERE "origin" = 'united states'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 1714, 41, 3, 23, 26, 381, 6, 96, 21770, 121, 1499, 6, 96, 32, 3380, 77, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 8674, 7, 121, 1499, 6, 96, 77, 313,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26363, 834, 940, 1714, 549, 17444, 427, 96, 32, 3380, 77, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the Char cells, Pixels and Hardware colours for the screen of the phone whose hardware model name is "LG-P760".
CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR)
SELECT T1.Char_cells, T1.Pixels, T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = "LG-P760"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 41, 8527, 834, 14930, 584, 4280, 28027, 6, 19982, 834, 24663, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1641, 834, 14930, 41, 18947, 834,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 18947, 834, 8725, 7, 6, 332, 5411, 345, 2407, 3573, 6, 332, 5411, 15537, 26, 3404, 834, 24814, 7, 21680, 1641, 834, 14930, 6157, 332, 536, 3, 15355, 3162, 951, 6157, 332, 357, 9191, 332, 5411, 21094, 447,...
Which Hereditary peers have a Total of 1?
CREATE TABLE table_name_15 (hereditary_peers VARCHAR, total VARCHAR)
SELECT hereditary_peers FROM table_name_15 WHERE total = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 760, 11272, 1208, 834, 855, 277, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1347, 11272, 1208, 13359, 43, 3, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 160, 11272, 1208, 834, 855, 277, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 792, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the loser at Municipal Stadium after 1970?
CREATE TABLE table_54229 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text )
SELECT "Loser" FROM table_54229 WHERE "Location" = 'municipal stadium' AND "Year" > '1970'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 357, 3166, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 7, 49, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 7, 49, 121, 21680, 953, 834, 5062, 357, 3166, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 11760, 3389, 138, 14939, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 2518, 31, 1, -100, ...
For those records from the products and each product's manufacturer, give me the comparison about price over the name , and group by attribute founder, and sort in descending by the X.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 345, 4920, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145...
When did the episode originally air with a nick production number of 945?
CREATE TABLE table_2655016_10 ( original_air_date VARCHAR, nick_prod__number VARCHAR )
SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 17147, 2938, 834, 1714, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 3, 11191, 834, 1409, 26, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 2688, 17147, 2938, 834, 1714, 549, 17444, 427, 3, 11191, 834, 1409, 26, 834, 834, 5525, 1152, 3274, 668, 2128, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the total number of total for bronze of 4 and silver more than 6
CREATE TABLE table_71593 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Total") FROM table_71593 WHERE "Bronze" = '4' AND "Silver" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1808, 4271, 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, 3696, 1947, 8512, 21680, 953, 834, 940, 1808, 4271, 549, 17444, 427, 96, 22780, 29, 776, 121, 3274, 3, 31, 591, 31, 3430, 96, 134, 173, 624, 121, 2490, 3, 31, 948, 31, 1, -100, -100, -100, ...
How many deciles have Years of 1 8, and a Roll of 49?
CREATE TABLE table_14986 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real )
SELECT COUNT("Decile") FROM table_14986 WHERE "Years" = '1–8' AND "Roll" = '49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 3840, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 517, 3868, 121, 1499, 6, 96, 188, 864, 121, 1499, 6, 96, 23602, 127, 485, 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, 2962, 75, 699, 8512, 21680, 953, 834, 24816, 3840, 549, 17444, 427, 96, 476, 2741, 7, 121, 3274, 3, 31, 536, 104, 927, 31, 3430, 96, 29807, 121, 3274, 3, 31, 3647, 31, 1, -100, -100, -100, ...
In what state is the Thomas Assembly Center located?
CREATE TABLE table_name_5 ( state VARCHAR, venue VARCHAR )
SELECT state FROM table_name_5 WHERE venue = "thomas assembly center"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 538, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 538, 19, 8, 3576, 11993, 1166, 1069, 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, 538, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 5669, 3274, 96, 189, 32, 2754, 7889, 1530, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the home team when the record was 21 45 8 5?
CREATE TABLE table_35690 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Home" FROM table_35690 WHERE "Record" = '21–45–8–5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 948, 2394, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 121, 21680, 953, 834, 2469, 948, 2394, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2658, 104, 2128, 104, 927, 104, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the record number of the game where Guardado lost?
CREATE TABLE table_name_9 ( record VARCHAR, loss VARCHAR )
SELECT record FROM table_name_9 WHERE loss = "guardado"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 1368, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 381, 13, 8, 467, 213, 12899, 9, 26, 32, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1453, 3274, 96, 11010, 9, 26, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the names of climbers and the heights of mountains they climb. Show bar chart.
CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int )
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4180, 41, 5617, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 749, 1109, 1433, 490, 6, 10971, 1499, 6, 6993, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 4416, 3845, 2632, 21680, 8147, 49, 6157, 332, 536, 3, 15355, 3162, 4180, 6157, 332, 357, 9191, 332, 5411, 329, 32, 14016, 77, 834, 4309, 3274, 332, 4416, 329, 32, 14016, 77, 834, 4309, 1, ...
What was the result of the match that took place in Perth, featuring a score of 48-12?
CREATE TABLE table_4660 ( "Date" text, "Result" text, "Score" text, "Stadium" text, "City" text, "Crowd" real )
SELECT "Result" FROM table_4660 WHERE "Score" = '48-12' AND "City" = 'perth'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 3328, 41, 96, 308, 342, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 254, 485, 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, 20119, 121, 21680, 953, 834, 4448, 3328, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3707, 5947, 31, 3430, 96, 254, 485, 121, 3274, 3, 31, 883, 189, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest rank of the day with a gross of $38,916 and more than 6 screens?
CREATE TABLE table_35575 ( "Date" text, "Territory" text, "Screens" real, "Rank" real, "Gross" text )
SELECT MAX("Rank") FROM table_35575 WHERE "Gross" = '$38,916' AND "Screens" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 755, 3072, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 21301, 10972, 121, 1499, 6, 96, 134, 5045, 35, 7, 121, 490, 6, 96, 22557, 121, 490, 6, 96, 517, 1859, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 2469, 755, 3072, 549, 17444, 427, 96, 517, 1859, 7, 121, 3274, 3, 31, 3229, 3747, 6, 1298, 2938, 31, 3430, 96, 134, 5045, 35, 7, 121, 2490, 3, 31, 948, 31, 1, -...
On what date did the woman married to Louis II become consort?
CREATE TABLE table_name_86 (became_consort VARCHAR, spouse VARCHAR)
SELECT became_consort FROM table_name_86 WHERE spouse = "louis ii"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 346, 6527, 15, 834, 1018, 9309, 584, 4280, 28027, 6, 9911, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 410, 8, 2335, 4464, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1632, 834, 1018, 9309, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 9911, 3274, 96, 40, 1063, 159, 3, 23, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the ioc code when the country is listed as Singapore?
CREATE TABLE table_2879165_1 ( ioc_code VARCHAR, country VARCHAR )
SELECT ioc_code FROM table_2879165_1 WHERE country = "Singapore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4440, 22823, 834, 536, 41, 3, 23, 32, 75, 834, 4978, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 23, 32, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 23, 32, 75, 834, 4978, 21680, 953, 834, 2577, 4440, 22823, 834, 536, 549, 17444, 427, 684, 3274, 96, 134, 53, 9, 21642, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The 1.6 Duratec model/engine has how many torque formulas?
CREATE TABLE table_1212189_1 ( torque__nm__rpm VARCHAR, model_engine VARCHAR )
SELECT COUNT(torque__nm__rpm) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2122, 25312, 834, 536, 41, 19527, 834, 834, 29, 51, 834, 834, 52, 2028, 584, 4280, 28027, 6, 825, 834, 20165, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17, 127, 835, 834, 834, 29, 51, 834, 834, 52, 2028, 61, 21680, 953, 834, 2122, 2122, 25312, 834, 536, 549, 17444, 427, 825, 834, 20165, 3274, 96, 15062, 970, 2206, 75, 121, 1, -100, -100, -100, -...
What is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97?
CREATE TABLE table_name_37 ( year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR )
SELECT MAX(year) FROM table_name_37 WHERE event = "fila world championships" AND venue = "toledo, united states" AND weight_class__kg_ < 97
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 215, 3, 21342, 17966, 6, 1293, 834, 4057, 834, 834, 8711, 834, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 605, 3274, 96, 8027, 9, 296, 10183, 7, 121, 3430, 5669, 3274, 96, 235, 1361, 32, 6, 18279, 2315, 121, 3430, 1293, 834, 4057, 834, 834, 871...
Which Game has a Record of 4 2 1, and Points larger than 9?
CREATE TABLE table_name_19 ( game INTEGER, record VARCHAR, points VARCHAR )
SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 467, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4435, 65, 3, 9, 11392, 13, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7261, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1368, 3274, 96, 591, 104, 357, 104, 536, 121, 3430, 979, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the average of revenue , and group by attribute headquarter, list in asc by the x-axis.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Headquarter, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3642, 19973, 6, 71, 17217, 599, 1649, 15098, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 36...
Which channel had the game against the Minnesota Vikings?
CREATE TABLE table_11465521_2 ( tv VARCHAR, opponent VARCHAR )
SELECT tv FROM table_11465521_2 WHERE opponent = "Minnesota Vikings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4448, 3769, 2658, 834, 357, 41, 3, 17, 208, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4245, 141, 8, 467, 581, 8, 9745,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 208, 21680, 953, 834, 2596, 4448, 3769, 2658, 834, 357, 549, 17444, 427, 15264, 3274, 96, 12858, 1496, 32, 17, 9, 19476, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What date was the episode originally aired that was directed by James Widdoes and the production code is 320?
CREATE TABLE table_2221374_3 ( original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_2221374_3 WHERE directed_by = "James Widdoes" AND production_code = 320
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 2368, 4581, 834, 519, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 26144, 2368, 4581, 834, 519, 549, 17444, 427, 6640, 834, 969, 3274, 96, 683, 9, 2687, 2142, 26, 26, 32, 15, 7, 121, 3430, 999, 834, 4978, 3274, 3, 15003, 1, -100, -100, ...
What is the name of the available rock single/pack by REO Speedwagon?
CREATE TABLE table_12467 ( "Artist" text, "Decade" text, "Genre" text, "Single / Pack name" text, "Release date" text, "Family Friendly" text, "Additional Rock Band 3 Features" text )
SELECT "Single / Pack name" FROM table_12467 WHERE "Genre" = 'rock' AND "Artist" = 'reo speedwagon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 3708, 41, 96, 7754, 343, 121, 1499, 6, 96, 2962, 6615, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 134, 53, 109, 3, 87, 7652, 564, 121, 1499, 6, 96, 1649, 40,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 53, 109, 3, 87, 7652, 564, 121, 21680, 953, 834, 22504, 3708, 549, 17444, 427, 96, 13714, 60, 121, 3274, 3, 31, 6133, 31, 3430, 96, 7754, 343, 121, 3274, 3, 31, 60, 32, 1634, 15238, 106, 31, 1, -100, ...
Among patients admitted on phys referral/normal deli, calculate the number of those who died in or before the year 2184.
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 ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.dod_year <= "2148.0"
[ 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, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083, 20805, 21415, 87, 24833, 329, 4090, 309, ...
who has the most years won of players who missed the cut ?
CREATE TABLE table_203_327 ( id number, "player" text, "country" text, "year(s) won" text, "r1" number, "r2" number, "total" number, "to par" number )
SELECT "player" FROM table_203_327 ORDER BY "year(s) won" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 519, 2555, 41, 3, 23, 26, 381, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 1201, 599, 7, 61, 751, 121, 1499, 6, 96, 52, 536, 121, 381, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20846, 121, 21680, 953, 834, 23330, 834, 519, 2555, 4674, 11300, 272, 476, 96, 1201, 599, 7, 61, 751, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton
CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)
SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2773, 2122, 4853, 834, 536, 41, 7, 1544, 834, 29, 32, 834, 948, 584, 4280, 28027, 6, 3143, 834, 29, 32, 834, 536, 584, 4280, 28027, 6, 3143, 834, 29, 32, 834, 755, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3143, 834, 29, 32, 834, 948, 21680, 953, 834, 357, 2773, 2122, 4853, 834, 536, 549, 17444, 427, 3143, 834, 29, 32, 834, 536, 3274, 96, 17453, 14843, 9516, 693, 121, 3430, 3143, 834, 29, 32, 834, 755, 3274, 96, 138...
Count the patients who stayed more than 69 days in the hospital with drug code metr500.
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 t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "69" AND prescriptions.formulary_drug_cd = "METR500"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What are the top 20 instrumental albums since 2000?
CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) CREATE TABLE tags ( index number, id number, tag text )
SELECT T2.groupname FROM torrents AS T2 JOIN tags AS T1 ON T1.id = T2.id WHERE T1.tag = "instrumental" AND T2.releasetype = "album" AND groupyear >= 2000 ORDER BY T2.totalsnatched DESC LIMIT 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23326, 7, 41, 563, 4350, 1499, 6, 792, 7, 29, 144, 4513, 381, 6, 2377, 1499, 6, 563, 1201, 381, 6, 1576, 6137, 1499, 6, 563, 23, 26, 381, 6, 3, 23, 26, 381, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 10739, 4350, 21680, 23326, 7, 6157, 332, 357, 3, 15355, 3162, 12391, 6157, 332, 536, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 23, 26, 549, 17444, 427, 332, 5411, 2408, 3274, 96, 25232, 138, 121, 3430, 33...
What is the Finish of 28 Wins?
CREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)
SELECT finish FROM table_name_8 WHERE wins = "28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 25535, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17578, 13, 2059, 4871, 7, 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, 1992, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 9204, 3274, 96, 2577, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When 1 active, 1 inactive is the canadian chapters how many founding dates are there?
CREATE TABLE table_28436909_4 ( founding_date VARCHAR, canadian_chapters VARCHAR )
SELECT COUNT(founding_date) FROM table_28436909_4 WHERE canadian_chapters = "1 Active, 1 Inactive"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4906, 3951, 4198, 834, 591, 41, 16072, 834, 5522, 584, 4280, 28027, 6, 54, 9, 8603, 834, 524, 6789, 277, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 19732, 53, 834, 5522, 61, 21680, 953, 834, 2577, 4906, 3951, 4198, 834, 591, 549, 17444, 427, 54, 9, 8603, 834, 524, 6789, 277, 3274, 96, 536, 11383, 6, 209, 86, 6645, 121, 1, -100, -100, -100, -...
find me the number of elective hospital admission patients who were dead/expired on discharge.
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...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.discharge_location = "DEAD/EXPIRED"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 3577, 14196, 8087, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14...
Which Award has a Group of césar awards, and a Result of nominated, and a Year larger than 2001, and a Film of 8 women (8 femmes)?
CREATE TABLE table_name_39 (award VARCHAR, film VARCHAR, year VARCHAR, group VARCHAR, result VARCHAR)
SELECT award FROM table_name_39 WHERE group = "césar awards" AND result = "nominated" AND year > 2001 AND film = "8 women (8 femmes)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 9, 2239, 584, 4280, 28027, 6, 814, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 563, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2760, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 563, 3274, 96, 75, 899, 291, 6120, 121, 3430, 741, 3274, 96, 3114, 77, 920, 121, 3430, 215, 2490, 4402, 3430, 814, 3274, 96, 927, 887, 13642, 9382, 61, 121, ...
What is the production code for the movie with 4.32 million U.S. viewers?
CREATE TABLE table_29074 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Production code" FROM table_29074 WHERE "U.S. viewers (millions)" = '4.32'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 4581, 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, 3174, 8291, 1081, 121, 21680, 953, 834, 23838, 4581, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 21841, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who were the original artist(s) on harder to breathe?
CREATE TABLE table_28715942_2 ( original_artist VARCHAR, track VARCHAR )
SELECT original_artist FROM table_28715942_2 WHERE track = "Harder To Breathe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4450, 3390, 4165, 834, 357, 41, 926, 834, 1408, 343, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 926, 2377, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 1408, 343, 21680, 953, 834, 2577, 4450, 3390, 4165, 834, 357, 549, 17444, 427, 1463, 3274, 96, 15537, 588, 304, 3004, 9, 532, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE NHL TEAM OF FINLAND?
CREATE TABLE table_name_71 ( nhl_team VARCHAR, nationality VARCHAR )
SELECT nhl_team FROM table_name_71 WHERE nationality = "finland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 22313, 332, 22684,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 29, 107, 40, 834, 11650, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1157, 485, 3274, 96, 89, 25948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose diagnoses long title is hypovolemia and lab test category is chemistry?
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Hypovolemia" AND lab."CATEGORY" = "Chemistry"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the leaast points for standing 5th
CREATE TABLE table_26882866_1 ( points INTEGER, standing VARCHAR )
SELECT MIN(points) FROM table_26882866_1 WHERE standing = "5th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4060, 2577, 3539, 834, 536, 41, 979, 3, 21342, 17966, 6, 4125, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 90, 9, 9, 7, 17, 979, 21, 4125, 305,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 2688, 4060, 2577, 3539, 834, 536, 549, 17444, 427, 4125, 3274, 96, 755, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In what Country will Dennis Bl mke play the Germany F13 Futures Tournament?
CREATE TABLE table_54505 ( "Tournament" text, "Date" text, "City" text, "Country" text, "Surface" text, "Singles champions" text )
SELECT "Country" FROM table_54505 WHERE "Singles champions" = 'dennis blömke' AND "Tournament" = 'germany f13 futures'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2128, 3076, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 450, 4861, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 755, 2128, 3076, 549, 17444, 427, 96, 134, 53, 965, 6336, 7, 121, 3274, 3, 31, 537, 29, 159, 3, 115, 9081, 51, 1050, 31, 3430, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, ...
For the flyers, what's the minimum capacity?
CREATE TABLE table_16384648_2 ( capacity INTEGER, team_nickname VARCHAR )
SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = "Flyers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3747, 4448, 3707, 834, 357, 41, 2614, 3, 21342, 17966, 6, 372, 834, 11191, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 3971, 277, 6, 125, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4010, 9, 6726, 61, 21680, 953, 834, 2938, 3747, 4448, 3707, 834, 357, 549, 17444, 427, 372, 834, 11191, 4350, 3274, 96, 371, 120, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For all employees who have the letters D or S in their first name, give me the comparison about the average of employee_id over the job_id , and group by attribute job_id by a bar chart.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(...
SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 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, 8729, ...
What is the purse total for the royal caribbean golf classic?
CREATE TABLE table_53351 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real )
SELECT SUM("Purse( $ )") FROM table_53351 WHERE "Tournament" = 'royal caribbean golf classic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 2469, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 345, 3589, 15, 599, 1514, 3, 61, 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, 180, 6122, 599, 121, 345, 3589, 15, 599, 1514, 3, 61, 8512, 21680, 953, 834, 4867, 2469, 536, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 8170, 138, 212, 6520, 346, 152, 4319, 2431, 31, 1, -100, ...
what is the total number of building for address on 201 1st avenue south
CREATE TABLE table_18075 ( "Rank" real, "Building" text, "Address" text, "Height" text, "Storeys" real, "Completed" real )
SELECT COUNT("Building") FROM table_18075 WHERE "Address" = '201 1st Avenue South'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 3072, 41, 96, 22557, 121, 490, 6, 96, 24752, 53, 121, 1499, 6, 96, 20773, 9377, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 28719, 63, 7, 121, 490, 6, 96, 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, 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, 24752, 53, 8512, 21680, 953, 834, 20829, 3072, 549, 17444, 427, 96, 20773, 9377, 121, 3274, 3, 31, 22772, 209, 7, 17, 6916, 1013, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What race has a Pole Position of Jacques Laffite?
CREATE TABLE table_56240 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Race" FROM table_56240 WHERE "Pole Position" = 'jacques laffite'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 11944, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 3302, 121, 21680, 953, 834, 4834, 11944, 549, 17444, 427, 96, 8931, 15, 14258, 121, 3274, 3, 31, 1191, 75, 7771, 50, 89, 5616, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the Quillacollo Municipality is 93131, what is the Vinto Municipality minimum?
CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, quillacollo_municipality VARCHAR)
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE quillacollo_municipality = 93131
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 4729, 2368, 834, 357, 41, 2494, 235, 834, 11760, 3389, 10355, 3, 21342, 17966, 6, 285, 195, 9, 3297, 40, 32, 834, 11760, 3389, 10355, 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, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2494, 235, 834, 11760, 3389, 10355, 61, 21680, 953, 834, 11434, 4729, 2368, 834, 357, 549, 17444, 427, 285, 195, 9, 3297, 40, 32, 834, 11760, 3389, 10355, 3274, 3, 4271, 22048, 1, -100, -100, -100, -1...
What is the record of the game with a decision of Ellis and Vancouver as the visitor?
CREATE TABLE table_name_79 ( record VARCHAR, decision VARCHAR, visitor VARCHAR )
SELECT record FROM table_name_79 WHERE decision = "ellis" AND visitor = "vancouver"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 1368, 584, 4280, 28027, 6, 1357, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 13, 8, 467, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1357, 3274, 96, 7999, 7, 121, 3430, 7019, 3274, 96, 2132, 3422, 624, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Set 1 of the 45:40 Total?
CREATE TABLE table_name_73 ( set_1 VARCHAR, total VARCHAR )
SELECT set_1 FROM table_name_73 WHERE total = "45:40"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 356, 834, 536, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2821, 209, 13, 8, 3479, 10, 2445, 9273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 356, 834, 536, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 792, 3274, 96, 2128, 10, 2445, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which species on R union island is part of the procellariiformes order and is part of the hydrobatidae family and has less than 21 species worldwide?
CREATE TABLE table_69851 ( "Species" text, "Order" text, "Family" text, "Species worldwide" real, "Species on R\u00e9union" real )
SELECT SUM("Species on R\u00e9union") FROM table_69851 WHERE "Order" = 'procellariiformes' AND "Family" = 'hydrobatidae' AND "Species worldwide" < '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 4433, 536, 41, 96, 7727, 725, 121, 1499, 6, 96, 7395, 588, 121, 1499, 6, 96, 371, 3690, 120, 121, 1499, 6, 96, 7727, 725, 4388, 121, 490, 6, 96, 7727, 725, 30, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 7727, 725, 30, 391, 2, 76, 1206, 15, 1298, 16598, 8512, 21680, 953, 834, 3951, 4433, 536, 549, 17444, 427, 96, 7395, 588, 121, 3274, 3, 31, 1409, 8725, 3685, 2032, 15, 7, 31, 3430, 96, 371, ...
How many percentages are listed for the election in 1983?
CREATE TABLE table_21131 ( "Election" real, "Candidates fielded" real, "# of seats won" real, "Total votes" real, "% of popular vote" text, "Place" text )
SELECT COUNT("% of popular vote") FROM table_21131 WHERE "Election" = '1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 22048, 41, 96, 427, 12252, 121, 490, 6, 96, 14050, 12416, 6203, 1057, 15, 26, 121, 490, 6, 96, 4663, 13, 6116, 751, 121, 490, 6, 96, 3696, 1947, 11839, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1454, 13, 1012, 2902, 8512, 21680, 953, 834, 2658, 22048, 549, 17444, 427, 96, 427, 12252, 121, 3274, 3, 31, 2294, 4591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the least f/laps
CREATE TABLE table_25375093_1 (f_laps INTEGER)
SELECT MIN(f_laps) FROM table_25375093_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 519, 9979, 4271, 834, 536, 41, 89, 834, 8478, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 3, 89, 87, 8478, 7, 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, 3, 17684, 599, 89, 834, 8478, 7, 61, 21680, 953, 834, 1828, 519, 9979, 4271, 834, 536, 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 total number of customers across banks?
CREATE TABLE bank ( branch_id number, bname text, no_of_customers number, city text, state text ) CREATE TABLE loan ( loan_id text, loan_type text, cust_id text, branch_id text, amount number ) CREATE TABLE customer ( cust_id text, cust_name text, acc_type text, ...
SELECT SUM(no_of_customers) FROM bank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 6421, 834, 23, 26, 381, 6, 3, 115, 4350, 1499, 6, 150, 834, 858, 834, 25697, 277, 381, 6, 690, 1499, 6, 538, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 29, 32, 834, 858, 834, 25697, 277, 61, 21680, 2137, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Away captain has a Date of 26,27,28,29 december 1998?
CREATE TABLE table_name_12 (away_captain VARCHAR, date VARCHAR)
SELECT away_captain FROM table_name_12 WHERE date = "26,27,28,29 december 1998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 8006, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 71, 1343, 14268, 65, 3, 9, 7678, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 833, 3274, 96, 2688, 6, 2555, 6, 2577, 6, 3166, 20, 75, 18247, 6260, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For the Reno Aces, what are the Losses when they had 1 Appearances and a Winning Percentage of 1?
CREATE TABLE table_name_54 (losses INTEGER, team VARCHAR, appearances VARCHAR, winning_percentage VARCHAR)
SELECT SUM(losses) FROM table_name_54 WHERE appearances = 1 AND winning_percentage = 1 AND team = "reno aces"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 2298, 2260, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 3179, 7, 584, 4280, 28027, 6, 3447, 834, 883, 3728, 545, 584, 4280, 28027, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 3179, 7, 3274, 209, 3430, 3447, 834, 883, 3728, 545, 3274, 209, 3430, 372, 3274, 96, 1536, 32, 3, 9, 2319, 121, 1, -100, -100, -10...
who is at the top out of the riders ?
CREATE TABLE table_203_166 ( id number, "pos" text, "no" number, "rider" text, "manufacturer" text, "laps" number, "time" text, "grid" number, "points" number )
SELECT "rider" FROM table_203_166 ORDER BY "pos" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 26811, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 29, 32, 121, 381, 6, 96, 4055, 49, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4055, 49, 121, 21680, 953, 834, 23330, 834, 26811, 4674, 11300, 272, 476, 96, 2748, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the attendance for the game on May 25?
CREATE TABLE table_name_33 ( attendance VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_33 WHERE date = "may 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 11364, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11364, 21, 8, 467, 30, 932, 944, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 833, 3274, 96, 13726, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Bar chart of school_id from each all games
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT All_Games, School_ID FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 23055, 7, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about meter_100 over the meter_500 by a bar chart.
CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE...
SELECT meter_500, meter_100 FROM swimmer
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699, 16, 17, 6, 564, 1499, 6, 868, 485, 1499, 6, 3, 4401, 834, 2915, 490, 6, 3, 4401, 834, 3632, 1499, 6, 3, 4401, 834, 5426, 1499, 6, 3, 4401, 834, 5548, 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, 3, 4401, 834, 2560, 6, 3, 4401, 834, 2915, 21680, 27424, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give the number of patients who were admitted before the year 2158 and whose diagnosis long title is unspecified pleural effusion.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2158" AND diagnoses.long_title = "Unspecified pleural effusion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
what is the number of patients whose insurance is self pay and lab test name is granular casts?
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Self Pay" AND lab.label = "Granular Casts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who were the children of Benjamin Harrison?
CREATE TABLE table_24143253_5 ( children_together VARCHAR, name VARCHAR )
SELECT children_together FROM table_24143253_5 WHERE name = "Benjamin Harrison"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2534, 2668, 4867, 834, 755, 41, 502, 834, 25968, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 502, 13, 15717, 20429, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 834, 25968, 21680, 953, 834, 2266, 2534, 2668, 4867, 834, 755, 549, 17444, 427, 564, 3274, 96, 279, 35, 1191, 1109, 20429, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
I want the IATA for ICAO of zgkl
CREATE TABLE table_name_32 ( iata VARCHAR, icao VARCHAR )
SELECT iata FROM table_name_32 WHERE icao = "zgkl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 3, 17221, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 27, 19282, 21, 3, 15038, 667, 13, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17221, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 3, 2617, 32, 3274, 96, 172, 122, 157, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who has more than 70 score with +1 to par?
CREATE TABLE table_15526 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Player" FROM table_15526 WHERE "Score" > '70' AND "To par" = '+1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 2688, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 20896, 2688, 549, 17444, 427, 96, 134, 9022, 121, 2490, 3, 31, 2518, 31, 3430, 96, 3696, 260, 121, 3274, 3, 31, 18446, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the change over previous year as a whole in the period in which the change over same quarter the previous year was up 2.8%?
CREATE TABLE table_171748_3 (change_over_previous_year_as_a_whole VARCHAR, change_over_same_quarter_the_previous_year VARCHAR)
SELECT change_over_previous_year_as_a_whole FROM table_171748_3 WHERE change_over_same_quarter_the_previous_year = "Up 2.8%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2517, 3707, 834, 519, 41, 13073, 834, 1890, 834, 2026, 19117, 834, 1201, 834, 9, 7, 834, 9, 834, 8903, 109, 584, 4280, 28027, 6, 483, 834, 1890, 834, 7, 265, 15, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 483, 834, 1890, 834, 2026, 19117, 834, 1201, 834, 9, 7, 834, 9, 834, 8903, 109, 21680, 953, 834, 2517, 2517, 3707, 834, 519, 549, 17444, 427, 483, 834, 1890, 834, 7, 265, 15, 834, 19973, 834, 532, 834, 2026, 19117...
who was the next head coach after marty brill ?
CREATE TABLE table_203_814 ( id number, "season" number, "head coach" text, "overall record" text, "conference record" text )
SELECT "head coach" FROM table_203_814 WHERE "season" = (SELECT "season" FROM table_203_814 WHERE "head coach" = 'marty brill' ORDER BY "season" DESC LIMIT 1) + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 2534, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 3313, 3763, 121, 1499, 6, 96, 1890, 1748, 1368, 121, 1499, 6, 96, 28496, 1368, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3313, 3763, 121, 21680, 953, 834, 23330, 834, 927, 2534, 549, 17444, 427, 96, 9476, 121, 3274, 41, 23143, 14196, 96, 9476, 121, 21680, 953, 834, 23330, 834, 927, 2534, 549, 17444, 427, 96, 3313, 3763, 121, 3274, ...
What was the nationality of the winner for the 20th Edition?
CREATE TABLE table_78779 ( "Edition" text, "Date" text, "Winner" text, "Country" text, "Time ( h : m : s )" text )
SELECT "Country" FROM table_78779 WHERE "Edition" = '20th'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 940, 4440, 41, 96, 427, 10569, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 41, 3, 107, 3, 10,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3940, 940, 4440, 549, 17444, 427, 96, 427, 10569, 121, 3274, 3, 31, 1755, 189, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
List the last name of the students who do not have any food type allergy and count them in a bart chart, and sort by the the number of lname in desc.
CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGE...
SELECT LName, COUNT(LName) FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.AllergyType = "food") GROUP BY LName ORDER BY COUNT(LName) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 49, 122, 63, 834, 25160, 41, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 201, 432, 49, 122, 63, 25160, 584, 4280, 28027, 599, 1755, 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, 301, 23954, 6, 2847, 17161, 599, 434, 23954, 61, 21680, 6341, 549, 17444, 427, 4486, 3, 13076, 4309, 3388, 41, 23143, 14196, 332, 5411, 13076, 4309, 21680, 4498, 834, 6838, 49, 122, 63, 6157, 332, 536, 3, 15355, 3162,...