NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
When did the season finale reached an audience of 10.02 million viewers?
CREATE TABLE table_2669287_1 ( season VARCHAR, viewers__in_millions_ VARCHAR )
SELECT season AS finale FROM table_2669287_1 WHERE viewers__in_millions_ = "10.02"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3951, 357, 4225, 834, 536, 41, 774, 584, 4280, 28027, 6, 13569, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 6157, 13604, 21680, 953, 834, 2688, 3951, 357, 4225, 834, 536, 549, 17444, 427, 13569, 834, 834, 77, 834, 17030, 7, 834, 3274, 96, 10415, 4305, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find hire_date and the average of department_id bin hire_date by time, and visualize them by a bar chart, could you rank from high to low by the total number?
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), ...
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834,...
With Appearances larger than 1, what is the Wins for the Reno Aces Team?
CREATE TABLE table_name_45 ( wins INTEGER, team VARCHAR, appearances VARCHAR )
SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 9204, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 3179, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 438, 2276, 2741, 663, 7, 2186, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 372, 3274, 96, 1536, 32, 3, 9, 2319, 121, 3430, 3179, 7, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Give me a bar chart for how many name of each name
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, COUNT(Name) FROM Products GROUP BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 5570, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date for proposed for revere textile prints corporation
CREATE TABLE table_name_40 ( proposed VARCHAR, name VARCHAR )
SELECT proposed FROM table_name_40 WHERE name = "revere textile prints corporation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 4382, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 21, 4382, 21, 26236, 12667, 11384, 11861, 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, 4382, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 564, 3274, 96, 60, 624, 15, 12667, 11384, 11861, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the sum of salary bin hire_date by time in a bar chart.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varc...
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 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, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 145...
how many patients whose insurance is medicaid and diagnoses long title is congestive heart failure, unspecified?
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 prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicaid" AND diagnoses.long_title = "Congestive heart failure, unspecified"
[ 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...
List the names of buildings in descending order of building height.
CREATE TABLE buildings ( id number, name text, city text, height number, stories number, status text ) CREATE TABLE office_locations ( building_id number, company_id number, move_in_year number ) CREATE TABLE companies ( id number, name text, headquarters text, indu...
SELECT name FROM buildings ORDER BY height DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3950, 41, 3, 23, 26, 381, 6, 564, 1499, 6, 690, 1499, 6, 3902, 381, 6, 1937, 381, 6, 2637, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 828, 834, 14836, 7, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 3950, 4674, 11300, 272, 476, 3902, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the 2012 for when 2010 is q3
CREATE TABLE table_name_94 ( Id VARCHAR )
SELECT 2012 FROM table_name_94 WHERE 2010 = "q3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1673, 21, 116, 2735, 19, 3, 1824, 519, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1673, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 2735, 3274, 96, 1824, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year did the season finale have a total of 10.29 million viewers?
CREATE TABLE table_1348989_2 ( season VARCHAR, viewers__in_millions_ VARCHAR )
SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 3914, 3914, 834, 357, 41, 774, 584, 4280, 28027, 6, 13569, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 6157, 6514, 15, 21680, 953, 834, 23747, 3914, 3914, 834, 357, 549, 17444, 427, 13569, 834, 834, 77, 834, 17030, 7, 834, 3274, 96, 10415, 3166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the leading scorer on November 2, 2007?
CREATE TABLE table_name_62 ( leading_scorer VARCHAR, date VARCHAR )
SELECT leading_scorer FROM table_name_62 WHERE date = "november 2, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 1374, 834, 7, 5715, 49, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 1374, 2604, 52, 30, 1671, 3547, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1374, 834, 7, 5715, 49, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 3547, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which event had Carlos Alexandre Pereira as opponent?
CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_55 WHERE opponent = "carlos alexandre pereira"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 15, 2169, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 605, 141, 19783, 10457, 15, 1915, 15809, 38, 15264, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 605, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 15264, 3274, 96, 1720, 2298, 1240, 226, 232, 60, 399, 15809, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the cyclist from the GCE team and had UCI points under 20?
CREATE TABLE table_name_70 ( cyclist VARCHAR, team VARCHAR, uci_points VARCHAR )
SELECT cyclist FROM table_name_70 WHERE team = "gce" AND uci_points < 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 21074, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 3, 6809, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 21074...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21074, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 372, 3274, 96, 122, 565, 121, 3430, 3, 6809, 834, 2700, 7, 3, 2, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What males speak Polish?
CREATE TABLE table_name_22 ( males VARCHAR, language VARCHAR )
SELECT males FROM table_name_22 WHERE language = "polish"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 5069, 7, 584, 4280, 28027, 6, 1612, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5069, 7, 2516, 16073, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5069, 7, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1612, 3274, 96, 15621, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the least top 5
CREATE TABLE table_1671401_1 (top_5 INTEGER)
SELECT MIN(top_5) FROM table_1671401_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4450, 20016, 834, 536, 41, 2916, 834, 755, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 420, 305, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2916, 834, 9120, 21680, 953, 834, 2938, 4450, 20016, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the joined for blue hose
CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)
SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2938, 4060, 3647, 834, 536, 41, 1927, 630, 26, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3311, 21, 1692, 3, 9672, 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, 3311, 21680, 953, 834, 2938, 2938, 4060, 3647, 834, 536, 549, 17444, 427, 24649, 3274, 96, 22530, 25462, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which date was associated with the release in Europe on the Wichita Recordings label?
CREATE TABLE table_name_5 ( date VARCHAR, region VARCHAR, label VARCHAR )
SELECT date FROM table_name_5 WHERE region = "europe" AND label = "wichita recordings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 833, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 833, 47, 1968, 28, 8, 1576, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1719, 3274, 96, 28188, 121, 3430, 3783, 3274, 96, 210, 362, 155, 9, 18338, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the visiting team on october 23?
CREATE TABLE table_name_10 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_10 WHERE date = "october 23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 3466, 155, 53, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3644, 372, 30, 3, 32, 75, 235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3644, 834, 11650, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 1902, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What round was Bill Hill drafted?
CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR)
SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 3420, 5176, 4834, 834, 536, 41, 3995, 867, 584, 4280, 28027, 6, 1959, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 47, 3259, 3588, 3, 2350...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1160, 21680, 953, 834, 1714, 3420, 5176, 4834, 834, 536, 549, 17444, 427, 1959, 834, 4350, 3274, 96, 279, 1092, 3588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1?
CREATE TABLE table_name_38 ( year_started INTEGER, current_car VARCHAR, number_of_cars VARCHAR )
SELECT MAX(year_started) FROM table_name_38 WHERE current_car = "arctic sun" AND number_of_cars < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 215, 834, 3624, 1054, 3, 21342, 17966, 6, 750, 834, 1720, 584, 4280, 28027, 6, 381, 834, 858, 834, 1720, 7, 584, 4280, 28027, 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, 4800, 4, 599, 1201, 834, 3624, 1054, 61, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 750, 834, 1720, 3274, 96, 4667, 1225, 1997, 121, 3430, 381, 834, 858, 834, 1720, 7, 3, 2, 209, 1, -100, -100, -100, -100,...
Who was the husband of marie of baden-sponheim?
CREATE TABLE table_6082 ( "Image" text, "Father" text, "Birth" text, "Ceased to be Duchess" text, "Death" text, "Husband" text )
SELECT "Husband" FROM table_6082 WHERE "Image" = 'marie of baden-sponheim'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 4613, 41, 96, 29979, 121, 1499, 6, 96, 371, 144, 760, 121, 1499, 6, 96, 279, 23, 52, 189, 121, 1499, 6, 96, 254, 14608, 26, 12, 36, 970, 2951, 7, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13284, 7, 3348, 121, 21680, 953, 834, 3328, 4613, 549, 17444, 427, 96, 29979, 121, 3274, 3, 31, 17289, 15, 13, 1282, 35, 18, 7, 5041, 3254, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Played has a Lost smaller than 3, and a Drawn smaller than 0?
CREATE TABLE table_13001 ( "Played" real, "Drawn" real, "Lost" real, "Against" real, "% Won" real )
SELECT AVG("Played") FROM table_13001 WHERE "Lost" < '3' AND "Drawn" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 17465, 41, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 20749, 121, 490, 6, 96, 1454, 549, 106, 121, 490, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 15800, 15, 26, 8512, 21680, 953, 834, 2368, 17465, 549, 17444, 427, 96, 434, 3481, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 308, 10936, 29, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100...
Which 2007 has a 2010 of A, and a 2006 of lq?
CREATE TABLE table_name_18 ( Id VARCHAR )
SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4101, 65, 3, 9, 2735, 13, 71, 6, 11, 3, 9, 3581, 13, 3, 40, 1824, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4101, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 2735, 3274, 96, 9, 121, 3430, 3581, 3274, 96, 40, 1824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are the genders of patient 010-23252?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREA...
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '010-23252'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1868, 5, 122, 3868, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 4542, 9498, 23188, 5373, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many series awarded 15 points?
CREATE TABLE table_25561038_1 ( races VARCHAR, points VARCHAR )
SELECT COUNT(races) FROM table_25561038_1 WHERE points = "15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 27097, 3747, 834, 536, 41, 10879, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 939, 5539, 627, 979, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 12614, 7, 61, 21680, 953, 834, 25502, 27097, 3747, 834, 536, 549, 17444, 427, 979, 3274, 96, 1808, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose admission type is emergency and procedure long title is thoracentesis?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Thoracentesis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the extra result of the 4th game?
CREATE TABLE table_name_37 ( extra VARCHAR, result VARCHAR )
SELECT extra FROM table_name_37 WHERE result = "4th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 996, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 996, 741, 13, 8, 314, 189, 467, 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, 996, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 741, 3274, 96, 591, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the nationality of the player who has a pick lower than 33 and a School/Club Team of Vanderbilt?
CREATE TABLE table_name_94 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_94 WHERE pick < 33 AND school_club_team = "vanderbilt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 16557, 485, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 1432, 3, 2, 5400, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 2132, 588, 3727, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What tournament took place on October 11, 2013?
CREATE TABLE table_4357 ( "Date" text, "Tournament" text, "Location" text, "Score" text, "Honduras scorers" text )
SELECT "Tournament" FROM table_4357 WHERE "Date" = 'october 11, 2013'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 3436, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 4489, 727, 2414...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 4906, 3436, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 9694, 2038, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which weights more a ut507 salvage tug or a ut515 salvage tug ?
CREATE TABLE table_203_201 ( id number, "class" text, "type" text, "ships" text, "displacement" text, "note" text )
SELECT "class" FROM table_203_201 WHERE "class" IN ('ut507 class', 'ut515 class') ORDER BY "displacement" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 22772, 41, 3, 23, 26, 381, 6, 96, 4057, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 2009, 7, 121, 1499, 6, 96, 10475, 11706, 297, 121, 1499, 6, 96, 7977, 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, 4057, 121, 21680, 953, 834, 23330, 834, 22772, 549, 17444, 427, 96, 4057, 121, 3388, 41, 31, 76, 17, 1752, 940, 853, 31, 6, 3, 31, 76, 17, 755, 1808, 853, 31, 61, 4674, 11300, 272, 476, 96, 10475, 11706, 297...
What is the sum of the Performance/Return on Capital (Score) when the Score (Iran) is less than 3, and the Score (Global) is 266?
CREATE TABLE table_43662 ( "Bank" text, "Score (Iran)" real, "Score (Global)" real, "Banking Power/Capital Base ($ Million)" real, "Banking Power/Capital Base (% Change)" text, "Total Assets ($ Million)" real, "Total Assets (Score)" real, "Total Assets (% Change)" text, "Credibility/...
SELECT COUNT("Performance/Return on Capital (Score)") FROM table_43662 WHERE "Score (Iran)" < '3' AND "Score (Global)" = '266'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 3539, 357, 41, 96, 21347, 121, 1499, 6, 96, 134, 9022, 41, 196, 2002, 61, 121, 490, 6, 96, 134, 9022, 41, 31190, 61, 121, 490, 6, 96, 21347, 53, 2621, 87, 19566, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12988, 2032, 663, 87, 1649, 7535, 30, 5826, 41, 134, 9022, 61, 8512, 21680, 953, 834, 4906, 3539, 357, 549, 17444, 427, 96, 134, 9022, 41, 196, 2002, 61, 121, 3, 2, 3, 31, 519, 31, 3430, 9...
What were the results when the incumbent was John Breaux?
CREATE TABLE table_1341690_18 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1341690_18 WHERE incumbent = "John Breaux"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2938, 2394, 834, 2606, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 772, 116, 8, 28406, 47, 1079,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 23747, 2938, 2394, 834, 2606, 549, 17444, 427, 28406, 3274, 96, 18300, 3004, 1724, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the position of the player who is from the United States and has 30 minutes?
CREATE TABLE table_23963781_3 ( position VARCHAR, nationality VARCHAR, minutes VARCHAR )
SELECT position FROM table_23963781_3 WHERE nationality = "United States" AND minutes = 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4314, 4118, 4959, 834, 519, 41, 1102, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 676, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 2773, 4314, 4118, 4959, 834, 519, 549, 17444, 427, 1157, 485, 3274, 96, 5110, 23, 1054, 1323, 121, 3430, 676, 3274, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)
SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 24805, 51, 32, 3, 21342, 17966, 6, 3314, 584, 4280, 28027, 6, 3, 7, 2274, 1639, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 24805, 51, 32, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 3, 7, 2274, 1639, 2490, 668, 3430, 2259, 3274, 96, 235, 1947, 7, 121, 3430, 3314, 2490, 997, 1, -100, -100, -100, -100, -100, -1...
what was the last procedure time patient 004-7984 went through in their last hospital visit?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, ...
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-7984' AND NOT patient.hospitaldischargetime IS NULL ORDER BY ...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1058, 5, 26889, 715, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, ...
Which winner has a Challenge Loser of gisel?
CREATE TABLE table_name_19 ( challenge_winner VARCHAR, challenge_loser VARCHAR )
SELECT challenge_winner FROM table_name_19 WHERE challenge_loser = "gisel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 1921, 834, 3757, 687, 584, 4280, 28027, 6, 1921, 834, 2298, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4668, 65, 3, 9, 7729, 314...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1921, 834, 3757, 687, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1921, 834, 2298, 49, 3274, 96, 122, 159, 15, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many lifts are detach quads ?
CREATE TABLE table_204_907 ( id number, "lift name" text, "type" text, "top\nelevation\n(ft)" number, "bottom\nelevation" number, "vertical\nrise" number, "length\n(ft)" number, "slope\n(%)" text, "capacity\n(rides/hr)" number, "speed\n(ft/min)" number, "lift\nmanufacturer" t...
SELECT COUNT("lift name") FROM table_204_907 WHERE "type" = 'detach quad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2394, 940, 41, 3, 23, 26, 381, 6, 96, 9253, 564, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 2916, 2, 29, 15, 10912, 257, 2, 29, 599, 89, 17, 61, 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, 2847, 17161, 599, 121, 9253, 564, 8512, 21680, 953, 834, 26363, 834, 2394, 940, 549, 17444, 427, 96, 6137, 121, 3274, 3, 31, 221, 17, 1836, 16429, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu ?
CREATE TABLE table_name_95 ( genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR )
SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = "wong fei hung - master of kung fu 我師傅係黃飛鴻"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 5349, 584, 4280, 28027, 6, 381, 834, 858, 834, 15, 102, 159, 32, 1395, 584, 4280, 28027, 6, 22269, 834, 21869, 834, 834, 1436, 1496, 15, 834, 21869, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5349, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 381, 834, 858, 834, 15, 102, 159, 32, 1395, 2490, 460, 3430, 22269, 834, 21869, 834, 834, 1436, 1496, 15, 834, 21869, 834, 3274, 96, 210, 2444, 3, 89, 15, 2...
What is the location attendance of the game with a 27-22 record?
CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_27 WHERE record = "27-22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 11364, 13, 8, 467, 28, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1368, 3274, 96, 2555, 16149, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the party elected in the district that first elected in 1990?
CREATE TABLE table_1341453_34 ( party VARCHAR, first_elected VARCHAR )
SELECT party FROM table_1341453_34 WHERE first_elected = "1990"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 4867, 834, 3710, 41, 1088, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1088, 8160, 16, 8, 3939...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1088, 21680, 953, 834, 23747, 2534, 4867, 834, 3710, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2294, 2394, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the highest money ($) for bernhard langer?
CREATE TABLE table_name_22 ( money___ INTEGER, player VARCHAR )
SELECT MAX(money___) AS $__ FROM table_name_22 WHERE player = "bernhard langer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 540, 834, 834, 834, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2030, 540, 8785, 61, 21, 3, 1152, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 28442, 834, 834, 834, 61, 6157, 1514, 834, 834, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1959, 3274, 96, 1152, 29, 5651, 6575, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference?
CREATE TABLE table_44269 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT "Goal Difference" FROM table_44269 WHERE "Points 1" = '51' AND "Goals Against" < '66'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 357, 3951, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6221, 138, 27187, 121, 21680, 953, 834, 3628, 357, 3951, 549, 17444, 427, 96, 22512, 7, 209, 121, 3274, 3, 31, 5553, 31, 3430, 96, 6221, 5405, 3, 20749, 121, 3, 2, 3, 31, 3539, 31, 1, -100, -100, -100, -100,...
What are the dates that have an average sea level pressure between 303 and 31, and count them by a bar chart, and I want to display by the the number of date from low to high.
CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pre...
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 ORDER BY COUNT(date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1969, 41, 833, 3, 3463, 4, 382, 6, 9858, 834, 21010, 15, 834, 89, 3, 21342, 17966, 6, 1243, 834, 21010, 15, 834, 89, 3, 21342, 17966, 6, 3519, 834, 21010, 15, 834, 89, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 549, 17444, 427, 1243, 834, 7, 15, 9, 834, 4563, 834, 26866, 834, 77, 2951, 272, 7969, 518, 23394, 220, 19997, 3430, 2664, 4674, 11300, 272, 476, 2847, 17161, 599, 55...
Find the different billing countries for all invoices.
CREATE TABLE playlist ( playlistid number, name text ) CREATE TABLE genre ( genreid number, name text ) CREATE TABLE artist ( artistid number, name text ) CREATE TABLE mediatype ( mediatypeid number, name text ) CREATE TABLE invoiceline ( invoicelineid number, invoiceid numbe...
SELECT DISTINCT (billingcountry) FROM invoice
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23424, 41, 23424, 23, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5349, 41, 5349, 23, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 41, 3727, 697, 17529, 61, 21680, 10921, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the first name and last name employee helps the customer with first name Leonie?
CREATE TABLE CUSTOMER (SupportRepId VARCHAR, FirstName VARCHAR); CREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, EmployeeId VARCHAR)
SELECT T2.FirstName, T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 16847, 667, 13098, 41, 134, 413, 1493, 1649, 102, 196, 26, 584, 4280, 28027, 6, 1485, 23954, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 5244, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 25171, 23954, 6, 332, 4416, 3612, 7, 17, 23954, 21680, 205, 16847, 667, 13098, 6157, 332, 536, 3, 15355, 3162, 262, 5244, 5017, 476, 5080, 6157, 332, 357, 9191, 332, 5411, 134, 413, 1493, 1649, 102, 196, ...
What is the record for the game against team @ Minnesota?
CREATE TABLE table_27713583_2 ( record VARCHAR, team VARCHAR )
SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4450, 2469, 4591, 834, 357, 41, 1368, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 21, 8, 467, 581, 372, 3320, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 2555, 4450, 2469, 4591, 834, 357, 549, 17444, 427, 372, 3274, 96, 1741, 9745, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the interview subject on the date 1-97?
CREATE TABLE table_72696 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text, "Pictorials" text )
SELECT "Interview subject" FROM table_72696 WHERE "Date" = '1-97'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2688, 4314, 41, 96, 308, 342, 121, 1499, 6, 96, 254, 1890, 825, 121, 1499, 6, 96, 24382, 10533, 825, 121, 1499, 6, 96, 17555, 4576, 1426, 121, 1499, 6, 96, 1755, 142...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17555, 4576, 1426, 121, 21680, 953, 834, 940, 2688, 4314, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 536, 18, 4327, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the number of partners for 5-7, 6-7 (5-7)
CREATE TABLE table_23944006_4 ( partner VARCHAR, score VARCHAR )
SELECT COUNT(partner) FROM table_23944006_4 WHERE score = "5-7, 6-7 (5-7)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4240, 5548, 948, 834, 591, 41, 2397, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 3222, 21, 3, 23440, 6, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 12300, 61, 21680, 953, 834, 2773, 4240, 5548, 948, 834, 591, 549, 17444, 427, 2604, 3274, 96, 23440, 6, 3, 25302, 41, 23440, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show me about the distribution of meter_500 and ID in a bar chart, could you order y axis in descending order please?
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, ...
SELECT meter_500, ID FROM swimmer ORDER BY ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 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, 3, 4401, 834, 2560, 6, 4699, 21680, 27424, 4674, 11300, 272, 476, 4699, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many drivers finished at least 40 laps ?
CREATE TABLE table_204_641 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number )
SELECT COUNT("driver") FROM table_204_641 WHERE "laps" >= 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4389, 536, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 29, 32, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 15982, 5317, 121, 1499, 6, 96, 8478, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13739, 52, 8512, 21680, 953, 834, 26363, 834, 4389, 536, 549, 17444, 427, 96, 8478, 7, 121, 2490, 2423, 1283, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many Seats 2005 has a Percentage in/de-crease of 50.0%, and a Governorate of dhi qar governorate, and a In/de-creased by larger than 6?
CREATE TABLE table_name_14 ( seats_2005 INTEGER, in_de_creased_by VARCHAR, percentage_in_de_crease VARCHAR, governorate VARCHAR )
SELECT SUM(seats_2005) FROM table_name_14 WHERE percentage_in_de_crease = "50.0%" AND governorate = "dhi qar governorate" AND in_de_creased_by > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 6116, 834, 22594, 3, 21342, 17966, 6, 16, 834, 221, 834, 24706, 26, 834, 969, 584, 4280, 28027, 6, 5294, 834, 77, 834, 221, 834, 24706, 584, 4280, 2802...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 7, 1544, 7, 834, 22594, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 5294, 834, 77, 834, 221, 834, 24706, 3274, 96, 1752, 5, 6932, 121, 3430, 13062, 342, 3274, 96, 26, 107, 23, 3, 1824, ...
parents and siblings of the participant with alzheimer's disease.
CREATE TABLE table_train_75 ( "id" int, "pregnancy_or_lactation" bool, "alzheimer" bool, "alzheimer_family_history" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_75 WHERE alzheimer = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 3072, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 138, 172, 3254, 49, 121, 3, 12840, 40, 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, 1429, 21680, 953, 834, 9719, 834, 3072, 549, 17444, 427, 491, 172, 3254, 49, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the city/municipality if the population is 1,388.88?
CREATE TABLE table_25789 ( "City / Municipality" text, "No. of Barangays" real, "Area (km\u00b2)" text, "Population (2010 Census)" real, "Pop. density (per km\u00b2)" text )
SELECT "City / Municipality" FROM table_25789 WHERE "Pop. density (per km\u00b2)" = '1,388.88'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3436, 3914, 41, 96, 254, 485, 3, 87, 16492, 485, 121, 1499, 6, 96, 4168, 5, 13, 1386, 1468, 9, 63, 7, 121, 490, 6, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 3, 87, 16492, 485, 121, 21680, 953, 834, 357, 3436, 3914, 549, 17444, 427, 96, 27773, 5, 11048, 41, 883, 2280, 2, 76, 1206, 115, 7318, 121, 3274, 3, 31, 4347, 519, 4060, 5, 4060, 31, 1, -100, -100,...
What was the date of a game that had the odds of q rook?
CREATE TABLE table_name_33 (date INTEGER, odds VARCHAR)
SELECT AVG(date) FROM table_name_33 WHERE odds = "q rook"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 5522, 3, 21342, 17966, 6, 11007, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 3, 9, 467, 24, 141, 8, 11007, 13, 3, 1824,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 5522, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 11007, 3274, 96, 1824, 3, 52, 32, 1825, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For which network was Chris Walby the color commentator after 1990?
CREATE TABLE table_name_83 ( network VARCHAR, year VARCHAR, colour_commentator_s_ VARCHAR )
SELECT network FROM table_name_83 WHERE year > 1990 AND colour_commentator_s_ = "chris walby"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 1229, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3243, 834, 287, 297, 1016, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1229, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 215, 2490, 5541, 3430, 3243, 834, 287, 297, 1016, 834, 7, 834, 3274, 96, 524, 52, 159, 3, 5380, 969, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which driver won when o.m. was the winning constructor ?
CREATE TABLE table_68065 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text )
SELECT "Winning driver" FROM table_68065 WHERE "Winning constructor" = 'o.m.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2079, 4122, 41, 96, 23954, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 518, 10503, 6774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10503, 2535, 121, 21680, 953, 834, 948, 2079, 4122, 549, 17444, 427, 96, 518, 10503, 6774, 127, 121, 3274, 3, 31, 32, 5, 51, 5, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What actor has goede tijden, slechte tijden, as the soap opera, 11 years as the duration, with rosa gonzalez as the character?
CREATE TABLE table_name_91 (actor VARCHAR, character VARCHAR, soap_opera VARCHAR, duration VARCHAR)
SELECT actor FROM table_name_91 WHERE soap_opera = "goede tijden, slechte tijden" AND duration = "11 years" AND character = "rosa gonzalez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 9, 5317, 584, 4280, 28027, 6, 1848, 584, 4280, 28027, 6, 10758, 834, 18140, 584, 4280, 28027, 6, 8659, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 7556, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 10758, 834, 18140, 3274, 96, 839, 15, 221, 3, 17, 23, 354, 537, 6, 3, 7, 40, 17568, 3, 17, 23, 354, 537, 121, 3430, 8659, 3274, 96, 2596, 203, 121, 3430, ...
What was the score when the opponent was Detroit Pistons?
CREATE TABLE table_name_46 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 8, 15264, 47, 11901, 2745, 4411, 7, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 15264, 3274, 96, 26, 15252, 155, 28688, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
find out the number of patients on methyprednisolone sodium succ drug prescription who are younger than 45 years.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "45" AND prescriptions.drug = "MethylPREDNISolone Sodium Succ"
[ 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...
How many documents for each document type name? Visualize by a ar chart, sort in desc by the x-axis.
CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Stateme...
SELECT Document_Type_Name, COUNT(Document_Type_Name) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name ORDER BY Document_Type_Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 4135, 1071, 297, 834, 25160, 7, 41, 11167, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 11167, 834, 25160, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 11167, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11167, 834, 25160, 834, 23954, 6, 2847, 17161, 599, 4135, 1071, 297, 834, 25160, 834, 23954, 61, 21680, 419, 89, 834, 4135, 1071, 297, 834, 25160, 7, 6157, 332, 536, 3, 15355, 3162, 11167, 7, 6157, 332, 357, 9191, 3...
How many wins did Hobbs had a 15th finish at poles 0?
CREATE TABLE table_name_89 (wins VARCHAR, poles VARCHAR, final_placing VARCHAR)
SELECT wins FROM table_name_89 WHERE poles = "0" AND final_placing = "15th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 3757, 7, 584, 4280, 28027, 6, 11148, 7, 584, 4280, 28027, 6, 804, 834, 6042, 75, 53, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 920...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9204, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 11148, 7, 3274, 96, 632, 121, 3430, 804, 834, 6042, 75, 53, 3274, 96, 1808, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the ids and details of events that have more than one participants. Plot them as pie chart.
CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255)...
SELECT T1.Event_Details, T1.Event_ID FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_Details
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19204, 41, 15077, 288, 834, 4309, 3, 21342, 17966, 6, 15077, 288, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 15077, 288, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 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, 332, 5411, 427, 2169, 834, 2962, 5756, 7, 6, 332, 5411, 427, 2169, 834, 4309, 21680, 11137, 6157, 332, 536, 3, 15355, 3162, 19204, 834, 77, 834, 427, 2169, 7, 6157, 332, 357, 9191, 332, 5411, 427, 2169, 834, 4309, ...
Bar chart of sum age from each nationality, and display by the x axis from high to low.
CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int ) CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working...
SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality ORDER BY Nationality DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 834, 60, 1493, 41, 9994, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 6, 3118, 834, 25160, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 8042, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 868, 485, 6, 180, 6122, 599, 188, 397, 61, 21680, 9994, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 868, 485, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Release date has a Required OS of windows, a Type of 2d, and a Developer(s) of zeonix?
CREATE TABLE table_8706 ( "Developer(s)" text, "Release date" text, "Required OS" text, "Payment" text, "Type" text )
SELECT "Release date" FROM table_8706 WHERE "Required OS" = 'windows' AND "Type" = '2d' AND "Developer(s)" = 'zeonix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4225, 5176, 41, 96, 2962, 162, 8745, 49, 599, 7, 61, 121, 1499, 6, 96, 1649, 40, 14608, 833, 121, 1499, 6, 96, 1649, 1169, 1271, 6328, 121, 1499, 6, 96, 19702, 297, 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, 1649, 40, 14608, 833, 121, 21680, 953, 834, 4225, 5176, 549, 17444, 427, 96, 1649, 1169, 1271, 6328, 121, 3274, 3, 31, 5165, 2381, 7, 31, 3430, 96, 25160, 121, 3274, 3, 31, 357, 26, 31, 3430, 96, 2962, 162, ...
What is the highest number of top-10s in events with more than 0 wins?
CREATE TABLE table_name_46 ( top_10 INTEGER, wins INTEGER )
SELECT MAX(top_10) FROM table_name_46 WHERE wins > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 420, 834, 1714, 3, 21342, 17966, 6, 9204, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 420, 4536, 7, 16, 984, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2916, 834, 16968, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 9204, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the country for julian schnabel
CREATE TABLE table_name_38 (country VARCHAR, director VARCHAR)
SELECT country FROM table_name_38 WHERE director = "julian schnabel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 17529, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 684, 21, 3, 2047, 9928, 3, 860, 29, 10333, 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, 684, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 2090, 3274, 96, 2047, 9928, 3, 860, 29, 10333, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the opponent of the game before week 11 on October 31, 1976?
CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 32, 102, 9977, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 13, 8, 467,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 471, 3, 2, 850, 3430, 833, 3274, 96, 32, 75, 235, 1152, 12074, 16164, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which round was a player from the Long Island Lizards drafted in first?
CREATE TABLE table_name_26 ( round INTEGER, team VARCHAR )
SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1751, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1751, 47, 3, 9, 1959, 45, 8, 3230, 2834, 17814, 986, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 372, 3274, 96, 2961, 3368, 3, 13287, 986, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
keyphrases used by dan weld
CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE dat...
SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'dan weld' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2291, 41, 2291, 23, 26, 16, 17, 6, 2291, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1057, 41, 1057, 23, 26, 16, 17, 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, 3, 15438, 25424, 6227, 843, 27111, 5, 4397, 27111, 23, 26, 21680, 2291, 6, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 3768, 62, 40, 26, 31, 3430, 1040,...
What was the final episode credited of 187?
CREATE TABLE table_56085 ( "Character" text, "Position" text, "Actor" text, "First Episode" text, "Final Episode" text, "Episodes Credited" real )
SELECT "Final Episode" FROM table_56085 WHERE "Episodes Credited" = '187'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3328, 4433, 41, 96, 18947, 2708, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 188, 5317, 121, 1499, 6, 96, 25171, 16112, 121, 1499, 6, 96, 371, 10270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 10270, 16112, 121, 21680, 953, 834, 755, 3328, 4433, 549, 17444, 427, 96, 427, 102, 159, 32, 1395, 6529, 15, 26, 121, 3274, 3, 31, 25828, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are all men's doubles when men's singles is Jean-Michel Saive?
CREATE TABLE table_30405 ( "Season" text, "Host" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text )
SELECT "Mens Doubles" FROM table_30405 WHERE "Mens Singles" = 'Jean-Michel Saive'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23702, 3076, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 329, 35, 7, 7871, 7, 121, 1499, 6, 96, 518, 32, 904, 7, 7871, 7, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 35, 7, 8405, 7, 121, 21680, 953, 834, 23702, 3076, 549, 17444, 427, 96, 329, 35, 7, 7871, 7, 121, 3274, 3, 31, 7851, 152, 18, 30123, 1138, 757, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smith (28)?
CREATE TABLE table_name_71 ( attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR )
SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = "j.r. smith (28)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 11364, 3, 21342, 17966, 6, 7019, 584, 4280, 28027, 6, 1374, 834, 7, 5715, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 7019, 3274, 96, 29, 13917, 15, 17, 7, 121, 3430, 1374, 834, 7, 5715, 49, 3274, 96, 354, 5, 52, 5, 3, 16331, 4743, 13520, 121, 1,...
List the number of documents for each receipt date and bin by weekday in a bar chart, sort y axis from high to low order.
CREATE TABLE Ref_Document_Status ( document_status_code CHAR(15), document_status_description VARCHAR(255) ) CREATE TABLE Documents ( document_id INTEGER, document_status_code CHAR(15), document_type_code CHAR(15), shipping_agent_code CHAR(15), receipt_date DATETIME, receipt_number VARC...
SELECT receipt_date, COUNT(receipt_date) FROM Documents ORDER BY COUNT(receipt_date) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 4135, 1071, 297, 834, 134, 17, 144, 302, 41, 1708, 834, 8547, 302, 834, 4978, 3, 28027, 599, 1808, 201, 1708, 834, 8547, 302, 834, 221, 11830, 584, 4280, 28027, 599, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8958, 834, 5522, 6, 2847, 17161, 599, 60, 565, 23, 102, 17, 834, 5522, 61, 21680, 11167, 7, 4674, 11300, 272, 476, 2847, 17161, 599, 60, 565, 23, 102, 17, 834, 5522, 61, 309, 25067, 1, -100, -100, -100, -100, -100...
In what Year is the Location of the Festival Koror, Palau?
CREATE TABLE table_63500 ( "Iteration" text, "Year" real, "Dates" text, "Location" text, "Theme" text )
SELECT SUM("Year") FROM table_63500 WHERE "Location" = 'koror, palau'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 2560, 41, 96, 196, 449, 257, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 308, 6203, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 634, 526, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 3891, 2560, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 5543, 127, 6, 7692, 402, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Builder, when Location is 'Govan , Scotland'?
CREATE TABLE table_62324 ( "Country" text, "Builder" text, "Location" text, "Ship" text, "Class / type" text )
SELECT "Builder" FROM table_62324 WHERE "Location" = 'govan , scotland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 519, 2266, 41, 96, 10628, 651, 121, 1499, 6, 96, 24752, 49, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 10462, 121, 1499, 6, 96, 21486, 3, 87, 686,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24752, 49, 121, 21680, 953, 834, 4056, 519, 2266, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 9527, 152, 3, 6, 3, 7, 4310, 40, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Report the first name and last name of all the students.
CREATE TABLE list (firstname VARCHAR, lastname VARCHAR)
SELECT DISTINCT firstname, lastname FROM list
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 14672, 4350, 584, 4280, 28027, 6, 336, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3750, 8, 166, 564, 11, 336, 564, 13, 66, 8, 481, 5, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 166, 4350, 6, 336, 4350, 21680, 570, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many coaches does each club has? List the club id, name and the number of coaches.
CREATE TABLE club ( club_id VARCHAR, club_name VARCHAR ) CREATE TABLE coach ( club_id VARCHAR )
SELECT T1.club_id, T1.club_name, COUNT(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1886, 834, 23, 26, 584, 4280, 28027, 6, 1886, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3763, 41, 1886, 834, 23, 26, 584, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 13442, 834, 23, 26, 6, 332, 5411, 13442, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 1886, 6157, 332, 536, 3, 15355, 3162, 3763, 6157, 332, 357, 9191, 332, 5411, 13442, 834, 23, 26, 3274, 332, 4416, ...
What nation had a ship named Roma?
CREATE TABLE table_68773 ( "Estimate" text, "Name" text, "Nat." text, "Ship type" text, "Where sunk" text, "Date" text )
SELECT "Nat." FROM table_68773 WHERE "Name" = 'roma'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4013, 519, 41, 96, 14997, 23, 5058, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 567, 144, 535, 1499, 6, 96, 134, 10462, 686, 121, 1499, 6, 96, 25217, 3, 7, 6513, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 567, 144, 535, 21680, 953, 834, 3651, 4013, 519, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 3522, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi?
CREATE TABLE table_21576644_2 (mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR)
SELECT mens_2nd_xi FROM table_21576644_2 WHERE mens_1st_xi = "6th, South Division 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 3436, 3539, 3628, 834, 357, 41, 904, 7, 834, 357, 727, 834, 226, 23, 584, 4280, 28027, 6, 1076, 7, 834, 536, 7, 17, 834, 226, 23, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1076, 7, 834, 357, 727, 834, 226, 23, 21680, 953, 834, 2658, 3436, 3539, 3628, 834, 357, 549, 17444, 427, 1076, 7, 834, 536, 7, 17, 834, 226, 23, 3274, 96, 948, 189, 6, 1013, 6022, 204, 121, 1, -100, -100, -100,...
what is maximum age of patients whose marital status is married and admission year is greater than or equal to 2184?
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 MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admityear >= "2184"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 20466, 17, 1201, 2490, 2423, 96, 2658, 4608, 121, 1, -100...
How did the game end against the New Orleans Saints?
CREATE TABLE table_16729071_1 ( result VARCHAR, opponent VARCHAR )
SELECT result FROM table_16729071_1 WHERE opponent = "New Orleans Saints"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27650, 23838, 4450, 834, 536, 41, 741, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 410, 8, 467, 414, 581, 8, 368, 14433, 2788, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 27650, 23838, 4450, 834, 536, 549, 17444, 427, 15264, 3274, 96, 6861, 14433, 2788, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the total number of picks in round four ?
CREATE TABLE table_203_676 ( id number, "pick #" number, "cfl team" text, "player" text, "position" text, "college" text )
SELECT COUNT("pick #") FROM table_203_676
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3708, 948, 41, 3, 23, 26, 381, 6, 96, 17967, 1713, 121, 381, 6, 96, 75, 89, 40, 372, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 17967, 1713, 8512, 21680, 953, 834, 23330, 834, 3708, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the coach of the team with home ground at Club Cove?
CREATE TABLE table_50903 ( "Team" text, "Coach" text, "Home Ground" text, "Location" text, "Founded" text )
SELECT "Coach" FROM table_50903 WHERE "Home Ground" = 'club cove'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 2394, 519, 41, 96, 18699, 121, 1499, 6, 96, 3881, 1836, 121, 1499, 6, 96, 19040, 13908, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3881, 1836, 121, 21680, 953, 834, 1752, 2394, 519, 549, 17444, 427, 96, 19040, 13908, 121, 3274, 3, 31, 13442, 576, 162, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date is the winning score 8 (70-71-67=208)?
CREATE TABLE table_45791 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Date" FROM table_45791 WHERE "Winning score" = '–8 (70-71-67=208)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 4440, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 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, 308, 342, 121, 21680, 953, 834, 2128, 4440, 536, 549, 17444, 427, 96, 518, 10503, 2604, 121, 3274, 3, 31, 104, 927, 41, 2518, 18, 4450, 18, 3708, 2423, 23946, 61, 31, 1, -100, -100, -100, -100, -100, -100, -10...
how many patients are discharged from disch tran to psych hosp that are under age 77?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND demographic.age < "77"
[ 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, 549, 17444, 427, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 15438, 8360, 18, 11359, 567, 3001, 5610, 476, 8360, 3, 6299, ...
what is the institution when the location is big rapids, michigan?
CREATE TABLE table_name_48 ( institution VARCHAR, location VARCHAR )
SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 6568, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 6568, 116, 8, 1128, 19, 600, 3607, 7, 6, 2278, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6568, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 1128, 3274, 96, 12911, 3607, 7, 6, 2278, 12588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the draft pick for Kansas City Chiefs?
CREATE TABLE table_27379 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "Player" FROM table_27379 WHERE "NFL Team" = 'Kansas City Chiefs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 519, 4440, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 12619, 434, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2555, 519, 4440, 549, 17444, 427, 96, 12619, 434, 2271, 121, 3274, 3, 31, 439, 3247, 9, 7, 896, 5116, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the builder for the location Irton Road shed
CREATE TABLE table_142159_1 (builder VARCHAR, location VARCHAR)
SELECT builder FROM table_142159_1 WHERE location = "Irton Road shed"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24978, 27904, 834, 536, 41, 16422, 49, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 918, 49, 21, 8, 1128, 27, 17330, 2409, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 49, 21680, 953, 834, 24978, 27904, 834, 536, 549, 17444, 427, 1128, 3274, 96, 196, 17330, 2409, 12478, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Circuit has a Winning driver of scott pruett?
CREATE TABLE table_49885 ( "Race Name" text, "Circuit" text, "City/Location" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Report" text )
SELECT "Circuit" FROM table_49885 WHERE "Winning driver" = 'scott pruett'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3916, 4433, 41, 96, 448, 3302, 5570, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 254, 485, 87, 434, 32, 75, 257, 121, 1499, 6, 96, 308, 342, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 23, 52, 21560, 121, 21680, 953, 834, 591, 3916, 4433, 549, 17444, 427, 96, 518, 10503, 2535, 121, 3274, 3, 31, 7, 10405, 3, 12129, 15, 17, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Mission is on 2003 apr 1?
CREATE TABLE table_name_21 (mission VARCHAR, date VARCHAR)
SELECT mission FROM table_name_21 WHERE date = "2003 apr 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 5451, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 8960, 19, 30, 3888, 3, 9, 102, 52, 209, 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, 2253, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 833, 3274, 96, 23948, 3, 9, 102, 52, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the winner when the score was 281 (-6)?
CREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR)
SELECT winner FROM table_11621799_1 WHERE score = "281 (-6)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 357, 2517, 3264, 834, 536, 41, 3757, 687, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 116, 8, 2604, 47, 204, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 20159, 357, 2517, 3264, 834, 536, 549, 17444, 427, 2604, 3274, 96, 2577, 536, 41, 18, 10938, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose death status is 1 and diagnoses icd9 code is 317?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.icd9_code = "317"
[ 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...
For those employees who was hired before 2002-06-21, show me about the change of salary over hire_date in a line chart, and rank in descending by the x axis.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE T...
SELECT HIRE_DATE, SALARY FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE 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, 454, 14132, 834, 308, 6048, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 454, 14132, 834, 308, 6048, 309, 25067, 1, ...
What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage.
CREATE TABLE table_52212 ( "Year" real, "Theme" text, "Artist" text, "Mintage" text, "Issue Price" text )
SELECT "Issue Price" FROM table_52212 WHERE "Artist" = 'john mardon' AND "Year" = '2000' AND "Mintage" = 'included in steam buggy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 24837, 41, 96, 476, 2741, 121, 490, 6, 96, 634, 526, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 12858, 6505, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 5312, 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, 196, 7, 7, 76, 15, 5312, 121, 21680, 953, 834, 5373, 24837, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 27341, 3157, 2029, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 13527, 31, 3430, 96, 12858, 6505, 1...
When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?
CREATE TABLE table_51157 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real )
SELECT MAX("Laps") FROM table_51157 WHERE "Team" = 'mi-jack conquest racing' AND "Driver" = 'justin wilson' AND "Grid" < '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 27452, 41, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, 26, 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, 3612, 102, 7, 8512, 21680, 953, 834, 5553, 27452, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 51, 23, 18, 9325, 975, 10952, 8191, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 4998, 77, 3, 210,...
What was the score when Stefan Edberg won?
CREATE TABLE table_58071 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text )
SELECT "Score" FROM table_58071 WHERE "Winner" = 'stefan edberg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2079, 4450, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 382, 9288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 755, 2079, 4450, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 7, 24018, 3, 15, 26, 2235, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average total medals of the nation ranked 1 with less than 1 silver?
CREATE TABLE table_name_62 ( total INTEGER, rank VARCHAR, silver VARCHAR )
SELECT AVG(total) FROM table_name_62 WHERE rank = "1" AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 792, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 792, 9365, 7, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 11003, 3274, 96, 536, 121, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Give the number of patients whose drug code is senn187
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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "SENN187"
[ 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, 549...
What is listed in notes for the athlete, lassi karonen?
CREATE TABLE table_79376 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text )
SELECT "Notes" FROM table_79376 WHERE "Athlete" = 'lassi karonen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 519, 3959, 41, 96, 22557, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10358, 15, 7, 121, 21680, 953, 834, 4440, 519, 3959, 549, 17444, 427, 96, 188, 189, 1655, 15, 121, 3274, 3, 31, 7397, 23, 3, 4031, 106, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the length for years 2012-2013?
CREATE TABLE table_name_29 (length VARCHAR, year VARCHAR)
SELECT length FROM table_name_29 WHERE year = "2012-2013"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 19457, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2475, 21, 203, 1673, 18, 11138, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2475, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 215, 3274, 96, 12172, 18, 11138, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...