NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the download of the varies catch-up period?
CREATE TABLE table_78802 ( "Service name" text, "Owner" text, "Catch-up period" text, "Streamed" text, "Download" text, "Technology" text )
SELECT "Download" FROM table_78802 WHERE "Catch-up period" = 'varies'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 2079, 357, 41, 96, 15260, 564, 121, 1499, 6, 96, 667, 210, 687, 121, 1499, 6, 96, 254, 14547, 18, 413, 1059, 121, 1499, 6, 96, 10770, 15, 26, 121, 1499, 6, 96, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 28380, 121, 21680, 953, 834, 3940, 2079, 357, 549, 17444, 427, 96, 254, 14547, 18, 413, 1059, 121, 3274, 3, 31, 15550, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the 1st leg when Team 2 was Aurora?
CREATE TABLE table_name_3 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 11650, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 209, 7, 17, 4553, 116, 2271, 204, 47, 23861, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 209, 6157, 3, 7, 17, 834, 5772, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 372, 834, 357, 3274, 96, 402, 22215, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the win loss record the lady who appeard in 1969?
CREATE TABLE table_25820584_7 ( win_loss VARCHAR, year_s_ VARCHAR )
SELECT win_loss FROM table_25820584_7 WHERE year_s_ = "1969"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4613, 3076, 4608, 834, 940, 41, 1369, 834, 2298, 7, 584, 4280, 28027, 6, 215, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1369, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1369, 834, 2298, 7, 21680, 953, 834, 1828, 4613, 3076, 4608, 834, 940, 549, 17444, 427, 215, 834, 7, 834, 3274, 96, 2294, 3951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
was the venue in athens or beijing associated with 31st place ?
CREATE TABLE table_204_880 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text )
SELECT "venue" FROM table_204_880 WHERE "venue" IN ('athens', 'beijing') AND "position" = 31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 2079, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 15, 2169, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15098, 121, 21680, 953, 834, 26363, 834, 927, 2079, 549, 17444, 427, 96, 15098, 121, 3388, 41, 31, 9, 189, 35, 7, 31, 6, 3, 31, 5358, 354, 53, 31, 61, 3430, 96, 4718, 121, 3274, 2664, 1, -100, -100, -100, ...
When the home team was geelong, who played as the away team?
CREATE TABLE table_name_80 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_name_80 WHERE home_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 234, 372, 47, 873, 15, 2961, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 2079, 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, -100, -100, -10...
What is the high grid total for maserati?
CREATE TABLE table_name_68 (grid INTEGER, constructor VARCHAR)
SELECT MAX(grid) FROM table_name_68 WHERE constructor = "maserati"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3496, 26, 3, 21342, 17966, 6, 6774, 127, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 306, 8634, 792, 21, 3, 2754, 15, 6850, 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, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 6774, 127, 3274, 96, 2754, 15, 6850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose insurance is government and lab test name is ammonia?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "Ammonia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What driver has Scott Zipadelli as a crew chief?
CREATE TABLE table_name_44 ( driver_s_ VARCHAR, crew_chief VARCHAR )
SELECT driver_s_ FROM table_name_44 WHERE crew_chief = "scott zipadelli"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 2535, 834, 7, 834, 584, 4280, 28027, 6, 4627, 834, 20053, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2535, 65, 4972, 3969, 5612, 7999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2535, 834, 7, 834, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 4627, 834, 20053, 3274, 96, 7, 10405, 10658, 9, 26, 7999, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many wins for the year that is later than 1987 and has points less than 188?
CREATE TABLE table_name_47 ( wins VARCHAR, year VARCHAR, points VARCHAR )
SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 9204, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 9204, 21, 8, 215, 24, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9204, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 215, 2490, 12701, 3430, 979, 3, 2, 3, 25794, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the comments when the implementation is software running on central processor module?
CREATE TABLE table_17406 ( "Vendor and type" text, "Models" text, "NetFlow Version" text, "Implementation" text, "Comments" text )
SELECT "Comments" FROM table_17406 WHERE "Implementation" = 'Software running on Central Processor Module'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 5176, 41, 96, 553, 989, 127, 11, 686, 121, 1499, 6, 96, 24663, 7, 121, 1499, 6, 96, 9688, 15390, 8011, 121, 1499, 6, 96, 196, 9208, 297, 257, 121, 1499, 6, 96, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5890, 4128, 121, 21680, 953, 834, 27693, 5176, 549, 17444, 427, 96, 196, 9208, 297, 257, 121, 3274, 3, 31, 29944, 1180, 30, 2808, 10272, 127, 20137, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When assists is more than 32 and total blocks is more than 88, what is the total of block assists?
CREATE TABLE table_12688 ( "Season" text, "GP/MP" text, "Kills" real, "K/Game" real, "Errors" real, "Total Attempts" real, "Percentage" real, "Assists" real, "Service Aces" real, "Digs" real, "Solo Blocks" real, "Block Assists" real, "Total Blocks" real )
SELECT SUM("Block Assists") FROM table_12688 WHERE "Assists" > '32' AND "Total Blocks" > '88'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21976, 4060, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 8049, 87, 5244, 121, 1499, 6, 96, 439, 1092, 7, 121, 490, 6, 96, 439, 87, 23055, 121, 490, 6, 96, 10575, 52, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 4029, 282, 7, 343, 7, 8512, 21680, 953, 834, 21976, 4060, 549, 17444, 427, 96, 188, 7, 7, 343, 7, 121, 2490, 3, 31, 2668, 31, 3430, 96, 3696, 1947, 9387, 7, 121, 2490, 3, 31, 4060, 31...
Which Crowd has a Home team of richmond?
CREATE TABLE table_name_14 ( crowd INTEGER, home_team VARCHAR )
SELECT SUM(crowd) FROM table_name_14 WHERE home_team = "richmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 4374, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15343, 26, 65, 3, 9, 1210, 372, 13, 2354, 6764...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3723, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of job_id and the sum of salary , and group by attribute job_id, and could you rank by the X from low to high?
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, 834, 4309, ...
When was the Result of 3 2, with a Score of 6 0, 6 4?
CREATE TABLE table_name_72 ( date VARCHAR, result VARCHAR, score VARCHAR )
SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 833, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 3, 20119, 13, 220, 3547, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 741, 3274, 96, 519, 104, 357, 121, 3430, 2604, 3274, 96, 948, 104, 632, 6, 431, 104, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many n are listed for berbers from siwa?
CREATE TABLE table_73306 ( "Region" text, "Population" text, "Country" text, "Language" text, "N" real, "Total%" text, "R1b1c (R-V88)" text, "R1b1a2 (R-M269)" text, "R1b1c* (R-V88*)" text, "R1b1c4 (R-V69)" text )
SELECT COUNT("N") FROM table_73306 WHERE "Population" = 'Berbers from Siwa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 1458, 948, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 27773, 7830, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 567, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 567, 8512, 21680, 953, 834, 4552, 1458, 948, 549, 17444, 427, 96, 27773, 7830, 121, 3274, 3, 31, 279, 49, 1152, 7, 45, 925, 210, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
had patient 007-2001 undergone anticonvulsant - phenytoin?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, ...
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-2001')) AND treatment.treatmentname = 'anticonvulsant - phenytoin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 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, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
What games had the women's half middleweight event?
CREATE TABLE table_72042 ( "Medal" text, "Name" text, "Games" text, "Sport" text, "Event" text )
SELECT "Games" FROM table_72042 WHERE "Event" = 'women''s half middleweight'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18517, 4165, 41, 96, 20123, 138, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 23055, 7, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 427, 2169, 121, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 23055, 7, 121, 21680, 953, 834, 18517, 4165, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 210, 32, 904, 31, 31, 7, 985, 2214, 9378, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average value for Top-5, when the value for Top-25 is 0, and the value for Wins is less than 0?
CREATE TABLE table_name_66 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR)
SELECT AVG(top_5) FROM table_name_66 WHERE top_25 = 0 AND wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 2916, 834, 755, 3, 21342, 17966, 6, 420, 834, 1828, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 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, 71, 17217, 599, 2916, 834, 9120, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 420, 834, 1828, 3274, 3, 632, 3430, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Natural change has a Crude death rate (per 1000) larger than 9, and Deaths of 40 399?
CREATE TABLE table_78657 ( "Average population (x 1000)" text, "Live births" text, "Deaths" text, "Natural change" text, "Crude birth rate (per 1000)" real, "Crude death rate (per 1000)" real, "Natural change (per 1000)" text )
SELECT "Natural change" FROM table_78657 WHERE "Crude death rate (per 1000)" > '9' AND "Deaths" = '40 399'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3840, 3436, 41, 96, 188, 624, 545, 2074, 41, 226, 5580, 61, 121, 1499, 6, 96, 24179, 3879, 7, 121, 1499, 6, 96, 2962, 9, 189, 7, 121, 1499, 6, 96, 567, 13149, 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, 567, 13149, 40, 483, 121, 21680, 953, 834, 940, 3840, 3436, 549, 17444, 427, 96, 254, 17237, 15, 1687, 1080, 41, 883, 5580, 61, 121, 2490, 3, 31, 1298, 31, 3430, 96, 2962, 9, 189, 7, 121, 3274, 3, 31, 2445, ...
Where was the game held when Fitzroy was the away team?
CREATE TABLE table_33248 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_33248 WHERE "Away team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2668, 3707, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 519, 2668, 3707, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Return a bar chart showing how many customers whose contact channel code is email for each year.
CREATE TABLE Customers ( customer_id INTEGER, payment_method VARCHAR(15), customer_name VARCHAR(80), date_became_customer DATETIME, other_customer_details VARCHAR(255) ) CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_status VARCHAR(15), order_date DATETI...
SELECT active_from_date, COUNT(active_from_date) FROM Customers AS t1 JOIN Customer_Contact_Channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 1942, 834, 23152, 584, 4280, 28027, 599, 1808, 201, 884, 834, 4350, 584, 4280, 28027, 599, 2079, 201, 833, 834, 346, 6527, 15, 834, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1676, 834, 7152, 834, 5522, 6, 2847, 17161, 599, 6645, 834, 7152, 834, 5522, 61, 21680, 16423, 6157, 3, 17, 536, 3, 15355, 3162, 7327, 834, 31691, 834, 3541, 4515, 40, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25697...
What is the highest number of laps when there are less than 5 points for team garry rogers motorsport and the grid number is under 23?
CREATE TABLE table_name_49 ( laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR )
SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry rogers motorsport" AND grid < 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 14941, 7, 3, 21342, 17966, 6, 8634, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 979, 3, 2, 305, 3430, 372, 3274, 96, 1478, 651, 3, 3822, 277, 2340, 6661, 121, 3430, 8634, 3, 2, 1902, 1, -100, -100, -100, -100, -10...
What is the Time with a Score that is 80-34?
CREATE TABLE table_75856 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text )
SELECT "Time" FROM table_75856 WHERE "Score" = '80-34'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 4433, 948, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 517, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 121, 21680, 953, 834, 3072, 4433, 948, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 2079, 18, 3710, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients who are under the age of 51 and have been primarily diagnosed for neoplasm of uncertain behavior of other lymphatic and hematopoietic tissues\bone marrow transplant .
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "NEOPLASM OF UNCERTAIN BEHAVIOR OF OTHER LYMPHATIC AND HEMATOPOIETIC TISSUES\BONE MARROW TRANSPLANT" AND demographic.age < "51"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 4171, 4652, 20245, 329, 3347, 4417, 29305, 13570, 6554, 566, 23412, 2990...
At which stadium did the Los Angeles Raiders play as the visiting team?
CREATE TABLE table_68756 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text )
SELECT "Stadium" FROM table_68756 WHERE "Visiting Team" = 'los angeles raiders'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3072, 948, 41, 96, 308, 342, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 371, 10270, 17763, 121, 1499, 6, 96, 566, 3481, 2271, 121, 1499, 6, 96, 134, 17, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 9, 12925, 121, 21680, 953, 834, 3651, 3072, 948, 549, 17444, 427, 96, 30338, 2271, 121, 3274, 3, 31, 2298, 11831, 15, 7, 15941, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the name of the tournament played on Jun 17, 1973?
CREATE TABLE table_name_3 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_3 WHERE date = "jun 17, 1973"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 5892, 1944, 30, 10745, 12864...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 833, 3274, 96, 6959, 12864, 17107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many periods had 15 goals?
CREATE TABLE table_24565004_11 ( period VARCHAR, goals¹ VARCHAR )
SELECT COUNT(period) FROM table_24565004_11 WHERE goals¹ = 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 2596, 41, 1059, 584, 4280, 28027, 6, 1766, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8811, 141, 627, 1766, 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, 2847, 17161, 599, 4267, 32, 26, 61, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 2596, 549, 17444, 427, 1766, 536, 3274, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients whose ethnicity is black/haitian and diagnoses icd9 code is 2948?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND diagnoses.icd9_code = "2948"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Name the opponents for round of round 5
CREATE TABLE table_name_9 ( opponents VARCHAR, round VARCHAR )
SELECT opponents FROM table_name_9 WHERE round = "round 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 16383, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 16383, 21, 1751, 13, 1751, 305, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16383, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1751, 3274, 96, 7775, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What home team played Collingwood as the away team?
CREATE TABLE table_name_42 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_42 WHERE away_team = "collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 234, 372, 1944, 9919, 53, 2037, 38, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3297, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those employees who was hired before 2002-06-21, find hire_date and the sum of salary bin hire_date by time, and visualize them by a bar chart, and I want to show total number of salary in desc order.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), ...
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(SALARY) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 180, 6122, 599, 134, 4...
What was the final result when the viewers selected ejay?
CREATE TABLE table_19873 ( "Task No." real, "Day announced" text, "Description" text, "Options" text, "Viewers selection" text, "Result" text )
SELECT "Result" FROM table_19873 WHERE "Viewers selection" = 'Ejay'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 4552, 41, 96, 382, 9, 7, 157, 465, 535, 490, 6, 96, 16803, 2162, 121, 1499, 6, 96, 2962, 11830, 121, 1499, 6, 96, 9546, 106, 7, 121, 1499, 6, 96, 15270, 277, 180...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24151, 4552, 549, 17444, 427, 96, 15270, 277, 1801, 121, 3274, 3, 31, 427, 1191, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which CONMEBOL 1995 has river plate team?
CREATE TABLE table_name_61 ( conmebol_1995 VARCHAR, team VARCHAR )
SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 975, 526, 4243, 834, 2294, 3301, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 8472, 4369, 279, 5194, 7273, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 975, 526, 4243, 834, 2294, 3301, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 372, 3274, 96, 5927, 49, 3829, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9?
CREATE TABLE table_name_15 (losses INTEGER, played VARCHAR, scored VARCHAR, points VARCHAR)
SELECT SUM(losses) FROM table_name_15 WHERE scored > 15 AND points > 16 AND played > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2298, 2260, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 5799, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 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, 1808, 549, 17444, 427, 5799, 2490, 627, 3430, 979, 2490, 898, 3430, 1944, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Can you tell me the Overall Record that has the Away Team of miami?
CREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1890, 1748, 834, 60, 7621, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 9126, 11392,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1879, 834, 60, 7621, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 550, 834, 11650, 3274, 96, 51, 23, 3690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many titles are there for the original air date April 3, 2012?
CREATE TABLE table_28343 ( "No. in series" text, "No. in season" text, "Title" text, "Animation directors" text, "Written by" text, "Original air date" text )
SELECT COUNT("Title") FROM table_28343 WHERE "Original air date" = 'April 3, 2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3710, 519, 41, 96, 4168, 5, 16, 939, 121, 1499, 6, 96, 4168, 5, 16, 774, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 19209, 257, 10392, 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, 382, 155, 109, 8512, 21680, 953, 834, 2577, 3710, 519, 549, 17444, 427, 96, 667, 3380, 10270, 799, 833, 121, 3274, 3, 31, 23323, 6180, 1673, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
When did the Brewers lose 2-8?
CREATE TABLE table_name_63 ( loss VARCHAR, score VARCHAR )
SELECT loss FROM table_name_63 WHERE score = "2-8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1453, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 3004, 3321, 7, 2615, 204, 6039, 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, 1453, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 2604, 3274, 96, 357, 6039, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record of the match with a win res., a 5:00 time, and more than 3 rounds?
CREATE TABLE table_61351 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_61351 WHERE "Res." = 'win' AND "Time" = '5:00' AND "Round" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 2469, 536, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 4241, 2469, 536, 549, 17444, 427, 96, 1649, 7, 535, 3274, 3, 31, 3757, 31, 3430, 96, 13368, 121, 3274, 3, 31, 19870, 31, 3430, 96, 448, 32, 1106, 121, 2490, 3, 31, 519, 31, ...
Name the gore number for others % being 5.3%
CREATE TABLE table_25625 ( "County" text, "Gore %" text, "Gore #" real, "Bush %" text, "Bush #" real, "Others %" text, "Others #" text )
SELECT "Gore #" FROM table_25625 WHERE "Others %" = '5.3%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 41, 96, 10628, 63, 121, 1499, 6, 96, 6221, 60, 3, 1454, 121, 1499, 6, 96, 6221, 60, 1713, 121, 490, 6, 96, 279, 8489, 3, 1454, 121, 1499, 6, 96, 279, 8489,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6221, 60, 1713, 121, 21680, 953, 834, 19337, 1828, 549, 17444, 427, 96, 667, 189, 277, 3, 1454, 121, 3274, 3, 31, 9125, 5170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham?
CREATE TABLE table_name_4 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
SELECT length FROM table_name_4 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 19457, 584, 4280, 28027, 6, 13075, 834, 7, 834, 584, 4280, 28027, 6, 8031, 52, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2475, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 13075, 834, 7, 834, 3274, 96, 7, 1639, 26, 1016, 29, 121, 3430, 8031, 52, 834, 7, 834, 3274, 96, 13272, 9782, 127, 29, 1911, 122, 11292, 17, 1483, 121, 1, ...
provide me the number of patients diagnosed with suicidal ideation who had delta abnormal lab test status.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
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 = "Suicidal ideation" AND lab.flag = "delta"
[ 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, 3...
What is the score of the B.C. Open in New York?
CREATE TABLE table_name_65 ( score VARCHAR, location VARCHAR, tournament VARCHAR )
SELECT score FROM table_name_65 WHERE location = "new york" AND tournament = "b.c. open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 2604, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 272, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 3274, 96, 5534, 25453, 121, 3430, 5892, 3274, 96, 115, 5, 75, 5, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which New/Returning/Same Network has a Last Aired of 1982?
CREATE TABLE table_name_29 (new_returning_same_network VARCHAR, last_aired VARCHAR)
SELECT new_returning_same_network FROM table_name_29 WHERE last_aired = 1982
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 5534, 834, 60, 7535, 53, 834, 7, 265, 15, 834, 1582, 1981, 584, 4280, 28027, 6, 336, 834, 2378, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 126, 834, 60, 7535, 53, 834, 7, 265, 15, 834, 1582, 1981, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 336, 834, 2378, 26, 3274, 14505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Draw a bar chart of location versus how many location, and display by the x-axis from low to high.
CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text )
SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26033, 52, 41, 549, 6216, 1171, 834, 4309, 16, 17, 6, 5570, 1499, 6, 419, 3191, 1499, 6, 13992, 834, 14796, 1499, 6, 10450, 1499, 6, 8042, 1499, 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, 10450, 6, 2847, 17161, 599, 434, 32, 75, 257, 61, 21680, 26033, 52, 350, 4630, 6880, 272, 476, 10450, 4674, 11300, 272, 476, 10450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest number of games with more than 0 draws and 11 losses?
CREATE TABLE table_name_33 (games INTEGER, draws VARCHAR, lost VARCHAR)
SELECT MAX(games) FROM table_name_33 WHERE draws > 0 AND lost = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 7261, 7, 3, 21342, 17966, 6, 14924, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 1031, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 14924, 2490, 3, 632, 3430, 1513, 3274, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the session at the circuit of lowes motor speedway?
CREATE TABLE table_name_70 ( session VARCHAR, circuit VARCHAR )
SELECT session FROM table_name_70 WHERE circuit = "lowes motor speedway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 2363, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2363, 44, 8, 4558, 13, 731, 15, 7, 2340, 1634, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2363, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 4558, 3274, 96, 3216, 15, 7, 2340, 1634, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Tournament had a Score of 4 6, 6 7, 3 6?
CREATE TABLE table_65303 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Tournament" FROM table_65303 WHERE "Score" = '4–6, 6–7, 3–6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 23335, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 4122, 23335, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 591, 104, 11071, 431, 104, 940, 6, 220, 104, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What venue had a competition of World Junior Championships before 2011?
CREATE TABLE table_name_29 (venue VARCHAR, year VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_29 WHERE year < 2011 AND competition = "world junior championships"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 15098, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 141, 3, 9, 2259, 13, 1150, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 215, 3, 2, 2722, 3430, 2259, 3274, 96, 7276, 9212, 10183, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Name when the League Cup shows 0 (0), and the FA Cup is 12 (14)?
CREATE TABLE table_name_40 ( name VARCHAR, league_cup VARCHAR, fa_cup VARCHAR )
SELECT name FROM table_name_40 WHERE league_cup = "0 (0)" AND fa_cup = "12 (14)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 564, 584, 4280, 28027, 6, 5533, 834, 4658, 584, 4280, 28027, 6, 3, 89, 9, 834, 4658, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 5533, 834, 4658, 3274, 96, 632, 3, 31862, 121, 3430, 3, 89, 9, 834, 4658, 3274, 96, 2122, 4077, 7256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the Athlete with a rowing Time of 6:36.05?
CREATE TABLE table_63199 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text )
SELECT "Athlete" FROM table_63199 WHERE "Time" = '6:36.05'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 19479, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 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, 188, 189, 1655, 15, 121, 21680, 953, 834, 3891, 19479, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 948, 10, 3420, 5, 3076, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many draws are there when the score is 13?
CREATE TABLE table_18594107_2 ( draws INTEGER, scored VARCHAR )
SELECT MAX(draws) FROM table_18594107_2 WHERE scored = 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 4240, 18057, 834, 357, 41, 14924, 3, 21342, 17966, 6, 5799, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14924, 33, 132, 116, 8, 2604, 19, 1179, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 19489, 7, 61, 21680, 953, 834, 21594, 4240, 18057, 834, 357, 549, 17444, 427, 5799, 3274, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the score when the tie number was a replay and the home team was mansfield town?
CREATE TABLE table_name_59 ( score VARCHAR, tie_no VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 2604, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 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, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 60, 4895, 121, 3430, 234, 834, 11650, 3274, 96, 348, 7, 1846, 1511, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who sponsored the bill that was introduced on June 2, 2009?
CREATE TABLE table_35162 ( "Congress" text, "Bill number(s)" text, "Date introduced" text, "Sponsor(s)" text, "# of cosponsors" real, "Latest status" text )
SELECT "Sponsor(s)" FROM table_35162 WHERE "Date introduced" = 'june 2, 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 2938, 357, 41, 96, 4302, 10292, 121, 1499, 6, 96, 279, 1092, 381, 599, 7, 61, 121, 1499, 6, 96, 308, 342, 3665, 121, 1499, 6, 96, 134, 5041, 7, 127, 599, 7, 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, 134, 5041, 7, 127, 599, 7, 61, 121, 21680, 953, 834, 2469, 2938, 357, 549, 17444, 427, 96, 308, 342, 3665, 121, 3274, 3, 31, 6959, 15, 3547, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Site that has a Sex and other data of old male?
CREATE TABLE table_name_42 (site INTEGER, sex_and_other_data VARCHAR)
SELECT MAX(site) FROM table_name_42 WHERE sex_and_other_data = "old male"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 3585, 3, 21342, 17966, 6, 3, 7, 994, 834, 232, 834, 9269, 834, 6757, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3238, 24, 65, 3, 9, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3585, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 3, 7, 994, 834, 232, 834, 9269, 834, 6757, 3274, 96, 1490, 5069, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people attended the match when Manchester United played against the Hearts?
CREATE TABLE table_name_95 ( attendance INTEGER, opponents VARCHAR )
SELECT SUM(attendance) FROM table_name_95 WHERE opponents = "hearts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 11364, 3, 21342, 17966, 6, 16383, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 5526, 8, 1588, 116, 9145, 907, 1944, 581, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 16383, 3274, 96, 88, 1408, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Lambert's song choice in the top 13?
CREATE TABLE table_21501511_1 ( song_choice VARCHAR, week__number VARCHAR )
SELECT song_choice FROM table_21501511_1 WHERE week__number = "Top 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 12278, 1808, 2596, 834, 536, 41, 2324, 834, 3995, 867, 584, 4280, 28027, 6, 471, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 834, 3995, 867, 21680, 953, 834, 357, 12278, 1808, 2596, 834, 536, 549, 17444, 427, 471, 834, 834, 5525, 1152, 3274, 96, 22481, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the number of series episode for s piston
CREATE TABLE table_1198 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT COUNT("Series Ep.") FROM table_1198 WHERE "Segment A" = 's Piston'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3916, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 9688, 89, 17591, 121, 1499, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 12106, 7, 10395, 5, 8512, 21680, 953, 834, 2596, 3916, 549, 17444, 427, 96, 134, 15, 122, 297, 71, 121, 3274, 3, 31, 7, 2745, 4411, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times did the Denver Broncos face the Dallas Texans this season?
CREATE TABLE table_21916 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real )
SELECT COUNT("Record") FROM table_21916 WHERE "Opponent" = 'Dallas Texans'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2294, 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, 23055, 353, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1649, 7621, 8512, 21680, 953, 834, 357, 2294, 2938, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 308, 1748, 9, 7, 3, 13598, 3247, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
How many students have each different allergy. Show bar chart.
CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER...
SELECT Allergy, COUNT(*) FROM Has_Allergy GROUP BY Allergy
[ 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, 432, 49, 122, 63, 6, 2847, 17161, 599, 1935, 61, 21680, 4498, 834, 6838, 49, 122, 63, 350, 4630, 6880, 272, 476, 432, 49, 122, 63, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which home team plays at victoria park?
CREATE TABLE table_name_46 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_46 WHERE venue = "victoria park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 4805, 44, 3, 7287, 3600, 9, 2447, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 5669, 3274, 96, 7287, 3600, 9, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?
CREATE TABLE table_name_1 ( production_code VARCHAR, original_air_date VARCHAR, season__number VARCHAR, series__number VARCHAR )
SELECT production_code FROM table_name_1 WHERE season__number < 8 AND series__number < 31 AND original_air_date = "september 21, 1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 999, 834, 4978, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 939, 834, 834, 5525...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3, 2, 505, 3430, 939, 834, 834, 5525, 1152, 3, 2, 2664, 3430, 926, 834, 2256, 834, 5522, 3274, 96, 7, 6707, 18247, 12026...
How many trips started from Mountain View city and ended at Palo Alto city?
CREATE TABLE station ( city VARCHAR, id VARCHAR ) CREATE TABLE trip ( end_station_id VARCHAR, id VARCHAR )
SELECT COUNT(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = "Mountain View" AND T3.city = "Palo Alto"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 690, 584, 4280, 28027, 6, 3, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 414, 834, 6682, 834, 23, 26, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 2478, 6157, 332, 536, 3, 15355, 3162, 1469, 6157, 332, 357, 3, 15355, 3162, 2478, 6157, 332, 519, 3, 15355, 3162, 1469, 6157, 332, 591, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 10...
What is the reason the Chief Judge of 1971–1977 was terminated?
CREATE TABLE table_name_33 (reason_for_termination VARCHAR, chief_judge VARCHAR)
SELECT reason_for_termination FROM table_name_33 WHERE chief_judge = "1971–1977"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 864, 739, 834, 1161, 834, 6544, 257, 584, 4280, 28027, 6, 5752, 834, 354, 13164, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1053, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1053, 834, 1161, 834, 6544, 257, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 5752, 834, 354, 13164, 3274, 96, 2294, 4450, 104, 2294, 4013, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of Lost, when Played is less than 34?
CREATE TABLE table_name_91 ( lost VARCHAR, played INTEGER )
SELECT COUNT(lost) FROM table_name_91 WHERE played < 34
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 1513, 584, 4280, 28027, 6, 1944, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 19576, 6, 116, 2911, 15, 26, 19, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1944, 3, 2, 6154, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many object dates does episode #16 have?
CREATE TABLE table_31282 ( "Episode Number" real, "Title & Link to Episode on YouTube" text, "Origin" text, "Object Date" text, "Description" text, "Te Papas Collections Online link" text, "Host & Additional contributors" text )
SELECT COUNT("Object Date") FROM table_31282 WHERE "Episode Number" = '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 2577, 357, 41, 96, 427, 102, 159, 32, 221, 7720, 121, 490, 6, 96, 382, 155, 109, 3, 184, 7505, 12, 16112, 30, 5343, 121, 1499, 6, 96, 667, 3380, 77, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 17057, 7678, 8512, 21680, 953, 834, 3341, 2577, 357, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 7720, 121, 3274, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
subjects will be adults, > 18 years, with diabetes, who become part of the nyc registry by virtue of having a reported hba1c > 7 % to the dohmh.
CREATE TABLE table_dev_47 ( "id" int, "gender" string, "gestational_diabetes" bool, "systolic_blood_pressure_sbp" int, "leukopenia" int, "hemoglobin_a1c_hba1c" float, "cd4_count" int, "platelets" int, "diabetic" string, "elevated_blood_pressure" bool, "diastolic_blood_pressur...
SELECT * FROM table_dev_47 WHERE age > 18 AND (diabetes = 1 OR hemoglobin_a1c_hba1c > 7)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 4177, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 397, 6682, 138, 834, 26, 23, 9, 346, 1422, 121, 3, 12840, 40, 6, 96, 7, 63, 7, 235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9776, 834, 4177, 549, 17444, 427, 1246, 2490, 507, 3430, 41, 26, 23, 9, 346, 1422, 3274, 209, 4674, 24731, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 2490, 3, 12703, 1, -100, -...
what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?
CREATE TABLE table_12562214_1 ( date__from_ VARCHAR, notes VARCHAR )
SELECT date__from_ FROM table_12562214_1 WHERE notes = "Apeldoornsche Tramweg-Maatschappij"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10124, 4056, 27357, 834, 536, 41, 833, 834, 834, 7152, 834, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 41, 7152, 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, 0...
[ 3, 23143, 14196, 833, 834, 834, 7152, 834, 21680, 953, 834, 10124, 4056, 27357, 834, 536, 549, 17444, 427, 3358, 3274, 96, 188, 4343, 11968, 29, 3992, 3083, 51, 4189, 18, 329, 9, 9, 10904, 3096, 23, 354, 121, 1, -100, -100, -100, ...
Find the number of different products that are produced by companies at different headquarter cities Plot them as bar chart, and show X in asc order.
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, COUNT(DISTINCT T1.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code 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, 2847, 17161, 599, 15438, 25424, 6227, 332, 5411, 23954, 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, 4674...
What is the cardinal direction of Wednesday p.m. in English?
CREATE TABLE table_name_90 ( cardinal_direction VARCHAR, english VARCHAR )
SELECT cardinal_direction FROM table_name_90 WHERE english = "wednesday p.m."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 895, 10270, 834, 10258, 4985, 584, 4280, 28027, 6, 22269, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 895, 10270, 2212, 13, 2875,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 895, 10270, 834, 10258, 4985, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 22269, 3274, 96, 1123, 26, 1496, 1135, 3, 102, 5, 51, 535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Count the number of living patients who had a calculated hematocrit lab test.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "0" AND lab.label = "Hematocrit, Calculated"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which Home team has a Game of game 5?
CREATE TABLE table_name_85 (home_team VARCHAR, game VARCHAR)
SELECT home_team FROM table_name_85 WHERE game = "game 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1210, 372, 65, 3, 9, 4435, 13, 467, 305, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 467, 3274, 96, 7261, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What country placed 3?
CREATE TABLE table_60221 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT "Country" FROM table_60221 WHERE "Place" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 357, 2658, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3328, 357, 2658, 549, 17444, 427, 96, 345, 11706, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
If the location attendance was Quicken Loans Arena 20,562, who had the High Assists?
CREATE TABLE table_27700375_6 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT high_assists FROM table_27700375_6 WHERE location_attendance = "Quicken Loans Arena 20,562"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 9295, 22954, 834, 948, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 1128, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 2555, 9295, 22954, 834, 948, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 5991, 23, 4695, 12183, 7, 14904, 16047, 4834, 357, 121, 1, -100, -100, -100, -100, -100, -100...
For those payments processed with Visa, bin the payment day into the Day of Week interval and compute the average amount payment as the Y-axis, and list in asc by the total number.
CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Clai...
SELECT Date_Payment_Made, AVG(Amount_Payment) FROM Payments WHERE Payment_Method_Code = 'Visa' ORDER BY AVG(Amount_Payment)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 7327, 834, 4309, 3, 21342, 17966, 6, 7327, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 12248, 7, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 19702, 297, 834, 329, 9, 221, 6, 71, 17217, 599, 188, 11231, 834, 19702, 297, 61, 21680, 12248, 7, 549, 17444, 427, 12248, 834, 23351, 107, 32, 26, 834, 22737, 3274, 3, 31, 553, 159, 9, 31, 4674, 11300,...
What is the rank that shows 426 games?
CREATE TABLE table_name_64 ( rank VARCHAR, games VARCHAR )
SELECT rank FROM table_name_64 WHERE games = "426"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 11003, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 24, 1267, 314, 2688, 1031, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 1031, 3274, 96, 591, 2688, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Commenced operations have an Airline of valuair?
CREATE TABLE table_name_39 (commenced_operations INTEGER, airline VARCHAR)
SELECT MAX(commenced_operations) FROM table_name_39 WHERE airline = "valuair"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 28916, 834, 22280, 7, 3, 21342, 17966, 6, 11545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 8192, 3772, 26, 2673, 43, 46, 1761, 747, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 28916, 834, 22280, 7, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 11545, 3274, 96, 7480, 2256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was Andrew and Georgies guest when Jamie and Johns guest was Joe Calzaghe?
CREATE TABLE table_29141354_2 (andrew_and_georgies_guest VARCHAR, jamie_and_johns_guest VARCHAR)
SELECT andrew_and_georgies_guest FROM table_29141354_2 WHERE jamie_and_johns_guest = "Joe Calzaghe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2534, 2368, 5062, 834, 357, 41, 232, 60, 210, 834, 232, 834, 397, 1677, 725, 834, 15991, 17, 584, 4280, 28027, 6, 2662, 2720, 834, 232, 834, 27341, 7, 834, 15991, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11, 60, 210, 834, 232, 834, 397, 1677, 725, 834, 15991, 17, 21680, 953, 834, 3166, 2534, 2368, 5062, 834, 357, 549, 17444, 427, 2662, 2720, 834, 232, 834, 27341, 7, 834, 15991, 17, 3274, 96, 683, 32, 15, 3104, 162...
i mean, how many hours has it been since patient 027-82318 was admitted to the hospital?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime t...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '027-82318' AND patient.hospitaldischargetime IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 31386, 20466, 17, 715, 61, 61, 216...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about manager_id over the first_name .
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID...
SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610,...
How many students play each sport Show bar chart, and sort from high to low by the Y.
CREATE TABLE Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTEGER, OnScholarship VARCHAR(1) ) CREATE TABLE Plays_Games ( StuID INTEGER, GameID INTEGER, ...
SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3953, 834, 23055, 7, 41, 4435, 4309, 3, 21342, 17966, 6, 350, 23954, 584, 4280, 28027, 599, 2445, 201, 350, 25160, 584, 4280, 28027, 599, 2445, 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, 3349, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 5716, 29381, 350, 4630, 6880, 272, 476, 3349, 23954, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore?
CREATE TABLE table_name_19 ( year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR )
SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = "$49.95" AND artist = "w.h.j. blakemore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 215, 3, 21342, 17966, 6, 962, 834, 102, 4920, 834, 834, 8592, 834, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 962, 834, 102, 4920, 834, 834, 8592, 834, 3274, 96, 3229, 591, 29963, 121, 3430, 2377, 3274, 96, 210, 5, 107, 5, 354, 5, 3, 115, 16948, ...
What genre has a station of Class 95FM?
CREATE TABLE table_79480 ( "Frequency" text, "Station" text, "Operator" text, "Language" text, "Genre" text )
SELECT "Genre" FROM table_79480 WHERE "Station" = 'class 95fm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 20579, 41, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 134, 6821, 121, 1499, 6, 96, 667, 883, 1016, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 13714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13714, 60, 121, 21680, 953, 834, 4440, 20579, 549, 17444, 427, 96, 134, 6821, 121, 3274, 3, 31, 4057, 11923, 89, 51, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Stop # has a Platform of [2777] mciver station platforms?
CREATE TABLE table_45385 ( "Stop no." text, "Platform" text, "Line" text, "Stopping pattern" text, "Destination" text )
SELECT "Stop no." FROM table_45385 WHERE "Platform" = '[2777] mciver station platforms'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 519, 4433, 41, 96, 134, 2916, 150, 535, 1499, 6, 96, 10146, 2032, 121, 1499, 6, 96, 21022, 121, 1499, 6, 96, 134, 235, 5341, 3275, 121, 1499, 6, 96, 308, 222, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 2916, 150, 535, 21680, 953, 834, 2128, 519, 4433, 549, 17444, 427, 96, 10146, 2032, 121, 3274, 3, 31, 6306, 2555, 4013, 908, 3, 51, 27981, 49, 2478, 5357, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764?
CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)
SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 17407, 834, 23829, 5900, 49, 584, 4280, 28027, 6, 6702, 834, 9993, 584, 4280, 28027, 6, 825, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6702, 834, 23829, 5900, 49, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 6702, 834, 9993, 3274, 96, 15062, 3, 122, 107, 172, 121, 3430, 825, 834, 5525, 1152, 3274, 96, 75, 940, 18, 51, 3, 3959, 20364, 1, -10...
What was the score of game 82?
CREATE TABLE table_77543 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_77543 WHERE "Game" = '82'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 5062, 519, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4013, 5062, 519, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 4613, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
name a model that has the most versions .
CREATE TABLE table_204_430 ( id number, "model" text, "origin" text, "type" text, "version" text, "in service" text, "notes" text )
SELECT "model" FROM table_204_430 ORDER BY "version" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 25449, 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, 121, 1499, 6, 96, 77, 313, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21770, 121, 21680, 953, 834, 26363, 834, 25449, 4674, 11300, 272, 476, 96, 8674, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date of appointment for 26 may 2011
CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3539, 3651, 4834, 834, 519, 41, 5522, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 833, 834, 858, 834, 29685, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5522, 834, 858, 834, 9, 102, 2700, 297, 61, 21680, 953, 834, 2555, 3539, 3651, 4834, 834, 519, 549, 17444, 427, 833, 834, 858, 834, 29685, 3274, 96, 2688, 932, 2722, 121, 1, -100, -100, -100, -100,...
what is the language/rebroadcast for cbc radio one?
CREATE TABLE table_13529 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text, "Language/Rebroadcast" text )
SELECT "Language/Rebroadcast" FROM table_13529 WHERE "Branding" = 'cbc radio one'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2469, 3166, 41, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 254, 1748, 1320, 121, 1499, 6, 96, 18304, 727, 53, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1468, 76, 545, 87, 1649, 115, 8635, 5254, 121, 21680, 953, 834, 536, 2469, 3166, 549, 17444, 427, 96, 18304, 727, 53, 121, 3274, 3, 31, 75, 115, 75, 2252, 80, 31, 1, -100, -100, -100, -100, -100, -100, ...
other than 50 cent : bulletproof , what game was released in 2005 ?
CREATE TABLE table_204_236 ( id number, "title" text, "release date" text, "developer(s)" text, "publisher(s)" text, "genre(s)" text )
SELECT "title" FROM table_204_236 WHERE "title" <> '50 cent: bulletproof' AND "release date" = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 3420, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 21019, 833, 121, 1499, 6, 96, 29916, 49, 599, 7, 61, 121, 1499, 6, 96, 29337, 49, 599, 7, 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, 21869, 121, 21680, 953, 834, 26363, 834, 357, 3420, 549, 17444, 427, 96, 21869, 121, 3, 2, 3155, 3, 31, 1752, 3151, 10, 11126, 8592, 31, 3430, 96, 21019, 833, 121, 3274, 3105, 1, -100, -100, -100, -100, -100, ...
Which people had the best 10-year period when Fischer had best 15-year period?
CREATE TABLE table_21313 ( "Position" real, "best year" text, "best 2-year period" text, "best 3-year period" text, "best 5-year period" text, "best 10-year period" text, "best 15-year period" text )
SELECT "best 10-year period" FROM table_21313 WHERE "best 15-year period" = 'Fischer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2368, 2368, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 9606, 215, 121, 1499, 6, 96, 9606, 8401, 1201, 1059, 121, 1499, 6, 96, 9606, 5354, 1201, 1059, 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, 9606, 9445, 1201, 1059, 121, 21680, 953, 834, 357, 2368, 2368, 549, 17444, 427, 96, 9606, 627, 18, 1201, 1059, 121, 3274, 3, 31, 371, 8421, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What award was Denis Lawson nominated for in the Best Actor in a Musical category?
CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR)
SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 9, 2239, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 6, 21077, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2760, 47, 3128, 159, 2402, 739,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2760, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 3295, 3274, 96, 9606, 7556, 16, 3, 9, 4183, 121, 3430, 21077, 3274, 96, 537, 159, 3786, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the host team for january 1 (2006)
CREATE TABLE table_67111 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text )
SELECT "Host Team" FROM table_67111 WHERE "Date" = 'january 1 (2006)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 15866, 41, 96, 308, 342, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 371, 10270, 17763, 121, 1499, 6, 96, 566, 3481, 2271, 121, 1499, 6, 96, 134, 17, 9, 12925,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 566, 3481, 2271, 121, 21680, 953, 834, 3708, 15866, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7066, 76, 1208, 209, 28272, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the host team at the game at the Cleveland Browns Stadium?
CREATE TABLE table_name_32 (host_team VARCHAR, stadium VARCHAR)
SELECT host_team FROM table_name_32 WHERE stadium = "cleveland browns stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 12675, 834, 11650, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2290, 372, 44, 8, 467, 44, 8, 13160, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2290, 834, 11650, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 14939, 3274, 96, 75, 4563, 232, 4216, 7, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average total medals of the nation ranked 1 with less than 1 silver?
CREATE TABLE table_name_62 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_62 WHERE rank = "1" AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 235, 1947, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 792, 9365, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 11003, 3274, 96, 536, 121, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
whats patient 006-171217 last ward id during the previous year?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )...
SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-171217') AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.unitadmittime DESC LIM...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 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, 1868, 5, 2239, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, ...
What is the venue of North Melbourne?
CREATE TABLE table_name_79 ( venue VARCHAR, home_team VARCHAR )
SELECT venue FROM table_name_79 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 5669, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5669, 13, 1117, 9396, 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, 5669, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country was the winner in season 1997/98 when Russia was runner-up but had the win for women, while Italy came in third?
CREATE TABLE table_14607 ( "Season" text, "Winner" text, "Runner-up" text, "Third" text, "Winner Men" text, "Winner Women" text )
SELECT "Winner" FROM table_14607 WHERE "Runner-up" = 'russia' AND "Winner Women" = 'russia' AND "Third" = 'italy' AND "Season" = '1997/98'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24300, 4560, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 18455, 687, 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, 96, 18455, 687, 121, 21680, 953, 834, 24300, 4560, 549, 17444, 427, 96, 23572, 18, 413, 121, 3274, 3, 31, 26165, 31, 3430, 96, 18455, 687, 4047, 121, 3274, 3, 31, 26165, 31, 3430, 96, 382, 9288, 26, 121, 3274, 3, ...
Which is the most recent game with an attendance larger than 65,042?
CREATE TABLE table_name_44 (game INTEGER, attendance INTEGER)
SELECT MAX(game) FROM table_name_44 WHERE attendance > 65 OFFSET 042
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 7261, 3, 21342, 17966, 6, 11364, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 19, 8, 167, 1100, 467, 28, 46, 11364, 2186, 145, 7123, 6, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 11364, 2490, 7123, 3, 15316, 20788, 11484, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Home team at corio oval?
CREATE TABLE table_52002 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_52002 WHERE "Venue" = 'corio oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 24898, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 24898, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5715, 23, 32, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest rank of a rider whose time was 1:19.02.8?
CREATE TABLE table_name_70 ( place INTEGER, time VARCHAR )
SELECT MAX(place) FROM table_name_70 WHERE time = "1:19.02.8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 286, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 11003, 13, 3, 9, 2564, 52, 3, 2544, 97, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4687, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 97, 3274, 96, 536, 10, 2294, 5, 12328, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...