NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
For those employees who did not have any job in the past, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id by a bar chart.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE 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) )
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 6...
give me the number of patients less than 85 years of age who stayed in the hospital for more than 27 days.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "85" AND demographic.days_stay > "27"
[ 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, 545, 3, 2, 96, 4433, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 2555, 121, 1, -100, -...
How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?
CREATE TABLE table_23840623_4 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR)
SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4608, 5176, 2773, 834, 591, 41, 16480, 834, 17470, 834, 3496, 26, 834, 15534, 1161, 29, 23, 9, 834, 834, 7, 152, 834, 6296, 75, 23, 3523, 834, 584, 4280, 28027, 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, 16480, 834, 17470, 834, 3496, 26, 834, 15534, 1161, 29, 23, 9, 834, 834, 7, 152, 834, 6296, 75, 23, 3523, 834, 61, 21680, 953, 834, 2773, 4608, 5176, 2773, 834, 591, 549, 17444, 427, 1689, 3274, ...
What was the two-round score for Bob Tway?
CREATE TABLE table_name_45 ( score VARCHAR, player VARCHAR )
SELECT score FROM table_name_45 WHERE player = "bob tway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 2604, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 192, 18, 7775, 2604, 21, 5762, 332, 1343, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1959, 3274, 96, 17396, 3, 17, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what was the score on november 3?
CREATE TABLE table_name_39 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_39 WHERE date = "november 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 47, 8, 2604, 30, 3, 5326, 18247, 220, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What number was the first game?
CREATE TABLE table_29838 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text )
SELECT MIN("Game") FROM table_29838
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 3747, 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, 3, 17684, 599, 121, 23055, 8512, 21680, 953, 834, 357, 3916, 3747, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many cash prizes were given for the hindi language film jodhaa akbar?
CREATE TABLE table_28196 ( "Name of Award" text, "Name of Film" text, "Language" text, "Awardee(s)" text, "Cash Prize" text )
SELECT COUNT("Cash Prize") FROM table_28196 WHERE "Language" = 'Hindi' AND "Name of Film" = 'Jodhaa Akbar'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 26937, 41, 96, 23954, 13, 3677, 121, 1499, 6, 96, 23954, 13, 3417, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 188, 2239, 15, 15, 599, 7, 61, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 254, 3198, 11329, 8512, 21680, 953, 834, 2577, 26937, 549, 17444, 427, 96, 434, 1468, 76, 545, 121, 3274, 3, 31, 566, 8482, 31, 3430, 96, 23954, 13, 3417, 121, 3274, 3, 31, 683, 32, 26, 1024...
Who has a height of 2.16?
CREATE TABLE table_58940 ( "Player" text, "Height" real, "Position" text, "Year born (Age)" text, "Current Club" text )
SELECT "Player" FROM table_58940 WHERE "Height" = '2.16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3914, 2445, 41, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 41, 188, 397, 61, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 755, 3914, 2445, 549, 17444, 427, 96, 3845, 2632, 121, 3274, 3, 31, 4416, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the date of game 6?
CREATE TABLE table_24002 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Cardinals points" real, "Opponents" real, "Record" text )
SELECT "Date" FROM table_24002 WHERE "Game" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 4305, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 6936, 26, 10270, 7, 979, 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, 308, 342, 121, 21680, 953, 834, 11944, 4305, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Visualize the title and their average smallest ratings of the movie using a bar chart, and sort in descending by the stars).
CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text )
SELECT T2.title, AVG(MIN(T1.stars)) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.title ORDER BY AVG(MIN(T1.stars)) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52, 4309, 16, 17, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 52, 4309, 16, 17, 6, 3, 51, 4309, 16, 17, 6, 4811, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 21869, 6, 71, 17217, 599, 17684, 599, 382, 5411, 3624, 7, 61, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 350, 4630, 6880...
What was the number of teams in the competition that wynnum manly seagulls won?
CREATE TABLE table_25735_1 ( teams INTEGER, winner VARCHAR )
SELECT MIN(teams) FROM table_25735_1 WHERE winner = "Wynnum Manly Seagulls"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3436, 2469, 834, 536, 41, 2323, 3, 21342, 17966, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 381, 13, 2323, 16, 8, 2259, 24, 3, 2526...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 11650, 7, 61, 21680, 953, 834, 357, 3436, 2469, 834, 536, 549, 17444, 427, 4668, 3274, 96, 518, 63, 29, 5525, 1140, 120, 3319, 6106, 40, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which 2011 has a 2009 of 15 2?
CREATE TABLE table_34430 ( "Tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "Win %" real )
SELECT "2011" FROM table_34430 WHERE "2009" = '15–2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 25449, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 23948, 121, 1499, 6, 96, 21653, 121, 1499, 6, 96, 22594, 121, 1499, 6, 96, 21196, 121, 1499, 6, 96, 20615, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13907, 121, 21680, 953, 834, 3710, 25449, 549, 17444, 427, 96, 16660, 121, 3274, 3, 31, 1808, 104, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record with 23 points and a visitor of Chicago?
CREATE TABLE table_name_70 (record VARCHAR, points VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_70 WHERE points = 23 AND visitor = "chicago"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 60, 7621, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 28, 1902, 979, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 979, 3274, 1902, 3430, 7019, 3274, 96, 1436, 658, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score for the tournament in Budapest?
CREATE TABLE table_name_14 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_14 WHERE tournament = "budapest"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 7, 9022, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 8, 5892, 16, 23637, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 5892, 3274, 96, 11073, 9, 102, 222, 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 score of the competition of friendly, at match 7?
CREATE TABLE table_name_53 (score1 VARCHAR, competition_or_tour VARCHAR, match VARCHAR)
SELECT score1 FROM table_name_53 WHERE competition_or_tour = "friendly" AND match = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 7, 9022, 536, 584, 4280, 28027, 6, 2259, 834, 127, 834, 17, 1211, 584, 4280, 28027, 6, 1588, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 536, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 2259, 834, 127, 834, 17, 1211, 3274, 96, 4905, 121, 3430, 1588, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the date that the episode with Jeff Davis as the second performer originally aired?
CREATE TABLE table_2861 ( "No." real, "#" real, "Original airdate" text, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text )
SELECT "Original airdate" FROM table_2861 WHERE "Performer 2" = 'Jeff Davis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4241, 41, 96, 4168, 535, 490, 6, 96, 4663, 121, 490, 6, 96, 667, 3380, 10270, 799, 5522, 121, 1499, 6, 96, 12988, 2032, 49, 209, 121, 1499, 6, 96, 12988, 2032, 49, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 5522, 121, 21680, 953, 834, 2577, 4241, 549, 17444, 427, 96, 12988, 2032, 49, 204, 121, 3274, 3, 31, 7851, 89, 89, 8688, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the Opponent on November 27, 2005?
CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_32 WHERE date = "november 27, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4495, 9977, 30, 1671, 14141, 3105, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 14141, 3105, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What season was the team autosport academy?
CREATE TABLE table_4196 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text )
SELECT MAX("Season") FROM table_4196 WHERE "Team" = 'Autosport Academy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 4314, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 134, 15, 9, 739, 8512, 21680, 953, 834, 4853, 4314, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 16204, 6661, 4702, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many runs were ranked 4?
CREATE TABLE table_7696 ( "Rank" text, "Runs" text, "Player" text, "Average" text, "Season" text )
SELECT "Runs" FROM table_7696 WHERE "Rank" = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 4314, 41, 96, 22557, 121, 1499, 6, 96, 448, 202, 7, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 188, 624, 545, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 448, 202, 7, 121, 21680, 953, 834, 3959, 4314, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When the status is rural community what's the lowest area in kilometers squared?
CREATE TABLE table_76571 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text )
SELECT MIN("Area km 2") FROM table_76571 WHERE "Status" = 'rural community'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3436, 536, 41, 96, 667, 89, 22816, 5570, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 188, 864, 2280, 204, 121, 490, 6, 96, 27773, 7830, 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, 3, 17684, 599, 121, 188, 864, 2280, 204, 8512, 21680, 953, 834, 3959, 3436, 536, 549, 17444, 427, 96, 134, 17, 144, 302, 121, 3274, 3, 31, 52, 9709, 573, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?
CREATE TABLE table_name_22 (fcsl_team VARCHAR, mlb_team VARCHAR, round VARCHAR)
SELECT fcsl_team FROM table_name_22 WHERE mlb_team = "toronto blue jays" AND round = "4th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 89, 75, 7, 40, 834, 11650, 584, 4280, 28027, 6, 3, 51, 40, 115, 834, 11650, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 89, 75, 7, 40, 834, 11650, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 3, 51, 40, 115, 834, 11650, 3274, 96, 235, 4438, 32, 1692, 2662, 63, 7, 121, 3430, 1751, 3274, 96, 591, 189, 121, 1, -100, -100, ...
What is the lowest Top-25 when events shows 12, the top-5 is 1, and less than 11 cuts?
CREATE TABLE table_name_63 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT MIN(top_25) FROM table_name_63 WHERE events = 12 AND top_5 = 1 AND cuts_made < 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 2916, 834, 1828, 3, 21342, 17966, 6, 8620, 834, 4725, 584, 4280, 28027, 6, 984, 584, 4280, 28027, 6, 420, 834, 755, 584, 4280, 28027, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2916, 834, 1828, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 984, 3274, 586, 3430, 420, 834, 755, 3274, 209, 3430, 8620, 834, 4725, 3, 2, 850, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is Title, when Season is less than 1.8, and when First Broadcast is March 6, 1981?
CREATE TABLE table_name_2 (title VARCHAR, season VARCHAR, first_broadcast VARCHAR)
SELECT title FROM table_name_2 WHERE season < 1.8 AND first_broadcast = "march 6, 1981"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 21869, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 6, 166, 834, 115, 8635, 5254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11029, 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, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 774, 3, 2, 3, 16253, 3430, 166, 834, 115, 8635, 5254, 3274, 96, 51, 7064, 8580, 15465, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the profits (in billions) of the company with a market value of 172.9 billion?
CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)
SELECT profits__billion_$_ FROM table_1682026_3 WHERE market_value__billion_$_ = "172.9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24274, 1755, 2688, 834, 519, 41, 6046, 7, 834, 834, 115, 14916, 834, 3229, 834, 584, 4280, 28027, 6, 512, 834, 12097, 834, 834, 115, 14916, 834, 3229, 834, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9613, 834, 834, 115, 14916, 834, 3229, 834, 21680, 953, 834, 24274, 1755, 2688, 834, 519, 549, 17444, 427, 512, 834, 12097, 834, 834, 115, 14916, 834, 3229, 834, 3274, 96, 2517, 27297, 121, 1, -100, -100, -100, -100, ...
What is the record of the game with a 110-106 score?
CREATE TABLE table_45867 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text )
SELECT "Record" FROM table_45867 WHERE "Score" = '110-106'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 927, 3708, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 2128, 927, 3708, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 19277, 18, 16431, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Region has a Format of cd album, and a Label of kemado records, and a Catalog of kem 071?
CREATE TABLE table_name_20 (region VARCHAR, catalog VARCHAR, format VARCHAR, label VARCHAR)
SELECT region FROM table_name_20 WHERE format = "cd album" AND label = "kemado records" AND catalog = "kem 071"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 18145, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6163, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1719, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1910, 3274, 96, 75, 26, 2306, 121, 3430, 3783, 3274, 96, 1050, 11374, 32, 3187, 121, 3430, 10173, 3274, 96, 1050, 51, 10668, 536, 121, 1, -100, -100, -100, -1...
What's the frequency of the device that has a Multi 1 of 7.5 ?
CREATE TABLE table_name_28 ( frequency VARCHAR, multi_1 VARCHAR )
SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 7321, 584, 4280, 28027, 6, 1249, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 7321, 13, 8, 1407, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1249, 834, 536, 3274, 96, 15731, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What position does peter mcgeough cover?
CREATE TABLE table_2679061_12 (position VARCHAR, player VARCHAR)
SELECT position FROM table_2679061_12 WHERE player = "Peter McGeough"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 2394, 4241, 834, 2122, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 405, 158, 449, 3, 51, 75, 397, 4607, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 357, 3708, 2394, 4241, 834, 2122, 549, 17444, 427, 1959, 3274, 96, 345, 15, 449, 13528, 15, 4607, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What score has February 12, 2006 as the date?
CREATE TABLE table_65900 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponent in the final" text, "Score" text )
SELECT "Score" FROM table_65900 WHERE "Date" = 'february 12, 2006'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 7015, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, 121, 1499, 6, 96, 667, 102, 9977, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4122, 7015, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 89, 15, 9052, 1208, 10440, 3581, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the road team on May 2?
CREATE TABLE table_45420 ( "Game" text, "Date" text, "Home team" text, "Result" text, "Road team" text )
SELECT "Road team" FROM table_45420 WHERE "Date" = 'may 2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 21899, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 448, 32, 9, 26, 372, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 448, 32, 9, 26, 372, 121, 21680, 953, 834, 2128, 21899, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 13726, 204, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many wildfires in Gloucester county have been larger than 10 acres?
CREATE TABLE fires ( fire_year number, discovery_date number, discovery_doy number, discovery_time text, stat_cause_code number, stat_cause_descr text, cont_date text, cont_doy text, cont_time text, fire_size number, fire_size_class text, latitude number, longitude number, owner_code number, owner_descr text, state text, county text, fips_code text, fips_name text )
SELECT COUNT(*) FROM fires WHERE county = "Gloucester" AND fire_size > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1472, 7, 41, 1472, 834, 1201, 381, 6, 9087, 834, 5522, 381, 6, 9087, 834, 26, 32, 63, 381, 6, 9087, 834, 715, 1499, 6, 3089, 834, 658, 1074, 834, 4978, 381, 6, 3089, 834, 658, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1472, 7, 549, 17444, 427, 5435, 3274, 96, 517, 40, 1063, 565, 1370, 121, 3430, 1472, 834, 7991, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the director of the episode 'rain of terror' that was written by John Brown?
CREATE TABLE table_18951 ( "Ep. No." real, "Title" text, "Director" text, "Written by" text, "Original Air Date" text, "Production No." real )
SELECT "Director" FROM table_18951 WHERE "Written by" = 'John Brown' AND "Title" = 'Rain of Terror'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 5553, 41, 96, 427, 102, 5, 465, 535, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 3380, 1027...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23620, 127, 121, 21680, 953, 834, 25312, 5553, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 18300, 3899, 31, 3430, 96, 382, 155, 109, 121, 3274, 3, 31, 448, 9, 77, 13, 332, 17262, 31, 1, -100, -100...
What was the most recent year?
CREATE TABLE table_73994 ( "Edition" text, "Year" real, "Host city" text, "Host country" text, "Date" text, "No. of athletes" text, "Nations" real )
SELECT MAX("Year") FROM table_73994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 3264, 591, 41, 96, 427, 10569, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 566, 3481, 690, 121, 1499, 6, 96, 566, 3481, 684, 121, 1499, 6, 96, 308, 342, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 4552, 3264, 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, -100, ...
What is the F/Laps value associated with a position of 3rd?
CREATE TABLE table_49325 ( "Season" text, "Series" text, "Team" text, "Races" text, "Wins" text, "Poles" text, "F/Laps" text, "Podiums" text, "Points" text, "Position" text )
SELECT "F/Laps" FROM table_49325 WHERE "Position" = '3rd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 519, 1828, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 1499, 6, 96, 18455, 7, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 87, 3612, 102, 7, 121, 21680, 953, 834, 3647, 519, 1828, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 519, 52, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of Total(s), when Finish is "T21", and when To Par is greater than 23?
CREATE TABLE table_name_11 (total VARCHAR, finish VARCHAR, to_par VARCHAR)
SELECT COUNT(total) FROM table_name_11 WHERE finish = "t21" AND to_par > 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 235, 1947, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1992, 3274, 96, 17, 2658, 121, 3430, 12, 834, 1893, 2490, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player won in 1987 and ended with a score of +9?
CREATE TABLE table_7567 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" text )
SELECT "Total" FROM table_7567 WHERE "To par" = '+9' AND "Year(s) won" = '1987'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3708, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 1499, 6, 96, 3696, 260, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 1947, 121, 21680, 953, 834, 3072, 3708, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 1220, 1298, 31, 3430, 96, 476, 2741, 599, 7, 61, 751, 121, 3274, 3, 31, 2294, 4225, 31, 1, -100, -100, -100, -1...
What was the transfer fee for the player with an ends of 2007?
CREATE TABLE table_name_79 (transfer_fee VARCHAR, ends VARCHAR)
SELECT transfer_fee FROM table_name_79 WHERE ends = 2007
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 7031, 1010, 834, 89, 15, 15, 584, 4280, 28027, 6, 5542, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2025, 2572, 21, 8, 1959, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2025, 834, 89, 15, 15, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 5542, 3274, 4101, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Director of the Filmography The Iceman Ducketh?
CREATE TABLE table_14213 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text )
SELECT "Director" FROM table_14213 WHERE "Title" = 'the iceman ducketh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24978, 2368, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 7720, 121, 1499, 6, 96, 1649, 40, 14608, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23620, 127, 121, 21680, 953, 834, 24978, 2368, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 532, 3, 867, 348, 14938, 15, 189, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For the city whose land area was 135.09, what was the total population density?
CREATE TABLE table_25575 ( "Rank" real, "Incorporated place" text, "Metropolitan area" text, "State" text, "Population (2010 census)" real, "Land area (mi 2 )" text, "Population density (people per mi 2 )" text )
SELECT "Population density (people per mi 2 )" FROM table_25575 WHERE "Land area (mi 2 )" = '135.09'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 3072, 41, 96, 22557, 121, 490, 6, 96, 1570, 25762, 26, 286, 121, 1499, 6, 96, 329, 15252, 21631, 29, 616, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 27773, 783...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27773, 7830, 11048, 41, 16588, 399, 1337, 204, 3, 61, 121, 21680, 953, 834, 25502, 3072, 549, 17444, 427, 96, 434, 232, 616, 41, 51, 23, 204, 3, 61, 121, 3274, 3, 31, 2368, 20734, 1298, 31, 1, -100, -100, -1...
Name the least hits for year less than 1920 and player of ed delahanty
CREATE TABLE table_80108 ( "Hits" real, "Player" text, "Team" text, "Year" real, "Years Record Stood" text )
SELECT MIN("Hits") FROM table_80108 WHERE "Year" < '1920' AND "Player" = 'ed delahanty'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 16169, 41, 96, 566, 7085, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 476, 2741, 7, 11392, 8272, 32, 26, 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, 3, 17684, 599, 121, 566, 7085, 8512, 21680, 953, 834, 2079, 16169, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 1755, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 15, 26, 20, 521, 2618, 17, 63, 31, 1,...
give me the number of patients whose diagnoses long title is regional enteritis of unspecified site and drug route is ou?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Regional enteritis of unspecified site" AND prescriptions.route = "OU"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Where is the company with estimated revenue of 33.3 billion headquartered?
CREATE TABLE table_21926985_2 ( headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR )
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 19978, 3951, 4433, 834, 357, 41, 13767, 834, 6726, 584, 4280, 28027, 6, 3751, 834, 834, 3229, 115, 14916, 7, 834, 834, 12172, 834, 3340, 5058, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 13767, 834, 6726, 21680, 953, 834, 357, 19978, 3951, 4433, 834, 357, 549, 17444, 427, 3751, 834, 834, 3229, 115, 14916, 7, 834, 834, 12172, 834, 3340, 5058, 3274, 96, 519, 19660, 121, 1, -100, -100, -100, -100, -100, ...
What is 2009, when 2004 is 2R, and when 1993 is A?
CREATE TABLE table_name_81 ( Id VARCHAR )
SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2464, 6, 116, 4406, 19, 204, 448, 6, 11, 116, 8388, 19, 71, 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, 2464, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 4406, 3274, 96, 357, 52, 121, 3430, 8388, 3274, 96, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who attended the school in 2006, that Whitney Powell attended in 2007?
CREATE TABLE table_name_32 (Id VARCHAR)
SELECT 2006 FROM table_name_32 WHERE 2007 = "whitney powell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 5526, 8, 496, 16, 3581, 6, 24, 29993, 26458, 5526, 16, 4101, 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, 3581, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 4101, 3274, 96, 12124, 17, 3186, 1977, 2091, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List all headquarters and the number of companies in each headquarter in a pie chart.
CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int )
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 1958, 834, 4309, 16, 17, 6, 3, 22557, 16, 17, 6, 1958, 1499, 6, 31282, 1499, 6, 5140, 834, 1570, 8655, 8224, 1499, 6, 7107, 834, 115, 14916, 490, 6, 14717, 7, 834, 115, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 31282, 6, 2847, 17161, 599, 1935, 61, 21680, 349, 350, 4630, 6880, 272, 476, 31282, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is bb - blind bear where ba - running bear is mf - mountain falcon?
CREATE TABLE table_2603017_2 ( bb___blind_bear VARCHAR, ba___running_bear VARCHAR )
SELECT bb___blind_bear FROM table_2603017_2 WHERE ba___running_bear = "MF - Mountain Falcon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 1458, 2517, 834, 357, 41, 3, 115, 115, 834, 834, 834, 21746, 26, 834, 346, 291, 584, 4280, 28027, 6, 4698, 834, 834, 834, 24549, 834, 346, 291, 584, 4280, 28027, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 115, 115, 834, 834, 834, 21746, 26, 834, 346, 291, 21680, 953, 834, 18365, 1458, 2517, 834, 357, 549, 17444, 427, 4698, 834, 834, 834, 24549, 834, 346, 291, 3274, 96, 13286, 3, 18, 5617, 22150, 121, 1, -100, -1...
Who's the owner of Thai PBS?
CREATE TABLE table_name_28 (owner VARCHAR, name VARCHAR)
SELECT owner FROM table_name_28 WHERE name = "thai pbs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 13238, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 31, 7, 8, 2527, 13, 12806, 276, 4547, 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, 2527, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 564, 3274, 96, 189, 9, 23, 3, 102, 115, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the venue that has conv of 5 players on 20 points
CREATE TABLE table_name_12 ( venue VARCHAR, conv VARCHAR )
SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 5669, 584, 4280, 28027, 6, 975, 208, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5669, 24, 65, 975, 208, 13, 305, 1508, 30, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 975, 208, 3274, 96, 755, 1508, 30, 460, 979, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest number a guard from brophy college prep wore?
CREATE TABLE table_29050051_3 ( _number INTEGER, position VARCHAR, previous_school VARCHAR )
SELECT MAX(_number) FROM table_29050051_3 WHERE position = "Guard" AND previous_school = "Brophy College Prep"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 2560, 5553, 834, 519, 41, 3, 834, 5525, 1152, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1767, 834, 6646, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 834, 5525, 1152, 61, 21680, 953, 834, 23838, 2560, 5553, 834, 519, 549, 17444, 427, 1102, 3274, 96, 9105, 986, 121, 3430, 1767, 834, 6646, 3274, 96, 279, 29006, 1888, 1266, 102, 121, 1, -100, -100, -10...
How many episodes were there in season 19?
CREATE TABLE table_17355820_1 (title VARCHAR, season__number VARCHAR)
SELECT COUNT(title) FROM table_17355820_1 WHERE season__number = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 3449, 1755, 834, 536, 41, 21869, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13562, 130, 132, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21869, 61, 21680, 953, 834, 2517, 2469, 3449, 1755, 834, 536, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
egfr < 15 ml / min / 1.73 m2 ( severe renal impairment or esrd
CREATE TABLE table_train_151 ( "id" int, "gender" string, "renal_disease" bool, "estimated_glomerular_filtration_rate_egfr" int, "fasting_c_peptide" float, "stenosis_of_coronary" int, "serum_creatinine" float, "esrd" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_151 WHERE estimated_glomerular_filtration_rate_egfr < 15 OR (renal_disease = 1 OR esrd = 1)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 26578, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 1536, 138, 834, 26, 159, 14608, 121, 3, 12840, 40, 6, 96, 3340, 51, 920, 834, 24422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 26578, 549, 17444, 427, 5861, 834, 24422, 4885, 834, 18974, 834, 2206, 834, 15, 122, 89, 52, 3, 2, 627, 4674, 41, 1536, 138, 834, 26, 159, 14608, 3274, 209, 4674, 3, 15, 7, 52, ...
What is the Hanzi for p ngf ng q ?
CREATE TABLE table_name_4 ( hanzi VARCHAR, hanyu_pinyin VARCHAR )
SELECT hanzi FROM table_name_4 WHERE hanyu_pinyin = "píngfáng qū"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 3, 2618, 702, 584, 4280, 28027, 6, 3, 2618, 63, 76, 834, 3180, 63, 77, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6627, 702, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2618, 702, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 3, 2618, 63, 76, 834, 3180, 63, 77, 3274, 96, 102, 2, 1725, 89, 12916, 122, 3, 1824, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?
CREATE TABLE table_35130 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team" text )
SELECT "Nationality" FROM table_35130 WHERE "Position" = 'left wing' AND "Round" > '4' AND "Player" = 'mattia baldi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 21448, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, 683,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 2469, 21448, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 17068, 3, 3108, 31, 3430, 96, 448, 32, 1106, 121, 2490, 3, 31, 591, 31, 3430, 96, 15800, 49, 121, 3274,...
Which chassis is more recent than 1972 and has more than 0 Pts. ?
CREATE TABLE table_name_53 ( chassis VARCHAR, year VARCHAR, pts VARCHAR )
SELECT chassis FROM table_name_53 WHERE year > 1972 AND pts > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 22836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 102, 17, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 22836, 19, 72, 1100,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22836, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 215, 2490, 16583, 3430, 3, 102, 17, 7, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the County that has the Location of shelbyville?
CREATE TABLE table_65010 ( "School" text, "Location" text, "Mascot" text, "Enrollment 08-09" real, "IHSAA Class" text, "County" text, "Year Joined" real, "Previous Conference" text )
SELECT "County" FROM table_65010 WHERE "Location" = 'shelbyville'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15348, 1714, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 8532, 4046, 297, 12046, 18, 4198, 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, 10628, 63, 121, 21680, 953, 834, 15348, 1714, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 7, 88, 40, 969, 1420, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the record for the team on January 19?
CREATE TABLE table_17288825_7 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_17288825_7 WHERE date = "January 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 10927, 1828, 834, 940, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 21, 8, 372, 30, 1762, 957, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 27156, 10927, 1828, 834, 940, 549, 17444, 427, 833, 3274, 96, 30404, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponents in the final on January 5, 2003, on a hard surface?
CREATE TABLE table_name_19 ( opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR )
SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16383, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 7836, 3888, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the final record for the Philadelphia 76ers?
CREATE TABLE table_name_58 ( record VARCHAR, opponent VARCHAR )
SELECT record FROM table_name_58 WHERE opponent = "philadelphia 76ers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1368, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 804, 1368, 21, 8, 9511, 3, 3959, 277, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 15264, 3274, 96, 18118, 15311, 11692, 9, 3, 3959, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Was the sounddock series I v2 iphone certified?
CREATE TABLE table_24384861_1 (iphone_certified VARCHAR, version VARCHAR)
SELECT iphone_certified FROM table_24384861_1 WHERE version = "SoundDock series I v2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3747, 3707, 4241, 834, 536, 41, 23, 6399, 834, 27576, 584, 4280, 28027, 6, 988, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2751, 8, 1345, 26, 3961, 939, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 25179, 834, 27576, 21680, 953, 834, 2266, 3747, 3707, 4241, 834, 536, 549, 17444, 427, 988, 3274, 96, 5231, 1106, 308, 3961, 939, 27, 3, 208, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose admission year is less than 2172 and lab test name is fibrin degradation products?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2172" AND lab.label = "Fibrin Degradation Products"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the score for april 28
CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_66 WHERE date = "april 28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 3, 9, 2246, 40, 2059, 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, 2604, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 2059, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the largest drawn that has a played less than 38?
CREATE TABLE table_name_8 ( drawn INTEGER, played INTEGER )
SELECT MAX(drawn) FROM table_name_8 WHERE played < 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 6796, 3, 21342, 17966, 6, 1944, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 6796, 24, 65, 3, 9, 1944, 705, 145, 6654, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 19489, 29, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 1944, 3, 2, 6654, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the to par for the United States with a 67-71-73=211 score?
CREATE TABLE table_61597 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_61597 WHERE "Country" = 'united states' AND "Score" = '67-71-73=211'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 1808, 4327, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 3696, 260, 121, 21680, 953, 834, 948, 1808, 4327, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 3708, 18, 4450, 18, 4552, 2423, 27278, 31, ...
in their first hospital visit what was patient 025-30850's first procedure time?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-30850' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) ORDER BY treatment.treatmenttime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1058, 5, 26889, 715, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, ...
Which away team has a tie number of 3?
CREATE TABLE table_name_28 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_28 WHERE tie_no = "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 550, 372, 65, 3, 9, 6177, 381, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of the pe draw of team plaza amador, who has less than 6 pg won?
CREATE TABLE table_name_28 ( draw__pe_ INTEGER, team__equipo_ VARCHAR, won__pg_ VARCHAR )
SELECT SUM(draw__pe_) FROM table_name_28 WHERE team__equipo_ = "plaza amador" AND won__pg_ < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 3314, 834, 834, 855, 834, 3, 21342, 17966, 6, 372, 834, 834, 15, 23067, 32, 834, 584, 4280, 28027, 6, 751, 834, 834, 102, 122, 834, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 19489, 834, 834, 855, 834, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 372, 834, 834, 15, 23067, 32, 834, 3274, 96, 6042, 1629, 183, 7923, 121, 3430, 751, 834, 834, 102, 122, 834, 3, 2, ...
WHAT IS THE LEAGUE WITH HOME 1-1?
CREATE TABLE table_58678 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text )
SELECT "League" FROM table_58678 WHERE "Home" = '1-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3840, 3940, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 18699, 7, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2796, 9, 5398, 121, 21680, 953, 834, 755, 3840, 3940, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 536, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year is dayton in class AAAA?
CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR)
SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27025, 1808, 17864, 834, 536, 41, 6646, 834, 1201, 584, 4280, 28027, 6, 853, 834, 9, 188, 5498, 584, 4280, 28027, 6, 878, 21220, 584, 4280, 28027, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 834, 1201, 21680, 953, 834, 27025, 1808, 17864, 834, 536, 549, 17444, 427, 853, 834, 9, 188, 5498, 3274, 878, 21220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total of Matches with Goals of 18, and an Average larger than 0.55?
CREATE TABLE table_name_30 (matches INTEGER, goals VARCHAR, average VARCHAR)
SELECT SUM(matches) FROM table_name_30 WHERE goals = 18 AND average > 0.55
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 19515, 15, 7, 3, 21342, 17966, 6, 1766, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 13, 12296, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 1766, 3274, 507, 3430, 1348, 2490, 4097, 3769, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
subjects with history of stroke , aneurysm, or cranial neurosurgery
CREATE TABLE table_train_138 ( "id" int, "mini_mental_state_examination_mmse" int, "stroke" bool, "body_weight" float, "cranial_neurosurgery" bool, "first_degree_relative" bool, "seizure_disorder" bool, "alcohol_abuse" bool, "body_mass_index_bmi" float, "aneurysm" bool, "NOUSE" float )
SELECT * FROM table_train_138 WHERE stroke = 1 OR aneurysm = 1 OR cranial_neurosurgery = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 22744, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7619, 834, 13974, 834, 5540, 834, 994, 9, 14484, 834, 635, 7, 15, 121, 16, 17, 6, 96, 24790, 121, 3, 12840, 40, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 22744, 549, 17444, 427, 9529, 3274, 209, 4674, 46, 1238, 63, 7, 51, 3274, 209, 4674, 3, 2935, 7419, 834, 29, 18985, 450, 1304, 63, 3274, 209, 1, -100, -100, -100, -100, -100, -100, ...
systolic blood pressure ( sbp ) < 160 mmhg
CREATE TABLE table_train_275 ( "id" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "hba1c" float, "body_mass_index_bmi" float, "triglyceride_tg" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_275 WHERE systolic_blood_pressure_sbp < 160
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 25988, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 25988, 549, 17444, 427, 3, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 3, 2, 11321, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which 1st Party has a 1st Member of sir john tyssen tyrell, bt, and a 2nd Party of conservative, and a 2nd Member of john payne elwes?
CREATE TABLE table_12984 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text )
SELECT "1st Party" FROM table_12984 WHERE "1st Member" = 'sir john tyssen tyrell, bt' AND "2nd Party" = 'conservative' AND "2nd Member" = 'john payne elwes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22174, 4608, 41, 96, 427, 12252, 121, 1499, 6, 96, 536, 7, 17, 8541, 121, 1499, 6, 96, 536, 7, 17, 3450, 121, 1499, 6, 96, 357, 727, 8541, 121, 1499, 6, 96, 357, 727, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 536, 7, 17, 3450, 121, 21680, 953, 834, 22174, 4608, 549, 17444, 427, 96, 536, 7, 17, 8541, 121, 3274, 3, 31, 7, 23, 52, 3, 27341, 3, 17, 63, 4932, 3, 17, 63, 60, 195, 6, 3, 115, 17, 31, 3430, 96, 357,...
What is the highest number of gold medals when the silver is less than 0?
CREATE TABLE table_name_57 (gold INTEGER, silver INTEGER)
SELECT MAX(gold) FROM table_name_57 WHERE silver < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 14910, 3, 21342, 17966, 6, 4294, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 2045, 9365, 7, 116, 8, 4294, 19, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14910, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 4294, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the lw position player from a round greater than 10?
CREATE TABLE table_50912 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text )
SELECT "Player" FROM table_50912 WHERE "Position" = 'lw' AND "Round" > '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 4729, 357, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 1752, 4729, 357, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 40, 210, 31, 3430, 96, 448, 32, 1106, 121, 2490, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, ...
what are all the hometown where the average age is 16
CREATE TABLE table_28568 ( "Name / Name of Act" text, "Age(s)" text, "Genre" text, "Act" text, "Hometown" text, "Semifinal (Week)" real, "Position Reached" text )
SELECT "Hometown" FROM table_28568 WHERE "Age(s)" = '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4433, 3651, 41, 96, 23954, 3, 87, 5570, 13, 1983, 121, 1499, 6, 96, 188, 397, 599, 7, 61, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 23312, 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, 19040, 3540, 121, 21680, 953, 834, 357, 4433, 3651, 549, 17444, 427, 96, 188, 397, 599, 7, 61, 121, 3274, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What place was Mark Carnevale in?
CREATE TABLE table_name_32 ( place VARCHAR, player VARCHAR )
SELECT place FROM table_name_32 WHERE player = "mark carnevale"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 47, 2185, 1184, 15482, 9, 109, 16, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1959, 3274, 96, 3920, 15460, 2165, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what year had the highest total number ?
CREATE TABLE table_203_355 ( id number, "year" number, "total" number, "romanians" text, "hungarians" text, "roma" text )
SELECT "year" FROM table_203_355 ORDER BY "total" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 2469, 755, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 235, 1947, 121, 381, 6, 96, 3522, 152, 7137, 121, 1499, 6, 96, 6668, 6855, 7, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 23330, 834, 2469, 755, 4674, 11300, 272, 476, 96, 235, 1947, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which game was played at the Forum and led to a series result of 0-1?
CREATE TABLE table_44902 ( "Game" real, "Team" text, "Score" text, "Location Attendance" text, "Series" text )
SELECT "Game" FROM table_44902 WHERE "Location Attendance" = 'the forum' AND "Series" = '0-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 2394, 357, 41, 96, 23055, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 22497, 663, 121, 1499, 6, 96, 12106, 7, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23055, 121, 21680, 953, 834, 3628, 2394, 357, 549, 17444, 427, 96, 434, 32, 75, 257, 22497, 663, 121, 3274, 3, 31, 532, 5130, 31, 3430, 96, 12106, 7, 121, 3274, 3, 31, 632, 2292, 31, 1, -100, -100, -100, -10...
Which FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller than 3, and a Name of geremi?
CREATE TABLE table_name_56 (fifa_club_world_championship INTEGER, name VARCHAR, uefa_champions_league VARCHAR, total VARCHAR)
SELECT MIN(fifa_club_world_championship) FROM table_name_56 WHERE uefa_champions_league = 0 AND total < 3 AND name = "geremi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 89, 99, 9, 834, 13442, 834, 7276, 834, 17788, 12364, 2009, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 3, 76, 15, 89, 9, 834, 17788, 12364, 7, 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, 3, 17684, 599, 89, 99, 9, 834, 13442, 834, 7276, 834, 17788, 12364, 2009, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 3, 76, 15, 89, 9, 834, 17788, 12364, 7, 834, 29512, 3274, 3, 632, 3430, 792, 3, 2,...
What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0?
CREATE TABLE table_name_88 ( touchdowns INTEGER, player VARCHAR, field_goals VARCHAR )
SELECT MIN(touchdowns) FROM table_name_88 WHERE player = "total" AND field_goals > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 19396, 7, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 1057, 834, 839, 5405, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 17681, 3035, 7, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1959, 3274, 96, 235, 1947, 121, 3430, 1057, 834, 839, 5405, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Population density that has a Change (%) higher than 10.4, and a Population (2011) less than 8574, in the County of Queens?
CREATE TABLE table_name_63 ( population_density INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, county VARCHAR )
SELECT AVG(population_density) FROM table_name_63 WHERE change___percentage_ > 10.4 AND county = "queens" AND population__2011_ < 8574
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 2074, 834, 537, 7, 485, 3, 21342, 17966, 6, 2074, 834, 834, 13907, 834, 584, 4280, 28027, 6, 483, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 9791, 7830, 834, 537, 7, 485, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 483, 834, 834, 834, 883, 3728, 545, 834, 2490, 5477, 591, 3430, 5435, 3274, 96, 835, 35, 7, 121, 3430, 2074, 834...
Who wrote the episode 'car wars'?
CREATE TABLE table_26569 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Written by" FROM table_26569 WHERE "Title" = 'Car Wars'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4122, 3951, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24965, 324, 57, 121, 21680, 953, 834, 357, 4122, 3951, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 6936, 10265, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7?
CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR)
SELECT MIN(place) FROM table_name_94 WHERE total < 24 AND draw > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 4687, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3399, 19, 8, 7402, 80, 24, 65, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4687, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 792, 3, 2, 997, 3430, 3314, 2490, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Nigeria had the fastest time once.
CREATE TABLE table_17601 ( "Rank" real, "Fastest time (s)" text, "Wind (m/s)" text, "Athlete" text, "Nation" text, "Date" text, "Location" text )
SELECT COUNT("Fastest time (s)") FROM table_17601 WHERE "Nation" = 'Nigeria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26782, 4542, 41, 96, 22557, 121, 490, 6, 96, 371, 9, 7, 4377, 97, 41, 7, 61, 121, 1499, 6, 96, 18455, 26, 41, 51, 87, 7, 61, 121, 1499, 6, 96, 188, 189, 1655, 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, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 371, 9, 7, 4377, 97, 41, 7, 61, 8512, 21680, 953, 834, 26782, 4542, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 567, 4424, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
If the director is Yannick Bisson, what was the Canadian amount of viewers?
CREATE TABLE table_3359 ( "Total" real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Canadian air date" text, "UK air date" text, "Canadian Viewers (millions)" text )
SELECT COUNT("Canadian Viewers (millions)") FROM table_3359 WHERE "Directed by" = 'Yannick Bisson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 3390, 41, 96, 3696, 1947, 121, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 14050, 9, 8603, 4197, 277, 41, 17030, 7, 61, 8512, 21680, 953, 834, 4201, 3390, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 476, 152, 11191, 272, 12661, 31, 1, -100, -100, -100...
When twente came in third place and ajax was the winner what are the seasons?
CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)
SELECT season FROM table_20867295_2 WHERE winner = "Ajax" AND third_place = "Twente"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3840, 5865, 3301, 834, 357, 41, 9476, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 6, 1025, 834, 4687, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 3, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 1755, 3840, 5865, 3301, 834, 357, 549, 17444, 427, 4668, 3274, 96, 188, 1191, 226, 121, 3430, 1025, 834, 4687, 3274, 96, 382, 16103, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which type of policy is most frequently used? Give me the policy type code.
CREATE TABLE policies (policy_type_code VARCHAR)
SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3101, 41, 3233, 17686, 834, 6137, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 686, 13, 1291, 19, 167, 4344, 261, 58, 6434, 140, 8, 1291, 686, 1081, 5, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1291, 834, 6137, 834, 4978, 21680, 3101, 350, 4630, 6880, 272, 476, 1291, 834, 6137, 834, 4978, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -...
which airline has air sakha as its call sign ?
CREATE TABLE table_203_58 ( id number, "airline" text, "airline (in russian)" text, "licence #" number, "icao" text, "iata" text, "domestic code" text, "callsign" text, "photo" text )
SELECT "airline" FROM table_203_58 WHERE "callsign" = 'air sakha'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3449, 41, 3, 23, 26, 381, 6, 96, 2256, 747, 121, 1499, 6, 96, 2256, 747, 41, 77, 3, 26165, 29, 61, 121, 1499, 6, 96, 2176, 1433, 1713, 121, 381, 6, 96, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2256, 747, 121, 21680, 953, 834, 23330, 834, 3449, 549, 17444, 427, 96, 16482, 6732, 121, 3274, 3, 31, 2256, 3, 7, 9, 18276, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was John m. Belk Arena built?
CREATE TABLE table_name_74 (year_built VARCHAR, venue VARCHAR)
SELECT year_built FROM table_name_74 WHERE venue = "john m. belk arena"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 1201, 834, 16152, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 1079, 3, 51, 5, 5622, 157, 14904, 1192, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 834, 16152, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 5669, 3274, 96, 27341, 3, 51, 5, 36, 40, 157, 15134, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many reports of races took place on october 16?
CREATE TABLE table_10707142_2 (report VARCHAR, date VARCHAR)
SELECT COUNT(report) FROM table_10707142_2 WHERE date = "October 16"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18057, 4560, 24978, 834, 357, 41, 60, 1493, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 2279, 13, 10879, 808, 286, 30, 3, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 1493, 61, 21680, 953, 834, 18057, 4560, 24978, 834, 357, 549, 17444, 427, 833, 3274, 96, 28680, 898, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what did patient 016-35802 get diagnosed with since 2102 for the first time?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime 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 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-35802')) AND STRFTIME('%y', diagnosis.diagnosistime) >= '2102' ORDER BY diagnosis.diagnosistime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8209, 5, 25930, 4844, 159, 4350, 21680, 8209, 549, 17444, 427, 8209, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3...
Give me a histogram for how many students play each sport?, and rank the total number in ascending order.
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 Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTEGER, OnScholarship VARCHAR(1) ) CREATE TABLE Plays_Games ( StuID INTEGER, GameID INTEGER, Hours_Played INTEGER )
SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY COUNT(*)
[ 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, 3349, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 5716, 29381, 350, 4630, 6880, 272, 476, 3349, 23954, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the original artist of 'Let's Dance'?
CREATE TABLE table_63570 ( "Song" text, "Performer" text, "Original artist" text, "Length" text, "Recorded" text )
SELECT "Original artist" FROM table_63570 WHERE "Song" = 'let''s dance'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 28363, 41, 96, 134, 2444, 121, 1499, 6, 96, 12988, 2032, 49, 121, 1499, 6, 96, 667, 3380, 10270, 2377, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 1649, 762...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 2377, 121, 21680, 953, 834, 3891, 28363, 549, 17444, 427, 96, 134, 2444, 121, 3274, 3, 31, 1655, 31, 31, 7, 2595, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is 2003 when 2005 is did not qualify?
CREATE TABLE table_46770 ( "Tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "2003" FROM table_46770 WHERE "2005" = 'did not qualify'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 26920, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 24898, 121, 1499, 6, 96, 23948, 121, 1499, 6, 96, 21653, 121, 1499, 6, 96, 22594, 121, 1499, 6, 96, 21196, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23948, 121, 21680, 953, 834, 4448, 26920, 549, 17444, 427, 96, 22594, 121, 3274, 3, 31, 12416, 59, 9448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Thai name for the word abbreviated . .?
CREATE TABLE table_name_75 ( thai_name VARCHAR, abbr VARCHAR )
SELECT thai_name FROM table_name_75 WHERE abbr = "มี.ค."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 3, 189, 9, 23, 834, 4350, 584, 4280, 28027, 6, 3, 12982, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12806, 564, 21, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 189, 9, 23, 834, 4350, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 3, 12982, 52, 3274, 96, 2, 5, 2, 535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the total number of products that are in orders with status 'Cancelled'?
CREATE TABLE customer_orders ( order_id VARCHAR, order_status VARCHAR ) CREATE TABLE order_items ( order_quantity INTEGER, order_id VARCHAR )
SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_status = "Cancelled"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 834, 9397, 7, 41, 455, 834, 23, 26, 584, 4280, 28027, 6, 455, 834, 8547, 302, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 455, 834, 23, 3524, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 4416, 9397, 834, 13158, 485, 61, 21680, 884, 834, 9397, 7, 6157, 3, 17, 536, 3, 15355, 3162, 455, 834, 23, 3524, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 9397, 834, 23, 26, 3274, 3, 17, 4416...
Show the names of conductors and the orchestras they have conducted.
CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR); CREATE TABLE orchestra (Orchestra VARCHAR, Conductor_ID VARCHAR)
SELECT T1.Name, T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3498, 127, 41, 23954, 584, 4280, 28027, 6, 21942, 127, 834, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 13873, 41, 7395, 1033, 3109, 584, 4280, 28027...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 4416, 7395, 1033, 3109, 21680, 3498, 127, 6157, 332, 536, 3, 15355, 3162, 13873, 6157, 332, 357, 9191, 332, 5411, 4302, 7472, 127, 834, 4309, 3274, 332, 4416, 4302, 7472, 127, 834, 4309, 1, ...
When there are 3.39 million u.s viewers what is the production code?
CREATE TABLE table_22784 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "Production code" FROM table_22784 WHERE "U.S. viewers (million)" = '3.39'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2555, 4608, 41, 96, 4168, 535, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3174, 8291, 1081, 121, 21680, 953, 834, 357, 2555, 4608, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 61, 121, 3274, 3, 31, 5787, 3288, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest Year with a Competition that is new york city marathon?
CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR)
SELECT MAX(year) FROM table_name_10 WHERE competition = "new york city marathon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 1201, 3, 21342, 17966, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 2929, 28, 3, 9, 15571, 24, 19, 126, 25453, 690, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1201, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 2259, 3274, 96, 5534, 25453, 690, 17625, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the crowd size at Arden Street Oval?
CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_51 WHERE venue = "arden street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 75, 3623, 26, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 4374, 812, 44, 22635, 35, 1887, 411, 2165, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4374, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 5669, 3274, 96, 986, 35, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...