NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
In the championship Indian Wells, United States (2), who are the opponents in the final?
CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR)
SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 1755, 2555, 4060, 834, 940, 41, 32, 102, 9977, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 2688, 1755, 2555, 4060, 834, 940, 549, 17444, 427, 10183, 3274, 96, 22126, 29, 1548, 7, 6, 907, 1323, 6499, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Find the names and average salaries of all departments whose average salary is greater than 42000, show by the x axis from high to low.
CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) )
SELECT dept_name, AVG(salary) FROM instructor GROUP BY dept_name ORDER BY dept_name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1217, 41, 4699, 3, 4331, 4059, 15757, 6, 503, 834, 23, 26, 3, 4331, 4059, 28007, 6, 4220, 834, 23, 26, 3, 4331, 4059, 28007, 6, 10542, 3, 4331, 4059, 18669, 6, 215, 206, 17552, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 71, 17217, 599, 7, 138, 1208, 61, 21680, 10617, 350, 4630, 6880, 272, 476, 20, 102, 17, 834, 4350, 4674, 11300, 272, 476, 20, 102, 17, 834, 4350, 309, 25067, 1, -100, -100, -100, -100, ...
What is the average number of cuts made in the Top 25 smaller than 5?
CREATE TABLE table_name_63 ( cuts_made INTEGER, top_25 INTEGER )
SELECT AVG(cuts_made) FROM table_name_63 WHERE top_25 < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 8620, 834, 4725, 3, 21342, 17966, 6, 420, 834, 1828, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 8620, 263, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 3044, 7, 834, 4725, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 420, 834, 1828, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the percentage yield for a DPMO of 3.4?
CREATE TABLE table_222448_1 (percentage_yield VARCHAR, dpmo VARCHAR)
SELECT percentage_yield FROM table_222448_1 WHERE dpmo = "3.4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 2266, 3707, 834, 536, 41, 883, 3728, 545, 834, 63, 23, 8804, 584, 4280, 28027, 6, 3, 26, 2028, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5294, 834, 63, 23, 8804, 21680, 953, 834, 2884, 2266, 3707, 834, 536, 549, 17444, 427, 3, 26, 2028, 32, 3274, 96, 23204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which episode had 16.38 million U.S. viewers?
CREATE TABLE table_16361 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Title" FROM table_16361 WHERE "U.S. viewers (millions)" = '16.38'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3420, 536, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2938, 3420, 536, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 2938, 5, 3747, 31, 1, -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, draw a bar chart about the distribution of job_id and salary , order y-axis from high to low order.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE 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) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) )
SELECT JOB_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, 17966, 834, ...
What country had the publication, Drowned in Sound?
CREATE TABLE table_name_22 (country VARCHAR, publication VARCHAR)
SELECT country FROM table_name_22 WHERE publication = "drowned in sound"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 17529, 584, 4280, 28027, 6, 5707, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 141, 8, 5707, 6, 707, 9160, 16, 7047, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 5707, 3274, 96, 26, 52, 9160, 16, 1345, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes' with a bar chart, and order sum num employees from low to high order.
CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text ) CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real ) CREATE TABLE head ( head_ID int, name text, born_state text, age real )
SELECT Name, SUM(Num_Employees) FROM department AS T1 JOIN management AS T2 ON T1.department_ID = T2.department_ID WHERE T2.temporary_acting = 'Yes' GROUP BY Name ORDER BY SUM(Num_Employees)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 758, 41, 3066, 834, 4309, 16, 17, 6, 819, 834, 4309, 16, 17, 6, 7234, 834, 2708, 53, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 1775, 834, 4309, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 180, 6122, 599, 567, 440, 834, 427, 51, 7379, 63, 15, 15, 7, 61, 21680, 3066, 6157, 332, 536, 3, 15355, 3162, 758, 6157, 332, 357, 9191, 332, 5411, 221, 2274, 297, 834, 4309, 3274, 332, 4416, 221, 2274, ...
What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1 3?
CREATE TABLE table_name_32 ( record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR )
SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "november 15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 2604, 3274, 96, 536, 104, 519, 121, 3430, 7019, 3274, 96, 1436, 658, 839, 1001, 3, 14400, 7, 121, 3430, 833, 3274, 96, 5326, 18247, 627, 121, 1, -100, -100, ...
Find the altitude (or elevation) of the airports in the city of New York with a bar chart, and I want to rank in descending by the bar.
CREATE TABLE airlines ( alid integer, name text, iata varchar(2), icao varchar(3), callsign text, country text, active varchar(2) ) CREATE TABLE airports ( apid integer, name text, city text, country text, x real, y real, elevation bigint, iata character varchar(3), icao character varchar(4) ) CREATE TABLE routes ( rid integer, dst_apid integer, dst_ap varchar(4), src_apid bigint, src_ap varchar(4), alid bigint, airline varchar(4), codeshare text )
SELECT name, elevation FROM airports WHERE city = 'New York' ORDER BY name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19184, 41, 3, 9, 8130, 30278, 6, 564, 1499, 6, 3, 17221, 3, 4331, 4059, 16426, 6, 3, 2617, 32, 3, 4331, 4059, 17867, 6, 580, 6732, 1499, 6, 684, 1499, 6, 1676, 3, 4331, 4059, 164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 16417, 21680, 3761, 7, 549, 17444, 427, 690, 3274, 3, 31, 6861, 1060, 31, 4674, 11300, 272, 476, 564, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Power has a Name of 9 ad?
CREATE TABLE table_name_25 (power VARCHAR, name VARCHAR)
SELECT power FROM table_name_25 WHERE name = "9 ad"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 6740, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2621, 65, 3, 9, 5570, 13, 668, 3, 9, 26, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 579, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 564, 3274, 96, 1298, 3, 9, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Plot the total number by grouped by time of day as a bar graph
CREATE TABLE broadcast ( Channel_ID int, Program_ID int, Time_of_day text ) CREATE TABLE program ( Program_ID int, Name text, Origin text, Launch real, Owner text ) CREATE TABLE channel ( Channel_ID int, Name text, Owner text, Share_in_percent real, Rating_in_percent real ) CREATE TABLE broadcast_share ( Channel_ID int, Program_ID int, Date text, Share_in_percent real )
SELECT Time_of_day, COUNT(*) FROM broadcast GROUP BY Time_of_day
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6878, 41, 9916, 834, 4309, 16, 17, 6, 2350, 834, 4309, 16, 17, 6, 2900, 834, 858, 834, 1135, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 478, 41, 2350, 834, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2900, 834, 858, 834, 1135, 6, 2847, 17161, 599, 1935, 61, 21680, 6878, 350, 4630, 6880, 272, 476, 2900, 834, 858, 834, 1135, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Draw a bar chart about the distribution of ACC_Regular_Season and Team_ID , show by the Y-axis in desc.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT ACC_Regular_Season, Team_ID FROM basketball_match ORDER BY Team_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 2271, 834, 4309, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Silver, when Gold is '8', and when Total is greater than 31?
CREATE TABLE table_name_61 ( silver INTEGER, gold VARCHAR, total VARCHAR )
SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 4294, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 5642, 6, 116, 2540,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 2045, 3274, 505, 3430, 792, 2490, 2664, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Purpose of the Area Braidwood?
CREATE TABLE table_name_62 (purpose VARCHAR, area_served VARCHAR)
SELECT purpose FROM table_name_62 WHERE area_served = "braidwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 19681, 584, 4280, 28027, 6, 616, 834, 3473, 15, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7333, 2748, 15, 13, 8, 5690, 3497,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1730, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 616, 834, 3473, 15, 26, 3274, 96, 1939, 23, 26, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the 1 credit with a Hand of Theoretical Return?
CREATE TABLE table_name_86 (hand VARCHAR)
SELECT 1 AS _credit FROM table_name_86 WHERE hand = "theoretical return"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 2894, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 209, 998, 28, 3, 9, 2263, 13, 37, 127, 7578, 138, 9778, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 209, 6157, 3, 834, 15547, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 609, 3274, 96, 532, 127, 7578, 138, 1205, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart about what are the ids and names of the medicine that can interact with two or more enzymes?, and show in descending by the y axis please.
CREATE TABLE medicine_enzyme_interaction ( enzyme_id int, medicine_id int, interaction_type text ) CREATE TABLE medicine ( id int, name text, Trade_Name text, FDA_approved text ) CREATE TABLE enzyme ( id int, name text, Location text, Product text, Chromosome text, OMIM int, Porphyria text )
SELECT name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY id DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4404, 834, 35, 4164, 526, 834, 3870, 4787, 41, 15735, 834, 23, 26, 16, 17, 6, 4404, 834, 23, 26, 16, 17, 6, 6565, 834, 6137, 1499, 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, 564, 6, 3, 23, 26, 21680, 4404, 6157, 332, 536, 3, 15355, 3162, 4404, 834, 35, 4164, 526, 834, 3870, 4787, 6157, 332, 357, 9191, 332, 4416, 29368, 834, 23, 26, 3274, 332, 5411, 23, 26, 4674, 11300, 272, 476, 3, ...
What is Andy North with a To par greater than 8 Country?
CREATE TABLE table_name_53 ( country VARCHAR, to_par VARCHAR, player VARCHAR )
SELECT country FROM table_name_53 WHERE to_par > 8 AND player = "andy north"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 684, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 12838, 1117, 28, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 12, 834, 1893, 2490, 505, 3430, 1959, 3274, 96, 232, 63, 3457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Plot the total number by grouped by city code as a bar graph
CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) )
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 49, 122, 63, 834, 25160, 41, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 201, 432, 49, 122, 63, 25160, 584, 4280, 28027, 599, 1755, 61, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
In how many different years was the warship that weights 1130 tons built?
CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)
SELECT COUNT(built_year) FROM table_23614702_1 WHERE tons___lton__ = 1130
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 24719, 4305, 834, 536, 41, 16152, 834, 1201, 584, 4280, 28027, 6, 8760, 834, 834, 834, 7377, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 16152, 834, 1201, 61, 21680, 953, 834, 357, 3420, 24719, 4305, 834, 536, 549, 17444, 427, 8760, 834, 834, 834, 7377, 834, 834, 3274, 850, 1458, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?
CREATE TABLE table_name_70 ( places INTEGER, name VARCHAR, rank VARCHAR )
SELECT MIN(places) FROM table_name_70 WHERE name = "sherri baier / robin cowan" AND rank < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1747, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 1747, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4687, 7, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 564, 3274, 96, 7, 107, 21301, 12302, 52, 3, 87, 3, 5840, 77, 9321, 152, 121, 3430, 11003, 3, 2, 209, 1, -100, -100, -100, -100, -100...
What is the xDSL for the other of 0.6% and FTTx of 35.4%?
CREATE TABLE table_name_1 ( xdsl VARCHAR, other VARCHAR, fttx VARCHAR )
SELECT xdsl FROM table_name_1 WHERE other = "0.6%" AND fttx = "35.4%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 3, 226, 26, 7, 40, 584, 4280, 28027, 6, 119, 584, 4280, 28027, 6, 3, 89, 17, 17, 226, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 226, 26, 7, 40, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 119, 3274, 96, 22787, 1454, 121, 3430, 3, 89, 17, 17, 226, 3274, 96, 2469, 5, 5988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How old was the conservative party member that left the house in 2001?
CREATE TABLE table_name_43 (age_on_leaving VARCHAR, political_party VARCHAR, left_house VARCHAR)
SELECT age_on_leaving FROM table_name_43 WHERE political_party = "conservative" AND left_house = "2001"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 545, 834, 106, 834, 109, 9, 3745, 584, 4280, 28027, 6, 1827, 834, 8071, 584, 4280, 28027, 6, 646, 834, 1840, 584, 4280, 28027, 61, 3, 32102, 32103, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1246, 834, 106, 834, 109, 9, 3745, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1827, 834, 8071, 3274, 96, 1018, 3473, 1528, 121, 3430, 646, 834, 1840, 3274, 96, 23658, 121, 1, -100, -100, -100, -100, -100, -1...
what procedure did patient 012-37411 receive the last time in this hospital encounter.
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 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-37411' AND patient.hospitaldischargetime IS NULL)) ORDER BY treatment.treatmenttime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1058, 5, 26889, 4350, 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, 15878, 3734, 21545, ...
Which New/Returning/Same Network has a Previous Network of nbc, and a Show of blockbusters?
CREATE TABLE table_name_12 ( new_returning_same_network VARCHAR, previous_network VARCHAR, show VARCHAR )
SELECT new_returning_same_network FROM table_name_12 WHERE previous_network = "nbc" AND show = "blockbusters"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 126, 834, 60, 7535, 53, 834, 7, 265, 15, 834, 1582, 1981, 584, 4280, 28027, 6, 1767, 834, 1582, 1981, 584, 4280, 28027, 6, 504, 584, 4280, 28027, 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, 126, 834, 60, 7535, 53, 834, 7, 265, 15, 834, 1582, 1981, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1767, 834, 1582, 1981, 3274, 96, 29, 115, 75, 121, 3430, 504, 3274, 96, 10734, 3465, 4849, 121, 1, -100,...
Name the population density where population % is 1.1% for slovakia
CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR, member_state VARCHAR)
SELECT pop_density_people_km_2 FROM table_1606824_1 WHERE population__percentage_of_eu = "1.1%" AND member_state = "Slovakia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 3651, 2266, 834, 536, 41, 9791, 834, 537, 7, 485, 834, 16588, 834, 5848, 834, 357, 584, 4280, 28027, 6, 2074, 834, 834, 883, 3728, 545, 834, 858, 834, 15, 76, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2783, 834, 537, 7, 485, 834, 16588, 834, 5848, 834, 357, 21680, 953, 834, 19129, 3651, 2266, 834, 536, 549, 17444, 427, 2074, 834, 834, 883, 3728, 545, 834, 858, 834, 15, 76, 3274, 96, 11039, 1454, 121, 3430, 1144, ...
which is the minimun amount of gold medals?
CREATE TABLE table_24950 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real )
SELECT MIN("Gold") FROM table_24950
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 25188, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 667, 120, 51, 6174, 7, 121, 1499, 6, 96, 23576, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 23576, 8512, 21680, 953, 834, 2266, 25188, 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, -10...
What is the career of player serhiy konovalov, who has less than 1 pct.?
CREATE TABLE table_60639 ( "Player" text, "Career" text, "Goals (Caps)" text, "Pct." real, "Playing status" text )
SELECT "Career" FROM table_60639 WHERE "Pct." < '1' AND "Player" = 'serhiy konovalov'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 948, 3288, 41, 96, 15800, 49, 121, 1499, 6, 96, 6936, 15, 49, 121, 1499, 6, 96, 6221, 5405, 41, 19566, 7, 61, 121, 1499, 6, 96, 345, 75, 17, 535, 490, 6, 96, 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, 96, 6936, 15, 49, 121, 21680, 953, 834, 3328, 948, 3288, 549, 17444, 427, 96, 345, 75, 17, 535, 3, 2, 3, 31, 536, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 7, 49, 107, 23, 63, 10447, 6194, 5850, 31, 1, -100...
What is Frequency, when Part Number(s) is AY80609004002AC?
CREATE TABLE table_name_85 (frequency VARCHAR, part_number_s_ VARCHAR)
SELECT frequency FROM table_name_85 WHERE part_number_s_ = "ay80609004002ac"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 30989, 584, 4280, 28027, 6, 294, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 5532, 835, 11298, 6, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 294, 834, 5525, 1152, 834, 7, 834, 3274, 96, 9, 63, 2079, 3328, 7015, 5548, 357, 9, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the year where the qualifying score was 15.150?
CREATE TABLE table_17990 ( "Year" real, "Competition" text, "Location" text, "Event" text, "Final-Rank" text, "Final-Score" text, "Qualifying Rank" real, "Qualifying Score" text )
SELECT "Year" FROM table_17990 WHERE "Qualifying Score" = '15.150'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 2394, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 371, 10270, 18, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26593, 2394, 549, 17444, 427, 96, 5991, 138, 8587, 17763, 121, 3274, 3, 31, 1808, 5, 12278, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the season, the player, and the name of the team that players belong to.
CREATE TABLE match_season ( Season VARCHAR, Player VARCHAR, Team VARCHAR ) CREATE TABLE team ( Name VARCHAR, Team_id VARCHAR )
SELECT T1.Season, T1.Player, T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1588, 834, 9476, 41, 7960, 584, 4280, 28027, 6, 12387, 584, 4280, 28027, 6, 2271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 5570, 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, 332, 5411, 134, 15, 9, 739, 6, 332, 5411, 15800, 49, 6, 332, 4416, 23954, 21680, 1588, 834, 9476, 6157, 332, 536, 3, 15355, 3162, 372, 6157, 332, 357, 9191, 332, 5411, 18699, 3274, 332, 4416, 18699, 834, 23, 26, 1...
How many items were listed under world rank under the nation of Nigeria?
CREATE TABLE table_2248991_2 ( world_rank VARCHAR, nation VARCHAR )
SELECT COUNT(world_rank) FROM table_2248991_2 WHERE nation = "Nigeria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 3914, 4729, 834, 357, 41, 296, 834, 6254, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1173, 130, 2616, 365, 296, 11003...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7276, 834, 6254, 61, 21680, 953, 834, 24622, 3914, 4729, 834, 357, 549, 17444, 427, 2982, 3274, 96, 567, 4424, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the name of award for zubeen garg
CREATE TABLE table_24446718_7 (name_of_award VARCHAR, awardee_s_ VARCHAR)
SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = "Zubeen Garg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3628, 3708, 2606, 834, 940, 41, 4350, 834, 858, 834, 9, 2239, 584, 4280, 28027, 6, 2760, 15, 15, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 557...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 834, 858, 834, 9, 2239, 21680, 953, 834, 2266, 3628, 3708, 2606, 834, 940, 549, 17444, 427, 2760, 15, 15, 834, 7, 834, 3274, 96, 956, 76, 346, 35, 3121, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What home team plays at Windy Hill?
CREATE TABLE table_name_77 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_77 WHERE venue = "windy hill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 234, 372, 4805, 44, 5634, 63, 3588, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 5669, 3274, 96, 5165, 63, 9956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which river had 26 points?
CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)
SELECT driver FROM table_name_72 WHERE points = 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 13739, 52, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4033, 141, 2208, 979, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 979, 3274, 2208, 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...
Which college has a linebacker from Lessburg High School?
CREATE TABLE table_name_92 (college VARCHAR, position VARCHAR, school VARCHAR)
SELECT college FROM table_name_92 WHERE position = "linebacker" AND school = "lessburg high school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 3297, 7883, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1900, 65, 3, 9, 689, 1549, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1900, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1102, 3274, 96, 747, 1549, 49, 121, 3430, 496, 3274, 96, 924, 4824, 306, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What party represents the district with incumbent matthew clay?
CREATE TABLE table_3624 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "Party" FROM table_3624 WHERE "Incumbent" = 'Matthew Clay'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 2266, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 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, 13725, 63, 121, 21680, 953, 834, 3420, 2266, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 329, 144, 532, 210, 20988, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the production code that had 24.8 million u.s. viewers?
CREATE TABLE table_27713890_1 ( production_code INTEGER, us_viewers__millions_ VARCHAR )
SELECT MAX(production_code) FROM table_27713890_1 WHERE us_viewers__millions_ = "24.8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4450, 3747, 2394, 834, 536, 41, 999, 834, 4978, 3, 21342, 17966, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 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, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 20762, 834, 4978, 61, 21680, 953, 834, 2555, 4450, 3747, 2394, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 357, 27441, 121, 1, -100, -100, -100, -100, -100, -100,...
Which team was home on October 13?
CREATE TABLE table_name_26 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_26 WHERE date = "october 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 47, 234, 30, 1797, 1179, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many people were in attendance on March 4?
CREATE TABLE table_name_31 ( attendance VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_31 WHERE date = "march 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 11364, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 16, 11364, 30, 1332, 314, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 833, 3274, 96, 51, 7064, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Pennsylvania's average where the swimsuit is smaller than 9.109 and the evening gown is smaller than 9.163?
CREATE TABLE table_name_88 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR)
SELECT AVG(average) FROM table_name_88 WHERE swimsuit < 9.109 AND country = "pennsylvania" AND evening_gown < 9.163
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 28951, 3, 21342, 17966, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 6, 9728, 7628, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 28951, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 9728, 7628, 3, 2, 5835, 17304, 3430, 684, 3274, 96, 3208, 29, 7, 63, 40, 16658, 9, 121, 3430, 2272, 834, 122, 9197, 3, 2, 5835, 2938, ...
Name the power provided where transfer speed mb/s is 300 and max cable length of 10
CREATE TABLE table_174151_5 (power_provided VARCHAR, transfer_speed__mb_s_ VARCHAR, max_cable_length__m_ VARCHAR)
SELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = "300" AND max_cable_length__m_ = "10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 26578, 834, 755, 41, 6740, 834, 29189, 26, 584, 4280, 28027, 6, 2025, 834, 9993, 834, 834, 51, 115, 834, 7, 834, 584, 4280, 28027, 6, 9858, 834, 75, 179, 834, 19457,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 579, 834, 29189, 26, 21680, 953, 834, 27693, 26578, 834, 755, 549, 17444, 427, 2025, 834, 9993, 834, 834, 51, 115, 834, 7, 834, 3274, 96, 5426, 121, 3430, 9858, 834, 75, 179, 834, 19457, 834, 834, 51, 834, 3274, 9...
Give me the comparison about ACC_Percent over the Team_Name .
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT Team_Name, ACC_Percent FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 23954, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients on timolol maleate 0.5% drug prescription who have stayed more than a day in hospital?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "1" AND prescriptions.drug = "Timolol Maleate 0.5%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
For those records from the products and each product's manufacturer, give me the comparison about the sum of code over the name , and group by attribute name, list total number of code in ascending order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 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, 332, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 5411, 2...
For those employees who did not have any job in the past, draw a bar chart about the distribution of hire_date and the average of manager_id bin hire_date by weekday.
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 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309,...
What was the other number with 63.98% bush?
CREATE TABLE table_5961 ( "County" text, "Bush #" real, "Bush %" text, "Kerry #" real, "Kerry %" text, "Others #" real, "Others %" text, "Total" real )
SELECT "Others #" FROM table_5961 WHERE "Bush %" = '63.98%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 4241, 41, 96, 10628, 63, 121, 1499, 6, 96, 279, 8489, 1713, 121, 490, 6, 96, 279, 8489, 3, 1454, 121, 1499, 6, 96, 439, 49, 651, 1713, 121, 490, 6, 96, 439, 49, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 189, 277, 1713, 121, 21680, 953, 834, 3390, 4241, 549, 17444, 427, 96, 279, 8489, 3, 1454, 121, 3274, 3, 31, 948, 28640, 5953, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the rank of the team with a time of 1:00.61?
CREATE TABLE table_name_1 ( rank INTEGER, time VARCHAR )
SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 11003, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 8, 372, 28, 3, 9, 97, 13, 3, 24294, 5,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 6254, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 97, 3274, 96, 24294, 5, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the sum of land for ANSI code of 2390496 and population less than 7,284
CREATE TABLE table_58440 ( "CDP name" text, "County" text, "Pop. (2010)" real, "Land ( sq mi )" real, "Water (sq mi)" real, "Coordinates" text, "FIPS code" real, "ANSI code" real )
SELECT SUM("Land ( sq mi )") FROM table_58440 WHERE "ANSI code" = '2390496' AND "Pop. (2010)" < '7,284'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 22335, 41, 96, 254, 7410, 564, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 27773, 5, 26118, 121, 490, 6, 96, 434, 232, 41, 11820, 1337, 3, 61, 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, 180, 6122, 599, 121, 434, 232, 41, 11820, 1337, 3, 61, 8512, 21680, 953, 834, 3449, 22335, 549, 17444, 427, 96, 16897, 196, 1081, 121, 3274, 3, 31, 2773, 2394, 591, 4314, 31, 3430, 96, 27773, 5, 26118, 121, 3, 2, ...
What are the weights of entrepreneurs in descending order of money requested?
CREATE TABLE entrepreneur (People_ID VARCHAR, Money_Requested VARCHAR); CREATE TABLE people (Weight VARCHAR, People_ID VARCHAR)
SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, 41, 24337, 834, 4309, 584, 4280, 28027, 6, 8833, 834, 1649, 835, 6265, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 1326, 2632, 584, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1326, 2632, 21680, 3, 12290, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, 3274, 332, 4416, 24337, 834, 4309, 4674, 11300, 272, 476, 332, 5411, 9168, 15, 63, 834, ...
What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4?
CREATE TABLE table_name_55 (pick__number VARCHAR, college VARCHAR, round VARCHAR)
SELECT COUNT(pick__number) FROM table_name_55 WHERE college = "oklahoma" AND round < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 17967, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 1900, 3274, 96, 32, 8142, 10207, 9, 121, 3430, 1751, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100...
give me the number of patients whose religion is catholic and procedure long title is aortography?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.religion = "CATHOLIC" AND procedures.long_title = "Aortography"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which Host City has more than 6 Silver and a Total of 22?
CREATE TABLE table_68725 ( "Year" text, "Edition" text, "Host city" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Host city" FROM table_68725 WHERE "Silver" > '6' AND "Total" = '22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 940, 1828, 41, 96, 476, 2741, 121, 1499, 6, 96, 427, 10569, 121, 1499, 6, 96, 566, 3481, 690, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 566, 3481, 690, 121, 21680, 953, 834, 3651, 940, 1828, 549, 17444, 427, 96, 134, 173, 624, 121, 2490, 3, 31, 948, 31, 3430, 96, 3696, 1947, 121, 3274, 3, 31, 2884, 31, 1, -100, -100, -100, -100, -100, -100, ...
What district is the court located in Tolland?
CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR)
SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3072, 4613, 4056, 834, 536, 41, 26, 23, 20066, 3, 21342, 17966, 6, 1128, 834, 858, 834, 14492, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3939, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 26, 23, 20066, 61, 21680, 953, 834, 2688, 3072, 4613, 4056, 834, 536, 549, 17444, 427, 1128, 834, 858, 834, 14492, 3274, 96, 3696, 195, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many people wrote the episode with a production code of 2j5507?
CREATE TABLE table_3768 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT COUNT("Written by") FROM table_3768 WHERE "Production code" = '2J5507'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 3651, 41, 96, 4168, 535, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 3380, 10270, 799...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24965, 324, 57, 8512, 21680, 953, 834, 4118, 3651, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 357, 683, 3769, 4560, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average 1st place with a Rank that is larger than 10?
CREATE TABLE table_name_26 ( rank INTEGER )
SELECT AVG(1 AS st_place) FROM table_name_26 WHERE rank > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 11003, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 209, 7, 17, 286, 28, 3, 9, 3, 22557, 24, 19, 2186, 145, 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, 1, 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, 536, 6157, 3, 7, 17, 834, 4687, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 11003, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
in what date was aired the first broacast of the episode 1x02
CREATE TABLE table_17413485_1 ( first_broadcast VARCHAR, episode VARCHAR )
SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 23747, 4433, 834, 536, 41, 166, 834, 115, 8635, 5254, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 16, 125, 833, 47, 3, 2378, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 115, 8635, 5254, 21680, 953, 834, 27693, 23747, 4433, 834, 536, 549, 17444, 427, 5640, 3274, 96, 536, 226, 4305, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Kirkby Town's lowest lost with more than 83 goals?
CREATE TABLE table_60611 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT MIN("Lost") FROM table_60611 WHERE "Team" = 'kirkby town' AND "Goals For" > '83'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4241, 536, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 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, 3, 17684, 599, 121, 434, 3481, 8512, 21680, 953, 834, 3328, 4241, 536, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 157, 12546, 969, 1511, 31, 3430, 96, 6221, 5405, 242, 121, 2490, 3, 31, 4591, 31, 1, -100, -100,...
How many of the patients with dysphagia nec were born before the year 2031?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2031" AND diagnoses.short_title = "Dysphagia NEC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Displacement of 4.4l (4423cc/269in ) and a Power of 220kw (299hp) @ 4000 belongs to what engine?
CREATE TABLE table_69359 ( "Engine" text, "Displacement" text, "Power" text, "Torque" text, "Redline" real, "Year" real )
SELECT "Engine" FROM table_69359 WHERE "Displacement" = '4.4l (4423cc/269in³)' AND "Power" = '220kw (299hp) @ 4000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 519, 3390, 41, 96, 31477, 121, 1499, 6, 96, 23664, 11706, 297, 121, 1499, 6, 96, 23553, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 6, 96, 1649, 26, 747, 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, 96, 31477, 121, 21680, 953, 834, 3951, 519, 3390, 549, 17444, 427, 96, 23664, 11706, 297, 121, 3274, 3, 31, 23444, 40, 41, 3628, 2773, 75, 75, 13311, 3951, 77, 5268, 31, 3430, 96, 23553, 121, 3274, 3, 31, 357, 175...
How many games for keith j. miller, who debuted after 1974 with less than 1 goal?
CREATE TABLE table_name_28 ( games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR )
SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 1031, 3, 21342, 17966, 6, 5695, 834, 1201, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 1959, 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, 71, 17217, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1766, 3, 2, 209, 3430, 1959, 3274, 96, 5754, 107, 3, 354, 5, 3293, 49, 121, 3430, 5695, 834, 1201, 2490, 17184, 1, -100, -100, -100, ...
Which city has an ICAO of VCCJ?
CREATE TABLE table_name_96 ( city VARCHAR, icao VARCHAR )
SELECT city FROM table_name_96 WHERE icao = "vccj"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 690, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 690, 65, 46, 3, 15038, 667, 13, 584, 2823, 683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3, 2617, 32, 3274, 96, 208, 75, 75, 354, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the away teams score at Princes Park?
CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_27 WHERE venue = "princes park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 550, 2323, 2604, 44, 9027, 7, 1061, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 5669, 3274, 96, 12298, 2319, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people attended the North Melbourne game?
CREATE TABLE table_name_71 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_71 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 75, 3623, 26, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 5526, 8, 1117, 9396, 467, 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, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Caps, when Province / Club is DRFC, and when Position is Center?
CREATE TABLE table_41530 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" text, "Province / Club" text )
SELECT "Caps" FROM table_41530 WHERE "Province / Club" = 'drfc' AND "Position" = 'center'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 26918, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 308, 342, 13, 26337, 41, 188, 397, 61, 121, 1499, 6, 96, 19566, 7, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19566, 7, 121, 21680, 953, 834, 4853, 26918, 549, 17444, 427, 96, 3174, 2494, 565, 3, 87, 1949, 121, 3274, 3, 31, 26, 52, 89, 75, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 13866, 31, 1, -100, -100,...
What college, junior, or club team did Victor Ignatjev play for?
CREATE TABLE table_37417 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team" text )
SELECT "College/Junior/Club Team" FROM table_37417 WHERE "Player" = 'victor ignatjev'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4581, 2517, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 87, 683, 202, 23, 127, 87, 254, 11158, 2271, 121, 21680, 953, 834, 519, 4581, 2517, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 2099, 5317, 3, 3191, 144, 1924, 208, 31, 1, -100, -100, -100, ...
Which manufacturer has a year made of 4-6-0 — ooooo — ten-wheeler?
CREATE TABLE table_name_22 (manufacturer VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_22 WHERE year_made = "4-6-0 — ooooo — ten-wheeler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 348, 76, 8717, 450, 49, 584, 4280, 28027, 6, 215, 834, 4725, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4818, 65, 3, 9, 215, 263, 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, 4818, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 215, 834, 4725, 3274, 96, 20445, 18, 632, 3, 318, 3, 32, 16780, 3, 318, 3, 324, 18, 14074, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the frequency for the active rock format?
CREATE TABLE table_name_18 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_18 WHERE format = "active rock"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 30989, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7321, 21, 8, 1676, 2480, 1910, 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, 7321, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1910, 3274, 96, 6645, 2480, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Result has a Captain 1 of louis burger, and a Date of 30 october 2 november?
CREATE TABLE table_76551 ( "Date" text, "Captain 1" text, "Team 2" text, "Captain 2" text, "Venue" text, "Result" text )
SELECT "Result" FROM table_76551 WHERE "Captain 1" = 'louis burger' AND "Date" = '30 october–2 november'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3769, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 19566, 17, 9, 77, 209, 121, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 19566, 17, 9, 77, 204, 121, 1499, 6, 96, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 3959, 3769, 536, 549, 17444, 427, 96, 19566, 17, 9, 77, 209, 121, 3274, 3, 31, 40, 1063, 159, 3, 9079, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 1458, 3, 32, 75, 235, 1152, 104...
What's the G.A. when there were 2 losses and Scotland played?
CREATE TABLE table_12378 ( "Team" text, "Wins" text, "Losses" text, "Points" text, "WPct." text, "G.F." text, "G.A." text, "Assists" text, "Penalties" text, "P.I.M." text )
SELECT "G.A." FROM table_12378 WHERE "Losses" = '2' AND "Team" = 'scotland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 3940, 41, 96, 18699, 121, 1499, 6, 96, 18455, 7, 121, 1499, 6, 96, 434, 13526, 7, 121, 1499, 6, 96, 22512, 7, 121, 1499, 6, 96, 518, 345, 75, 17, 535, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 517, 5, 188, 535, 21680, 953, 834, 14574, 3940, 549, 17444, 427, 96, 434, 13526, 7, 121, 3274, 3, 31, 357, 31, 3430, 96, 18699, 121, 3274, 3, 31, 7, 4310, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, ...
What was the placing of the race in which Chic won by 8gf?
CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)
SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 6042, 75, 53, 584, 4280, 28027, 6, 3853, 834, 969, 584, 4280, 28027, 6, 2357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 9308, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9308, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 3853, 834, 969, 3274, 96, 210, 106, 121, 3430, 2357, 3274, 96, 927, 122, 89, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the year when the performance is 60.73m and the age (years) is more than 45?
CREATE TABLE table_54891 ( "Year" real, "Place" text, "Event" text, "Performance" text, "Age (years)" real )
SELECT COUNT("Year") FROM table_54891 WHERE "Performance" = '60.73m' AND "Age (years)" > '45'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 3914, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 345, 11706, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 12988, 2032, 663, 121, 1499, 6, 96, 188, 397, 41, 1201, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 8512, 21680, 953, 834, 5062, 3914, 536, 549, 17444, 427, 96, 12988, 2032, 663, 121, 3274, 3, 31, 3328, 5, 4552, 51, 31, 3430, 96, 188, 397, 41, 1201, 7, 61, 121, 2490, 3, 31, 21...
What was the final game result that was played on December 2?
CREATE TABLE table_name_80 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_80 WHERE date = "december 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 467, 741, 24, 47, 1944, 30, 1882, 204, 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, 741, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the result when the score was 21 (7, 6, 8)?
CREATE TABLE table_name_28 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_28 WHERE score = "21 (7, 6, 8)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 116, 8, 2604, 47, 1401, 13649, 6, 858...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 2604, 3274, 96, 2658, 13649, 6, 8580, 3, 13520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year was the average speed 145.24
CREATE TABLE table_2081 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text, "Report" text )
SELECT MAX("Year") FROM table_2081 WHERE "Average Speed (mph)" = '145.24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4959, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 1755, 4959, 549, 17444, 427, 96, 188, 624, 545, 9913, 41, 7656, 61, 121, 3274, 3, 31, 20987, 5, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the date with resultof w 35-7
CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_22 WHERE result = "w 35-7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 5522, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 28, 741, 858, 3, 210, 220, 23440, 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, 833, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 741, 3274, 96, 210, 220, 23440, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the names and details of all the staff members.
CREATE TABLE Staff ( Name VARCHAR, Other_Details VARCHAR )
SELECT Name, Other_Details FROM Staff
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10071, 41, 5570, 584, 4280, 28027, 6, 2502, 834, 2962, 5756, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 3056, 11, 1030, 13, 66, 8, 871, 724, 5, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5570, 6, 2502, 834, 2962, 5756, 7, 21680, 10071, 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,...
when does the train arriving at stamford east at 11.45 departure
CREATE TABLE table_18333678_2 ( departure VARCHAR, arrival VARCHAR, going_to VARCHAR )
SELECT departure FROM table_18333678_2 WHERE arrival = "11.45" AND going_to = "Stamford East"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4201, 3420, 3940, 834, 357, 41, 12028, 584, 4280, 28027, 6, 6870, 584, 4280, 28027, 6, 352, 834, 235, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 116, 405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12028, 21680, 953, 834, 2606, 4201, 3420, 3940, 834, 357, 549, 17444, 427, 6870, 3274, 96, 10032, 2128, 121, 3430, 352, 834, 235, 3274, 96, 134, 17, 265, 2590, 1932, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?
CREATE TABLE table_26565 ( "DVD Name" text, "Ep #" text, "Region 1 (US)" text, "Region 1 (CAN)" text, "Region 2 (UK)" text, "Region 2 (Germany)" text, "Region 4 (Australia)" text )
SELECT "Region 1 (CAN)" FROM table_26565 WHERE "Region 2 (UK)" = 'May 18, 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4122, 4122, 41, 96, 13529, 308, 5570, 121, 1499, 6, 96, 427, 102, 1713, 121, 1499, 6, 96, 17748, 23, 106, 209, 41, 3063, 61, 121, 1499, 6, 96, 17748, 23, 106, 209, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17748, 23, 106, 209, 41, 11425, 61, 121, 21680, 953, 834, 357, 4122, 4122, 549, 17444, 427, 96, 17748, 23, 106, 204, 41, 15787, 61, 121, 3274, 3, 31, 15881, 14985, 2464, 31, 1, -100, -100, -100, -100, -100, -1...
who was the first team that the badgers faced this season ?
CREATE TABLE table_204_615 ( id number, "date" text, "opponent" text, "result" text, "goal scorers (season goals)" text, "goalie saves" text, "attendance" text )
SELECT "opponent" FROM table_204_615 ORDER BY id LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 1808, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 839, 138, 14056, 277, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 948, 1808, 4674, 11300, 272, 476, 3, 23, 26, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose age is less than 50 and item id is 50903?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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.age < "50" AND lab.itemid = "50903"
[ 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,...
Which Chart peak was Recorded on 2/19/69?
CREATE TABLE table_name_64 ( chart_peak VARCHAR, recorded VARCHAR )
SELECT chart_peak FROM table_name_64 WHERE recorded = "2/19/69"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 5059, 834, 14661, 584, 4280, 28027, 6, 4381, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15054, 6734, 47, 11392, 15, 26, 30, 204, 13523...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5059, 834, 14661, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 4381, 3274, 96, 357, 13523, 87, 3951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many roman catholic dioceses were established in angola before 1990 ?
CREATE TABLE table_204_876 ( id number, "ecclesiastical jurisdictions" text, "latin name" text, "type" text, "rite" text, "ecclesiastical province" text, "established" text, "area (km2)" number )
SELECT COUNT("ecclesiastical jurisdictions") FROM table_204_876 WHERE "established" < 1990
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3959, 41, 3, 23, 26, 381, 6, 96, 15, 75, 2482, 7, 23, 10057, 138, 10185, 7, 121, 1499, 6, 96, 14098, 564, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 15, 75, 2482, 7, 23, 10057, 138, 10185, 7, 8512, 21680, 953, 834, 26363, 834, 927, 3959, 549, 17444, 427, 96, 24109, 121, 3, 2, 5541, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Count the number of patients less than 47 years who had a urine fluid lab test.
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Urine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What team played Hawthorn?
CREATE TABLE table_name_82 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_name_82 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 1944, 1626, 210, 17, 6293, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Winner, when Week is 8 May, when Semi Finalists is Helena Sukov Mary Pierce, and when Runner-Up is Conchita Mart nez Patricia Tarabini?
CREATE TABLE table_name_70 ( winner VARCHAR, runner_up VARCHAR, week_of VARCHAR, semi_finalists VARCHAR )
SELECT winner FROM table_name_70 WHERE week_of = "8 may" AND semi_finalists = "helena suková mary pierce" AND runner_up = "conchita martínez patricia tarabini"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 4668, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 6, 471, 834, 858, 584, 4280, 28027, 6, 4772, 834, 28077, 584, 4280, 28027, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 471, 834, 858, 3274, 96, 927, 164, 121, 3430, 4772, 834, 28077, 3274, 96, 88, 40, 35, 9, 2629, 9789, 2975, 3157, 63, 3, 8343, 565, 121, 3430, 3, 10806, 834,...
tell me whether the respiration of patient 003-54468 was within the normal range?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-54468')) AND vitalperiodic.respiration BETWEEN respiration_lower AND respiration_upper AND NOT vitalperiodic.respiration IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 3362, 4267, 32, 4370, 549, 17444, 427, 3362, 4267, 32, 4370, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, ...
Where is the track located with 18 turns?
CREATE TABLE table_name_34 ( track VARCHAR, turns VARCHAR )
SELECT track FROM table_name_34 WHERE turns = "18"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 1463, 584, 4280, 28027, 6, 5050, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 19, 8, 1463, 1069, 28, 507, 5050, 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, 1463, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 5050, 3274, 96, 2606, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is Team Suzuki's rider and ranks higher than 6?
CREATE TABLE table_name_44 (rider VARCHAR, rank VARCHAR, team VARCHAR)
SELECT rider FROM table_name_44 WHERE rank > 6 AND team = "suzuki"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 4055, 49, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 2271, 26855, 31, 7, 2564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2564, 52, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 11003, 2490, 431, 3430, 372, 3274, 96, 7, 76, 1000, 2168, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose primary disease is morbid obesity/sda and year of death is less than or equal to 2148?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND demographic.dod_year <= "2148.0"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5365, 12108, 4309, 3, 10539, 3205, 15296, 87, 134, 4296, 121, 3430, 14...
what is date of birth and gender of subject name jerry deberry?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.dob, demographic.gender FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 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, 14798, 5, 26, 32, 115, 6, 14798, 5, 122, 3868, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 49, 651, 374, 7418, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
stae the least number of wins in 1986
CREATE TABLE table_19864214_3 (wins INTEGER, seasons VARCHAR)
SELECT MIN(wins) FROM table_19864214_3 WHERE seasons = "1986"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 4389, 27357, 834, 519, 41, 3757, 7, 3, 21342, 17966, 6, 9385, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3342, 15, 8, 709, 381, 13, 9204, 16, 12698, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 24151, 4389, 27357, 834, 519, 549, 17444, 427, 9385, 3274, 96, 2294, 3840, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me the date of birth and diagnoses icd9 code of Jerry Deberry.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.dob, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Jerry Deberry"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 32, 115, 6, 18730, 7, 5, 447, 26, 1298, 834, 4978, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549, 17444, ...
What is the average number of Byes for the team that had 15 Losses, and less than 1 Win?
CREATE TABLE table_40779 ( "Ballarat FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT AVG("Byes") FROM table_40779 WHERE "Losses" = '15' AND "Wins" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 940, 4440, 41, 96, 279, 1748, 9, 1795, 7212, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 10070, 8512, 21680, 953, 834, 2445, 940, 4440, 549, 17444, 427, 96, 434, 13526, 7, 121, 3274, 3, 31, 1808, 31, 3430, 96, 18455, 7, 121, 3, 2, 3, 31, 536, 31, 1, -100, -100, -100, -100, ...
provide the number of patients whose death status is 0 and procedure short title is percu endosc gastrostomy?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Percu endosc gastrostomy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is Position, when Overallis less than 314, and when Pick is less than 8?
CREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR)
SELECT position FROM table_name_84 WHERE overall < 314 AND pick < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 4718, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 14258, 6, 116, 9126, 159, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1879, 3, 2, 220, 2534, 3430, 1432, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the location for 2012?
CREATE TABLE table_name_13 ( location VARCHAR, year VARCHAR )
SELECT location FROM table_name_13 WHERE year = 2012
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 1128, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 21, 1673, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 215, 3274, 1673, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the time of the NJKF Titans Neo X event?
CREATE TABLE table_name_83 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_83 WHERE event = "njkf titans neo x"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 715, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 13, 8, 11522, 439, 371, 13622, 7, 14404, 3, 4, 60...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 605, 3274, 96, 29, 354, 157, 89, 29243, 7, 3, 29, 15, 32, 3, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the game result on November 29, 1959?
CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_14 WHERE date = "november 29, 1959"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 467, 741, 30, 1671, 14405, 22471, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 14405, 22471, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the 08-09 i/o best of the player with 1386 points?
CREATE TABLE table_3177 ( "Rank" real, "WS Points" real, "Name" text, "Country" text, "09-10 I/O best" real, "09-10 GP/JGP best" real, "09-10 GP/JGP 2nd" real, "09-10 OI best" real, "09-10 OI 2nd" real, "08-09 I/O best" real, "08-09 GP/JGP best" real, "08-09 GP/JGP 2nd" real, "08-09 OI best" real, "08-09 OI 2nd" real )
SELECT "08-09 I/O best" FROM table_3177 WHERE "WS Points" = '1386'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 4013, 41, 96, 22557, 121, 490, 6, 96, 8439, 4564, 7, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 4198, 4536, 27, 87, 667, 200, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4018, 18, 4198, 27, 87, 667, 200, 121, 21680, 953, 834, 3341, 4013, 549, 17444, 427, 96, 8439, 4564, 7, 121, 3274, 3, 31, 2368, 3840, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...