NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What current club does the player born in 1984 play for?
CREATE TABLE table_594 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text )
SELECT "Current Club" FROM table_594 WHERE "Year born" = '1984'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 591, 41, 96, 4168, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 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, 254, 450, 5320, 1949, 121, 21680, 953, 834, 3390, 591, 549, 17444, 427, 96, 476, 2741, 2170, 121, 3274, 3, 31, 2294, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the names of the five cities with the greatest proportion of white people?
CREATE TABLE county_public_safety ( county_id number, name text, population number, police_officers number, residents_per_officer number, case_burden number, crime_rate number, police_force text, location text ) CREATE TABLE city ( city_id number, county_id number, name text, white number, black number, amerindian number, asian number, multiracial number, hispanic number )
SELECT name FROM city ORDER BY white DESC LIMIT 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5435, 834, 15727, 834, 15233, 17, 63, 41, 5435, 834, 23, 26, 381, 6, 564, 1499, 6, 2074, 381, 6, 2095, 834, 19632, 52, 7, 381, 6, 2797, 834, 883, 834, 19632, 52, 381, 6, 495, 834...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 690, 4674, 11300, 272, 476, 872, 309, 25067, 8729, 12604, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who had the fastest lap when the winning driver is giorgio sanna?
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Giorgio Sanna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 27749, 19978, 834, 755, 41, 11584, 222, 834, 8478, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 10391, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10391, 834, 8478, 21680, 953, 834, 2688, 27749, 19978, 834, 755, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 517, 23, 127, 10253, 1051, 29, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date the high points was lamarcus aldridge (36)?
CREATE TABLE table_29899 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_29899 WHERE "High points" = 'LaMarcus Aldridge (36)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 3264, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 357, 3916, 3264, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 3612, 7286, 1071, 7, 901, 26, 7700, 6918, 10938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has a Game larger than 7, and Points smaller than 14?
CREATE TABLE table_39080 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT "Score" FROM table_39080 WHERE "Game" > '7' AND "Points" < '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2394, 2079, 41, 96, 23055, 121, 490, 6, 96, 28680, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 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, 134, 9022, 121, 21680, 953, 834, 519, 2394, 2079, 549, 17444, 427, 96, 23055, 121, 2490, 3, 31, 940, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many companies each investor has invested? Show me a bar chart, and display Y-axis in descending order please.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text )
SELECT Investor, COUNT(Investor) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(Investor) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16873, 6, 2847, 17161, 599, 13898, 127, 61, 21680, 3, 12290, 350, 4630, 6880, 272, 476, 16873, 4674, 11300, 272, 476, 2847, 17161, 599, 13898, 127, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by weekday.
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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8...
A bar chart about how many students are older than average for each gender?, and show by the total number in ascending please.
CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) )
SELECT Sex, COUNT(*) FROM Student WHERE Age > (SELECT AVG(Age) FROM Student) GROUP BY Sex ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6200, 51, 41, 103, 52, 6983, 3, 21342, 17966, 6, 103, 52, 51, 834, 4350, 584, 4280, 28027, 599, 1755, 201, 1236, 834, 4010, 9, 6726, 3, 21342, 17966, 6, 7285, 584, 4280, 28027, 14296...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 549, 17444, 427, 7526, 2490, 41, 23143, 14196, 71, 17217, 599, 188, 397, 61, 21680, 6341, 61, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 2847, 1...
What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
CREATE TABLE table_name_72 ( class VARCHAR, year VARCHAR, laps VARCHAR )
SELECT class AS pos FROM table_name_72 WHERE year < 2013 AND laps > 175
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 853, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4501, 13995, 5, 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, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 6157, 3, 2748, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 215, 3, 2, 2038, 3430, 14941, 7, 2490, 209, 3072, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the result for new york 1
CREATE TABLE table_1342249_32 ( result VARCHAR, district VARCHAR )
SELECT result FROM table_1342249_32 WHERE district = "New York 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2884, 3647, 834, 2668, 41, 741, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 741, 21, 126, 25453, 209, 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, 741, 21680, 953, 834, 23747, 2884, 3647, 834, 2668, 549, 17444, 427, 3939, 3274, 96, 6861, 1060, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the name of the team which aggregate score is l 1 2
CREATE TABLE table_29261823_10 ( team VARCHAR, aggregate_score VARCHAR )
SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2688, 2606, 2773, 834, 1714, 41, 372, 584, 4280, 28027, 6, 12955, 834, 7, 9022, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 13, 8, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 3166, 2688, 2606, 2773, 834, 1714, 549, 17444, 427, 12955, 834, 7, 9022, 3274, 96, 434, 209, 104, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the diff for a club that has a value of 662 for points for?
CREATE TABLE table_name_46 (diff VARCHAR, points_for VARCHAR)
SELECT diff FROM table_name_46 WHERE points_for = "662"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 26, 5982, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 20624, 21, 3, 9, 1886, 24, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 20624, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 979, 834, 1161, 3274, 96, 3539, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?
CREATE TABLE table_48308 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Nation" FROM table_48308 WHERE "Gold" > '0' AND "Total" > '4' AND "Rank" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 1458, 927, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 567, 257, 121, 21680, 953, 834, 3707, 1458, 927, 549, 17444, 427, 96, 23576, 121, 2490, 3, 31, 632, 31, 3430, 96, 3696, 1947, 121, 2490, 3, 31, 591, 31, 3430, 96, 22557, 121, 3274, 3, 31, 948, 31, 1, -100, ...
which countries' tv channels are playing some cartoon written by Todd Casey?
CREATE TABLE TV_Channel (country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, written_by VARCHAR)
SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1424, 834, 3541, 4515, 40, 41, 17529, 584, 4280, 28027, 6, 3, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 15074, 41, 3541, 4515, 40, 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, 17529, 21680, 1424, 834, 3541, 4515, 40, 6157, 332, 536, 3, 15355, 3162, 15074, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 3541, 4515, 40, 549, 17444, 427, 332, 4416, 14973, 834, 969, 3274, ...
Count the number of patients who were admitted to the hospital before the year 2194 with a diagnoses icd9 code 34590
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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2194" AND diagnoses.icd9_code = "34590"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Who was in the 2008 club of gabeca montichiari?
CREATE TABLE table_52911 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text )
SELECT "Name" FROM table_52911 WHERE "2008 club" = 'gabeca montichiari'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3166, 2596, 41, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 1499, 6, 96, 134, 102, 5208, 121, 1499, 6, 96, 16128, 1886, 121, 1499, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 755, 3166, 2596, 549, 17444, 427, 96, 16128, 1886, 121, 3274, 3, 31, 6172, 658, 6278, 362, 23, 1665, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the season where the team reached a GP of 244?
CREATE TABLE table_73374 ( "Season" text, "League" text, "Division" text, "GP" real, "W" real, "L" real, "T" real, "OTL" real, "SOL" real, "Pts" real, "PCT" text, "GF" real, "GA" real, "PIM" real, "Coach(es)" text, "Result" text )
SELECT "Season" FROM table_73374 WHERE "GF" = '244'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 519, 4581, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 8049, 121, 490, 6, 96, 518, 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, 134, 15, 9, 739, 121, 21680, 953, 834, 4552, 519, 4581, 549, 17444, 427, 96, 15643, 121, 3274, 3, 31, 357, 3628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?
CREATE TABLE table_name_23 ( started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR )
SELECT started FROM table_name_23 WHERE country = "eng" AND loan_club = "sunderland" AND end_source = "south wales echo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 708, 584, 4280, 28027, 6, 414, 834, 7928, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 2289, 834, 13442, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 708, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 684, 3274, 96, 4606, 121, 3430, 2289, 834, 13442, 3274, 96, 7, 7248, 40, 232, 121, 3430, 414, 834, 7928, 3274, 96, 7, 670, 107, 3, 210, 4529, 20747, 121, 1, ...
What city is located in Oklahoma?
CREATE TABLE table_name_67 (city VARCHAR, state VARCHAR)
SELECT city FROM table_name_67 WHERE state = "oklahoma"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 6726, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 690, 19, 1069, 16, 12157, 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, 690, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 538, 3274, 96, 32, 8142, 10207, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
return me the authors who have cooperated with ' H. V. Jagadish ' .
CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE cite ( cited int, citing int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE writes ( aid int, pid int ) CREATE TABLE author ( aid int, homepage varchar, name varchar, oid int ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE keyword ( keyword varchar, kid int )
SELECT AUTHOR_0.name FROM author AS AUTHOR_0, author AS AUTHOR_1, publication, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_1.name = 'H. V. Jagadish' AND WRITES_0.aid = AUTHOR_0.aid AND WRITES_0.pid = publication.pid AND WRITES_1.aid = AUTHOR_1.aid AND WRITES_1.pid = publication.pid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3303, 834, 4397, 6051, 41, 410, 16, 17, 6, 4984, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 11675, 16, 17, 6, 3, 17994, 16, 17, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 6727, 4611, 2990, 834, 632, 5, 4350, 21680, 2291, 6157, 3, 6727, 4611, 2990, 834, 632, 6, 2291, 6157, 3, 6727, 4611, 2990, 834, 4347, 5707, 6, 11858, 6157, 549, 25066, 3205, 834, 632, 6, 11858, 6157, 549, 25066, ...
If the site was wallace wade stadium • durham, nc, what was the result?
CREATE TABLE table_26842217_8 (result VARCHAR, site VARCHAR)
SELECT result FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4608, 2884, 2517, 834, 927, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 353, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 353, 47, 1481, 3302, 8036, 221, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 2688, 4608, 2884, 2517, 834, 927, 549, 17444, 427, 353, 3274, 96, 518, 138, 11706, 26765, 12750, 1697, 25215, 6, 9187, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What team was the away team for the venue punt road oval?
CREATE TABLE table_4722 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_4722 WHERE "Venue" = 'punt road oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 2884, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 4177, 2884, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 6225, 17, 1373, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who had a transfer fee of released and played the position of DF?
CREATE TABLE table_49706 ( "Exit Date" text, "Pos." text, "Player" text, "To club" text, "Transfer fee" text )
SELECT "Player" FROM table_49706 WHERE "Transfer fee" = 'released' AND "Pos." = 'df'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 2518, 948, 41, 96, 5420, 155, 7678, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 3696, 1886, 121, 1499, 6, 96, 18474, 1010, 2572, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15800, 49, 121, 21680, 953, 834, 3647, 2518, 948, 549, 17444, 427, 96, 18474, 1010, 2572, 121, 3274, 3, 31, 21019, 26, 31, 3430, 96, 345, 32, 7, 535, 3274, 3, 31, 26, 89, 31, 1, -100, -100, -100, -100, -100,...
For each grade 0 classroom, report the total number of students.
CREATE TABLE list ( classroom VARCHAR, grade VARCHAR )
SELECT classroom, COUNT(*) FROM list WHERE grade = "0" GROUP BY classroom
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 4858, 584, 4280, 28027, 6, 2769, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 284, 2769, 3, 632, 4858, 6, 934, 8, 792, 381, 13, 481, 5, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4858, 6, 2847, 17161, 599, 1935, 61, 21680, 570, 549, 17444, 427, 2769, 3274, 96, 632, 121, 350, 4630, 6880, 272, 476, 4858, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the result for round 13
CREATE TABLE table_21269143_1 (result VARCHAR, round VARCHAR)
SELECT result FROM table_21269143_1 WHERE round = "13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24837, 3951, 25133, 834, 536, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 741, 21, 1751, 1179, 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, 741, 21680, 953, 834, 24837, 3951, 25133, 834, 536, 549, 17444, 427, 1751, 3274, 96, 2368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is south melbourne's home side score?
CREATE TABLE table_name_53 ( home_team VARCHAR )
SELECT home_team AS score FROM table_name_53 WHERE home_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3414, 3, 2341, 26255, 31, 7, 234, 596, 2604, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum number of episodes in the series listed?
CREATE TABLE table_18424435_4 ( no INTEGER )
SELECT MAX(no) FROM table_18424435_4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4165, 3628, 2469, 834, 591, 41, 150, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 381, 13, 13562, 16, 8, 939, 2616, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 29, 32, 61, 21680, 953, 834, 2606, 4165, 3628, 2469, 834, 591, 1, -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 attendance when the Braves were the opponent and the record was 56-53?
CREATE TABLE table_name_62 ( attendance INTEGER, opponent VARCHAR, record VARCHAR )
SELECT AVG(attendance) FROM table_name_62 WHERE opponent = "braves" AND record = "56-53"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 11364, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 116, 8, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 15264, 3274, 96, 1939, 162, 7, 121, 3430, 1368, 3274, 96, 4834, 18, 4867, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose gender is f and drug name is aspirin ec?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Aspirin EC"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What year was there a Tony award category of Best Revival of a Musical?
CREATE TABLE table_name_72 ( year VARCHAR, award VARCHAR, category VARCHAR )
SELECT year FROM table_name_72 WHERE award = "tony award" AND category = "best revival of a musical"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 215, 584, 4280, 28027, 6, 2760, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 132, 3, 9, 9137, 2760,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 2760, 3274, 96, 17, 106, 63, 2760, 121, 3430, 3295, 3274, 96, 9606, 26327, 13, 3, 9, 4183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2.15 for Tom Parsons?
CREATE TABLE table_name_9 (athlete VARCHAR)
SELECT 215 FROM table_name_9 WHERE athlete = "tom parsons"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 26170, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1682, 1808, 21, 3059, 2180, 6577, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 204, 1808, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 17893, 3274, 96, 235, 51, 260, 6577, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Count the number of patients whose ethnicity is American Indian/Alaska native and were given the drug magnesium oxide.
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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND prescriptions.drug = "Magnesium Oxide"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What was the location on October 16?
CREATE TABLE table_48654 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text )
SELECT "Location" FROM table_48654 WHERE "Date" = 'october 16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 4122, 591, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 7, 49, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3707, 4122, 591, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 898, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country does Roberto Almeida live?
CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE invoice_lines ( id number, invoice_id number, track_id number, unit_price number, quantity number ) CREATE TABLE genres ( id number, name text ) CREATE TABLE media_types ( id number, name text ) CREATE TABLE albums ( id number, title text, artist_id number ) CREATE TABLE employees ( id number, last_name text, first_name text, title text, reports_to number, birth_date time, hire_date time, address text, city text, state text, country text, postal_code text, phone text, fax text, email text ) CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number ) CREATE TABLE artists ( id number, name text ) CREATE TABLE tracks ( id number, name text, album_id number, media_type_id number, genre_id number, composer text, milliseconds number, bytes number, unit_price number ) CREATE TABLE playlist_tracks ( playlist_id number, track_id number ) CREATE TABLE playlists ( id number, name text ) CREATE TABLE sqlite_sequence ( name text, seq text )
SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 3, 23, 26, 381, 6, 166, 834, 4350, 1499, 6, 336, 834, 4350, 1499, 6, 349, 1499, 6, 1115, 1499, 6, 690, 1499, 6, 538, 1499, 6, 684, 1499, 6, 19085, 834, 4978, 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, 684, 21680, 722, 549, 17444, 427, 166, 834, 4350, 3274, 96, 24372, 49, 235, 121, 3430, 336, 834, 4350, 3274, 96, 188, 40, 526, 23, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb
CREATE TABLE table_18948 ( "Trim" text, "Engine" text, "Displacement" text, "Power" text, "Torque" text, "Transmission" text, "Fuel Mileage (latest EPA mpg - US )" text )
SELECT "Torque" FROM table_18948 WHERE "Fuel Mileage (latest EPA mpg - US )" = '22 city, 30 hwy, 25 comb'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 3707, 41, 96, 19310, 51, 121, 1499, 6, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 127, 835, 121, 21680, 953, 834, 25312, 3707, 549, 17444, 427, 96, 371, 76, 15, 40, 11705, 545, 41, 521, 4377, 3, 13986, 3, 1167, 122, 3, 18, 837, 3, 61, 121, 3274, 3, 31, 2884, 690, 6, 604, 3, 107, ...
What is the week number that has Dolly Parton as the theme?
CREATE TABLE table_75715 ( "Week #" text, "Theme" text, "Original artist" text, "Order #" text, "Result" text )
SELECT "Week #" FROM table_75715 WHERE "Theme" = 'dolly parton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 940, 1808, 41, 96, 518, 10266, 1713, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 667, 3380, 10270, 2377, 121, 1499, 6, 96, 7395, 588, 1713, 121, 1499, 6, 96, 2011...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10266, 1713, 121, 21680, 953, 834, 3072, 940, 1808, 549, 17444, 427, 96, 634, 526, 121, 3274, 3, 31, 26, 32, 6073, 294, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
show me patient 002-41152's hospial admission time in this year.
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) 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 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '002-41152' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 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, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 21432, 15660, 357, 31, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 6, 3, 31, 10208, ...
How many casinos are associated with a FY2009 $mil value of exactly $279?
CREATE TABLE table_25438110_5 ( casinos VARCHAR, fy09_$millions VARCHAR )
SELECT COUNT(casinos) FROM table_25438110_5 WHERE fy09_$millions = "$279"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4906, 4959, 1714, 834, 755, 41, 14596, 584, 4280, 28027, 6, 3, 89, 63, 4198, 834, 3229, 17030, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6769, 23, 4844, 61, 21680, 953, 834, 1828, 4906, 4959, 1714, 834, 755, 549, 17444, 427, 3, 89, 63, 4198, 834, 3229, 17030, 7, 3274, 96, 3229, 357, 4440, 121, 1, -100, -100, -100, -100, -100, -100, ...
What was the destination of the season won by Anwar Syed?
CREATE TABLE table_23489 ( "Season" real, "Network" text, "Host" text, "Contestants" real, "Winner" text, "Destination" text )
SELECT "Destination" FROM table_23489 WHERE "Winner" = 'Anwar Syed'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3710, 3914, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 9688, 1981, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 4302, 4377, 2366, 121, 490, 6, 96, 18455, 687, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 222, 77, 257, 121, 21680, 953, 834, 357, 3710, 3914, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 188, 29, 2910, 180, 10093, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the names of departments that are located in Houston.
CREATE TABLE dependent ( essn number, dependent_name text, sex text, bdate text, relationship text ) CREATE TABLE employee ( fname text, minit text, lname text, ssn number, bdate text, address text, sex text, salary number, super_ssn number, dno number ) CREATE TABLE dept_locations ( dnumber number, dlocation text ) CREATE TABLE works_on ( essn number, pno number, hours number ) CREATE TABLE department ( dname text, dnumber number, mgr_ssn number, mgr_start_date text ) CREATE TABLE project ( pname text, pnumber number, plocation text, dnum number )
SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber = t2.dnumber WHERE t2.dlocation = 'Houston'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8976, 41, 3, 15, 7, 7, 29, 381, 6, 8976, 834, 4350, 1499, 6, 3, 7, 994, 1499, 6, 3, 115, 5522, 1499, 6, 1675, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26, 4350, 21680, 3066, 6157, 3, 17, 536, 3, 15355, 3162, 20, 102, 17, 834, 14836, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 26, 5525, 1152, 3274, 3, 17, 4416, 26, 5525, 1152, 549, 17444, 427, 3, 17,...
Create a pie chart showing how many class across class.
CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text )
SELECT Class, COUNT(Class) FROM race GROUP BY Class
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1463, 41, 8799, 834, 4309, 16, 17, 6, 5570, 1499, 6, 10450, 1499, 6, 15915, 53, 490, 6, 2929, 834, 22696, 15, 26, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4501, 6, 2847, 17161, 599, 21486, 61, 21680, 1964, 350, 4630, 6880, 272, 476, 4501, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the dates of performances with attending members whose roles are 'Violin', and count them by a bar chart, and display from low to high by the Y.
CREATE TABLE performance ( Performance_ID real, Date text, Host text, Location text, Attendance int ) CREATE TABLE member_attendance ( Member_ID int, Performance_ID int, Num_of_Pieces int ) CREATE TABLE member ( Member_ID text, Name text, Nationality text, Role text )
SELECT Date, COUNT(Date) FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID WHERE T2.Role = "Violin" GROUP BY Date ORDER BY COUNT(Date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 821, 41, 8233, 834, 4309, 490, 6, 7678, 1499, 6, 1546, 7, 17, 1499, 6, 10450, 1499, 6, 22497, 663, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 834, 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, 7678, 6, 2847, 17161, 599, 308, 342, 61, 21680, 1144, 834, 15116, 663, 6157, 332, 536, 3, 15355, 3162, 1144, 6157, 332, 357, 9191, 332, 5411, 329, 18247, 834, 4309, 3274, 332, 4416, 329, 18247, 834, 4309, 3, 15355, ...
Find the name and category of the most expensive product.
CREATE TABLE products ( product_name VARCHAR, product_category_code VARCHAR, product_price VARCHAR )
SELECT product_name, product_category_code FROM products ORDER BY product_price DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 556, 834, 4350, 584, 4280, 28027, 6, 556, 834, 8367, 839, 651, 834, 4978, 584, 4280, 28027, 6, 556, 834, 102, 4920, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 556, 834, 4350, 6, 556, 834, 8367, 839, 651, 834, 4978, 21680, 494, 4674, 11300, 272, 476, 556, 834, 102, 4920, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is in November where October is jill de vries?
CREATE TABLE table_name_71 (november VARCHAR, october VARCHAR)
SELECT november FROM table_name_71 WHERE october = "jill de vries"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 5326, 18247, 584, 4280, 28027, 6, 3, 32, 75, 235, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 16, 1671, 213, 1797, 19, 3, 354,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 5326, 18247, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 3, 32, 75, 235, 1152, 3274, 96, 354, 1092, 20, 3, 208, 2593, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The country of Laos is in what region?
CREATE TABLE table_60090 ( "Country" text, "Region" text, "FHFreepressreport" text, "RWB Pressfreedomindex" text, "Internetlists" text, "ONIpoliticalfiltering" text, "ONIsocialfiltering" text, "ONIsecurityfiltering" text, "ONItoolsfiltering" text )
SELECT "Region" FROM table_60090 WHERE "Country" = 'laos'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 2394, 41, 96, 10628, 651, 121, 1499, 6, 96, 17748, 23, 106, 121, 1499, 6, 96, 371, 566, 16393, 4715, 60, 1493, 121, 1499, 6, 96, 448, 518, 279, 3373, 2113, 5012, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17748, 23, 106, 121, 21680, 953, 834, 6007, 2394, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 521, 32, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the pick number for the player playing tackle position, and a round less than 15?
CREATE TABLE table_35169 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT SUM("Pick") FROM table_35169 WHERE "Position" = 'tackle' AND "Round" < '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 27096, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 345, 3142, 8512, 21680, 953, 834, 2469, 27096, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 17, 9, 19376, 31, 3430, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 1808, 31, 1, -100, -100...
Draw a bar chart about the distribution of All_Home and School_ID , and group by attribute ACC_Road.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Road, All_Home
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 19040, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 6, 432, 834, 19040, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
gene sarazen and denny shute are both from which country ?
CREATE TABLE table_203_864 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number )
SELECT "country" FROM table_203_864 WHERE "player" = 'gene sarazen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3840, 591, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17529, 121, 21680, 953, 834, 23330, 834, 3840, 591, 549, 17444, 427, 96, 20846, 121, 3274, 3, 31, 729, 15, 3, 7, 2551, 1847, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In how many counties di McCain win 41.62% of the vote?
CREATE TABLE table_20524090_1 (county VARCHAR, mccain_percentage VARCHAR)
SELECT COUNT(county) FROM table_20524090_1 WHERE mccain_percentage = "41.62%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23201, 11944, 2394, 834, 536, 41, 13362, 63, 584, 4280, 28027, 6, 3, 51, 12464, 77, 834, 883, 3728, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 149, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 13362, 63, 61, 21680, 953, 834, 23201, 11944, 2394, 834, 536, 549, 17444, 427, 3, 51, 12464, 77, 834, 883, 3728, 545, 3274, 96, 591, 15062, 5406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
What is the total number for a place with points smaller than 12?
CREATE TABLE table_name_70 ( place VARCHAR, points INTEGER )
SELECT COUNT(place) FROM table_name_70 WHERE points < 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 286, 584, 4280, 28027, 6, 979, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 21, 3, 9, 286, 28, 979, 2755, 145, 586, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4687, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 979, 3, 2, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the 1958 when 1957 is dnf-9
CREATE TABLE table_name_24 ( Id VARCHAR )
SELECT 1958 FROM table_name_24 WHERE 1957 = "dnf-9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 22306, 116, 24011, 19, 3, 26, 29, 89, 7141, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22306, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 24011, 3274, 96, 26, 29, 89, 7141, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of patients whose admission type is emergency and drug code is glyc1r?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND prescriptions.formulary_drug_cd = "GLYC1R"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What Area (km 2) is lowest with a type being Apostolic Administration?
CREATE TABLE table_78646 ( "Ecclesiastical Jurisdictions" text, "Latin name" text, "Type" text, "Rite" text, "Ecclesiastical Province" text, "Area (km 2 )" real )
SELECT MIN("Area (km 2 )") FROM table_78646 WHERE "Type" = 'apostolic administration'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3840, 4448, 41, 96, 427, 75, 2482, 7, 23, 10057, 138, 15598, 159, 12472, 7, 121, 1499, 6, 96, 3612, 17, 77, 564, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 448, 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, 3, 17684, 599, 121, 188, 864, 41, 5848, 204, 3, 61, 8512, 21680, 953, 834, 940, 3840, 4448, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 2521, 235, 2176, 3602, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
was big bang 2 recorded in japanese or korean ?
CREATE TABLE table_204_680 ( id number, "released" text, "title" text, "artist" text, "format" text, "language" text )
SELECT "language" FROM table_204_680 WHERE "title" = 'big bang 2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 2079, 41, 3, 23, 26, 381, 6, 96, 21019, 26, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 1408, 343, 121, 1499, 6, 96, 8995, 121, 1499, 6, 96, 24925, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24925, 121, 21680, 953, 834, 26363, 834, 948, 2079, 549, 17444, 427, 96, 21869, 121, 3274, 3, 31, 12911, 4514, 122, 204, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Rank is the highest one that has Points smaller than 256.6?
CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)
SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 6254, 3, 21342, 17966, 6, 979, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 19, 8, 2030, 80, 24, 65, 4564, 7, 2755, 145, 944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 979, 3, 2, 944, 28833, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which team plays in Goa, Salcette?
CREATE TABLE table_name_63 (home_venue VARCHAR, state VARCHAR, city VARCHAR)
SELECT home_venue FROM table_name_63 WHERE state = "goa" AND city = "salcette"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 5515, 834, 15098, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 4805, 16, 1263, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 15098, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 538, 3274, 96, 839, 9, 121, 3430, 690, 3274, 96, 7, 138, 922, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the No. 8 of the person with a No. 4 of Noah?
CREATE TABLE table_name_32 ( no_8 VARCHAR, no_4 VARCHAR )
SELECT no_8 FROM table_name_32 WHERE no_4 = "noah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 150, 834, 927, 584, 4280, 28027, 6, 150, 834, 591, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 465, 5, 505, 13, 8, 568, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 150, 834, 927, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 150, 834, 591, 3274, 96, 29, 32, 9, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most interview for minnesota and average more than 7.901
CREATE TABLE table_name_7 (interview INTEGER, state VARCHAR, average VARCHAR)
SELECT MAX(interview) FROM table_name_7 WHERE state = "minnesota" AND average > 7.901
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 3870, 4576, 3, 21342, 17966, 6, 538, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 2772, 21, 3519, 1496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3870, 4576, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 538, 3274, 96, 1109, 1496, 32, 17, 9, 121, 3430, 1348, 2490, 4306, 2394, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When osku palermaa is on the europe team how many match numbers are there?
CREATE TABLE table_19072602_5 ( match_no VARCHAR, team_europe VARCHAR )
SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4560, 18365, 357, 834, 755, 41, 1588, 834, 29, 32, 584, 4280, 28027, 6, 372, 834, 28188, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 3, 32, 7, 2729, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 19515, 834, 29, 32, 61, 21680, 953, 834, 2294, 4560, 18365, 357, 834, 755, 549, 17444, 427, 372, 834, 28188, 3274, 96, 667, 7, 2729, 4826, 49, 51, 9, 9, 121, 1, -100, -100, -100, -100, -100, -100...
provide me with the number of patients under 59 years who were discharged dead/expired.
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DEAD/EXPIRED" AND demographic.age < "59"
[ 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, 26, 159, 7993, 834, 14836, 3274, 96, 308, 19552, 87, 427, 4, 4111, 13729, 121, 3430, 14798, 5, 5...
What is the league with a 0:1 home?
CREATE TABLE table_name_37 (league VARCHAR, home VARCHAR)
SELECT league FROM table_name_37 WHERE home = "0:1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 29512, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5533, 28, 3, 9, 3, 632, 10, 536, 234, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 234, 3274, 96, 632, 10, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score on April 20?
CREATE TABLE table_name_3 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_3 WHERE date = "april 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 1186, 460, 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, 2604, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Ranking higher than 2, what Team has Player Paolo Maldini?
CREATE TABLE table_name_52 (team VARCHAR, rank VARCHAR, name VARCHAR)
SELECT team FROM table_name_52 WHERE rank > 2 AND name = "paolo maldini"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 11650, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 29153, 1146, 145, 3547, 125, 2271, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 11003, 2490, 204, 3430, 564, 3274, 96, 102, 9, 32, 40, 32, 1460, 2644, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me a histogram for how many students are older than 20 in each dorm?, display by the names from low to high.
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 Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER )
SELECT dorm_name, COUNT(*) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.Age > 20 GROUP BY T3.dorm_name ORDER BY dorm_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 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, 103, 52, 51, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 6157, 332, 536, 3, 15355, 3162, 3306, 7, 834, 77, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, 17, 76, 23, 26, 3, ...
Return the apartment number and the number of rooms for each apartment by a bar chart.
CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME )
SELECT apt_number, room_count FROM Apartments
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 371, 9, 13067, 3010, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3064, 834, 4978, 3, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 6789, 834, 5525, 1152, 6, 562, 834, 13362, 21680, 15970, 7, 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, -...
What is the total rank of Hungary (HUN) when the bronze medals were less than 0?
CREATE TABLE table_name_84 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(rank) FROM table_name_84 WHERE nation = "hungary (hun)" AND bronze < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 6254, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 11003, 13, 22768, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 2982, 3274, 96, 6668, 1208, 41, 107, 202, 61, 121, 3430, 13467, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When was the oakachoy covered bridge listed?
CREATE TABLE table_49817 ( "Name" text, "Built" text, "Listed" text, "Location" text, "County" text )
SELECT "Listed" FROM table_49817 WHERE "Name" = 'oakachoy covered bridge'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3916, 2517, 41, 96, 23954, 121, 1499, 6, 96, 7793, 173, 17, 121, 1499, 6, 96, 28886, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 10628, 63, 121, 1499, 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, 0...
[ 3, 23143, 14196, 96, 28886, 121, 21680, 953, 834, 591, 3916, 2517, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 32, 5667, 3995, 63, 2303, 4716, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is maximum age of patients whose death status is 0 and primary disease is femoral artery thrombosis?
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "FEMORAL ARTERY THROMBOSIS"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 994, 2388, 15, 834, 89, 5430, 3274, 96, 632, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 6392, 5365, 21415, 11155, 5946, 476, 3, ...
What coach premiered February 16, 2008 later than episode 21.0?
CREATE TABLE table_2140071_8 ( coach VARCHAR, premier_date VARCHAR, episode VARCHAR )
SELECT coach FROM table_2140071_8 WHERE premier_date = "February 16, 2008" AND episode > 21.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 5548, 4450, 834, 927, 41, 3763, 584, 4280, 28027, 6, 2761, 834, 5522, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3763, 1353...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3763, 21680, 953, 834, 2658, 5548, 4450, 834, 927, 549, 17444, 427, 2761, 834, 5522, 3274, 96, 31122, 11940, 2628, 121, 3430, 5640, 2490, 204, 12734, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
During the Big Seven Conference which team was the regular season winner?
CREATE TABLE table_28365816_2 (regular_season_winner VARCHAR, conference VARCHAR)
SELECT regular_season_winner FROM table_28365816_2 WHERE conference = "Big Seven conference"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 10402, 927, 2938, 834, 357, 41, 60, 122, 4885, 834, 9476, 834, 3757, 687, 584, 4280, 28027, 6, 2542, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 2092, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1646, 834, 9476, 834, 3757, 687, 21680, 953, 834, 2577, 10402, 927, 2938, 834, 357, 549, 17444, 427, 2542, 3274, 96, 23805, 13065, 2542, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?
CREATE TABLE table_25244412_2 ( total_electricity__gw VARCHAR, renewable_electricity_w_o_hydro__gw·h_ VARCHAR )
SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE renewable_electricity_w_o_hydro__gw·h_ = 3601
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2266, 3628, 2122, 834, 357, 41, 792, 834, 17470, 485, 834, 834, 122, 210, 584, 4280, 28027, 6, 12475, 834, 17470, 485, 834, 210, 834, 32, 834, 10656, 32, 834, 834, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 834, 17470, 485, 834, 834, 122, 210, 61, 6157, 3, 2, 107, 834, 21680, 953, 834, 1828, 2266, 3628, 2122, 834, 357, 549, 17444, 427, 12475, 834, 17470, 485, 834, 210, 834, 32, 834, 10656, ...
What is the year range of season 4?
CREATE TABLE table_24966 ( "No." real, "Season" text, "Championship" real, "No. of teams" real, "Start (reg. season)" text, "Finish (incl. championship)" text, "Top record" text, "National Champion" text )
SELECT "Season" FROM table_24966 WHERE "No." = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3647, 3539, 41, 96, 4168, 535, 490, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 254, 1483, 12364, 2009, 121, 490, 6, 96, 4168, 5, 13, 2323, 121, 490, 6, 96, 7681, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 357, 3647, 3539, 549, 17444, 427, 96, 4168, 535, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the NCAA Tournament record after the June 26 game?
CREATE TABLE table_28001186_8 ( ncaat_record VARCHAR, date VARCHAR )
SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 17465, 25398, 834, 927, 41, 3, 29, 658, 144, 834, 60, 7621, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 20711, 20502...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 658, 144, 834, 60, 7621, 21680, 953, 834, 2577, 17465, 25398, 834, 927, 549, 17444, 427, 833, 3274, 96, 683, 444, 2208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player?
CREATE TABLE table_70645 ( "Player" text, "Date" text, "Original Team" text, "Offer Team" text, "Result" text )
SELECT "Result" FROM table_70645 WHERE "Offer Team" = 'new york rangers' AND "Player" = 'adam graves'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 948, 2128, 41, 96, 15800, 49, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 3380, 10270, 2271, 121, 1499, 6, 96, 21265, 49, 2271, 121, 1499, 6, 96, 20119, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 2518, 948, 2128, 549, 17444, 427, 96, 21265, 49, 2271, 121, 3274, 3, 31, 5534, 25453, 620, 52, 7, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 9, 7812, 7808, 7, 31, 1, -100, -100, ...
What is the casting temperature for a hardness of 22?
CREATE TABLE table_name_88 (casting_at__°c_ VARCHAR, hardness VARCHAR)
SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 5254, 53, 834, 144, 834, 834, 1956, 75, 834, 584, 4280, 28027, 6, 614, 655, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16050, 291...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16050, 834, 144, 834, 834, 1956, 75, 834, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 614, 655, 3274, 96, 2884, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which season has the Celtic club?
CREATE TABLE table_69673 ( "Season" text, "Competition" text, "Round" text, "Club" text, "1st leg" text )
SELECT "Season" FROM table_69673 WHERE "Club" = 'celtic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3708, 519, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 536, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 3951, 3708, 519, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 7125, 1225, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What score was on July 25?
CREATE TABLE table_name_26 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_26 WHERE date = "july 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 47, 30, 1718, 944, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 833, 3274, 96, 2047, 120, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
show me the number of patients who are less than 76 years of age and their drug name is simvastatin.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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.age < "76" AND prescriptions.drug = "Simvastatin"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
estimated gfr < 30 ml / min / 1.73 m2 as measured by the simplified mdrd formula or serum potassium > 5.2 mmol / l.
CREATE TABLE table_test_12 ( "id" int, "serum_potassium" float, "left_ventricular_ejection_fraction_lvef" int, "systolic_blood_pressure_sbp" int, "haemoglobin" float, "consent" bool, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "renal_disease" bool, "anaemia" bool, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "symptomatic_hypotension" bool, "kidney_disease" bool, "NOUSE" float )
SELECT * FROM table_test_12 WHERE estimated_glomerular_filtration_rate_egfr < 30 OR serum_potassium > 5.2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 2122, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 49, 440, 834, 3013, 6500, 440, 121, 3, 12660, 6, 96, 17068, 834, 31695, 834, 15, 21440, 834, 22513, 834, 40, 162...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 4377, 834, 2122, 549, 17444, 427, 5861, 834, 24422, 4885, 834, 18974, 834, 2206, 834, 15, 122, 89, 52, 3, 2, 604, 4674, 20725, 834, 3013, 6500, 440, 2490, 3, 24342, 1, -100, -100, -100, -100, ...
Tell me the average pesticide residue for each state in the US where food is grown.
CREATE TABLE sampledata15 ( sample_pk number, state text, year text, month text, day text, site text, commod text, source_id text, variety text, origin text, country text, disttype text, commtype text, claim text, quantity number, growst text, packst text, distst text ) CREATE TABLE resultsdata15 ( sample_pk number, commod text, commtype text, lab text, pestcode text, testclass text, concen number, lod number, conunit text, confmethod text, confmethod2 text, annotate text, quantitate text, mean text, extract text, determin text )
SELECT T1.growst, AVG(T2.concen) FROM sampledata15 AS T1 JOIN resultsdata15 AS T2 ON T1.sample_pk = T2.sample_pk GROUP BY T1.growst
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3106, 6757, 1808, 41, 3106, 834, 102, 157, 381, 6, 538, 1499, 6, 215, 1499, 6, 847, 1499, 6, 239, 1499, 6, 353, 1499, 6, 3, 287, 7360, 1499, 6, 1391, 834, 23, 26, 1499, 6, 1196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 122, 3623, 7, 17, 6, 71, 17217, 599, 382, 4416, 11620, 29, 61, 21680, 3106, 6757, 1808, 6157, 332, 536, 3, 15355, 3162, 772, 6757, 1808, 6157, 332, 357, 9191, 332, 5411, 7, 9, 9208, 834, 102, 157, 3274,...
what is the total number of different models ?
CREATE TABLE table_204_878 ( id number, "model" text, "release date" text, "sensor\nres., size" text, "lens (35 mm equiv.)\nzoom, aperture" text, "screen\nsize, pixels" text, "dimensions\nw (mm) \u00d7 h (mm) \u00d7 d (mm)" text, "weight" text, "features" text )
SELECT COUNT(DISTINCT "model") FROM table_204_878
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3940, 41, 3, 23, 26, 381, 6, 96, 21770, 121, 1499, 6, 96, 21019, 833, 121, 1499, 6, 96, 26052, 2, 29, 60, 7, 5, 6, 812, 121, 1499, 6, 96, 40, 35, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 96, 21770, 8512, 21680, 953, 834, 26363, 834, 927, 3940, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?
CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_91 WHERE location = "boston garden" AND game > 1 AND score = "115-105"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 32, 102, 9977, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1128, 3274, 96, 115, 32, 4411, 2004, 121, 3430, 467, 2490, 209, 3430, 2604, 3274, 96, 15660, 4536, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which opponent plays on September 19?
CREATE TABLE table_name_11 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_11 WHERE date = "september 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 4805, 30, 1600, 957, 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, 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, 15264, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the team performance in 1977?
CREATE TABLE table_name_28 (team_performance VARCHAR, year VARCHAR)
SELECT team_performance FROM table_name_28 WHERE year = 1977
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 11650, 834, 18558, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 372, 821, 16, 16433, 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, 372, 834, 18558, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 215, 3274, 16433, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who wrote the episode with series number 56?
CREATE TABLE table_25800134_1 ( writer_s_ VARCHAR, series__number VARCHAR )
SELECT writer_s_ FROM table_25800134_1 WHERE series__number = 56
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 6192, 23747, 834, 536, 41, 4346, 834, 7, 834, 584, 4280, 28027, 6, 939, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4346, 834, 7, 834, 21680, 953, 834, 1828, 6192, 23747, 834, 536, 549, 17444, 427, 939, 834, 834, 5525, 1152, 3274, 11526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the averge score of students in NC and in NY?
CREATE TABLE ndecoreexcel_math_grade8 ( year number, state text, all_students text, average_scale_score number ) CREATE TABLE finrev_fed_key_17 ( state_code number, state text, #_records text ) CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number )
SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "North Carolina" UNION SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "New York"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 29, 221, 9022, 994, 7125, 834, 3357, 107, 834, 6801, 927, 41, 215, 381, 6, 538, 1499, 6, 66, 834, 8637, 295, 7, 1499, 6, 1348, 834, 6649, 834, 7, 9022, 381, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1348, 834, 6649, 834, 7, 9022, 21680, 3, 29, 221, 9022, 994, 7125, 834, 3357, 107, 834, 6801, 927, 549, 17444, 427, 538, 3274, 96, 22969, 5089, 121, 4417, 9215, 3, 23143, 14196, 1348, 834, 6649, 834, 7, 9022, 21680,...
What is the original title for the winner and nominees 'Secrets & Lies'?
CREATE TABLE table_name_25 ( original_title VARCHAR, winner_and_nominees VARCHAR )
SELECT original_title FROM table_name_25 WHERE winner_and_nominees = "secrets & lies"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 926, 834, 21869, 584, 4280, 28027, 6, 4668, 834, 232, 834, 3114, 630, 15, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 926, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 926, 834, 21869, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 4668, 834, 232, 834, 3114, 630, 15, 7, 3274, 96, 27527, 7, 3, 184, 7797, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the into service for dh1
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
SELECT into_service FROM table_29002641_1 WHERE number = "DH1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 7015, 2688, 4853, 834, 536, 41, 77, 235, 834, 5114, 584, 4280, 28027, 6, 381, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 139, 313, 21, 3, 26, 107, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 139, 834, 5114, 21680, 953, 834, 357, 7015, 2688, 4853, 834, 536, 549, 17444, 427, 381, 3274, 96, 15538, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When Steve Hazlett is the Player, and the PI GP is under 0, what is the average Rd #?
CREATE TABLE table_name_82 (rd__number INTEGER, player VARCHAR, pl_gp VARCHAR)
SELECT AVG(rd__number) FROM table_name_82 WHERE player = "steve hazlett" AND pl_gp < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 52, 26, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 4752, 834, 122, 102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 52, 26, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1959, 3274, 96, 849, 162, 3, 10557, 1655, 17, 121, 3430, 4752, 834, 122, 102, 3, 2, 3, 632, 1, -100, -100, -10...
For the group name European Progressive Democrats what is the French abbr?
CREATE TABLE table_name_23 ( french_abbr VARCHAR, group_name VARCHAR )
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 20609, 834, 12982, 52, 584, 4280, 28027, 6, 563, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 563, 564, 1611, 27113, 11882,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20609, 834, 12982, 52, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 563, 834, 4350, 3274, 96, 28188, 152, 9018, 3, 23319, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many candidates were there when Henry Garland Dupré was the incumbent?
CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2266, 5553, 834, 2938, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4341, 130, 132, 116, 7780, 2776,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1608, 12416, 6203, 61, 21680, 953, 834, 23747, 2266, 5553, 834, 2938, 549, 17444, 427, 28406, 3274, 96, 566, 35, 651, 2776, 7721, 970, 16280, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Date, when Location is Polo Grounds, when Winner is Philadelphia Eagles, and when Year is 1948?
CREATE TABLE table_8926 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Location" text )
SELECT "Date" FROM table_8926 WHERE "Location" = 'polo grounds' AND "Winner" = 'philadelphia eagles' AND "Year" = '1948'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3914, 2688, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3914, 2688, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 3233, 32, 9808, 31, 3430, 96, 18455, 687, 121, 3274, 3, 31, 18118, 15311, 11692, 9, 3, 15, 9, 3537, 7, 3...
Tell me the peak for prom being less than 147
CREATE TABLE table_name_26 (peak VARCHAR, prom__m_ INTEGER)
SELECT peak FROM table_name_26 WHERE prom__m_ < 147
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 14661, 584, 4280, 28027, 6, 15207, 834, 834, 51, 834, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 6734, 21, 15207, 271, 705, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6734, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 15207, 834, 834, 51, 834, 3, 2, 3, 24719, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How long has the longest song spent in the top 10?
CREATE TABLE table_27813010_2 ( weeks_in_top_10 INTEGER )
SELECT MAX(weeks_in_top_10) FROM table_27813010_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4959, 1458, 1714, 834, 357, 41, 1274, 834, 77, 834, 2916, 834, 1714, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 307, 65, 8, 14783, 2324, 1869, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 7, 834, 77, 834, 2916, 834, 16968, 21680, 953, 834, 2555, 4959, 1458, 1714, 834, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the number of the names of the technicians that are assigned to repair machines with more point values than 70?, sort by the x-axis from low to high.
CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int )
SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id WHERE T2.value_points > 70 GROUP BY Name ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2096, 834, 9, 7, 6732, 297, 41, 17730, 834, 23, 26, 16, 17, 6, 2096, 834, 4309, 16, 17, 6, 5879, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 23954, 61, 21680, 2096, 834, 9, 7, 6732, 297, 6157, 332, 536, 3, 15355, 3162, 1437, 6157, 332, 357, 9191, 332, 5411, 329, 1836, 630, 834, 4309, 3274, 332, 4416, 329, 1836, 630, 834, 4309, ...
Name the round for 2nd elimination final
CREATE TABLE table_name_36 ( round VARCHAR, match VARCHAR )
SELECT round FROM table_name_36 WHERE match = "2nd elimination final"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 1751, 584, 4280, 28027, 6, 1588, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1751, 21, 204, 727, 23458, 804, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 1588, 3274, 96, 357, 727, 23458, 804, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What candidates ran in the election when john s. wood was the incumbent?
CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342331_11 WHERE incumbent = "John S. Wood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 3341, 834, 2596, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4341, 4037, 16, 8, 4356, 116, 3, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4341, 21680, 953, 834, 23747, 2773, 3341, 834, 2596, 549, 17444, 427, 28406, 3274, 96, 18300, 180, 5, 2985, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
find the drug type and dose for oxacillin.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT prescriptions.drug_type, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Oxacillin"
[ 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, 7744, 7, 5, 26, 13534, 834, 6137, 6, 7744, 7, 5, 26, 13534, 834, 12051, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 667, 226, 4268, 195, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100...
What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses?
CREATE TABLE table_65482 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real )
SELECT MIN("Draws") FROM table_65482 WHERE "Against" < '1299' AND "Wins" > '7' AND "Club" = 'warrnambool' AND "Losses" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 3707, 357, 41, 96, 254, 11158, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 490, 6, 96, 20749, 121, 490, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 10936, 7, 8512, 21680, 953, 834, 4122, 3707, 357, 549, 17444, 427, 96, 20749, 121, 3, 2, 3, 31, 2122, 3264, 31, 3430, 96, 18455, 7, 121, 2490, 3, 31, 940, 31, 3430, 96, 254, 11158, 121, ...
how many times did patient 028-22327 visit the icu?
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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time )
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-22327')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 10061, 15129, 21545, 23, 26, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, ...