NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
How many times is the tournament the masters tournament and the top-10 is less than 2?
CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)
SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 2916, 834, 755, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 6, 420, 834, 1714, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 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, 2847, 17161, 599, 2916, 834, 9120, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 5892, 3274, 96, 7429, 7, 5892, 121, 3430, 420, 834, 1714, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the height of the delegate whose hometown is Renton, WA?
CREATE TABLE table_name_69 (height VARCHAR, hometown VARCHAR)
SELECT height FROM table_name_69 WHERE hometown = "renton, wa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 88, 2632, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3902, 13, 8, 20, 8791, 3, 2544, 22295, 19, 9405,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3902, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 22295, 3274, 96, 60, 6992, 6, 8036, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the average of manager_id bin hire_date by time, and visualize them by a bar chart, rank in desc by the y axis.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(MANAGER_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549...
What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?
CREATE TABLE table_name_99 ( grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR )
SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 8634, 3, 21342, 17966, 6, 14941, 7, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 6774, 127, 3274, 96, 51, 23982, 35, 3, 18, 3, 935, 565, 1395, 121, 3430, 2535, 3274, 96, 26, 9, 6961, 576, 83, 17, 5651, 121, 3430, ...
How many actors are there?
CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text )
SELECT COUNT(*) FROM actor
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7556, 41, 7556, 834, 23, 26, 381, 6, 564, 1499, 6, 4183, 834, 23, 26, 381, 6, 1848, 1499, 6, 8659, 1499, 6, 1246, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 7556, 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, -...
What club team plays at the champion window field?
CREATE TABLE table_name_40 (club VARCHAR, venue VARCHAR)
SELECT club FROM table_name_40 WHERE venue = "champion window field"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 13442, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1886, 372, 4805, 44, 8, 6336, 2034, 1057, 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, 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, 1886, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 5669, 3274, 96, 17788, 12364, 2034, 1057, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the surface for October 10, 2004?
CREATE TABLE table_name_72 ( surface VARCHAR, date VARCHAR )
SELECT surface FROM table_name_72 WHERE date = "october 10, 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1774, 21, 1797, 10372, 4406, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 10372, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the title of the episode directed by John T. Kretchmer?
CREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_18481791_2 WHERE directed_by = "John T. Kretchmer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3707, 2517, 4729, 834, 357, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2233, 13, 8, 5640, 6640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 2606, 3707, 2517, 4729, 834, 357, 549, 17444, 427, 6640, 834, 969, 3274, 96, 18300, 332, 5, 14873, 17, 524, 935, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which nation had a battlecruiser with an estimate of 513?
CREATE TABLE table_name_39 ( nat VARCHAR, ship_type VARCHAR, estimate VARCHAR )
SELECT nat FROM table_name_39 WHERE ship_type = "battlecruiser" AND estimate = "513"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 3, 29, 144, 584, 4280, 28027, 6, 4383, 834, 6137, 584, 4280, 28027, 6, 7037, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2982, 141, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 144, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 4383, 834, 6137, 3274, 96, 115, 9, 8692, 14127, 4901, 121, 3430, 7037, 3274, 96, 755, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the melbourne for adelaide of no with auckland of yes and gold coast of yes
CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR)
SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "no"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2341, 26255, 584, 4280, 28027, 6, 2045, 834, 25500, 584, 4280, 28027, 6, 3, 15311, 5385, 584, 4280, 28027, 6, 3, 9, 4636, 40, 232, 584, 4280, 28027, 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, 2341, 26255, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 3, 15311, 5385, 3274, 96, 29, 32, 121, 3430, 3, 9, 4636, 40, 232, 3274, 96, 10070, 121, 3430, 2045, 834, 25500, 3274, 96, 29, 32, 121, 1, -100, ...
What version of iWork was released on October 22, 2013 with a pages version greater than 2?
CREATE TABLE table_name_44 ( iwork_version VARCHAR, release_date VARCHAR, pages_version VARCHAR )
SELECT iwork_version FROM table_name_44 WHERE release_date = "october 22, 2013" AND pages_version > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 3, 23, 1981, 834, 8674, 584, 4280, 28027, 6, 1576, 834, 5522, 584, 4280, 28027, 6, 1688, 834, 8674, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 23, 1981, 834, 8674, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1576, 834, 5522, 3274, 96, 32, 75, 235, 1152, 12889, 2038, 121, 3430, 1688, 834, 8674, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -10...
What is the Catalog with a Date that is march 13, 2002?
CREATE TABLE table_42270 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Catalog" FROM table_42270 WHERE "Date" = 'march 13, 2002'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 17485, 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, 18610, 9, 2152, 121, 21680, 953, 834, 4165, 17485, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 51, 7064, 10670, 4407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many degrees were conferred at San Jose State University in 2000?
CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE csu_fees ( campus number, year number, campusfee number ) CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE faculty ( campus number, year number, faculty number ) CREATE TABLE degrees ( year number, campus number, degrees number ) CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number )
SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Jose State University" AND t2.year = 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 25784, 41, 3, 23, 26, 381, 6, 4730, 1499, 6, 1128, 1499, 6, 5435, 1499, 6, 215, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 75, 7, 76, 834, 89, 15, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4526, 21680, 25784, 6157, 332, 536, 3, 15355, 3162, 4526, 6157, 332, 357, 9191, 3, 17, 5411, 23, 26, 3274, 3, 17, 4416, 25532, 549, 17444, 427, 3, 17, 5411, 25532, 3274, 96, 134, 152, 10854, 1015, 636, 121, 3430, ...
What is the per capita income for Fayette County?
CREATE TABLE table_72555 ( "Rank" real, "Place" text, "County" text, "Per Capita Income" text, "Median House- hold Income" text, "Population" real, "Number of Households" real )
SELECT "Per Capita Income" FROM table_72555 WHERE "County" = 'Fayette County'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 28803, 41, 96, 22557, 121, 490, 6, 96, 345, 11706, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 12988, 4000, 155, 9, 20110, 121, 1499, 6, 96, 24607, 29, 1384, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12988, 4000, 155, 9, 20110, 121, 21680, 953, 834, 5865, 28803, 549, 17444, 427, 96, 10628, 63, 121, 3274, 3, 31, 371, 9, 63, 1954, 1334, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Points For, when Points Against is 571?
CREATE TABLE table_46319 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Bonus Points" text, "Points" text )
SELECT "Points for" FROM table_46319 WHERE "Points against" = '571'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 519, 2294, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22512, 7, 21, 121, 21680, 953, 834, 4448, 519, 2294, 549, 17444, 427, 96, 22512, 7, 581, 121, 3274, 3, 31, 3436, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which 2006 Tournament has a 2004, and a 2002 of not tier i?
CREATE TABLE table_name_15 (Id VARCHAR)
SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3581, 20502, 65, 3, 9, 16931, 11, 3, 9, 4407, 13, 59, 3, 3276, 3, 23, 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, 3581, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 4406, 3274, 96, 9, 121, 3430, 4407, 3274, 96, 2264, 3, 3276, 3, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find out the first name and last name of staff lived in city Damianfort.
CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number ) CREATE TABLE customers ( customer_id number, customer_address_id number, customer_status_code text, date_became_customer time, date_of_birth time, first_name text, last_name text, amount_outstanding number, email_address text, phone_number text, cell_mobile_phone_number text ) CREATE TABLE staff ( staff_id number, staff_address_id number, nickname text, first_name text, middle_name text, last_name text, date_of_birth time, date_joined_staff time, date_left_staff time ) CREATE TABLE customer_payments ( customer_id number, datetime_payment time, payment_method_code text, amount_payment number ) CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE vehicles ( vehicle_id number, vehicle_details text )
SELECT T2.first_name, T2.last_name FROM addresses AS T1 JOIN staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T1.city = "Damianfort"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5182, 41, 6114, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 6114, 834, 8547, 302, 834, 4978, 1499, 6, 871, 834, 23, 26, 381, 6, 1689, 834, 23, 26, 381, 6, 6114, 834, 5522, 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, 332, 4416, 14672, 834, 4350, 6, 332, 4416, 5064, 834, 4350, 21680, 7181, 6157, 332, 536, 3, 15355, 3162, 871, 6157, 332, 357, 9191, 332, 5411, 9, 26, 12039, 834, 23, 26, 3274, 332, 4416, 26416, 834, 9, 26, 12039, ...
how many hours has passed since patient 027-61708 stayed in ward 971 for the last time during this hospital visit?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '027-61708' AND patient.wardid = 971 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
what's the domestic freight with change being +8.0%
CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR)
SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 1808, 4853, 834, 755, 41, 5012, 222, 447, 834, 89, 60, 2632, 584, 4280, 28027, 6, 483, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 4422, 17746...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4422, 834, 89, 60, 2632, 21680, 953, 834, 2534, 1808, 4853, 834, 755, 549, 17444, 427, 483, 3274, 96, 1220, 27376, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
List the first and last name of all players in the order of birth date.
CREATE TABLE players (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)
SELECT first_name, last_name FROM players ORDER BY birth_date
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1508, 41, 14672, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 6, 3879, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 166, 11, 336, 564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 4350, 6, 336, 834, 4350, 21680, 1508, 4674, 11300, 272, 476, 3879, 834, 5522, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how long was his professional career ?
CREATE TABLE table_204_399 ( id number, "outcome" text, "no." number, "year" number, "championship" text, "opponent in the final" text, "score" text )
SELECT MAX("year") - MIN("year") FROM table_204_399
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 3264, 41, 3, 23, 26, 381, 6, 96, 670, 287, 15, 121, 1499, 6, 96, 29, 32, 535, 381, 6, 96, 1201, 121, 381, 6, 96, 17788, 12364, 2009, 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, 4800, 4, 599, 121, 1201, 8512, 3, 18, 3, 17684, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 519, 3264, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much gold when silver, bronze and total is smaller than 1?
CREATE TABLE table_name_27 ( gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR )
SELECT MAX(gold) FROM table_name_27 WHERE silver < 1 AND bronze = 1 AND total < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 2045, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 14910, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 4294, 3, 2, 209, 3430, 13467, 3274, 209, 3430, 792, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Round has a Player of anthony christnovich?
CREATE TABLE table_name_72 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_72 WHERE player = "anthony christnovich"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 7775, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 9609, 65, 3, 9, 12387, 13, 46, 189, 106, 63, 3, 15294, 5326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 1959, 3274, 96, 152, 189, 106, 63, 3, 15294, 5326, 362, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the rank of the airport with the BKK/VTBS code?
CREATE TABLE table_name_60 ( rank VARCHAR, code__iata_icao_ VARCHAR )
SELECT rank FROM table_name_60 WHERE code__iata_icao_ = "bkk/vtbs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 11003, 584, 4280, 28027, 6, 1081, 834, 834, 17221, 834, 2617, 32, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 1081, 834, 834, 17221, 834, 2617, 32, 834, 3274, 96, 115, 8511, 87, 208, 17, 115, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who did the high points in the game played on April 12?
CREATE TABLE table_17060277_10 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_17060277_10 WHERE date = "April 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 5176, 4305, 4013, 834, 1714, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 410, 8, 306, 979, 16, 8, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 2517, 5176, 4305, 4013, 834, 1714, 549, 17444, 427, 833, 3274, 96, 23323, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Score, when Record is '4-1'?
CREATE TABLE table_12224 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_12224 WHERE "Record" = '4-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 2266, 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, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 20889, 2266, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 591, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the method of elimination in the chamber with a time of 24:02?
CREATE TABLE table_27026 ( "Eliminated" real, "Wrestler" text, "Entered" real, "Eliminated by" text, "Method of elimination" text, "Time" text )
SELECT "Method of elimination" FROM table_27026 WHERE "Time" = '24:02'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17485, 2688, 41, 96, 427, 4941, 77, 920, 121, 490, 6, 96, 518, 6216, 1171, 121, 1499, 6, 96, 16924, 3737, 121, 490, 6, 96, 427, 4941, 77, 920, 57, 121, 1499, 6, 96, 233...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23351, 107, 32, 26, 13, 23458, 121, 21680, 953, 834, 17485, 2688, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 2266, 10, 4305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are all values for U.S. viewers(millions) with Kevin Curran as a writer?
CREATE TABLE table_20942925_1 ( us_viewers__millions_ VARCHAR, written_by VARCHAR )
SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4240, 3166, 1828, 834, 536, 41, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 21680, 953, 834, 1755, 4240, 3166, 1828, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 439, 15, 2494, 4116, 2002, 121, 1, -100, -100, -100, -100, -100, -100, -100...
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257
CREATE TABLE table_name_94 ( population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR )
SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 2074, 834, 834, 760, 162, 63, 834, 11119, 834, 584, 4280, 28027, 6, 2074, 834, 834, 14952, 509, 32, 834, 584, 4280, 28027, 6, 2074, 834, 834, 51, 1208,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9791, 7830, 834, 834, 760, 162, 63, 834, 11119, 834, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 2074, 834, 834, 14952, 509, 32, 834, 3, 2, 3, 23714, 3430, 2074, 834, 834, 51, 1208, 12...
If the college is SMU, what is the position?
CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)
SELECT position FROM table_27132791_3 WHERE college = "SMU"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2368, 2555, 4729, 834, 519, 41, 4718, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 1900, 19, 180, 9696, 6, 125, 19, 8, 1102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 2555, 2368, 2555, 4729, 834, 519, 549, 17444, 427, 1900, 3274, 96, 134, 9696, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the year where in the playoffs was champions
CREATE TABLE table_1908049_1 ( year VARCHAR, playoffs VARCHAR )
SELECT year FROM table_1908049_1 WHERE playoffs = "Champions"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 2079, 3647, 834, 536, 41, 215, 584, 4280, 28027, 6, 15289, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 47, 8, 215, 213, 16, 8, 15289, 7, 47, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 11776, 2079, 3647, 834, 536, 549, 17444, 427, 15289, 7, 3274, 96, 3541, 4624, 2865, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the points against when try diff is +23?
CREATE TABLE table_name_67 ( points_against VARCHAR, try_diff VARCHAR )
SELECT points_against FROM table_name_67 WHERE try_diff = "+23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 653, 834, 26, 5982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 979, 581, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 9, 16720, 7, 17, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 653, 834, 26, 5982, 3274, 96, 1220, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who won the womens doubles when wu jianqui won the womens singles?
CREATE TABLE table_17383 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text )
SELECT "Womens doubles" FROM table_17383 WHERE "Womens singles" = 'Wu Jianqui'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3747, 519, 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, 2517, 3747, 519, 549, 17444, 427, 96, 518, 32, 904, 7, 712, 7, 121, 3274, 3, 31, 518, 76, 7802, 152, 1169, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
Where was there a change of 6.5%?
CREATE TABLE table_1425958_1 (name VARCHAR, _percentage_change VARCHAR)
SELECT name FROM table_1425958_1 WHERE _percentage_change = "6.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24978, 3390, 3449, 834, 536, 41, 4350, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 13073, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 132, 3, 9, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 24978, 3390, 3449, 834, 536, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 13073, 3274, 96, 17255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Apogee, when Inclination is 65 , and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11?
CREATE TABLE table_name_48 ( apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR )
SELECT apogee FROM table_name_48 WHERE inclination = "65°" AND launch_date_time___gmt__ = "15 february 1973, 01:11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 3, 9521, 397, 15, 584, 4280, 28027, 6, 3, 20246, 257, 584, 4280, 28027, 6, 3289, 834, 5522, 834, 715, 834, 834, 834, 122, 51, 17, 834, 834, 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, 3, 9521, 397, 15, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 3, 20246, 257, 3274, 96, 4122, 1956, 121, 3430, 3289, 834, 5522, 834, 715, 834, 834, 834, 122, 51, 17, 834, 834, 3274, 96, 1808, 29976, 76, 1208...
what player has a pick of 5
CREATE TABLE table_34968 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text )
SELECT "Player" FROM table_34968 WHERE "Pick" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3647, 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, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 519, 3647, 3651, 549, 17444, 427, 96, 345, 3142, 121, 3274, 3, 31, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%?
CREATE TABLE table_name_24 (romaji_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)
SELECT romaji_title FROM table_name_24 WHERE episodes = 11 AND tv_station = "fuji tv" AND average_ratings = "14.9%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 3522, 17815, 834, 21869, 584, 4280, 28027, 6, 1348, 834, 52, 1014, 7, 584, 4280, 28027, 6, 13562, 584, 4280, 28027, 6, 3, 17, 208, 834, 6682, 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, 3, 3522, 17815, 834, 21869, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 13562, 3274, 850, 3430, 3, 17, 208, 834, 6682, 3274, 96, 89, 76, 354, 23, 3, 17, 208, 121, 3430, 1348, 834, 52, 1014, 7, 3274, 96, 2...
what was the name of the title previous to david & shlomo ?
CREATE TABLE table_203_325 ( id number, "year" number, "title" text, "(english)" text, "ifpi israel certification" text, "label" text )
SELECT "title" FROM table_203_325 WHERE "year" < (SELECT "year" FROM table_203_325 WHERE "title" = 'david & shlomo') ORDER BY "year" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 519, 1828, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 599, 4606, 40, 1273, 61, 121, 1499, 6, 96, 99, 102, 23, 3, 30178, 51...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 23330, 834, 519, 1828, 549, 17444, 427, 96, 1201, 121, 3, 2, 41, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 23330, 834, 519, 1828, 549, 17444, 427, 96, 21869, 121, 3274, 3, 31, ...
what is the total when bronze is 0 and the nation is hungary?
CREATE TABLE table_46553 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MAX("Total") FROM table_46553 WHERE "Bronze" = '0' AND "Nation" = 'hungary'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 3769, 519, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8512, 21680, 953, 834, 4448, 3769, 519, 549, 17444, 427, 96, 22780, 29, 776, 121, 3274, 3, 31, 632, 31, 3430, 96, 567, 257, 121, 3274, 3, 31, 6668, 1208, 31, 1, -100, -100, -100, -...
What site has an orbit of Leo, a decay (UTC) of still in orbit, and a magnetosphere research?
CREATE TABLE table_name_5 ( site VARCHAR, function VARCHAR, orbit VARCHAR, decay___utc__ VARCHAR )
SELECT site FROM table_name_5 WHERE orbit = "leo" AND decay___utc__ = "still in orbit" AND function = "magnetosphere research"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 353, 584, 4280, 28027, 6, 1681, 584, 4280, 28027, 6, 15607, 584, 4280, 28027, 6, 18907, 834, 834, 834, 76, 17, 75, 834, 834, 584, 4280, 28027, 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, 353, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 15607, 3274, 96, 109, 32, 121, 3430, 18907, 834, 834, 834, 76, 17, 75, 834, 834, 3274, 96, 11656, 16, 15607, 121, 3430, 1681, 3274, 96, 51, 11624, 235, 9475, ...
What is the Time of the Athlete with a Rank of 6?
CREATE TABLE table_14019 ( "Rank" real, "Athletes" text, "Country" text, "Time" text, "Notes" text )
SELECT "Time" FROM table_14019 WHERE "Rank" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22012, 2294, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 109, 1422, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 121, 1499, 3, 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, 13368, 121, 21680, 953, 834, 22012, 2294, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the relationship between the rank and market values of the companies in the banking industry and group by company with a group scatter chart.
CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int )
SELECT Rank, Market_Value FROM company WHERE Main_Industry = 'Banking' GROUP BY Company
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1807, 834, 6682, 41, 5939, 834, 4309, 16, 17, 6, 2384, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 3440, 834, 23954, 1499, 6, 8236, 834, 27272, 834, 23954, 1499, 6, 13517, 834, 23954,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 6, 3611, 834, 18392, 76, 15, 21680, 349, 549, 17444, 427, 5140, 834, 1570, 8655, 8224, 3274, 3, 31, 21347, 53, 31, 350, 4630, 6880, 272, 476, 1958, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Rank has a Silver larger than 1 and a Total larger than 13?
CREATE TABLE table_name_95 (rank VARCHAR, silver VARCHAR, total VARCHAR)
SELECT rank FROM table_name_95 WHERE silver > 1 AND total > 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 6254, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 5642, 2186, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 4294, 2490, 209, 3430, 792, 2490, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the fewest number of silver medals won by Canada with fewer than 3 total medals?
CREATE TABLE table_name_87 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_87 WHERE nation = "canada" AND total < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 7, 173, 624, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 360, 222, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 2982, 3274, 96, 658, 18089, 121, 3430, 792, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What shows for money ( ) when South Africa is the country?
CREATE TABLE table_59751 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real )
SELECT MAX("Money ( \u00a3 )") FROM table_59751 WHERE "Country" = 'south africa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3072, 536, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 9168, 15, 63, 41, 3, 2, 76, 1206, 9, 519, 3, 61, 8512, 21680, 953, 834, 3390, 3072, 536, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 7, 670, 107, 24040, 31, 1, -100, -100, -100, -100,...
chronic inflammatory disease
CREATE TABLE table_test_15 ( "id" int, "anemia" bool, "cell_therapy" bool, "hiv_infection" bool, "hemoglobin_a1c_hba1c" float, "body_weight" float, "renal_disease" bool, "creatinine_clearance_cl" float, "active_hepatitis" bool, "chronic_inflammatory_disease" bool, "platelet_count" float, "NOUSE" float )
SELECT * FROM table_test_15 WHERE chronic_inflammatory_disease = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 1808, 41, 96, 23, 26, 121, 16, 17, 6, 96, 152, 11658, 121, 3, 12840, 40, 6, 96, 8725, 834, 10896, 121, 3, 12840, 40, 6, 96, 107, 23, 208, 834, 77, 17856, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 4377, 834, 1808, 549, 17444, 427, 6658, 834, 15329, 834, 26, 159, 14608, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has an Attendance of 23 january 1999, and a Tie # of 6?
CREATE TABLE table_36002 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Score" FROM table_36002 WHERE "Attendance" = '23 january 1999' AND "Tie no" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19208, 4305, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, 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...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 19208, 4305, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 2773, 3, 7066, 76, 1208, 5247, 31, 3430, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 948, 31, 1, -100...
What was the rank# of the opponent when the result of the game was w42-14?
CREATE TABLE table_name_53 ( rank__number VARCHAR, result VARCHAR )
SELECT rank__number FROM table_name_53 WHERE result = "w42-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 11003, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11003, 4663, 13, 8, 15264, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 834, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 741, 3274, 96, 210, 4165, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Theme when Fontella Bass was the original artist?
CREATE TABLE table_name_73 (theme VARCHAR, original_artist VARCHAR)
SELECT theme FROM table_name_73 WHERE original_artist = "fontella bass"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 532, 526, 584, 4280, 28027, 6, 926, 834, 1408, 343, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 37, 526, 116, 18685, 5303, 15049, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3800, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 926, 834, 1408, 343, 3274, 96, 89, 1770, 5303, 7981, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times is the country ireland and points more than 4?
CREATE TABLE table_name_31 ( vuelta_wins VARCHAR, country VARCHAR, points VARCHAR )
SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 7207, 40, 17, 9, 834, 3757, 7, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 208, 76, 15, 40, 17, 9, 834, 3757, 7, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 684, 3274, 96, 2060, 40, 232, 121, 3430, 979, 2490, 314, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest total when bronze is less than 1 and gold more than 0?
CREATE TABLE table_name_65 ( total INTEGER, bronze VARCHAR, gold VARCHAR )
SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 792, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 792, 116, 13467, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 13467, 3, 2, 209, 3430, 2045, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What were the results for the district oklahoma 5?
CREATE TABLE table_1341423_36 ( results VARCHAR, district VARCHAR )
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 2773, 834, 3420, 41, 772, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 772, 21, 8, 3939, 3, 32, 8142, 10207,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 772, 21680, 953, 834, 23747, 2534, 2773, 834, 3420, 549, 17444, 427, 3939, 3274, 96, 667, 8142, 10207, 9, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
patient must be at least 16 years of age
CREATE TABLE table_train_6 ( "id" int, "bleeding" int, "systolic_blood_pressure_sbp" int, "mean_arterial_pressure_map" int, "active_infection" bool, "hypotension" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_6 WHERE age >= 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 948, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 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, 1429, 21680, 953, 834, 9719, 834, 948, 549, 17444, 427, 1246, 2490, 2423, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
did patient 032-24135 go through any procedure during this year?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-24135')) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 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, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
Name the song for safe result #8.
CREATE TABLE table_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR)
SELECT song_choice FROM table_23871828_1 WHERE result = "Safe" AND order__number = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4225, 2606, 2577, 834, 536, 41, 7, 2444, 834, 3995, 867, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 455, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 834, 3995, 867, 21680, 953, 834, 2773, 4225, 2606, 2577, 834, 536, 549, 17444, 427, 741, 3274, 96, 27437, 121, 3430, 455, 834, 834, 5525, 1152, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?
CREATE TABLE table_59697 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text, "Transfer fee" text, "Source" text )
SELECT "Source" FROM table_59697 WHERE "Type" = 'transfer' AND "Nat." = 'mex'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3951, 940, 41, 96, 567, 144, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 329, 32, 3745, 12, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18474, 1010, 2034, 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, 23799, 121, 21680, 953, 834, 3390, 3951, 940, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 7031, 1010, 31, 3430, 96, 567, 144, 535, 3274, 3, 31, 51, 994, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Pick # is the lowest one that has a College of troy state, and a Name of reggie dwight, and an Overall smaller than 217?
CREATE TABLE table_name_92 ( pick__number INTEGER, overall VARCHAR, college VARCHAR, name VARCHAR )
SELECT MIN(pick__number) FROM table_name_92 WHERE college = "troy state" AND name = "reggie dwight" AND overall < 217
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1879, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1900, 3274, 96, 17, 8170, 538, 121, 3430, 564, 3274, 96, 60, 15406, 15, 3, 26, 210, 2632, 121, 3430, 1879, 3, 2, ...
Name the least ansi code for 609 population 2010
CREATE TABLE table_1900 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" text, "Water (sqmi)" text, "Latitude" text, "Longitude" text, "GEO ID" real, "ANSI code" real )
SELECT MIN("ANSI code") FROM table_1900 WHERE "Pop. (2010)" = '609'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 1206, 41, 96, 382, 9197, 2009, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 27773, 5, 26118, 121, 490, 6, 96, 434, 232, 41, 11820, 51, 23, 3, 61, 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, 3, 17684, 599, 121, 16897, 196, 1081, 8512, 21680, 953, 834, 2294, 1206, 549, 17444, 427, 96, 27773, 5, 26118, 121, 3274, 3, 31, 948, 4198, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average, maximum, and minimum budget for all movies before 2000.
CREATE TABLE book_club ( book_club_id number, year number, author_or_editor text, book_title text, publisher text, category text, result text ) CREATE TABLE culture_company ( company_name text, type text, incorporated_in text, group_equity_shareholding number, book_club_id text, movie_id text ) CREATE TABLE movie ( movie_id number, title text, year number, director text, budget_million number, gross_worldwide number )
SELECT AVG(budget_million), MAX(budget_million), MIN(budget_million) FROM movie WHERE year < 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 484, 834, 13442, 41, 484, 834, 13442, 834, 23, 26, 381, 6, 215, 381, 6, 2291, 834, 127, 834, 11272, 127, 1499, 6, 484, 834, 21869, 1499, 6, 14859, 1499, 6, 3295, 1499, 6, 741, 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, 71, 17217, 599, 11073, 2782, 834, 17030, 201, 4800, 4, 599, 11073, 2782, 834, 17030, 201, 3, 17684, 599, 11073, 2782, 834, 17030, 61, 21680, 1974, 549, 17444, 427, 215, 3, 2, 2766, 1, -100, -100, -100, -100, -100, -...
what is the reason for change where the date the successor was seated was july 28, 1876?
CREATE TABLE table_2192067_4 ( reason_for_change VARCHAR, date_successor_seated VARCHAR )
SELECT reason_for_change FROM table_2192067_4 WHERE date_successor_seated = "July 28, 1876"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 27749, 3708, 834, 591, 41, 1053, 834, 1161, 834, 13073, 584, 4280, 28027, 6, 833, 834, 7, 17431, 24901, 834, 22933, 584, 4280, 28027, 3, 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, 1053, 834, 1161, 834, 13073, 21680, 953, 834, 2658, 27749, 3708, 834, 591, 549, 17444, 427, 833, 834, 7, 17431, 24901, 834, 22933, 3274, 96, 683, 83, 63, 13719, 507, 3959, 121, 1, -100, -100, -100, -100, -100, -100, ...
Which title has a Black Ice for a guest performer and a length of 5:49?
CREATE TABLE table_53163 ( "Title" text, "Composer(s)" text, "Guest performer" text, "Producer(s)" text, "Time" text )
SELECT "Title" FROM table_53163 WHERE "Guest performer" = 'black ice' AND "Time" = '5:49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 2938, 519, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 5890, 2748, 49, 599, 7, 61, 121, 1499, 6, 96, 9105, 222, 1912, 49, 121, 1499, 6, 96, 3174, 4817, 49, 599, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 4867, 2938, 519, 549, 17444, 427, 96, 9105, 222, 1912, 49, 121, 3274, 3, 31, 19699, 3, 867, 31, 3430, 96, 13368, 121, 3274, 3, 31, 755, 10, 3647, 31, 1, -100, -100, -100,...
What is the sum of all the touchdowns when the player had more than 0 extra points and less than 0 field goals?
CREATE TABLE table_75323 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT SUM("Touchdowns") FROM table_75323 WHERE "Extra points" > '0' AND "Field goals" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 2668, 519, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313, 979, 121, 490, 6, 96, 3183, 8804, 1766, 121, 490, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 3696, 2295, 3035, 7, 8512, 21680, 953, 834, 3072, 2668, 519, 549, 17444, 427, 96, 5420, 1313, 979, 121, 2490, 3, 31, 632, 31, 3430, 96, 3183, 8804, 1766, 121, 3, 2, 3, 31, 632, 31, 1, -100, ...
What episode had sumo ball for event 3 and the wall for event 4?
CREATE TABLE table_name_45 ( episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR )
SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 5640, 834, 5525, 1152, 3, 21342, 17966, 6, 605, 834, 591, 584, 4280, 28027, 6, 605, 834, 519, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15, 102, 159, 32, 221, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 605, 834, 591, 3274, 96, 532, 1481, 121, 3430, 605, 834, 519, 3274, 96, 4078, 32, 1996, 121, 1, -100, ...
How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?
CREATE TABLE table_1825751_4 ( binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR )
SELECT COUNT(binibining_pilipinas_international) FROM table_1825751_4 WHERE miss_universe_philippines = "Nina Ricci Alagao"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 1828, 3072, 536, 834, 591, 41, 2701, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 584, 4280, 28027, 6, 3041, 834, 7846, 15, 834, 18118, 23, 1572, 4477, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4517, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 61, 21680, 953, 834, 2606, 1828, 3072, 536, 834, 591, 549, 17444, 427, 3041, 834, 7846, 15, 834, 18118, 23, 1572, 4477, 3274, 96, 56...
What engine with the years of 1975-84 has a model of 1600?
CREATE TABLE table_name_29 ( engine VARCHAR, model VARCHAR, years VARCHAR )
SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 1948, 584, 4280, 28027, 6, 825, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1948, 28, 8, 203, 13, 16312, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 825, 3274, 96, 536, 6007, 121, 3430, 203, 3274, 96, 27181, 27698, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the draw having the result of 10%?
CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR)
SELECT AVG(draw) FROM table_name_29 WHERE result = "10%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 19489, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3314, 578, 8, 741, 13, 6389, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 19489, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 741, 3274, 96, 1714, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the fewest goals against for teams with more than 27 losses?
CREATE TABLE table_name_97 ( goals_against INTEGER, lost INTEGER )
SELECT MIN(goals_against) FROM table_name_97 WHERE lost > 27
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 1766, 834, 9, 16720, 7, 17, 3, 21342, 17966, 6, 1513, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 360, 222, 1766, 581, 21, 232...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 839, 5405, 834, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1513, 2490, 2307, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Total has a Set 1 of 25–22?
CREATE TABLE table_name_12 (total VARCHAR, set_1 VARCHAR)
SELECT total FROM table_name_12 WHERE set_1 = "25–22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 235, 1947, 584, 4280, 28027, 6, 356, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 9273, 65, 3, 9, 2821, 209, 13, 944, 104, 2884...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 792, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 356, 834, 536, 3274, 96, 1828, 104, 2884, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When did the loan that Ended on 15 January Start?
CREATE TABLE table_name_60 (started VARCHAR, ended VARCHAR)
SELECT started FROM table_name_60 WHERE ended = "15 january"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 3624, 1054, 584, 4280, 28027, 6, 3492, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 2289, 24, 4925, 26, 30, 627, 1762, 3273, 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, 708, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 3492, 3274, 96, 1808, 3, 7066, 76, 1208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Resident Country, when Local Location is "Copenhagen"?
CREATE TABLE table_name_79 (resident_country VARCHAR, local_location VARCHAR)
SELECT resident_country FROM table_name_79 WHERE local_location = "copenhagen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 15704, 834, 17529, 584, 4280, 28027, 6, 415, 834, 14836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7127, 4215, 6993, 6, 116, 4593, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8141, 834, 17529, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 415, 834, 14836, 3274, 96, 10845, 35, 1024, 729, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which townland has an area of 165 acres?
CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR)
SELECT townland FROM table_30120619_1 WHERE area__acres__ = 165
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 24643, 2294, 834, 536, 41, 3540, 40, 232, 584, 4280, 28027, 6, 616, 834, 834, 10610, 7, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1511, 40, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1511, 40, 232, 21680, 953, 834, 25626, 24643, 2294, 834, 536, 549, 17444, 427, 616, 834, 834, 10610, 7, 834, 834, 3274, 3, 22823, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the average Women's Wheelchair when Men's race is 0, Women's race is 1, and Men's wheelchair is less than 2?
CREATE TABLE table_40034 ( "Country" text, "Men's race" real, "Women's race" real, "Men's wheelchair" real, "Women's Wheelchair" real, "Total" real )
SELECT AVG("Women's Wheelchair") FROM table_40034 WHERE "Men's race" = '0' AND "Women's race" = '1' AND "Men's wheelchair" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5548, 3710, 41, 96, 10628, 651, 121, 1499, 6, 96, 329, 35, 31, 7, 1964, 121, 490, 6, 96, 518, 32, 904, 31, 7, 1964, 121, 490, 6, 96, 329, 35, 31, 7, 19443, 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, 71, 17217, 599, 121, 518, 32, 904, 31, 7, 10707, 15657, 8512, 21680, 953, 834, 5548, 3710, 549, 17444, 427, 96, 329, 35, 31, 7, 1964, 121, 3274, 3, 31, 632, 31, 3430, 96, 518, 32, 904, 31, 7, 1964, 121, 3274, ...
which woods has the same acreage as hardwick wood ?
CREATE TABLE table_204_124 ( id number, "no." number, "name" text, "public access" number, "location & map links" text, "area\nha" number, "area\nacres" number, "references" text )
SELECT "name" FROM table_204_124 WHERE "name" <> 'hardwick wood' AND "area\nacres" = (SELECT "area\nacres" FROM table_204_124 WHERE "name" = 'hardwick wood')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 22504, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 4350, 121, 1499, 6, 96, 15727, 592, 121, 381, 6, 96, 14836, 3, 184, 2828, 2416, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 26363, 834, 22504, 549, 17444, 427, 96, 4350, 121, 3, 2, 3155, 3, 31, 5651, 5981, 1679, 31, 3430, 96, 498, 2, 29, 10610, 7, 121, 3274, 41, 23143, 14196, 96, 498, 2, 29, 10610, 7, ...
What is the average number of podiums for drivers with under 12 finishes and under 1 start?
CREATE TABLE table_name_24 ( podiums INTEGER, finishes VARCHAR, starts VARCHAR )
SELECT AVG(podiums) FROM table_name_24 WHERE finishes < 12 AND starts < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 22828, 7, 3, 21342, 17966, 6, 13084, 584, 4280, 28027, 6, 3511, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 2282...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 11410, 2552, 7, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 13084, 3, 2, 586, 3430, 3511, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the record for the Chargers on Week 10?
CREATE TABLE table_name_84 ( record VARCHAR, week VARCHAR )
SELECT record FROM table_name_84 WHERE week = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1368, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 21, 8, 15907, 52, 7, 30, 6551, 335, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 471, 3274, 335, 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,...
When did Prime Minister Agathe Uwilingiyimana's mandate end?
CREATE TABLE table_name_44 (mandate_end VARCHAR, office VARCHAR, name_a VARCHAR)
SELECT mandate_end FROM table_name_44 WHERE office = "prime minister" AND name_a = "agathe uwilingiyimana"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 348, 5522, 834, 989, 584, 4280, 28027, 6, 828, 584, 4280, 28027, 6, 564, 834, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 5923, 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, 0, 0, 0...
[ 3, 23143, 14196, 12871, 834, 989, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 828, 3274, 96, 8234, 15, 6323, 121, 3430, 564, 834, 9, 3274, 96, 4711, 532, 3, 76, 210, 173, 53, 23, 63, 23, 348, 9, 121, 1, -100, -100, -100, ...
What number is the player whose hometown is Tampa, FL?
CREATE TABLE table_29418619_1 ( _number VARCHAR, hometown VARCHAR )
SELECT _number FROM table_29418619_1 WHERE hometown = "Tampa, FL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4240, 25398, 2294, 834, 536, 41, 3, 834, 5525, 1152, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 19, 8, 1959, 3, 2544...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 834, 5525, 1152, 21680, 953, 834, 357, 4240, 25398, 2294, 834, 536, 549, 17444, 427, 22295, 3274, 96, 382, 4624, 9, 6, 7212, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the episode for 18-49 rating being 3.6
CREATE TABLE table_20971444_3 ( episode VARCHAR, rating__18_49_ VARCHAR )
SELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = "3.6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4327, 2534, 3628, 834, 519, 41, 5640, 584, 4280, 28027, 6, 5773, 834, 834, 2606, 834, 3647, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15, 102, 159, 32, 221, 61, 21680, 953, 834, 1755, 4327, 2534, 3628, 834, 519, 549, 17444, 427, 5773, 834, 834, 2606, 834, 3647, 834, 3274, 96, 23074, 121, 1, -100, -100, -100, -100, -100, -100, -10...
what is the number of people in opposition in may 2010 ?
CREATE TABLE table_204_639 ( id number, "poll company" text, "source" text, "publication date" text, "psuv" number, "opposition" number, "undecided" number )
SELECT "opposition" FROM table_204_639 WHERE "publication date" = 'may 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 3288, 41, 3, 23, 26, 381, 6, 96, 3233, 40, 349, 121, 1499, 6, 96, 7928, 121, 1499, 6, 96, 15727, 257, 833, 121, 1499, 6, 96, 102, 7, 76, 208, 121, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29585, 121, 21680, 953, 834, 26363, 834, 948, 3288, 549, 17444, 427, 96, 15727, 257, 833, 121, 3274, 3, 31, 13726, 2735, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For what tournament is the 1990 0 / 4?
CREATE TABLE table_8777 ( "Tournament" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "Career SR" text )
SELECT "Tournament" FROM table_8777 WHERE "1990" = '0 / 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4225, 4013, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4225, 121, 1499, 6, 96, 2294, 4060, 121, 1499, 6, 96, 2294, 3914, 121, 1499, 6, 96, 2294, 2394, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 4225, 4013, 549, 17444, 427, 96, 2294, 2394, 121, 3274, 3, 31, 632, 3, 87, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
2001 of 2 4 was in which tournament?
CREATE TABLE table_39110 ( "Tournament" text, "1998" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text )
SELECT "Tournament" FROM table_39110 WHERE "2001" = '2–4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 19277, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 3916, 121, 1499, 6, 96, 13527, 121, 1499, 6, 96, 23658, 121, 1499, 6, 96, 24898, 121, 1499, 6, 96, 2394...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3288, 19277, 549, 17444, 427, 96, 23658, 121, 3274, 3, 31, 357, 104, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What number(s) in the series was written by bo crese?
CREATE TABLE table_26565936_2 ( no_in_series VARCHAR, written_by VARCHAR )
SELECT no_in_series FROM table_26565936_2 WHERE written_by = "Bo Crese"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4834, 3390, 3420, 834, 357, 41, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 150, 834, 77, 834, 10833, 7, 21680, 953, 834, 2688, 4834, 3390, 3420, 834, 357, 549, 17444, 427, 1545, 834, 969, 3274, 96, 279, 32, 5895, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Score when the set 3 is 26 28?
CREATE TABLE table_name_68 ( score VARCHAR, set_3 VARCHAR )
SELECT score FROM table_name_68 WHERE set_3 = "26–28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 2604, 584, 4280, 28027, 6, 356, 834, 519, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17763, 116, 8, 356, 220, 19, 2208, 2059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 356, 834, 519, 3274, 96, 2688, 104, 2577, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is every company with an index weighting % of 1 and the city of Dimitrovgrad?
CREATE TABLE table_23806 ( "BSE Code" text, "Company" text, "City" text, "GICS Sector" text, "Free float" text, "Index weighting (%" text )
SELECT "Company" FROM table_23806 WHERE "Index weighting (%" = '1' AND "City" = 'Dimitrovgrad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2079, 948, 41, 96, 279, 4132, 3636, 121, 1499, 6, 96, 5890, 2837, 63, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 517, 21202, 17832, 121, 1499, 6, 96, 16393, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5890, 2837, 63, 121, 21680, 953, 834, 2773, 2079, 948, 549, 17444, 427, 96, 26267, 226, 1293, 53, 41, 1454, 121, 3274, 3, 31, 536, 31, 3430, 96, 254, 485, 121, 3274, 3, 31, 308, 23, 1538, 8843, 3987, 31, 1, ...
What year shows as Runner-up of england (24 pts)?
CREATE TABLE table_69012 ( "Year" text, "Venue" text, "Winners" text, "Runner-up" text, "3rd place" text )
SELECT "Year" FROM table_69012 WHERE "Runner-up" = 'england (24 pts)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2394, 2122, 41, 96, 476, 2741, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 18455, 687, 7, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 519, 52, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 948, 2394, 2122, 549, 17444, 427, 96, 23572, 18, 413, 121, 3274, 3, 31, 4606, 40, 232, 41, 2266, 3, 102, 17, 7, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the total number of Grid for Bob Evans and Laps less than 68
CREATE TABLE table_52397 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT COUNT("Grid") FROM table_52397 WHERE "Driver" = 'bob evans' AND "Laps" < '68'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2773, 4327, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13313, 26, 8512, 21680, 953, 834, 755, 2773, 4327, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 17396, 3, 15, 2132, 7, 31, 3430, 96, 3612, 102, 7, 121, 3, 2, 3, 31, 3651, 31, 1, -10...
How much Gain has a Long of 29, and an Avg/G smaller than 33.7?
CREATE TABLE table_name_77 ( gain VARCHAR, long VARCHAR, avg_g VARCHAR )
SELECT COUNT(gain) FROM table_name_77 WHERE long = 29 AND avg_g < 33.7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 2485, 584, 4280, 28027, 6, 307, 584, 4280, 28027, 6, 3, 9, 208, 122, 834, 122, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 22097,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 16720, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 307, 3274, 2838, 3430, 3, 9, 208, 122, 834, 122, 3, 2, 220, 25168, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When was the golden slipper race?
CREATE TABLE table_71799 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" real, "Jockey" text, "Winner/2nd" text )
SELECT "Date" FROM table_71799 WHERE "Race" = 'golden slipper'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2517, 3264, 41, 96, 20119, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 448, 3302, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 27247, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 940, 2517, 3264, 549, 17444, 427, 96, 448, 3302, 121, 3274, 3, 31, 14910, 35, 7560, 883, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me a histogram for what is the code of each role and the number of employees in each role?, could you sort from low to high by the names?
CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) )
SELECT Role_Code, COUNT(*) FROM Employees GROUP BY Role_Code ORDER BY Role_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2158, 965, 41, 2158, 109, 834, 22737, 3, 28027, 599, 1808, 201, 2158, 109, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 2158, 109, 834, 2962, 11830, 584, 4280, 28027, 599, 25502, 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, 2158, 109, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 15871, 7, 350, 4630, 6880, 272, 476, 2158, 109, 834, 22737, 4674, 11300, 272, 476, 2158, 109, 834, 22737, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
what was patient 030-31704 diagnosed with first time until 2104.
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-31704')) AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104' ORDER BY diagnosis.diagnosistime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8209, 5, 25930, 4844, 159, 4350, 21680, 8209, 549, 17444, 427, 8209, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3...
Who had a Run 1 smaller than 51.96, a Run 2 larger than 51.13, and a Run 3 of 52.53?
CREATE TABLE table_name_23 (athlete VARCHAR, run_3 VARCHAR, run_1 VARCHAR, run_2 VARCHAR)
SELECT athlete FROM table_name_23 WHERE run_1 < 51.96 AND run_2 > 51.13 AND run_3 = 52.53
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 26170, 15, 584, 4280, 28027, 6, 661, 834, 519, 584, 4280, 28027, 6, 661, 834, 536, 584, 4280, 28027, 6, 661, 834, 357, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 17893, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 661, 834, 536, 3, 2, 11696, 5, 4314, 3430, 661, 834, 357, 2490, 11696, 5, 2368, 3430, 661, 834, 519, 3274, 9065, 5, 4867, 1, -100, -100, -100, -100, -100, ...
provide the number of patients whose admission year is less than 2151 and lab test fluid is urine?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2151" AND lab.fluid = "Urine"
[ 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,...
What artist has more than 6 draws, and in a place higher than 14?
CREATE TABLE table_65846 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" real )
SELECT "Artist" FROM table_65846 WHERE "Draw" > '6' AND "Place" > '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3449, 4448, 41, 96, 308, 10936, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 11706, 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, 96, 7754, 343, 121, 21680, 953, 834, 948, 3449, 4448, 549, 17444, 427, 96, 308, 10936, 121, 2490, 3, 31, 948, 31, 3430, 96, 345, 11706, 121, 2490, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the frequency where the power is 25kw?
CREATE TABLE table_name_10 (frequency VARCHAR, power__kw_ VARCHAR)
SELECT frequency FROM table_name_10 WHERE power__kw_ = "25kw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 30989, 584, 4280, 28027, 6, 579, 834, 834, 157, 210, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7321, 213, 8, 579, 19, 944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7321, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 579, 834, 834, 157, 210, 834, 3274, 96, 1828, 157, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Create a bar chart showing the total number across location, and rank by the Y-axis from high to low.
CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text )
SELECT Location, COUNT(*) FROM cinema GROUP BY Location ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 41, 3417, 834, 4309, 16, 17, 6, 3, 22557, 834, 77, 834, 10833, 7, 16, 17, 6, 7720, 834, 77, 834, 9476, 16, 17, 6, 11029, 1499, 6, 7143, 15, 26, 834, 969, 1499, 6, 8465, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10450, 6, 2847, 17161, 599, 1935, 61, 21680, 10276, 350, 4630, 6880, 272, 476, 10450, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For all employees who have the letters D or S in their first name, visualize a line chart about the change of department_id over hire_date , sort HIRE_DATE in descending order please.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY HIRE_DATE DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 134, ...
What is the quantity when the seats number was 16 and the class was kss 1913?
CREATE TABLE table_name_67 ( quantity VARCHAR, seats VARCHAR, class VARCHAR )
SELECT quantity FROM table_name_67 WHERE seats = 16 AND class = "kss 1913"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 8708, 584, 4280, 28027, 6, 6116, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8708, 116, 8, 6116, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8708, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 6116, 3274, 898, 3430, 853, 3274, 96, 157, 7, 7, 957, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the Date which has Opponents in the final of patrick mcenroe tim wilkison?
CREATE TABLE table_45732 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Date" FROM table_45732 WHERE "Opponents in the final" = 'patrick mcenroe tim wilkison'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 4552, 357, 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, 308, 342, 121, 21680, 953, 834, 2128, 4552, 357, 549, 17444, 427, 96, 667, 102, 9977, 7, 16, 8, 804, 121, 3274, 3, 31, 4665, 5206, 3, 51, 75, 35, 52, 32, 15, 3, 2998, 3, 210, 173, 2168, 739, 31, 1, -100,...
What season had a date of 30 august 1980
CREATE TABLE table_name_54 ( season VARCHAR, date VARCHAR )
SELECT season FROM table_name_54 WHERE date = "30 august 1980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 774, 141, 3, 9, 833, 13, 604, 14663, 6694, 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, 774, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 833, 3274, 96, 1458, 14663, 6694, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose item id is 51375?
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 lab.itemid = "51375"
[ 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,...