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 whose first name does not containing the letter M, display their total salary by binning the hire date into Month interval for visualizing a bar chart, and sort in asc by the total number please.
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, JO...
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY SUM(SALARY)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 4486, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 329, 1454, 31, 4674, 11300, 272, 476, 180, 6122, 599, 134, 40...
Which player has a To par of 6?
CREATE TABLE table_46728 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT "Player" FROM table_46728 WHERE "To par" = '–6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3708, 2577, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 591, 3708, 2577, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 104, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the score when the home team is cairns taipans?
CREATE TABLE table_name_23 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_23 WHERE home_team = "cairns taipans"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 2604, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2604, 116, 8, 234, 372, 19, 3, 75, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 234, 834, 11650, 3274, 96, 75, 2256, 29, 7, 3, 17, 9, 23, 2837, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by weekday.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNT...
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, -...
What Date has a Label of grilled cheese?
CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_25 WHERE label = "grilled cheese"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 5522, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7678, 65, 3, 9, 16229, 13, 3, 19521, 3285, 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, 833, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3783, 3274, 96, 19521, 3285, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date were Gary Lucy and Susie Verrico the panelists.
CREATE TABLE table_20420 ( "Episode Number" real, "Air Date" text, "Guest Host" text, "Musical Guest (Song performed)" text, "Who knows the most about the guest host? panelists" text )
SELECT "Air Date" FROM table_20420 WHERE "Who knows the most about the guest host? panelists" = 'Gary Lucy and Susie Verrico'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 21899, 41, 96, 427, 102, 159, 32, 221, 7720, 121, 490, 6, 96, 20162, 7678, 121, 1499, 6, 96, 9105, 222, 1546, 7, 17, 121, 1499, 6, 96, 29035, 138, 14252, 41, 134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20162, 7678, 121, 21680, 953, 834, 1755, 21899, 549, 17444, 427, 96, 20754, 4054, 8, 167, 81, 8, 3886, 2290, 58, 2952, 343, 7, 121, 3274, 3, 31, 517, 1208, 21812, 11, 1923, 2452, 781, 2234, 32, 31, 1, -100, ...
What are the resident details containing the substring 'Miss'?
CREATE TABLE Residents ( other_details VARCHAR )
SELECT other_details FROM Residents WHERE other_details LIKE '%Miss%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 24998, 41, 119, 834, 221, 5756, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 8141, 1030, 3, 6443, 8, 769, 16099, 3, 31, 329, 159, 7, 31, 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, 119, 834, 221, 5756, 7, 21680, 24998, 549, 17444, 427, 119, 834, 221, 5756, 7, 8729, 9914, 3, 31, 1454, 329, 159, 7, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the director for Tango Bar?
CREATE TABLE table_27423508_1 (director VARCHAR, spanish_title VARCHAR)
SELECT director FROM table_27423508_1 WHERE spanish_title = "Tango Bar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4165, 2469, 4018, 834, 536, 41, 25982, 584, 4280, 28027, 6, 8438, 1273, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2090, 21, 18939, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 21680, 953, 834, 2555, 4165, 2469, 4018, 834, 536, 549, 17444, 427, 8438, 1273, 834, 21869, 3274, 96, 382, 17934, 1386, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is maximum age of patients whose gender is m and year of death is less than 2168?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.dod_year < "2168.0"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 96, 27184, 27376, 121, 1, -100, -100, -100, -100, -100, ...
For how many years did Detroit have a passenger fare of $307.29?
CREATE TABLE table_name_99 ( year INTEGER, detroit__dtw_ VARCHAR )
SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 215, 3, 21342, 17966, 6, 3, 26, 15252, 155, 834, 834, 26, 17, 210, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 149, 186, 203, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 3, 26, 15252, 155, 834, 834, 26, 17, 210, 834, 3274, 96, 3229, 519, 14681, 3166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of floors of the oldest building ?
CREATE TABLE table_204_489 ( id number, "rank" number, "name" text, "height" text, "floors" number, "year" number, "notes" text )
SELECT "floors" FROM table_204_489 ORDER BY "year" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 3914, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 88, 2632, 121, 1499, 6, 96, 20924, 7, 121, 381, 6, 96, 1201, 121, 381...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20924, 7, 121, 21680, 953, 834, 26363, 834, 591, 3914, 4674, 11300, 272, 476, 96, 1201, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the least rank with more than 16 sets won and less than 1 loss?
CREATE TABLE table_name_47 (rank INTEGER, sets_won VARCHAR, loss VARCHAR)
SELECT MIN(rank) FROM table_name_47 WHERE sets_won > 16 AND loss < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 6254, 3, 21342, 17966, 6, 3369, 834, 210, 106, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 709, 11003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 3369, 834, 210, 106, 2490, 898, 3430, 1453, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who won the episode in which Sean Lock was Rufus's guest?
CREATE TABLE table_19930660_2 (winner VARCHAR, rufus_guest VARCHAR)
SELECT winner FROM table_19930660_2 WHERE rufus_guest = "Sean Lock"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19479, 1458, 27720, 834, 357, 41, 3757, 687, 584, 4280, 28027, 6, 3, 10977, 302, 834, 15991, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 8, 5640, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 19479, 1458, 27720, 834, 357, 549, 17444, 427, 3, 10977, 302, 834, 15991, 17, 3274, 96, 134, 15, 152, 10039, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what's the total number of patients in ward 259 until 2104?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagn...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 259 AND STRFTIME('%y', patient.unitadmittime) <= '2104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 2239, 23, 26, 3274, 204, 3390, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 15129, 20466...
What was the maximum capacity of larry gomes stadium?
CREATE TABLE table_25794138_1 (capacity INTEGER, stadium VARCHAR)
SELECT MAX(capacity) FROM table_25794138_1 WHERE stadium = "Larry Gomes stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4440, 4853, 3747, 834, 536, 41, 4010, 9, 6726, 3, 21342, 17966, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2411, 2614, 13, 50, 52, 651...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4010, 9, 6726, 61, 21680, 953, 834, 1828, 4440, 4853, 3747, 834, 536, 549, 17444, 427, 14939, 3274, 96, 434, 291, 651, 1263, 2687, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Record label has an Album of rambo?
CREATE TABLE table_38811 ( "Year" real, "Album" text, "Record label" text, "Info" text, "Music" text )
SELECT "Record label" FROM table_38811 WHERE "Album" = 'rambo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4060, 2596, 41, 96, 476, 2741, 121, 490, 6, 96, 25691, 440, 121, 1499, 6, 96, 1649, 7621, 3783, 121, 1499, 6, 96, 29381, 121, 1499, 6, 96, 29035, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 3783, 121, 21680, 953, 834, 519, 4060, 2596, 549, 17444, 427, 96, 25691, 440, 121, 3274, 3, 31, 52, 9, 6310, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?
CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 29, 257, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 298...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2982, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 13467, 3, 2, 209, 3430, 4294, 3, 2, 209, 3430, 2045, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose admission year is less than 2176?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admityear < "2176"
[ 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, 549, 17444, 427, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658, 3959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Airport with a ICAO of EDDH?
CREATE TABLE table_name_87 ( airport VARCHAR, icao VARCHAR )
SELECT airport FROM table_name_87 WHERE icao = "eddh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 3761, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5735, 28, 3, 9, 3, 15038, 667, 13, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3761, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 3, 2617, 32, 3274, 96, 15, 26, 26, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Team, when Date is "March 27"?
CREATE TABLE table_name_75 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_75 WHERE date = "march 27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2271, 6, 116, 7678, 19, 96, 25019, 2307, 121, 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, 372, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 833, 3274, 96, 51, 7064, 2307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Count the number of departments which offer courses.
CREATE TABLE course ( course_id text, title text, dept_name text, credits number ) CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text ) CREATE TABLE student ( id text, name text, dep...
SELECT COUNT(DISTINCT dept_name) FROM course
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 503, 41, 503, 834, 23, 26, 1499, 6, 2233, 1499, 6, 20, 102, 17, 834, 4350, 1499, 6, 11893, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1375, 41, 503, 834, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20, 102, 17, 834, 4350, 61, 21680, 503, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a bar chart about the distribution of meter_200 and the amount of meter_200 , and group by attribute meter_200, and order by the Y-axis in asc please.
CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimme...
SELECT meter_200, COUNT(meter_200) FROM swimmer GROUP BY meter_200 ORDER BY COUNT(meter_200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, 1499, 6, 27813, 935, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4401, 834, 3632, 6, 2847, 17161, 599, 4401, 834, 3632, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 3, 4401, 834, 3632, 4674, 11300, 272, 476, 2847, 17161, 599, 4401, 834, 3632, 61, 1, -100, -100, -100, -100, -10...
For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?
CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)
SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 19489, 29, 584, 4280, 28027, 6, 5489, 834, 5407, 302, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6796, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 1944, 3274, 96, 2884, 121, 3430, 979, 834, 9, 16720, 7, 17, 3274, 96, 2128, 519, 121, 3430, 5489, 834, 5407, 302, 3274, 96, 17395, 1, -100, -100, -100, -100, ...
Who has a Score of 68-71-70=208?
CREATE TABLE table_name_60 ( player VARCHAR, score VARCHAR )
SELECT player FROM table_name_60 WHERE score = 68 - 71 - 70 = 208
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 1959, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 3, 9, 17763, 13, 3, 3651, 18, 4450, 18, 2518, 2423, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 2604, 3274, 3, 3651, 3, 18, 3, 4450, 3, 18, 2861, 3274, 3, 23946, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the position for 1980 – 1987
CREATE TABLE table_24565004_19 (position VARCHAR, period VARCHAR)
SELECT position FROM table_24565004_19 WHERE period = "1980 – 1987"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 2294, 41, 4718, 584, 4280, 28027, 6, 1059, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1102, 21, 6694, 3, 104, 12701, 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, 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, 1102, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 2294, 549, 17444, 427, 1059, 3274, 96, 2294, 2079, 3, 104, 12701, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What country has a to par larger than 5 and a player John Mahaffey?
CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_38 WHERE to_par > 5 AND player = "john mahaffey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 17529, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 3, 9, 12, 260,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 12, 834, 1893, 2490, 305, 3430, 1959, 3274, 96, 27341, 954, 1024, 7398, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many apps for the rank of 8 in the 2012/13 season?
CREATE TABLE table_60558 ( "Rank" real, "Name" text, "Season" text, "Club" text, "Goals" real, "Apps" real, "Goals per Match" real )
SELECT MAX("Apps") FROM table_60558 WHERE "Rank" = '8' AND "Season" = '2012/13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 755, 3449, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 6221, 5405, 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, 9648, 7, 8512, 21680, 953, 834, 3328, 755, 3449, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 927, 31, 3430, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 12172, 87, 2368, 31, 1, -100, -100, -100, ...
Name the total number of total with finish of t45
CREATE TABLE table_name_7 ( total VARCHAR, finish VARCHAR )
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 792, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 792, 28, 1992, 13, 3, 17, 2128, 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, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1992, 3274, 96, 17, 2128, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the rate when there were more than 22 goals?
CREATE TABLE table_47628 ( "Season" real, "Player" text, "Club" text, "Goals" real, "Games" real, "Rate" real )
SELECT "Rate" FROM table_47628 WHERE "Goals" > '22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3959, 2577, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 6221, 5405, 121, 490, 6, 96, 23055, 7, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 342, 121, 21680, 953, 834, 591, 3959, 2577, 549, 17444, 427, 96, 6221, 5405, 121, 2490, 3, 31, 2884, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients on drug code asa300r remained admitted in hospital for more than 29 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "29" AND prescriptions.formulary_drug_cd = "ASA300R"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What number pick was the player for the Oakland Athletics who plays the 1B position?
CREATE TABLE table_name_11 ( pick VARCHAR, position VARCHAR, team VARCHAR )
SELECT pick FROM table_name_11 WHERE position = "1b" AND team = "oakland athletics"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 1432, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 381, 1432, 47, 8, 1959, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1432, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1102, 3274, 96, 536, 115, 121, 3430, 372, 3274, 96, 32, 1639, 40, 232, 12217, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the high rebounds for wells fargo center 16,695
CREATE TABLE table_27700375_11 ( high_rebounds VARCHAR, location_attendance VARCHAR )
SELECT high_rebounds FROM table_27700375_11 WHERE location_attendance = "Wells Fargo Center 16,695"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 9295, 22954, 834, 2596, 41, 306, 834, 23768, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 306, 3, 23768,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 23768, 21680, 953, 834, 2555, 9295, 22954, 834, 2596, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 18741, 7, 5186, 839, 1166, 11940, 3951, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the winning driver for pau grand prix
CREATE TABLE table_name_1 (winning_driver VARCHAR, name VARCHAR)
SELECT winning_driver FROM table_name_1 WHERE name = "pau grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 8163, 834, 13739, 52, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 3447, 2535, 21, 2576, 76, 1907, 3407, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 564, 3274, 96, 102, 402, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Mountains Classification for Winner josé luis carrasco?
CREATE TABLE table_name_2 (mountains_classification VARCHAR, winner VARCHAR)
SELECT mountains_classification FROM table_name_2 WHERE winner = "josé luis carrasco"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 11231, 13676, 834, 4057, 2420, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 18183, 4501, 2420, 21, 18125, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8022, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 4668, 3274, 96, 1927, 7, 154, 759, 7, 443, 52, 9, 3523, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the US release date?
CREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR)
SELECT release_date FROM table_name_5 WHERE location = "us"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 21019, 834, 5522, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 837, 1576, 833, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1576, 834, 5522, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1128, 3274, 96, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many total goals scored when less than 30 games have been played?
CREATE TABLE table_62695 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real )
SELECT COUNT("Goals scored") FROM table_62695 WHERE "Games played" < '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2688, 3301, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 23055, 7, 1944, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 308, 10936, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 6221, 5405, 5799, 8512, 21680, 953, 834, 948, 2688, 3301, 549, 17444, 427, 96, 23055, 7, 1944, 121, 3, 2, 3, 31, 1458, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player scored 76-68=144?
CREATE TABLE table_79170 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Player" FROM table_79170 WHERE "Score" = '76-68=144'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 536, 2518, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4440, 536, 2518, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3959, 18, 3651, 2423, 20885, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the original airdate of the episode with production number 2x03?
CREATE TABLE table_26293875_3 ( original_airdate VARCHAR, prod_no VARCHAR )
SELECT original_airdate FROM table_26293875_3 WHERE prod_no = "2x03"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3166, 3747, 3072, 834, 519, 41, 926, 834, 2256, 5522, 584, 4280, 28027, 6, 813, 26, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 5522, 21680, 953, 834, 2688, 3166, 3747, 3072, 834, 519, 549, 17444, 427, 813, 26, 834, 29, 32, 3274, 96, 357, 226, 4928, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Among deaths 106 000 how many is crude rate.
CREATE TABLE table_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR)
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24837, 3449, 834, 536, 41, 14127, 221, 834, 221, 9, 189, 834, 2206, 584, 4280, 28027, 6, 14319, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 7264, 14319, 3, 16431,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19058, 834, 221, 9, 189, 834, 2206, 21680, 953, 834, 24837, 3449, 834, 536, 549, 17444, 427, 14319, 3274, 96, 16431, 6078, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What racing club team made supercopa 1996?
CREATE TABLE table_35546 ( "Team" text, "Intercontinental" text, "Recopa 1996" text, "Supercopa 1996" text, "CONMEBOL 1996" text, "Copa Libertadores 1997" text )
SELECT "Supercopa 1996" FROM table_35546 WHERE "Team" = 'racing club'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 755, 4448, 41, 96, 18699, 121, 1499, 6, 96, 17555, 27339, 138, 121, 1499, 6, 96, 1649, 10845, 9, 6911, 121, 1499, 6, 96, 23290, 10845, 9, 6911, 121, 1499, 6, 96, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23290, 10845, 9, 6911, 121, 21680, 953, 834, 2469, 755, 4448, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 3738, 53, 1886, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is average age for different job title. Show the proportion.
CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER )
SELECT job, AVG(age) FROM Person GROUP BY job
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1246, 3, 21342, 17966, 6, 690, 3, 3463, 4, 382, 6, 7285, 3, 3463, 4, 382, 6, 613, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 613, 6, 71, 17217, 599, 545, 61, 21680, 5780, 350, 4630, 6880, 272, 476, 613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who scored higher in total score of the two athletes from the soviet union -lrb- urs -rrb- ?
CREATE TABLE table_204_296 ( id number, "rank" number, "athlete" text, "qual" number, "final" number, "total" number, "notes" text )
SELECT "athlete" FROM table_204_296 WHERE "athlete" = 'urs' ORDER BY "total" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 4314, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 26170, 15, 121, 1499, 6, 96, 11433, 121, 381, 6, 96, 12406, 121, 381, 6, 96, 235, 1947, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 26170, 15, 121, 21680, 953, 834, 26363, 834, 357, 4314, 549, 17444, 427, 96, 26170, 15, 121, 3274, 3, 31, 3589, 31, 4674, 11300, 272, 476, 96, 235, 1947, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, ...
In what position was the driver who won $60,000?
CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR)
SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2534, 4389, 3769, 834, 536, 41, 4718, 3, 21342, 17966, 6, 3447, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 1102, 47, 8, 2535, 113, 751, 1514, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 4718, 61, 21680, 953, 834, 1828, 2534, 4389, 3769, 834, 536, 549, 17444, 427, 3447, 7, 3274, 96, 3229, 24620, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the name of the episode associated with Nick production number 342?
CREATE TABLE table_2655016_4 (episode_title VARCHAR, nick_prod__number VARCHAR)
SELECT episode_title FROM table_2655016_4 WHERE nick_prod__number = 342
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 17147, 2938, 834, 591, 41, 15, 102, 159, 32, 221, 834, 21869, 584, 4280, 28027, 6, 3, 11191, 834, 1409, 26, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 5640, 834, 21869, 21680, 953, 834, 2688, 17147, 2938, 834, 591, 549, 17444, 427, 3, 11191, 834, 1409, 26, 834, 834, 5525, 1152, 3274, 220, 4165, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which value for Apps is associated with the all-time rank of 53?
CREATE TABLE table_32214 ( "Rank" real, "All-time Rank" text, "Name" text, "Debut Year" real, "Current Club" text, "Goals" real, "Apps" real )
SELECT "Apps" FROM table_32214 WHERE "All-time Rank" = '53'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 27357, 41, 96, 22557, 121, 490, 6, 96, 6838, 18, 715, 3, 22557, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 2962, 2780, 2929, 121, 490, 6, 96, 254, 450, 5320, 1949, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9648, 7, 121, 21680, 953, 834, 2668, 27357, 549, 17444, 427, 96, 6838, 18, 715, 3, 22557, 121, 3274, 3, 31, 4867, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the amount of the 1st prize when the Winner was ken green (4)?
CREATE TABLE table_name_56 ( winner VARCHAR )
SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (4)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 866, 13, 8, 209, 7, 17, 6441, 116, 8, 18125, 47, 3, 2217, 1442, 3, 10820, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 209, 6157, 3, 7, 17, 834, 2246, 776, 834, 834, 834, 3229, 834, 834, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 4668, 3274, 96, 2217, 1442, 3, 10820, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many points did the Cosworth v8 engine get in 1972?
CREATE TABLE table_name_42 (points VARCHAR, year VARCHAR, engine VARCHAR)
SELECT points FROM table_name_42 WHERE year = 1972 AND engine = "cosworth v8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 2700, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 410, 8, 638, 7, 7048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 215, 3274, 16583, 3430, 1948, 3274, 96, 509, 7, 7048, 3, 208, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country won in 1977?
CREATE TABLE table_61978 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Country" FROM table_61978 WHERE "Year(s) won" = '1977'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 21441, 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, 490, 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, 10628, 651, 121, 21680, 953, 834, 4241, 21441, 549, 17444, 427, 96, 476, 2741, 599, 7, 61, 751, 121, 3274, 3, 31, 2294, 4013, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was third during round 6 in Rybinsk?
CREATE TABLE table_name_73 ( third VARCHAR, venue VARCHAR, round VARCHAR )
SELECT third FROM table_name_73 WHERE venue = "rybinsk" AND round = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 1025, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 1025, 383, 1751, 431, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1025, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 5669, 3274, 96, 651, 4517, 7, 157, 121, 3430, 1751, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3?
CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR)
SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 12614, 7, 3, 21342, 17966, 6, 939, 584, 4280, 28027, 6, 22828, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 10949, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 12614, 7, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 939, 3274, 96, 235, 63, 32, 17, 9, 8191, 939, 121, 3430, 22828, 7, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Score has an Opponent of seattle?
CREATE TABLE table_name_62 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_62 WHERE opponent = "seattle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 46, 4495, 9977, 13, 2805, 8692, 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, 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, 4056, 549, 17444, 427, 15264, 3274, 96, 7, 15, 9, 8692, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many episodes were numbered 5?
CREATE TABLE table_2501754_2 (production_count VARCHAR, episode__number VARCHAR)
SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 2517, 5062, 834, 357, 41, 20762, 834, 13362, 584, 4280, 28027, 6, 5640, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13562, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20762, 834, 13362, 61, 21680, 953, 834, 11434, 2517, 5062, 834, 357, 549, 17444, 427, 5640, 834, 834, 5525, 1152, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team played in the 1964 Tokyo Games?
CREATE TABLE table_6154 ( "Medal" text, "Name" text, "Games" text, "Sport" text, "Event" text )
SELECT "Name" FROM table_6154 WHERE "Games" = '1964 tokyo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 5062, 41, 96, 20123, 138, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 23055, 7, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 427, 2169, 121, 1499, 3, 61, 3, 32102, 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, 96, 23954, 121, 21680, 953, 834, 4241, 5062, 549, 17444, 427, 96, 23055, 7, 121, 3274, 3, 31, 2294, 4389, 12, 3781, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana?
CREATE TABLE table_name_91 ( elevated VARCHAR, cardinalatial_order_and_title VARCHAR )
SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = "cardinal-priest of s. pudenziana"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 15712, 584, 4280, 28027, 6, 895, 10270, 9, 10646, 834, 9397, 834, 232, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15712, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 895, 10270, 9, 10646, 834, 9397, 834, 232, 834, 21869, 3274, 96, 6043, 10270, 18, 2246, 222, 13, 3, 7, 5, 4353, 537, 172, 13662, 121, 1, -100, -100, -100, ...
has patient 025-53910 got admitted to the hospital until 2104?
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, cellv...
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '025-53910' AND STRFTIME('%y', patient.hospitaladmittime) <= '2104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 1828, 4525, 3288, 1714, 31, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 3138...
How many districts have an incumbent first elected in 1944?
CREATE TABLE table_1342198_6 (district VARCHAR, first_elected VARCHAR)
SELECT COUNT(district) FROM table_1342198_6 WHERE first_elected = 1944
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 24151, 834, 948, 41, 26, 23, 20066, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14126, 43, 46, 28406, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 26, 23, 20066, 61, 21680, 953, 834, 2368, 4165, 24151, 834, 948, 549, 17444, 427, 166, 834, 19971, 3274, 21930, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many patients having main drug prescription had an ammonia lab test done?
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "MAIN" AND lab.label = "Ammonia"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
What is the after for the player kevin streelman?
CREATE TABLE table_28498999_3 ( after VARCHAR, player VARCHAR )
SELECT after FROM table_28498999_3 WHERE player = "Kevin Streelman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3647, 3914, 3264, 834, 519, 41, 227, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 227, 21, 8, 1959, 3, 1050, 2494, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 227, 21680, 953, 834, 2577, 3647, 3914, 3264, 834, 519, 549, 17444, 427, 1959, 3274, 96, 439, 15, 2494, 472, 60, 15, 40, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who won when Elon was the runner-up?
CREATE TABLE table_name_53 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_name_53 WHERE runner_up = "elon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 17788, 12364, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 116, 1289, 106, 47, 8, 3, 10806, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6336, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 15, 40, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many hours have passed since first time on this hospital encounter patient 032-24135 stayed in the ward 1068?
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, ...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '032-24135' AND patient.wardid = 1068 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
What was Ben Hogan's par?
CREATE TABLE table_name_45 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_45 WHERE player = "ben hogan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 2798, 1546, 2565, 31, 7, 260, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1959, 3274, 96, 115, 35, 3534, 2565, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the Semi-Finalist #2 in 2001?
CREATE TABLE table_57216 ( "Year" text, "Champion" text, "Score" text, "Runner-Up" text, "Location" text, "Semi-Finalist #1" text, "Semi-Finalist #2" text )
SELECT "Semi-Finalist #2" FROM table_57216 WHERE "Year" = '2001'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 27184, 41, 96, 476, 2741, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 23572, 18, 11161, 121, 1499, 6, 96, 434, 32, 75, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 51, 23, 18, 371, 10270, 343, 15493, 121, 21680, 953, 834, 3436, 27184, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 23658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the injured entry for Venezuela?
CREATE TABLE table_name_16 ( injured VARCHAR, country VARCHAR )
SELECT injured FROM table_name_16 WHERE country = "venezuela"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 7532, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7532, 1764, 21, 17841, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7532, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 684, 3274, 96, 25277, 76, 15, 521, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Away Team, when Tie No is "37"?
CREATE TABLE table_name_23 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_23 WHERE tie_no = "37"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 71, 1343, 2271, 6, 116, 2262, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 4118, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Grid number for the Team from Italy?
CREATE TABLE table_name_87 (grid VARCHAR, team VARCHAR)
SELECT COUNT(grid) FROM table_name_87 WHERE team = "italy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 3496, 26, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 23644, 381, 21, 8, 2271, 45, 5308, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 372, 3274, 96, 9538, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When the Away team of essendon was playing, what was the Home team's score?
CREATE TABLE table_54574 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_54574 WHERE "Away team" = 'essendon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2128, 4581, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 2604, 121, 21680, 953, 834, 755, 2128, 4581, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 8185, 2029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose discharge location is dead/expired and diagnoses icd9 code is 28522?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "DEAD/EXPIRED" AND diagnoses.icd9_code = "28522"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the record of the Hartford Whalers home team with the April 13 game date?
CREATE TABLE table_name_7 ( record VARCHAR, home VARCHAR, date VARCHAR )
SELECT record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1368, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 13, 8, 26069, 30300,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 234, 3274, 96, 13626, 2590, 18214, 52, 7, 121, 3430, 833, 3274, 96, 9, 2246, 40, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who were the performance liaisons for the dramaturge Chrisena Ricci?
CREATE TABLE table_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR)
SELECT performance_liaison FROM table_22410780_1 WHERE dramaturge = "Chrisena Ricci"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 18057, 2079, 834, 536, 41, 18558, 834, 40, 23, 11684, 584, 4280, 28027, 6, 6616, 2905, 397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 821, 255...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 821, 834, 40, 23, 11684, 21680, 953, 834, 24622, 18057, 2079, 834, 536, 549, 17444, 427, 6616, 2905, 397, 3274, 96, 3541, 23310, 9, 2403, 9920, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which College/Junior/Club Team (League) did the player julien cayer who was selected before round 3 play for?
CREATE TABLE table_46551 ( "Round" real, "Overall Pick" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text )
SELECT "College/Junior/Club Team (League)" FROM table_46551 WHERE "Round" > '3' AND "Player" = 'julien cayer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 3769, 536, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 8356, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 87, 683, 202, 23, 127, 87, 254, 11158, 2271, 41, 2796, 9, 5398, 61, 121, 21680, 953, 834, 4448, 3769, 536, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 519, 31, 3430, 96, 15800, 49, 121,...
What is the Birth Name of the Archbishop with a Current End of Reign?
CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR)
SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 279, 23, 52, 189, 584, 4280, 28027, 6, 414, 834, 858, 834, 60, 3191, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 26337, 5570, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 26337, 6157, 564, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 414, 834, 858, 834, 60, 3191, 3274, 96, 14907, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year is the Grim Fandango with a windows platform?
CREATE TABLE table_name_36 ( year VARCHAR, platform_s_ VARCHAR, game VARCHAR )
SELECT year FROM table_name_36 WHERE platform_s_ = "windows" AND game = "grim fandango"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 215, 584, 4280, 28027, 6, 1585, 834, 7, 834, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 19, 8, 23427, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 1585, 834, 7, 834, 3274, 96, 5165, 2381, 7, 121, 3430, 467, 3274, 96, 3496, 51, 1819, 26, 17934, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest round for UFC 109?
CREATE TABLE table_68698 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text )
SELECT MAX("Round") FROM table_68698 WHERE "Event" = 'ufc 109'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3951, 927, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 3651, 3951, 927, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 76, 89, 75, 3, 17304, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is T2 Place Player Steve Flesch's Score?
CREATE TABLE table_name_97 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT MAX(score) FROM table_name_97 WHERE place = "t2" AND player = "steve flesch"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 7, 9022, 3, 21342, 17966, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 332, 357, 3399, 12387, 5659, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 286, 3274, 96, 17, 357, 121, 3430, 1959, 3274, 96, 849, 162, 8079, 860, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average pick for Princeton after round 3?
CREATE TABLE table_44769 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College" text )
SELECT AVG("Pick") FROM table_44769 WHERE "Round" > '3' AND "College" = 'princeton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4177, 3951, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 71, 17217, 599, 121, 345, 3142, 8512, 21680, 953, 834, 591, 4177, 3951, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 519, 31, 3430, 96, 9939, 7883, 121, 3274, 3, 31, 12298, 9113, 106, 31, 1, -100, -100, ...
In what Tournament was laura Gildemeister the Opponent?
CREATE TABLE table_name_50 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_50 WHERE opponent = "laura gildemeister"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 20502, 47, 50, 2414, 12798, 221, 13186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 15264, 3274, 96, 521, 2414, 3, 122, 173, 221, 13186, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many of the patients treated with main drug had a hospital stay of more than 5 days?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "5" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
in what round types did the opponent come from south africa?
CREATE TABLE table_27719 ( "Edition" real, "Zone" text, "Round" text, "Against" text, "Surface" text, "Partner" text, "Opponents" text, "Outcome" text, "Result" text )
SELECT "Round" FROM table_27719 WHERE "Against" = 'South Africa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 2294, 41, 96, 427, 10569, 121, 490, 6, 96, 956, 782, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 134, 450, 4861, 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, 448, 32, 1106, 121, 21680, 953, 834, 357, 4013, 2294, 549, 17444, 427, 96, 20749, 121, 3274, 3, 31, 22081, 2648, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
count the number of patients whose marital status is married and item id is 50883?
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 t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.itemid = "50883"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which Round is the lowest one that has a College/Junior/Club Team (League) of oshawa generals (oha), and a Player of bob kelly?
CREATE TABLE table_name_83 ( round INTEGER, college_junior_club_team__league_ VARCHAR, player VARCHAR )
SELECT MIN(round) FROM table_name_83 WHERE college_junior_club_team__league_ = "oshawa generals (oha)" AND player = "bob kelly"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 1751, 3, 21342, 17966, 6, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 834, 834, 29512, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 834, 834, 29512, 834, 3274, 96, 32, 15622, 9, 879, 7, 41, 32, 1024, 61, 121, 3430, 1959...
What is the crowd size for Victoria park?
CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_99 WHERE venue = "victoria park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 75, 3623, 26, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4374, 812, 21, 7488, 2447, 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, 4374, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 5669, 3274, 96, 7287, 3600, 9, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the date of the tournament held in Indonesia?
CREATE TABLE table_name_23 ( date VARCHAR, country VARCHAR )
SELECT date FROM table_name_23 WHERE country = "indonesia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 833, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 5892, 1213, 16, 9995, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 684, 3274, 96, 77, 2029, 15, 7, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many goals against were scored when the position was higher than 1 and the played was higher than 10?
CREATE TABLE table_8681 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT COUNT("Goals against") FROM table_8681 WHERE "Position" > '1' AND "Played" > '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3840, 4959, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 6221, 5405, 581, 8512, 21680, 953, 834, 3840, 4959, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 2490, 3, 31, 536, 31, 3430, 96, 15800, 15, 26, 121, 2490, 3, 31, 1714, 31, 1, -100, -100, -1...
What are the revenues for oka tadayoshi (2nd) ( )?
CREATE TABLE table_name_15 ( revenues VARCHAR, name VARCHAR )
SELECT revenues FROM table_name_15 WHERE name = "ōoka tadayoshi (2nd) (大岡忠愛)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 14609, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 14609, 21, 3, 1825, 9, 3, 17, 9, 1135, 32, 5605,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14609, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 564, 3274, 96, 2, 1825, 9, 3, 17, 9, 1135, 32, 5605, 4743, 727, 61, 41, 2, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What 1957 engine has a Chassis of connaught type b?
CREATE TABLE table_67997 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Engine" FROM table_67997 WHERE "Chassis" = 'connaught type b' AND "Year" > '1957'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 3264, 940, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 31477, 121, 21680, 953, 834, 3708, 3264, 940, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 1018, 29, 9313, 686, 3, 115, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 3436, 31, 1, -100, -100, -100...
What was the surface type at Takao Suzuki?
CREATE TABLE table_name_83 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_83 WHERE opponent_in_the_final = "takao suzuki"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 26899, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1774, 686, 44, 18973, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 15264, 834, 77, 834, 532, 834, 12406, 3274, 96, 17, 5667, 32, 2629, 1000, 2168, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the district with the smallest area?
CREATE TABLE store_district ( store_id number, district_id number ) CREATE TABLE store ( store_id number, store_name text, type text, area_size number, number_of_product_category number, ranking number ) CREATE TABLE product ( product_id number, product text, dimensions tex...
SELECT district_name FROM district ORDER BY city_area LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1078, 834, 26, 23, 20066, 41, 1078, 834, 23, 26, 381, 6, 3939, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1078, 41, 1078, 834, 23, 26, 381, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3939, 834, 4350, 21680, 3939, 4674, 11300, 272, 476, 690, 834, 498, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tell me the price for fe?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, a...
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'fe')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 9339, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 7690, 5, 521, 9824, 21680, 7690, 549, 17444...
who was canadian , van amstel or valiquette ?
CREATE TABLE table_204_698 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text )
SELECT "name" FROM table_204_698 WHERE "name" IN ('louis van amstel', 'max valiquette') AND "nationality" = 'canadian'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3951, 927, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 4597, 715, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 2264, 179, 38, 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, 4350, 121, 21680, 953, 834, 26363, 834, 3951, 927, 549, 17444, 427, 96, 4350, 121, 3388, 41, 31, 40, 1063, 159, 4049, 183, 7, 1625, 31, 6, 3, 31, 9128, 3, 2165, 23, 15913, 31, 61, 3430, 96, 16557, 485, 121, ...
Who was the GT2 winning team when the GT3 winning team was #1 PTG?
CREATE TABLE table_17236 ( "Rnd" real, "Circuit" text, "WSC Winning Team" text, "GT1 Winning Team" text, "GT2 Winning Team" text, "GT3 Winning Team" text, "Results" text )
SELECT "GT2 Winning Team" FROM table_17236 WHERE "GT3 Winning Team" = '#1 PTG'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 3420, 41, 96, 448, 727, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 8439, 254, 549, 10503, 2271, 121, 1499, 6, 96, 18489, 536, 549, 10503, 2271, 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, 18489, 357, 549, 10503, 2271, 121, 21680, 953, 834, 27156, 3420, 549, 17444, 427, 96, 18489, 519, 549, 10503, 2271, 121, 3274, 3, 31, 4663, 536, 276, 18943, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game?
CREATE TABLE table_53005 ( "Season" text, "Club" text, "Apps" real, "Goals" real, "Division" real )
SELECT MIN("Goals") FROM table_53005 WHERE "Apps" < '22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26918, 3076, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 9648, 7, 121, 490, 6, 96, 6221, 5405, 121, 490, 6, 96, 308, 23, 6610, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 6221, 5405, 8512, 21680, 953, 834, 26918, 3076, 549, 17444, 427, 96, 9648, 7, 121, 3, 2, 3, 31, 2884, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many rounds did Ken Wharton go?
CREATE TABLE table_52267 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT "Rounds" FROM table_52267 WHERE "Driver" = 'ken wharton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 357, 3708, 41, 96, 16924, 3569, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 32, 1106, 7, 121, 21680, 953, 834, 5373, 357, 3708, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 2217, 14228, 9, 17330, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Tie no of the game with a Score of 1 1?
CREATE TABLE table_name_39 ( tie_no VARCHAR, score VARCHAR )
SELECT tie_no FROM table_name_39 WHERE score = "1–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 6177, 834, 29, 32, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2262, 15, 150, 13, 8, 467, 28, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6177, 834, 29, 32, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2604, 3274, 96, 536, 104, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
when was patient 016-18575 admitted to the hospital first via the step-down unit (sdu) since 2105?
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 tex...
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '016-18575' AND patient.hospitaladmitsource = 'step-down unit (sdu)' AND STRFTIME('%y', patient.hospitaladmittime) >= '2105' ORDER BY patient.hospitaladmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2938, 18, 21594, 3072, 31, 3430, 1868, 5, 31386, 20466, 17, 7928, 3274, 3, 31, 7910, 18, 3035, 1745, 41, 7...
Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?
CREATE TABLE table_name_72 (ipsos_5_16_09 VARCHAR, tns_sofres_5_28_09 VARCHAR)
SELECT ipsos_5_16_09 FROM table_name_72 WHERE tns_sofres_5_28_09 = "2.5%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 15432, 32, 7, 834, 755, 834, 2938, 834, 4198, 584, 4280, 28027, 6, 3, 17, 29, 7, 834, 7, 858, 60, 7, 834, 755, 834, 2577, 834, 4198, 584, 4280, 280...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15432, 32, 7, 834, 755, 834, 2938, 834, 4198, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 3, 17, 29, 7, 834, 7, 858, 60, 7, 834, 755, 834, 2577, 834, 4198, 3274, 96, 4416, 2712, 121, 1, -100, -100, -...
What is Chris Riley's Money?
CREATE TABLE table_43207 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Money ( $ )" FROM table_43207 WHERE "Player" = 'chris riley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 26426, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 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, 9168, 15, 63, 41, 1514, 3, 61, 121, 21680, 953, 834, 4906, 26426, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 524, 52, 159, 3, 5493, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, and could you list by the Y-axis from high to low?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE...
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY COUNT(JOB_ID) DESC
[ 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, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1...
Which United States player for Air21 Express had a pick smaller than 9?
CREATE TABLE table_53679 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text )
SELECT "Player" FROM table_53679 WHERE "Pick" < '9' AND "Country of origin*" = 'united states' AND "PBA team" = 'air21 express'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3420, 4440, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 13, 5233, 1935, 121, 1499, 6, 96, 345, 4882, 372, 121, 1499, 6, 96, 9939, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 755, 3420, 4440, 549, 17444, 427, 96, 345, 3142, 121, 3, 2, 3, 31, 1298, 31, 3430, 96, 10628, 651, 13, 5233, 1935, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 345, ...
Which game had a record of 6-9-7?
CREATE TABLE table_17360840_5 ( game VARCHAR, record VARCHAR )
SELECT game FROM table_17360840_5 WHERE record = "6-9-7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 19208, 26311, 834, 755, 41, 467, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 467, 141, 3, 9, 1368, 13, 431, 7141, 6832, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 21680, 953, 834, 2517, 19208, 26311, 834, 755, 549, 17444, 427, 1368, 3274, 96, 948, 7141, 6832, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record where arco arena 17361 is location attendance?
CREATE TABLE table_23285805_8 (record VARCHAR, location_attendance VARCHAR)
SELECT record FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 3449, 3076, 834, 927, 41, 60, 7621, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 213, 1584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 2773, 2577, 3449, 3076, 834, 927, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 188, 52, 509, 14904, 1003, 3420, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...