NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who won the mens doubles the year Alison Humby won the womens singles?
CREATE TABLE table_12163387_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT mens_doubles FROM table_12163387_1 WHERE womens_singles = "Alison Humby"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2938, 4201, 4225, 834, 536, 41, 904, 7, 834, 25761, 7, 584, 4280, 28027, 6, 887, 7, 834, 7, 53, 965, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1076, 7, 834, 25761, 7, 21680, 953, 834, 2122, 2938, 4201, 4225, 834, 536, 549, 17444, 427, 887, 7, 834, 7, 53, 965, 3274, 96, 188, 40, 23, 739, 12410, 969, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the second leg is Instituto, what is the total number of aggregate?
CREATE TABLE table_17968233_2 (aggregate VARCHAR, home__2nd_leg_ VARCHAR)
SELECT COUNT(aggregate) FROM table_17968233_2 WHERE home__2nd_leg_ = "Instituto"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 3651, 20879, 834, 357, 41, 31761, 15, 584, 4280, 28027, 6, 234, 834, 834, 357, 727, 834, 5772, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 511, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 31761, 15, 61, 21680, 953, 834, 26593, 3651, 20879, 834, 357, 549, 17444, 427, 234, 834, 834, 357, 727, 834, 5772, 834, 3274, 96, 9496, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who had high assists in the game played at Oklahoma city arena 17,509?
CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4450, 17485, 357, 834, 940, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 2555, 4450, 17485, 357, 834, 940, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 667, 8142, 10207, 9, 896, 14904, 12864, 1752, 1298, 121, 1, -100, -100, -100, -100, -100...
What is Tournament, when Date is '6 April 1992'?
CREATE TABLE table_48853 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Tournament" FROM table_48853 WHERE "Date" = '6 april 1992'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 4433, 519, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 3707, 4433, 519, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 948, 3, 9, 2246, 40, 9047, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which university has the most in undergraduate enrollment after cornell university ?
CREATE TABLE table_203_592 ( id number, "institution" text, "location" text, "athletic nickname" text, "undergraduate enrollment" number, "graduate enrollment" number, "total enrollment" number, "2013 endowment\n(and us rank)" text, "academic staff" number, "motto" text )
SELECT "institution" FROM table_203_592 WHERE "undergraduate enrollment" < (SELECT "undergraduate enrollment" FROM table_203_592 WHERE "institution" = 'cornell university') ORDER BY "undergraduate enrollment" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3390, 357, 41, 3, 23, 26, 381, 6, 96, 77, 17448, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 26170, 447, 24649, 121, 1499, 6, 96, 7248, 17079, 17938, 121, 381,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 77, 17448, 121, 21680, 953, 834, 23330, 834, 3390, 357, 549, 17444, 427, 96, 7248, 17079, 17938, 121, 3, 2, 41, 23143, 14196, 96, 7248, 17079, 17938, 121, 21680, 953, 834, 23330, 834, 3390, 357, 549, 17444, 427, ...
What is the total number of losses with less than 73 goals for, less than 11 wins, more than 24 points, and a position greater than 15?
CREATE TABLE table_name_54 ( losses VARCHAR, position VARCHAR, points VARCHAR, goals_for VARCHAR, wins VARCHAR )
SELECT COUNT(losses) FROM table_name_54 WHERE goals_for < 73 AND wins < 11 AND points > 24 AND position > 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 8467, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 1766, 834, 1161, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1766, 834, 1161, 3, 2, 3, 4552, 3430, 9204, 3, 2, 850, 3430, 979, 2490, 997, 3430, 1102, 2490, 627, 1, -100, -100, -100, -100, -...
Who is the PBA team with Mlqu college?
CREATE TABLE table_38368 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text )
SELECT "PBA team" FROM table_38368 WHERE "College" = 'mlqu'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 519, 3651, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 13, 5233, 1935, 121, 1499, 6, 96, 345, 4882, 372, 121, 1499, 6, 96, 9939, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 4882, 372, 121, 21680, 953, 834, 3747, 519, 3651, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 51, 40, 2436, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Local Mission, when Mission is "Mauritius"?
CREATE TABLE table_name_8 (Local VARCHAR, mission VARCHAR)
SELECT Local AS mission FROM table_name_8 WHERE mission = "mauritius"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 434, 32, 1489, 584, 4280, 28027, 6, 2253, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4593, 8960, 6, 116, 8960, 19, 96, 19059, 155, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4593, 6157, 2253, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 2253, 3274, 96, 51, 402, 13224, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number of nationality in 1992?
CREATE TABLE table_17418 ( "Player" text, "Nationality" text, "Finals" real, "Win-Loss" text, "Year(s)" text )
SELECT COUNT("Nationality") FROM table_17418 WHERE "Year(s)" = '1992'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 2606, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 371, 10270, 7, 121, 490, 6, 96, 18455, 18, 434, 32, 7, 7, 121, 1499, 6, 96, 476, 2741, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24732, 485, 8512, 21680, 953, 834, 27693, 2606, 549, 17444, 427, 96, 476, 2741, 599, 7, 61, 121, 3274, 3, 31, 19479, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find job_id and the sum of employee_id , and group by attribute job_id, and visualize them by a bar chart.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, ...
How many trains call at Castor, Overton, Peterborough East and are operated by LNWR?
CREATE TABLE table_17534 ( "Departure" text, "Going to" text, "Calling at" text, "Arrival" text, "Operator" text )
SELECT COUNT("Arrival") FROM table_17534 WHERE "Operator" = 'LNWR' AND "Calling at" = 'Castor, Overton, Peterborough East'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 3072, 3710, 41, 96, 2962, 2274, 1462, 121, 1499, 6, 96, 6221, 53, 12, 121, 1499, 6, 96, 14318, 697, 44, 121, 1499, 6, 96, 188, 52, 25295, 121, 1499, 6, 96, 667, 88...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 188, 52, 25295, 8512, 21680, 953, 834, 536, 3072, 3710, 549, 17444, 427, 96, 667, 883, 1016, 121, 3274, 3, 31, 434, 567, 15472, 31, 3430, 96, 14318, 697, 44, 121, 3274, 3, 31, 254, 9, 7279, ...
Name the played with losing bonus of 2 and points for of 706
CREATE TABLE table_name_99 ( played VARCHAR, losing_bonus VARCHAR, points_for VARCHAR )
SELECT played FROM table_name_99 WHERE losing_bonus = "2" AND points_for = "706"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 1944, 584, 4280, 28027, 6, 5489, 834, 5407, 302, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1944, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 5489, 834, 5407, 302, 3274, 96, 357, 121, 3430, 979, 834, 1161, 3274, 96, 2518, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = "Resigned" AND position_in_table = "10th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 22974, 24719, 834, 519, 41, 5522, 834, 858, 834, 29685, 584, 4280, 28027, 6, 3107, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 6, 1102, 834, 77, 834, 3869, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 29685, 21680, 953, 834, 2555, 22974, 24719, 834, 519, 549, 17444, 427, 3107, 834, 858, 834, 221, 2274, 1462, 3274, 96, 1649, 15532, 121, 3430, 1102, 834, 77, 834, 3869, 3274, 96, 1714, 189, 121, ...
Provide with the names of the village (German) that is part of village (Slovenian) with sele srednji kot.
CREATE TABLE table_72132 ( "Village (German)" text, "Village (Slovenian)" text, "Number of people 1991" real, "Percent of Slovenes 1991" text, "Percent of Slovenes 1951" text )
SELECT "Village (German)" FROM table_72132 WHERE "Village (Slovenian)" = 'Sele Srednji Kot'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 23757, 41, 96, 553, 17614, 41, 24518, 61, 121, 1499, 6, 96, 553, 17614, 41, 134, 5850, 15, 15710, 61, 121, 1499, 6, 96, 567, 5937, 49, 13, 151, 9957, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 17614, 41, 24518, 61, 121, 21680, 953, 834, 5865, 23757, 549, 17444, 427, 96, 553, 17614, 41, 134, 5850, 15, 15710, 61, 121, 3274, 3, 31, 134, 400, 180, 1271, 21391, 1793, 17, 31, 1, -100, -100, -100, -10...
how many days have it been since the last time that patient 016-9636 stayed in ward 613 during their current hospital visit?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '016-9636' AND patient.wardid = 613 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 209, 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, 15129, 20466, 17, 715, 61, 61, 216...
What is the Record for April 22?
CREATE TABLE table_name_54 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_54 WHERE date = "april 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11392, 21, 1186, 1630, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Place of the Player with a To par of –10 and a Score of 67-67-66=200?
CREATE TABLE table_name_89 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_89 WHERE to_par = "–10" AND score = 67 - 67 - 66 = 200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 4687, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 13, 8, 1238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 12, 834, 1893, 3274, 96, 104, 1714, 121, 3430, 2604, 3274, 3, 3708, 3, 18, 3, 3708, 3, 18, 3, 3539, 3274, 2382, 1, -100, -100, -100, -100, -100, -100, -100, ...
how many white-russian patients were given the drug metoprolol?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND prescriptions.drug = "Metoprolol"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mhz?
CREATE TABLE table_name_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR)
SELECT multiplier FROM table_name_98 WHERE front_side_bus = "200 mhz" AND frequency = "1200 mhz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 23829, 5900, 49, 584, 4280, 28027, 6, 851, 834, 1583, 834, 3465, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15574, 49, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 851, 834, 1583, 834, 3465, 3274, 96, 3632, 3, 51, 107, 172, 121, 3430, 7321, 3274, 96, 536, 3632, 3, 51, 107, 172, 121, 1, -100, -100, -100, -100, -100...
What is the Class for the ERP W of more than 2 and the call sign of w223au?
CREATE TABLE table_name_50 ( class VARCHAR, erp_w VARCHAR, call_sign VARCHAR )
SELECT class FROM table_name_50 WHERE erp_w > 2 AND call_sign = "w223au"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 853, 584, 4280, 28027, 6, 3, 49, 102, 834, 210, 584, 4280, 28027, 6, 580, 834, 6732, 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, 853, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3, 49, 102, 834, 210, 2490, 204, 3430, 580, 834, 6732, 3274, 96, 210, 357, 2773, 402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the location for men's speed skating?
CREATE TABLE table_38835 ( "Distance" text, "Time" text, "Date" text, "Location" text, "Notes" text )
SELECT "Location" FROM table_38835 WHERE "Distance" = 'men''s speed skating'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4060, 2469, 41, 96, 308, 23, 8389, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 10358, 15, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 519, 4060, 2469, 549, 17444, 427, 96, 308, 23, 8389, 121, 3274, 3, 31, 904, 31, 31, 7, 1634, 27033, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the most recent year in which the winner record is Ireland 4 points?
CREATE TABLE table_4052 ( "Year" real, "Host Nation(s)" text, "Final Venue" text, "Winner" text, "Result" text, "Runner-up" text )
SELECT MAX("Year") FROM table_4052 WHERE "Winner" = 'Ireland 4 points'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 5373, 41, 96, 476, 2741, 121, 490, 6, 96, 566, 3481, 11046, 599, 7, 61, 121, 1499, 6, 96, 371, 10270, 29940, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 2445, 5373, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 196, 60, 40, 232, 314, 979, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many locations has spain as the winner?
CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3390, 24837, 834, 357, 41, 14836, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 3248, 65, 4174, 77, 38, 8, 4668, 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, 14836, 61, 21680, 953, 834, 2368, 3390, 24837, 834, 357, 549, 17444, 427, 4668, 3274, 96, 134, 13585, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Termination of Mission date for Marsha E. Barnes, the Ambassador Extraordinary and Plenipotentiary?
CREATE TABLE table_name_34 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)
SELECT termination_of_mission FROM table_name_34 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "marsha e. barnes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 6544, 257, 834, 858, 834, 5451, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 6, 6978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18739, 834, 858, 834, 5451, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 2233, 3274, 96, 14303, 7, 7, 7923, 9468, 11, 3, 102, 26532, 3013, 295, 23, 1208, 121, 3430, 6978, 3274, 96, 1635, 7, 1024, 3, 15, 5, ...
which driver earned the least amount of points .
CREATE TABLE table_203_519 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number )
SELECT "driver" FROM table_203_519 ORDER BY "points" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 2294, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 381, 6, 96, 29, 32, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 8478, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13739, 52, 121, 21680, 953, 834, 23330, 834, 755, 2294, 4674, 11300, 272, 476, 96, 2700, 7, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of Against, when Opposing Teams is 'South Africa', and when Status is 'First Test'?
CREATE TABLE table_59223 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text )
SELECT SUM("Against") FROM table_59223 WHERE "Opposing Teams" = 'south africa' AND "Status" = 'first test'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 357, 2773, 41, 96, 667, 102, 2748, 53, 16651, 121, 1499, 6, 96, 20749, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 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, 180, 6122, 599, 121, 20749, 8512, 21680, 953, 834, 3390, 357, 2773, 549, 17444, 427, 96, 667, 102, 2748, 53, 16651, 121, 3274, 3, 31, 7, 670, 107, 24040, 31, 3430, 96, 134, 17, 144, 302, 121, 3274, 3, 31, 14672, ...
what's the local title with seasons and winners being series 1, 2006: lucy benjamin
CREATE TABLE table_18992 ( "Country/Region" text, "Local title" text, "Television network" text, "Seasons and winners" text, "Judges" text, "Presenters" text )
SELECT "Local title" FROM table_18992 WHERE "Seasons and winners" = 'Series 1, 2006: Lucy Benjamin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 4508, 41, 96, 10628, 651, 87, 17748, 23, 106, 121, 1499, 6, 96, 434, 32, 1489, 2233, 121, 1499, 6, 96, 382, 400, 6610, 1229, 121, 1499, 6, 96, 134, 15, 9, 6577, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 1489, 2233, 121, 21680, 953, 834, 25312, 4508, 549, 17444, 427, 96, 134, 15, 9, 6577, 11, 8969, 121, 3274, 3, 31, 12106, 7, 1914, 3581, 10, 21812, 15717, 31, 1, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose death status is 1 and drug name is hydrocortisone oint 0.5%?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Hydrocortisone Oint 0.5%"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What Secretary has a Social AO of lieke de boer?
CREATE TABLE table_name_12 ( secretary VARCHAR, social_ao VARCHAR )
SELECT secretary FROM table_name_12 WHERE social_ao = "lieke de boer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 15852, 584, 4280, 28027, 6, 569, 834, 9, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 7471, 65, 3, 9, 2730, 3, 17249, 13, 11761, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15852, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 569, 834, 9, 32, 3274, 96, 1896, 1050, 20, 3005, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team in France had 15 UCi points?
CREATE TABLE table_name_81 (team VARCHAR, country VARCHAR, uci_points VARCHAR)
SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 11650, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 3, 6809, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 16, 1410, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 684, 3274, 96, 89, 5219, 121, 3430, 3, 6809, 834, 2700, 7, 3274, 96, 1808, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest amount of floors in the building completed before 1970 ranked more than 14?
CREATE TABLE table_56385 ( "Rank" real, "Building" text, "Height" text, "Floors" real, "Completed" real )
SELECT MIN("Floors") FROM table_56385 WHERE "Completed" < '1970' AND "Rank" > '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 519, 4433, 41, 96, 22557, 121, 490, 6, 96, 24752, 53, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 11251, 127, 7, 121, 490, 6, 96, 5890, 29014, 26, 121, 490, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 11251, 127, 7, 8512, 21680, 953, 834, 4834, 519, 4433, 549, 17444, 427, 96, 5890, 29014, 26, 121, 3, 2, 3, 31, 2294, 2518, 31, 3430, 96, 22557, 121, 2490, 3, 31, 2534, 31, 1, -100, -100, -100...
What is the 2009 entry for the row that has a 2007 entry of A and a tournament entry of US Open?
CREATE TABLE table_name_94 ( tournament VARCHAR )
SELECT 2009 FROM table_name_94 WHERE 2007 = "a" AND tournament = "us open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2464, 1764, 21, 8, 7358, 24, 65, 3, 9, 4101, 1764, 13, 71, 11, 3, 9, 5892...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2464, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 4101, 3274, 96, 9, 121, 3430, 5892, 3274, 96, 302, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the minimum number of the episode that first aired August 11?
CREATE TABLE table_25691838_8 ( episode__number INTEGER, original_airdate VARCHAR )
SELECT MIN(episode__number) FROM table_25691838_8 WHERE original_airdate = "August 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3951, 2606, 3747, 834, 927, 41, 5640, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 926, 834, 2256, 5522, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15, 102, 159, 32, 221, 834, 834, 5525, 1152, 61, 21680, 953, 834, 1828, 3951, 2606, 3747, 834, 927, 549, 17444, 427, 926, 834, 2256, 5522, 3274, 96, 26579, 850, 121, 1, -100, -100, -100, -100, -100, ...
What is the score for the game where Birmingham City was the home team on 10 March 1984?
CREATE TABLE table_name_86 ( score VARCHAR, date VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham city"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 833, 3274, 96, 1714, 10556, 13480, 121, 3430, 234, 834, 11650, 3274, 96, 8781, 51, 14799, 690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the total number of grid for rider of james toseland
CREATE TABLE table_name_14 (grid VARCHAR, rider VARCHAR)
SELECT COUNT(grid) FROM table_name_14 WHERE rider = "james toseland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 3496, 26, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 792, 381, 13, 8634, 21, 2564, 52, 13, 7620,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 2564, 52, 3274, 96, 1191, 2687, 12, 7, 15, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the record is listed as 2-0-0, and the November date is less than 27, what is the sum of the game?
CREATE TABLE table_6940 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text )
SELECT SUM("Game") FROM table_6940 WHERE "November" < '27' AND "Record" = '2-0-0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 2445, 41, 96, 23055, 121, 490, 6, 96, 28635, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 23055, 8512, 21680, 953, 834, 3951, 2445, 549, 17444, 427, 96, 28635, 121, 3, 2, 3, 31, 2555, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 7412, 18629, 31, 1, -100, -100, -100, -100, -100, -100...
how many patients whose admission type is emergency and lab test category is chemistry?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab."CATEGORY" = "Chemistry"
[ 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,...
List the locations of schools in ascending order of enrollment.
CREATE TABLE school (LOCATION VARCHAR, Enrollment VARCHAR)
SELECT LOCATION FROM school ORDER BY Enrollment
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 5017, 254, 8015, 584, 4280, 28027, 6, 695, 4046, 297, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 3248, 13, 2061, 16, 25200, 53, 455, 13, 17938, 5, 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, 301, 5618, 8015, 21680, 496, 4674, 11300, 272, 476, 695, 4046, 297, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many semifinals did ferhat pehlivan attend?
CREATE TABLE table_27294107_11 ( semifinals VARCHAR, athlete VARCHAR )
SELECT COUNT(semifinals) FROM table_27294107_11 WHERE athlete = "Ferhat Pehlivan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 357, 4240, 18057, 834, 2596, 41, 27504, 7, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 27504, 7, 410, 3, 1010, 547, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 7, 15, 51, 23, 12406, 7, 61, 21680, 953, 834, 2555, 357, 4240, 18057, 834, 2596, 549, 17444, 427, 17893, 3274, 96, 371, 49, 547, 1276, 107, 20580, 152, 121, 1, -100, -100, -100, -100, -100, -100, ...
Who is the kitmaker for Fc Augsburg?
CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR)
SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 9229, 8337, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3650, 8337, 21, 377, 75, 6128, 7289, 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, 3650, 8337, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 372, 3274, 96, 89, 75, 185, 122, 7289, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who finished directly before akinremi ?
CREATE TABLE table_204_71 ( id number, "rank" number, "heat" number, "name" text, "nationality" text, "time" text, "notes" text )
SELECT "name" FROM table_204_71 WHERE "rank" = (SELECT "rank" FROM table_204_71 WHERE "name" = 'christy akinremi') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4450, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 88, 144, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 715, 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, 4350, 121, 21680, 953, 834, 26363, 834, 4450, 549, 17444, 427, 96, 6254, 121, 3274, 41, 23143, 14196, 96, 6254, 121, 21680, 953, 834, 26363, 834, 4450, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 15294, 63, 3, ...
Show all locations and the total number of platforms for all train stations in each location in a pie chart.
CREATE TABLE train_station ( Train_ID int, Station_ID int ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train ( Train_ID int, Name text, Time text, Service text )
SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 834, 6682, 41, 15059, 834, 4309, 16, 17, 6, 5939, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 5939, 834, 4309, 16, 17, 6, 5570, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10450, 6, 180, 6122, 599, 567, 5937, 49, 834, 858, 834, 10146, 2032, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 10450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Create a pie chart showing the total number across document type code.
CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) )
SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 834, 4065, 834, 12882, 5167, 7, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 12532, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 11167, 834, 2962, 5756, 7, 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, 11167, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 11167, 7, 350, 4630, 6880, 272, 476, 11167, 834, 25160, 834, 22737, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Barry University had the highest enrollment of what number?
CREATE TABLE table_17217 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real )
SELECT MAX("Enrollment") FROM table_17217 WHERE "Institution" = 'Barry University'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 2517, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 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, 4800, 4, 599, 121, 8532, 4046, 297, 8512, 21680, 953, 834, 27156, 2517, 549, 17444, 427, 96, 1570, 17448, 121, 3274, 3, 31, 14851, 651, 636, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was home on November 26?
CREATE TABLE table_37854 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Home" FROM table_37854 WHERE "Date" = 'november 26'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3940, 5062, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 19040, 121, 21680, 953, 834, 519, 3940, 5062, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 2208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many throws did Needle have?
CREATE TABLE table_name_10 ( throws VARCHAR, surname VARCHAR )
SELECT throws FROM table_name_10 WHERE surname = "needle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 3793, 7, 584, 4280, 28027, 6, 244, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3793, 7, 410, 5882, 109, 43, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3793, 7, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 244, 4350, 3274, 96, 29, 6958, 109, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients whose age is less than 45 and lab test name is protein?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "45" AND lab.label = "Protein"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
CREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)
SELECT date FROM table_24919137_2 WHERE ladder_position = "8th" AND opposition = "Hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3647, 2294, 24636, 834, 357, 41, 5522, 584, 4280, 28027, 6, 15812, 834, 4718, 584, 4280, 28027, 6, 8263, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 357, 3647, 2294, 24636, 834, 357, 549, 17444, 427, 15812, 834, 4718, 3274, 96, 927, 189, 121, 3430, 8263, 3274, 96, 566, 9, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What surface was the match on November 6, 1982 played on?
CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_82 WHERE date = "november 6, 1982"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 26899, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1774, 47, 8, 1588, 30, 1671, 8580, 14505, 1944, 30, 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, 1774, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 8580, 14505, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27?
CREATE TABLE table_name_39 ( manufacturer VARCHAR, laps VARCHAR, grid VARCHAR )
SELECT manufacturer FROM table_name_39 WHERE laps = "24" AND grid = "27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 4818, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 3, 9312, 18899...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4818, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 14941, 7, 3274, 96, 2266, 121, 3430, 8634, 3274, 96, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic
CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 536, 9529, 121, 3430, 5892, 3274, 96, 6095, 26, 981, 563, 2431, 121, 1, -100, -100, -...
Who was the winning driver of the British Grand Prix where Giuseppe Farina had the fastest lap?
CREATE TABLE table_56480 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text )
SELECT "Winning driver" FROM table_56480 WHERE "Fastest lap" = 'giuseppe farina' AND "Race" = 'british grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 20579, 41, 96, 448, 3302, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 1102, 121, 1499, 6, 96, 371, 9, 7, 4377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10503, 2535, 121, 21680, 953, 834, 4834, 20579, 549, 17444, 427, 96, 371, 9, 7, 4377, 14941, 121, 3274, 3, 31, 24930, 7, 15, 6811, 623, 77, 9, 31, 3430, 96, 448, 3302, 121, 3274, 3, 31, 2160, 17, 1273, ...
Who was the winning driver in round 6?
CREATE TABLE table_198 ( "Round" real, "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text )
SELECT "Winning Driver" FROM table_198 WHERE "Round" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 4744, 727, 12942, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 121, 1499, 6, 96, 518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 518, 10503, 10546, 121, 21680, 953, 834, 24151, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the away team's score at the venue football park?
CREATE TABLE table_20733 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text, "Time" text )
SELECT "Away team score" FROM table_20733 WHERE "Ground" = 'Football Park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 4201, 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, 517, 7775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1343, 372, 2604, 121, 21680, 953, 834, 26426, 4201, 549, 17444, 427, 96, 517, 7775, 121, 3274, 3, 31, 371, 32, 32, 17, 3184, 1061, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In what lane did the swimmer get a time of 1:59.42?
CREATE TABLE table_name_97 (lane INTEGER, time VARCHAR)
SELECT SUM(lane) FROM table_name_97 WHERE time = "1:59.42"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 8102, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 3, 8102, 410, 8, 27424, 129, 3, 9, 97, 13, 209, 10, 3390,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 8102, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 97, 3274, 96, 536, 10, 3390, 5, 4165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Date, when Opponent in Final is "Guy Forget"?
CREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR)
SELECT date FROM table_name_64 WHERE opponent_in_final = "guy forget"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 5522, 584, 4280, 28027, 6, 15264, 834, 77, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 4495, 9977, 16, 6514, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 15264, 834, 77, 834, 12406, 3274, 96, 1744, 63, 2612, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the score for miami
CREATE TABLE table_27723228_7 ( score VARCHAR, team VARCHAR )
SELECT score FROM table_27723228_7 WHERE team = "Miami"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 5865, 2668, 2577, 834, 940, 41, 2604, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 1337, 3690, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 2555, 5865, 2668, 2577, 834, 940, 549, 17444, 427, 372, 3274, 96, 329, 23, 3690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which event was the opponent jose carlos oliveira?
CREATE TABLE table_name_46 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_46 WHERE opponent = "jose carlos oliveira"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 15, 2169, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 605, 47, 8, 15264, 7406, 15, 443, 2298, 7994, 23, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 15264, 3274, 96, 1927, 7, 15, 443, 2298, 7994, 23, 52, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest region of Saint-Flavien with an area larger than 67.56?
CREATE TABLE table_name_43 (region INTEGER, name VARCHAR, area__km_2__ VARCHAR)
SELECT MAX(region) FROM table_name_43 WHERE name = "saint-flavien" AND area__km_2__ > 67.56
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 18145, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 616, 834, 834, 5848, 834, 357, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 18145, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 564, 3274, 96, 7, 9, 77, 17, 18, 89, 40, 2960, 35, 121, 3430, 616, 834, 834, 5848, 834, 357, 834, 834, 2490, 3, 3708, 5, 4834, 1, -10...
Which Wednesday has a Saturday of ?
CREATE TABLE table_66841 ( "Sunday" text, "Monday" text, "Tuesday" text, "Wednesday" text, "Thursday" text, "Friday" text, "Saturday" text )
SELECT "Wednesday" FROM table_66841 WHERE "Saturday" = 'གཟའ་སྤེན་པ།'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 4608, 536, 41, 96, 134, 202, 1135, 121, 1499, 6, 96, 9168, 1135, 121, 1499, 6, 96, 382, 76, 15, 7, 1135, 121, 1499, 6, 96, 1326, 26, 1496, 1135, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1326, 26, 1496, 1135, 121, 21680, 953, 834, 3539, 4608, 536, 549, 17444, 427, 96, 134, 6010, 1135, 121, 3274, 3, 31, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What label has the netherlands as the region, and magik muzik 802-1 as the catalog?
CREATE TABLE table_44038 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Label" FROM table_44038 WHERE "Region" = 'netherlands' AND "Catalog" = 'magik muzik 802-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22335, 3747, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 22335, 3747, 549, 17444, 427, 96, 17748, 23, 106, 121, 3274, 3, 31, 29, 16764, 6347, 31, 3430, 96, 18610, 9, 2152, 121, 3274, 3, 31, 7493, 23, 157, 4035, 702, 157, 2775, 17234...
what is primary disease and discharge time of subject name morgan mcgee?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.diagnosis, demographic.dischtime FROM demographic WHERE demographic.name = "Morgan Mcgee"
[ 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, 14798, 5, 25930, 4844, 159, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 329, 11127, 3038, 397, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the size of the cylinders built by Longbottom, Barnsley?
CREATE TABLE table_1157867_2 ( cylinders VARCHAR, builder VARCHAR )
SELECT cylinders FROM table_1157867_2 WHERE builder = "Longbottom, Barnsley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 3940, 3708, 834, 357, 41, 3, 12980, 7, 584, 4280, 28027, 6, 918, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 812, 13, 8, 3, 12980, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 12980, 7, 21680, 953, 834, 15660, 3940, 3708, 834, 357, 549, 17444, 427, 918, 49, 3274, 96, 434, 2444, 30142, 6, 14267, 8887, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Laps were there in 2010?
CREATE TABLE table_15150 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text )
SELECT SUM("Laps") FROM table_15150 WHERE "Year" = '2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 12278, 41, 96, 476, 2741, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 3881, 18, 20982, 52, 7, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 1808, 12278, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 14926, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Where there any Draws with 45 tries against?
CREATE TABLE table_15586 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Drawn" FROM table_15586 WHERE "Tries against" = '45'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 3840, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 10936, 29, 121, 21680, 953, 834, 20896, 3840, 549, 17444, 427, 96, 382, 2593, 581, 121, 3274, 3, 31, 2128, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the operator of the ensemble from Yorkshire?
CREATE TABLE table_name_89 ( operator VARCHAR, region VARCHAR )
SELECT operator FROM table_name_89 WHERE region = "yorkshire"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 7221, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7221, 13, 8, 8784, 45, 19830, 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, 7221, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 1719, 3274, 96, 63, 127, 157, 5718, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5?
CREATE TABLE table_name_79 (rank VARCHAR, losing_semi__finalist VARCHAR, winner VARCHAR)
SELECT rank FROM table_name_79 WHERE losing_semi__finalist > 1 AND winner < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 6254, 584, 4280, 28027, 6, 5489, 834, 7, 15, 51, 23, 834, 834, 12406, 343, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 5489, 834, 7, 15, 51, 23, 834, 834, 12406, 343, 2490, 209, 3430, 4668, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE SUM OF PICK FOR DAVID TERRELL, WITH A ROUND SMALLER THAN 7?
CREATE TABLE table_name_82 (pick INTEGER, name VARCHAR, round VARCHAR)
SELECT SUM(pick) FROM table_name_82 WHERE name = "david terrell" AND round < 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 17967, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 180, 6122, 3347, 276, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17967, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 564, 3274, 96, 26, 9, 6961, 10225, 195, 121, 3430, 1751, 3, 2, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many services are there?
CREATE TABLE settlements ( settlement_id number, claim_id number, effective_date time, settlement_amount number ) CREATE TABLE first_notification_of_loss ( fnol_id number, customer_id number, policy_id number, service_id number ) CREATE TABLE customers ( customer_id number, customer_name text ) CREATE TABLE services ( service_id number, service_name text ) CREATE TABLE claims ( claim_id number, fnol_id number, effective_date time ) CREATE TABLE customers_policies ( customer_id number, policy_id number, date_opened time, date_closed time ) CREATE TABLE available_policies ( policy_id number, policy_type_code text, customer_phone text )
SELECT COUNT(*) FROM services
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7025, 7, 41, 7025, 834, 23, 26, 381, 6, 1988, 834, 23, 26, 381, 6, 1231, 834, 5522, 97, 6, 7025, 834, 9, 11231, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When was the most recent statue that was made out of solid granite completed?
CREATE TABLE table_8072 ( "Statue" text, "Location" text, "Height m" text, "Height ft" text, "Completed" real, "Material" text )
SELECT MAX("Completed") FROM table_8072 WHERE "Material" = 'solid granite'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 5865, 41, 96, 134, 17, 144, 76, 15, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 3845, 2632, 3, 51, 121, 1499, 6, 96, 3845, 2632, 3, 89, 17, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 5890, 29014, 26, 8512, 21680, 953, 834, 2079, 5865, 549, 17444, 427, 96, 329, 342, 12042, 121, 3274, 3, 31, 20695, 12329, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the population in those place where the market income per capita is $17,362?
CREATE TABLE table_22815568_7 ( population VARCHAR, market_income_per_capita VARCHAR )
SELECT population FROM table_22815568_7 WHERE market_income_per_capita = "$17,362"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 20896, 3651, 834, 940, 41, 2074, 584, 4280, 28027, 6, 512, 834, 15759, 834, 883, 834, 4010, 155, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2074, 21680, 953, 834, 357, 2577, 20896, 3651, 834, 940, 549, 17444, 427, 512, 834, 15759, 834, 883, 834, 4010, 155, 9, 3274, 96, 3229, 2517, 6, 3420, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the names of instructors who didn't each any courses in any Spring semester.
CREATE TABLE instructor ( name VARCHAR, id VARCHAR, semester VARCHAR ) CREATE TABLE teaches ( name VARCHAR, id VARCHAR, semester VARCHAR )
SELECT name FROM instructor WHERE NOT id IN (SELECT id FROM teaches WHERE semester = 'Spring')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 564, 584, 4280, 28027, 6, 3, 23, 26, 584, 4280, 28027, 6, 10542, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 11749, 41, 564, 584, 4280...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10617, 549, 17444, 427, 4486, 3, 23, 26, 3388, 41, 23143, 14196, 3, 23, 26, 21680, 3, 11749, 549, 17444, 427, 10542, 3274, 3, 31, 14562, 53, 31, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the black with 24 moves in the dortmund tournament?
CREATE TABLE table_59929 ( "White" text, "Black" text, "Year" real, "Result" text, "Moves" real, "Tournament" text, "Opening" text )
SELECT "Black" FROM table_59929 WHERE "Moves" = '24' AND "Tournament" = 'dortmund'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3264, 3166, 41, 96, 25571, 121, 1499, 6, 96, 20096, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 20119, 121, 1499, 6, 96, 329, 32, 162, 7, 121, 490, 6, 96, 382, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20096, 121, 21680, 953, 834, 755, 3264, 3166, 549, 17444, 427, 96, 329, 32, 162, 7, 121, 3274, 3, 31, 2266, 31, 3430, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 26, 127, 17, 51, 1106, 31, 1, -100, -100, -...
What is the bullet weight when the max pressure is 12,000 cup?
CREATE TABLE table_21492 ( "Cartridge" text, "Bullet weight" text, "Muzzle velocity" text, "Muzzle energy" text, "Max pressure" text )
SELECT "Bullet weight" FROM table_21492 WHERE "Max pressure" = '12,000 CUP'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27357, 4508, 41, 96, 6936, 17, 7700, 121, 1499, 6, 96, 279, 83, 1655, 1293, 121, 1499, 6, 96, 329, 76, 15133, 22924, 121, 1499, 6, 96, 329, 76, 15133, 827, 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, 279, 83, 1655, 1293, 121, 21680, 953, 834, 27357, 4508, 549, 17444, 427, 96, 21298, 1666, 121, 3274, 3, 31, 536, 8630, 205, 6880, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of patients whose insurance is government and procedure long title is initial insertion of dual-chamber device?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.long_title = "Initial insertion of dual-chamber device"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What Gold Coast has Auckland cancelled, and Adelaide yes?
CREATE TABLE table_70886 ( "Auckland" text, "Gold Coast" text, "Sydney" text, "Melbourne" text, "Adelaide" text, "Perth" text )
SELECT "Gold Coast" FROM table_70886 WHERE "Auckland" = 'cancelled' AND "Adelaide" = 'yes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 927, 3840, 41, 96, 188, 4636, 40, 232, 121, 1499, 6, 96, 23576, 5458, 121, 1499, 6, 96, 134, 63, 26, 3186, 121, 1499, 6, 96, 329, 15, 40, 26255, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23576, 5458, 121, 21680, 953, 834, 2518, 927, 3840, 549, 17444, 427, 96, 188, 4636, 40, 232, 121, 3274, 3, 31, 1608, 7125, 1361, 31, 3430, 96, 188, 221, 40, 5385, 121, 3274, 3, 31, 10070, 31, 1, -100, -100, ...
What is the ranking for the player with under 34 events and earnings of $1,444,386
CREATE TABLE table_54472 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real )
SELECT MAX("Rank") FROM table_54472 WHERE "Earnings ( $ )" = '1,444,386' AND "Events" < '34'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 4177, 357, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 427, 291, 29, 53, 7, 41, 1514, 3, 61, 121, 490, 6, 96, 427...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 5062, 4177, 357, 549, 17444, 427, 96, 427, 291, 29, 53, 7, 41, 1514, 3, 61, 121, 3274, 3, 31, 4347, 3628, 8525, 519, 3840, 31, 3430, 96, 427, 2169, 7, 121, 3, 2...
give me the number of patients whose ethnicity is white and admission year is less than 2152?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear < "2152"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658...
What is the lowest long with a Gp-GS of 11-8, and a gain less than 228?
CREATE TABLE table_42881 ( "Name" text, "GP-GS" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real )
SELECT MIN("Long") FROM table_42881 WHERE "GP-GS" = '11-8' AND "Gain" < '228'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2577, 4959, 41, 96, 23954, 121, 1499, 6, 96, 8049, 18, 8256, 121, 1499, 6, 96, 517, 9, 77, 121, 490, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 434, 2444, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 434, 2444, 8512, 21680, 953, 834, 591, 2577, 4959, 549, 17444, 427, 96, 8049, 18, 8256, 121, 3274, 3, 31, 2596, 6039, 31, 3430, 96, 517, 9, 77, 121, 3, 2, 3, 31, 357, 2577, 31, 1, -100, -10...
What is the highest Year, when Apparatus is 'Vault', and when Rank-Final is less than 9?
CREATE TABLE table_12736 ( "Year" real, "Competition Description" text, "Location" text, "Apparatus" text, "Rank-Final" real )
SELECT MAX("Year") FROM table_12736 WHERE "Apparatus" = 'vault' AND "Rank-Final" < '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 3420, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 7726, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 9648, 9, 1795, 302, 121, 1499, 6, 96, 225...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 22367, 3420, 549, 17444, 427, 96, 9648, 9, 1795, 302, 121, 3274, 3, 31, 208, 10335, 31, 3430, 96, 22557, 18, 371, 10270, 121, 3, 2, 3, 31, 1298, 31, 1, -100, ...
List all the businesses with more than 4.5 stars
CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE category ( id int, business_id varchar, category_name varchar ) CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int, year int, month varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar )
SELECT name FROM business WHERE rating > 4.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 41, 5413, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 1139, 834, 23, 26, 3, 4331, 4059, 6, 5773, 3, 12660, 6, 1499, 307, 6327, 6, 215, 16, 17, 6, 847, 3, 4331, 4059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 268, 549, 17444, 427, 5773, 2490, 3, 12451, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Where was the game with the result of 22-20 played?
CREATE TABLE table_name_81 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_81 WHERE result = "22-20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 15098, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 467, 28, 8, 741, 13, 1630, 7988, 1944, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 741, 3274, 96, 2884, 7988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where in 1985 was tim mayotte runner up?
CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR, runner_up VARCHAR)
SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = "tim mayotte"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 14836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 16, 13200, 47, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 215, 2490, 13200, 3430, 3, 10806, 834, 413, 3274, 96, 2998, 164, 14708, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the pick number for the tight end who was picked after round 6?
CREATE TABLE table_name_67 (pick VARCHAR, round VARCHAR, position VARCHAR)
SELECT COUNT(pick) FROM table_name_67 WHERE round > 6 AND position = "tight end"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 17967, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1432, 381, 21, 8, 4095, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17967, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1751, 2490, 431, 3430, 1102, 3274, 96, 17, 2632, 414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest labour panel value with a cultural and educational panel greater than 1, a University of Dublin value greater than 0, and a total value less than 60?
CREATE TABLE table_6990 ( "Administrative Panel" real, "Agricultural Panel" real, "Cultural and Educational Panel" real, "Industrial and Commercial Panel" real, "Labour Panel" real, "National University of Ireland" real, "University of Dublin" real, "Nominated by the Taoiseach" real, "Total" real )
SELECT MAX("Labour Panel") FROM table_6990 WHERE "Cultural and Educational Panel" > '1' AND "University of Dublin" > '0' AND "Total" < '60'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 2394, 41, 96, 16313, 343, 52, 1528, 9871, 121, 490, 6, 96, 24354, 9871, 121, 490, 6, 96, 254, 83, 17, 9709, 11, 19173, 9871, 121, 490, 6, 96, 1570, 8655, 17, 12042,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 18506, 1211, 9871, 8512, 21680, 953, 834, 3951, 2394, 549, 17444, 427, 96, 254, 83, 17, 9709, 11, 19173, 9871, 121, 2490, 3, 31, 536, 31, 3430, 96, 8313, 485, 13, 14112, 121, 2490, 3, 31, 632, ...
What pennant does Narbada have?
CREATE TABLE table_name_13 ( pennant VARCHAR, name VARCHAR )
SELECT pennant FROM table_name_13 WHERE name = "narbada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 4550, 29, 288, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4550, 29, 288, 405, 13346, 5514, 9, 43, 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, 4550, 29, 288, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 564, 3274, 96, 29, 25151, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return the completion date for all the tests that have 'Fail' result, and count them by a bar chart
CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME )
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4375, 41, 1236, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, 858, 834, 5200, 257, 309, 6048, 382, 15382, 6, 833, 834, 858, 834, 521, 4377, 834, 2152, 106, 309, 6048, 382, 15382, 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, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 7699, 109, 1575, 6, 2847, 17161, 599, 5522, 834, 858, 834, 7699, 109, 1575, 61, 21680, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 6157, 332, 536, 3, 15355, 3162, 6341, 834, 382, 222, 7, 8...
On what Date is the Minnesota Vikings the Opponent?
CREATE TABLE table_name_71 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_71 WHERE opponent = "minnesota vikings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 5522, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 7678, 19, 8, 9745, 19476, 7, 8, 4495, 9977, 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, 833, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 15264, 3274, 96, 1109, 1496, 32, 17, 9, 3, 21346, 53, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which gender is associated with University students and adults of 25mm?
CREATE TABLE table_name_19 ( gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR )
SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 7285, 584, 4280, 28027, 6, 3819, 834, 8637, 295, 7, 834, 232, 834, 28491, 7, 834, 834, 2606, 63, 52, 7, 584, 4280, 28027, 6, 3, 834, 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, 7285, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 3819, 834, 8637, 295, 7, 834, 232, 834, 28491, 7, 834, 834, 2606, 63, 52, 7, 1768, 3, 834, 3274, 96, 1828, 635, 121, 1, -100, -100, -100, -100, -100, -100, ...
In the year 2006, the womens singles had no competition and the mens doubles were roland hilti kilian pfister, what were the womens doubles
CREATE TABLE table_72627 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text )
SELECT "Womens doubles" FROM table_72627 WHERE "Womens singles" = 'no competition' AND "Mens doubles" = 'Roland Hilti Kilian Pfister' AND "Year" = '2006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2688, 2555, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 7, 1486, 7, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 32, 904, 7, 1486, 7, 121, 21680, 953, 834, 940, 2688, 2555, 549, 17444, 427, 96, 518, 32, 904, 7, 712, 7, 121, 3274, 3, 31, 29, 32, 2259, 31, 3430, 96, 329, 35, 7, 1486, 7, 121, 3274, 3, 31, 448, ...
When South warrnambool has more than 8 wins, what is the least amount of losses?
CREATE TABLE table_13984 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real )
SELECT MIN("Losses") FROM table_13984 WHERE "Club" = 'south warrnambool' AND "Wins" > '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24090, 4608, 41, 96, 254, 11158, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 490, 6, 96, 20749, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 434, 13526, 7, 8512, 21680, 953, 834, 24090, 4608, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 7, 670, 107, 615, 52, 13363, 12840, 40, 31, 3430, 96, 18455, 7, 121, 2490, 3, 31, 927, 31...
What is the genre of the BBC World Service?
CREATE TABLE table_79481 ( "Frequency" text, "Station" text, "Operator" text, "Language" text, "Genre" text )
SELECT "Genre" FROM table_79481 WHERE "Station" = 'bbc world service'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 3707, 536, 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, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3707, 536, 549, 17444, 427, 96, 134, 6821, 121, 3274, 3, 31, 115, 115, 75, 296, 313, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the election date where member is william richmond category:articles with hcards
CREATE TABLE table_1193568_1 ( election_date VARCHAR, member VARCHAR )
SELECT election_date FROM table_1193568_1 WHERE member = "William Richmond Category:Articles with hCards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 2469, 3651, 834, 536, 41, 4356, 834, 5522, 584, 4280, 28027, 6, 1144, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 4356, 833, 213, 1144, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4356, 834, 5522, 21680, 953, 834, 19993, 2469, 3651, 834, 536, 549, 17444, 427, 1144, 3274, 96, 518, 1092, 23, 265, 17247, 17459, 10, 7754, 447, 965, 28, 3, 107, 6936, 26, 7, 121, 1, -100, -100, -100, -100, -100, ...
What's the total that the position is less than 1?
CREATE TABLE table_name_31 ( total INTEGER, position INTEGER )
SELECT MIN(total) FROM table_name_31 WHERE position < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 792, 3, 21342, 17966, 6, 1102, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 24, 8, 1102, 19, 705, 145, 209, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1102, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the report for the mosport park circuit?
CREATE TABLE table_name_67 (report VARCHAR, circuit VARCHAR)
SELECT report FROM table_name_67 WHERE circuit = "mosport park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 60, 1493, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 934, 21, 8, 2288, 6661, 2447, 4558, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 4558, 3274, 96, 3972, 1493, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum number of poles?
CREATE TABLE table_3005915_3 (poles INTEGER)
SELECT MAX(poles) FROM table_3005915_3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 3390, 1808, 834, 519, 41, 14332, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 381, 13, 11148, 7, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14332, 7, 61, 21680, 953, 834, 5426, 3390, 1808, 834, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show me about the distribution of All_Road and ACC_Percent in a bar chart, and show from high to low by the X please.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT All_Road, ACC_Percent FROM basketball_match ORDER BY All_Road DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 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, 432, 834, 448, 32, 9, 26, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 448, 32, 9, 26, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Tries against for the team that has 207 points for?
CREATE TABLE table_44337 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text )
SELECT "Tries against" FROM table_44337 WHERE "Points for" = '207'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 519, 4118, 41, 96, 18699, 121, 1499, 6, 96, 382, 2593, 21, 121, 1499, 6, 96, 382, 2593, 581, 121, 1499, 6, 96, 382, 651, 20624, 121, 1499, 6, 96, 22512, 7, 21, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 2593, 581, 121, 21680, 953, 834, 3628, 519, 4118, 549, 17444, 427, 96, 22512, 7, 21, 121, 3274, 3, 31, 26426, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return all the information for each election record.
CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text )
SELECT * FROM election
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 4356, 834, 23, 26, 381, 6, 16227, 834, 29845, 1499, 6, 3939, 381, 6, 20, 8791, 1499, 6, 1088, 381, 6, 166, 834, 19971, 381, 6, 4492, 1499, 3, 61, 3, 32102, 32103, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 4356, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?
CREATE TABLE table_name_69 ( resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR )
SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = "1.0" AND cell_type = "median giant fiber"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 880, 53, 834, 3013, 7220, 834, 834, 51, 208, 834, 584, 4280, 28027, 6, 3, 9, 102, 834, 1259, 2661, 834, 834, 51, 7, 834, 584, 4280, 28027, 6, 2358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 880, 53, 834, 3013, 7220, 834, 834, 51, 208, 834, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 9, 102, 834, 1259, 2661, 834, 834, 51, 7, 834, 3274, 96, 12734, 121, 3430, 2358, 834, 6137, 3274, 96, 8172, ...